diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/checksums/checksums.lock" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/checksums/checksums.lock" new file mode 100644 index 0000000000000000000000000000000000000000..23b230d9db456f3f3cb98cca6de2acc8a92ce021 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/checksums/checksums.lock" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/dependencies-accessors/dependencies-accessors.lock" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/dependencies-accessors/dependencies-accessors.lock" new file mode 100644 index 0000000000000000000000000000000000000000..a56d9ddc7bd6f6df715fa960327840da64468880 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/dependencies-accessors/dependencies-accessors.lock" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/dependencies-accessors/gc.properties" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/dependencies-accessors/gc.properties" new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/executionHistory/executionHistory.bin" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/executionHistory/executionHistory.bin" new file mode 100644 index 0000000000000000000000000000000000000000..7cb2e39073426700d63aa8790d539eda437c7d3b Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/executionHistory/executionHistory.bin" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/executionHistory/executionHistory.lock" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/executionHistory/executionHistory.lock" new file mode 100644 index 0000000000000000000000000000000000000000..d1fd24de7fff10b947016b1b760992bef7125738 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/executionHistory/executionHistory.lock" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/fileChanges/last-build.bin" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/fileChanges/last-build.bin" new file mode 100644 index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/fileChanges/last-build.bin" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/fileHashes/fileHashes.bin" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/fileHashes/fileHashes.bin" new file mode 100644 index 0000000000000000000000000000000000000000..767c349605f811a61be026e79a7614614c20719b Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/fileHashes/fileHashes.bin" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/fileHashes/fileHashes.lock" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/fileHashes/fileHashes.lock" new file mode 100644 index 0000000000000000000000000000000000000000..7487d9a839557819c69496a852d10d29580f3163 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/fileHashes/fileHashes.lock" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/fileHashes/resourceHashesCache.bin" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/fileHashes/resourceHashesCache.bin" new file mode 100644 index 0000000000000000000000000000000000000000..b6a0b38c3a4c12b3b08cd9f1102be06f6f421ac3 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/fileHashes/resourceHashesCache.bin" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/gc.properties" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/7.3/gc.properties" new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/buildOutputCleanup/buildOutputCleanup.lock" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/buildOutputCleanup/buildOutputCleanup.lock" new file mode 100644 index 0000000000000000000000000000000000000000..b97b5a085d0d48381558dd51757e42e1e72abcdd Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/buildOutputCleanup/buildOutputCleanup.lock" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/buildOutputCleanup/cache.properties" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/buildOutputCleanup/cache.properties" new file mode 100644 index 0000000000000000000000000000000000000000..659fd0356cb3abdd551f678dcc7d16cc2548713f --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/buildOutputCleanup/cache.properties" @@ -0,0 +1,2 @@ +#Tue Sep 27 17:50:58 CST 2022 +gradle.version=7.3 diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/buildOutputCleanup/outputFiles.bin" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/buildOutputCleanup/outputFiles.bin" new file mode 100644 index 0000000000000000000000000000000000000000..be49aeaf52ab60ad0b406e569cef17031f9295d8 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/buildOutputCleanup/outputFiles.bin" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/file-system.probe" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/file-system.probe" new file mode 100644 index 0000000000000000000000000000000000000000..a2c6986ec1fdf74a7ef806f311c1c5f1ab85cff8 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/file-system.probe" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/vcs-1/gc.properties" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.gradle/vcs-1/gc.properties" new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/.gitignore" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..26d33521af10bcc7fd8cea344038eaaeb78d0ef5 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/.gitignore" @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/caches/build_file_checksums.ser" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/caches/build_file_checksums.ser" new file mode 100644 index 0000000000000000000000000000000000000000..e9d0c077edb37b8979ac9bb96e35cd8d7882bc12 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/caches/build_file_checksums.ser" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/compiler.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/compiler.xml" new file mode 100644 index 0000000000000000000000000000000000000000..fb7f4a8a465d42b4a0390d464b83b99e8465bba7 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/compiler.xml" @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/gradle.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/gradle.xml" new file mode 100644 index 0000000000000000000000000000000000000000..6a43f0a654c13668588506b256278f8119c52f55 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/gradle.xml" @@ -0,0 +1,22 @@ + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/jarRepositories.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/jarRepositories.xml" new file mode 100644 index 0000000000000000000000000000000000000000..19e238eaa31f512cfc1e8641964227098d1eb8bb --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/jarRepositories.xml" @@ -0,0 +1,25 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/libraries/Gradle__hamcrest_core_1_3.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/libraries/Gradle__hamcrest_core_1_3.xml" new file mode 100644 index 0000000000000000000000000000000000000000..a3cab89d0eec56ae6a05e16182bfaa8315b2a84f --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/libraries/Gradle__hamcrest_core_1_3.xml" @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/libraries/Gradle__junit_4_13_1.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/libraries/Gradle__junit_4_13_1.xml" new file mode 100644 index 0000000000000000000000000000000000000000..5a0e00af12cd4b5c2ccf8be02b70f3b5cb4dbc51 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/libraries/Gradle__junit_4_13_1.xml" @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/libraries/Gradle__runner_2_0_0_200_har.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/libraries/Gradle__runner_2_0_0_200_har.xml" new file mode 100644 index 0000000000000000000000000000000000000000..22949ae761c8a8d1b133978ebca2213d6d259923 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/libraries/Gradle__runner_2_0_0_200_har.xml" @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/misc.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/misc.xml" new file mode 100644 index 0000000000000000000000000000000000000000..58918f50335428f2efb3af4d621f9f405ed659d4 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/misc.xml" @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/modules.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/modules.xml" new file mode 100644 index 0000000000000000000000000000000000000000..0a98608932a6ea3af04ed1e70c738bd80a46839e --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/modules.xml" @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/modules/AnimationDemo.iml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/modules/AnimationDemo.iml" new file mode 100644 index 0000000000000000000000000000000000000000..336f727d0ce823556606d4fee3ed1146572a0512 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/modules/AnimationDemo.iml" @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/modules/entry/entry.iml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/modules/entry/entry.iml" new file mode 100644 index 0000000000000000000000000000000000000000..132755272082e2620948b8150861e42066f3d1a9 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/modules/entry/entry.iml" @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/vcs.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/vcs.xml" new file mode 100644 index 0000000000000000000000000000000000000000..6c0b8635858dc7ad44b93df54b762707ce49eefc --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/.idea/vcs.xml" @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/LICENSE" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/LICENSE" new file mode 100644 index 0000000000000000000000000000000000000000..7c357dc828cf7d8c783f10ed6bb1bac8a1e903c1 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/LICENSE" @@ -0,0 +1,78 @@ + Copyright (c) 2021 Huawei Device Co., Ltd. + + Licensed under the Apache License,Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +Apache License, Version 2.0 +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. + +You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: +1.You must give any other recipients of the Work or Derivative Works a copy of this License; and +2.You must cause any modified files to carry prominent notices stating that You changed the files; and +3.You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and +4.If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + +You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. + +Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. + +This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. + +Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. + +In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. + +While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/README.md" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/README.md" new file mode 100644 index 0000000000000000000000000000000000000000..226f125817dc0cee281965811b92082b91a970f8 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/README.md" @@ -0,0 +1,47 @@ +# AnimationDemo +简介 +• 此demo使用的是通用动画样式,我们通过一个简单的样例,实现了平移、旋转、缩放以及透明度变化的效果。 + +安装要求 +• 安装DevEco Studio +• 设置DevEco Studio开发环境。DevEco Studio开发环境需要连接到网络,以确保该正常使用。可以根据以下两种情况配置开发环境: + 1.如果您可以直接访问Internet,则只需下载HarmonyOS SDK + 2.如果网络无法直接访问Internet,则可以通过代理服务器进行访问 +• 生成密钥并申请证书 + +用户指南 +• 下载此项目 +• 打开HUAWEI DevEco Studio,单击File> Open选择此Codelab +• 单击Build> Build App(s)/Hap(s)>Build Debug Hap(s)以编译hap软件包 +• 单击Run> Run 'entry'以运行hap包 + +注意 +• 您可以选择在模拟器或真机上运行hap软件包。 +• 如果在真机上运行它,则需要在项目的File> Project Structure> Modules> Signing Configs中配置签名和证书信息。 + +许可 +请参阅LICENSE文件以获得更多信息。 + +What is it? +This demo uses the general animation style. We use a simple example to implement translation, rotation, scaling, and transparency changes. + +Installation requirements +• Install DevEco Studio +• Set up the DevEco Studio development environment.The DevEco Studio development environment needs to depend on the network environment. It needs to be connected to the network to ensure the normal use of the tool.The development environment can be configured according to the following two situations + 1.If you can directly access the Internet, just download the HarmonyOS SDK + 2.If the network cannot access the Internet directly, it can be accessed through a proxy server +• Generate secret key and apply for certificate + +User guide +• Download this Project +• Open HUAWEI DevEco Studio, click File> Open> Then select and open this Project +• Click Build> Build App(s)/Hap(s)>Build Debug Hap(s) to compile the hap package +• Click Run> Run 'entry' to run the hap package + +Note +• You can choose to run the hap package on the simulator or the phone. +• If you run it on the phone, you need to configure the signature and certificate information in the project's File> Project Structure> Modules> Signing Configs. + +Licensing +Please see LICENSE for more info. + diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/RELEASE-NOTES.MD" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/RELEASE-NOTES.MD" new file mode 100644 index 0000000000000000000000000000000000000000..9087a1482627f316280b762b6c5adc73c0d438d1 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/RELEASE-NOTES.MD" @@ -0,0 +1 @@ +1.0.0.1 Initial version \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/build.gradle" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/build.gradle" new file mode 100644 index 0000000000000000000000000000000000000000..b77bc230c69465f68a5e0828e2df40fc0d985cc0 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/build.gradle" @@ -0,0 +1,33 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules. +apply plugin: 'com.huawei.ohos.app' + +//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510 +ohos { + compileSdkVersion 6 +} + +buildscript { + repositories { + maven { + url 'https://repo.huaweicloud.com/repository/maven/' + } + maven { + url 'https://developer.huawei.com/repo/' + } + } + dependencies { + classpath 'com.huawei.ohos:hap:3.0.5.2' + classpath 'com.huawei.ohos:decctest:1.2.7.2' + } +} + +allprojects { + repositories { + maven { + url 'https://repo.huaweicloud.com/repository/maven/' + } + maven { + url 'https://developer.huawei.com/repo/' + } + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/build/outputs/hap/debug/phone/entry-debug-rich-unsigned.hap" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/build/outputs/hap/debug/phone/entry-debug-rich-unsigned.hap" new file mode 100644 index 0000000000000000000000000000000000000000..47b37584ae8ff3c40f46aaef515dde5d398553b9 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/build/outputs/hap/debug/phone/entry-debug-rich-unsigned.hap" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build.gradle" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build.gradle" new file mode 100644 index 0000000000000000000000000000000000000000..88477de839e62080c93f83d9e042900aa7b1140c --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build.gradle" @@ -0,0 +1,26 @@ +apply plugin: 'com.huawei.ohos.hap' +apply plugin: 'com.huawei.ohos.decctest' +//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510 +ohos { + compileSdkVersion 6 + defaultConfig { + compatibleSdkVersion 6 + } + buildTypes { + release { + proguardOpt { + proguardEnabled false + rulesFiles 'proguard-rules.pro' + } + } + } +} + +dependencies { + implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) + testImplementation 'junit:junit:4.13.1' + ohosTestImplementation 'com.huawei.ohos.testkit:runner:2.0.0.200' +} +decc { + supportType = ['html', 'xml'] +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/generated/source/buildConfig/debug/com/huawei/codelab/BuildConfig.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/generated/source/buildConfig/debug/com/huawei/codelab/BuildConfig.java" new file mode 100644 index 0000000000000000000000000000000000000000..519a096cc9d638f0470fd0eebdb2e9121619f8c8 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/generated/source/buildConfig/debug/com/huawei/codelab/BuildConfig.java" @@ -0,0 +1,14 @@ +/** + * Automatically generated file. DO NOT MODIFY + */ +package com.huawei.codelab; + +public final class BuildConfig { + public static final boolean DEBUG = Boolean.parseBoolean("true"); + public static final String PACKAGE_NAME = "com.huawei.codelab"; + public static final String BUILD_TYPE = "debug"; + public static final int COMPILE_SDK_VERSION = 6; + public static final int VERSION_CODE = 1000000; + public static final String VERSION_NAME = "1.0.0"; + public static final String BUNDLE_NAME = "com.huawei.codelab"; +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/generated/source/r/debug/R.jar" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/generated/source/r/debug/R.jar" new file mode 100644 index 0000000000000000000000000000000000000000..dc0885acc8916a24e5441f665fb21980c527db9f Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/generated/source/r/debug/R.jar" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/generated/source/r/debug/classes/com/huawei/codelab/ResourceTable.class" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/generated/source/r/debug/classes/com/huawei/codelab/ResourceTable.class" new file mode 100644 index 0000000000000000000000000000000000000000..d82ae69e7e15120daa6006c6d0af50fe3f0d9b7a Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/generated/source/r/debug/classes/com/huawei/codelab/ResourceTable.class" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/generated/source/r/debug/com/huawei/codelab/ResourceTable.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/generated/source/r/debug/com/huawei/codelab/ResourceTable.java" new file mode 100644 index 0000000000000000000000000000000000000000..578300cc6af74f8e1d89517a54fc95ba12a58f46 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/generated/source/r/debug/com/huawei/codelab/ResourceTable.java" @@ -0,0 +1,14 @@ +/* + * Copyright(c) Huawei Technologies Co., Ltd. 2019 - 2020. All rights reserved. + * Description: This header was automatically generated by restool from the resource data it found. + * It provides resource index information for applications, and should not be modified by hand. + */ + +package com.huawei.codelab; + +public final class ResourceTable { + public static final int Media_icon = 0x1000002; + + public static final int String_entry_MainAbility = 0x1000000; + public static final int String_mainability_description = 0x1000001; +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classFiles" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classFiles" new file mode 100644 index 0000000000000000000000000000000000000000..39d03a922f1c5ca78f54cbd41f308829568f9b01 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classFiles" @@ -0,0 +1,4 @@ +F:\Dome\git_dome\ETS\codelabs\AnimationDemo\entry\build\intermediates\javac\debug\classes\com\huawei\codelab\BuildConfig.class +F:\Dome\git_dome\ETS\codelabs\AnimationDemo\entry\build\intermediates\javac\debug\classes\com\huawei\codelab\MainAbility.class +F:\Dome\git_dome\ETS\codelabs\AnimationDemo\entry\build\intermediates\javac\debug\classes\com\huawei\codelab\MyApplication.class +F:\Dome\git_dome\ETS\codelabs\AnimationDemo\entry\build\intermediates\javac\debug\classes\com\huawei\codelab\ResourceTable.class diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classes/com/huawei/codelab/BuildConfig.class" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classes/com/huawei/codelab/BuildConfig.class" new file mode 100644 index 0000000000000000000000000000000000000000..f63287afe673e4a479ab2a549cfbc4449fff994b Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classes/com/huawei/codelab/BuildConfig.class" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classes/com/huawei/codelab/MainAbility.class" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classes/com/huawei/codelab/MainAbility.class" new file mode 100644 index 0000000000000000000000000000000000000000..abd946f7ca10e7d461c687d8d3d4b1c8f7bba3a2 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classes/com/huawei/codelab/MainAbility.class" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classes/com/huawei/codelab/MyApplication.class" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classes/com/huawei/codelab/MyApplication.class" new file mode 100644 index 0000000000000000000000000000000000000000..46b141ebb6870b09bf6a692f2bbd0cb6f69df33c Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classes/com/huawei/codelab/MyApplication.class" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classes/com/huawei/codelab/ResourceTable.class" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classes/com/huawei/codelab/ResourceTable.class" new file mode 100644 index 0000000000000000000000000000000000000000..d82ae69e7e15120daa6006c6d0af50fe3f0d9b7a Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/javac/debug/classes/com/huawei/codelab/ResourceTable.class" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/jsManifest/default/manifest.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/jsManifest/default/manifest.json" new file mode 100644 index 0000000000000000000000000000000000000000..e043c1cc5d606383d2aa5d55b91ceff4df449ed4 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/jsManifest/default/manifest.json" @@ -0,0 +1,17 @@ +{ + "appID": "com.huawei.codelab", + "appName": "$string:entry_MainAbility", + "versionName": "1.0.0", + "versionCode": 1000000, + "minPlatformVersion": 6, + "pages": [ + "pages/index/index" + ], + "deviceType": [ + "phone" + ], + "window": { + "autoDesignWidth": true, + "designWidth": 720 + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/jsResources/base/media/icon.png" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/jsResources/base/media/icon.png" new file mode 100644 index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/jsResources/base/media/icon.png" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/app.js" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/app.js" new file mode 100644 index 0000000000000000000000000000000000000000..41b8f38acf8b2a5f92e3d894004ac60bdce50cd3 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/app.js" @@ -0,0 +1,189 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/app.js?entry"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/app.js?entry": +/*!******************************************************************************************!*\ + !*** f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/app.js?entry ***! + \******************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +var $app_script$ = __webpack_require__(/*! !../../../../../../../../../../HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/script.js!../../../../../../../../../../HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/node_modules/babel-loader?presets[]=F:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/node_modules/@babel/preset-env&plugins[]=F:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/node_modules/@babel/plugin-transform-modules-commonjs&comments=false!../../../../../../../../../../HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/resource-reference-script.js!../../../../../../../../../../HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/manifest-loader.js?path=f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/app.js!./app.js */ "./lib/script.js!./node_modules/babel-loader/lib/index.js?presets[]=F:\\HarmonyOS\\HarmonyOs SDK\\js\\2.2.0.3\\build-tools\\ace-loader\\node_modules\\@babel\\preset-env&plugins[]=F:\\HarmonyOS\\HarmonyOs SDK\\js\\2.2.0.3\\build-tools\\ace-loader\\node_modules\\@babel\\plugin-transform-modules-commonjs&comments=false!./lib/resource-reference-script.js!./lib/manifest-loader.js?path=f:\\Dome\\git_dome\\ETS\\codelabs\\AnimationDemo\\entry\\src\\main\\js\\default\\app.js!../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/app.js") + + $app_define$('@app-application/app', [], function($app_require$, $app_exports$, $app_module$) { + + $app_script$($app_module$, $app_exports$, $app_require$) + if ($app_exports$.__esModule && $app_exports$.default) { + $app_module$.exports = $app_exports$.default + } + + }) + $app_bootstrap$('@app-application/app',undefined,undefined) + +/***/ }), + +/***/ "./lib/manifest-plugin.js!../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/build/intermediates/js/debug/jsManifest/default/manifest.json": +/*!***********************************************************************************************************************************************************************************************************!*\ + !*** f:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/manifest-plugin.js!f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/build/intermediates/js/debug/jsManifest/default/manifest.json ***! + \***********************************************************************************************************************************************************************************************************/ +/*! exports provided: appID, appName, versionName, versionCode, minPlatformVersion, pages, deviceType, window, default */ +/***/ (function(module) { + +module.exports = JSON.parse("{\"appID\":\"com.huawei.codelab\",\"appName\":\"$string:entry_MainAbility\",\"versionName\":\"1.0.0\",\"versionCode\":1000000,\"minPlatformVersion\":6,\"pages\":[\"pages/index/index\"],\"deviceType\":[\"phone\"],\"window\":{\"autoDesignWidth\":true,\"designWidth\":720}}"); + +/***/ }), + +/***/ "./lib/script.js!./node_modules/babel-loader/lib/index.js?presets[]=F:\\HarmonyOS\\HarmonyOs SDK\\js\\2.2.0.3\\build-tools\\ace-loader\\node_modules\\@babel\\preset-env&plugins[]=F:\\HarmonyOS\\HarmonyOs SDK\\js\\2.2.0.3\\build-tools\\ace-loader\\node_modules\\@babel\\plugin-transform-modules-commonjs&comments=false!./lib/resource-reference-script.js!./lib/manifest-loader.js?path=f:\\Dome\\git_dome\\ETS\\codelabs\\AnimationDemo\\entry\\src\\main\\js\\default\\app.js!../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/app.js": +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** f:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/script.js!f:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/node_modules/babel-loader/lib?presets[]=F:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/node_modules/@babel/preset-env&plugins[]=F:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/node_modules/@babel/plugin-transform-modules-commonjs&comments=false!f:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/resource-reference-script.js!f:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/manifest-loader.js?path=f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/app.js!f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/app.js ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +module.exports = function(module, exports, $app_require$){"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports["default"] = void 0; +var _default = { + onCreate: function onCreate() { + console.info('AceApplication onCreate'); + }, + onDestroy: function onDestroy() { + console.info('AceApplication onDestroy'); + } +}; +exports["default"] = _default; +; +(exports["default"] || module.exports).manifest = __webpack_require__(/*! !../../../../../../../../../../HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/manifest-plugin.js!../../../../build/intermediates/js/debug/jsManifest/default/manifest.json */ "./lib/manifest-plugin.js!../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/build/intermediates/js/debug/jsManifest/default/manifest.json"); + +function requireModule(moduleName) { + const systemList = ['system.router', 'system.app', 'system.prompt', 'system.configuration', + 'system.image', 'system.device', 'system.mediaquery', 'ohos.animator', 'system.grid', 'system.resource'] + var target = '' + if (systemList.includes(moduleName.replace('@', ''))) { + target = $app_require$('@app-module/' + moduleName.substring(1)); + return target; + } + var shortName = moduleName.replace(/@[^.]+.([^.]+)/, '$1'); + if (typeof ohosplugin !== 'undefined' && /@ohos/.test(moduleName)) { + target = ohosplugin; + for (let key of shortName.split('.')) { + target = target[key]; + if(!target) { + break; + } + } + if (typeof target !== 'undefined') { + return target; + } + } + if (typeof systemplugin !== 'undefined') { + target = systemplugin; + for (let key of shortName.split('.')) { + target = target[key]; + if(!target) { + break; + } + } + if (typeof target !== 'undefined') { + return target; + } + } + target = requireNapi(shortName); + return target; +} +} +/* generated by ace-loader */ + + +/***/ }) + +/******/ }); +//# sourceMappingURL=app.js.map \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/app.js.map" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/app.js.map" new file mode 100644 index 0000000000000000000000000000000000000000..61599cf440a8e330c894be8f4e1df9e7bf168b5e --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/app.js.map" @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/app.js?64d2","webpack:///f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/app.js"],"names":["onCreate","console","info","onDestroy","exports","module","manifest","require"],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;AClFA,mBAAmB,mBAAO,CAAC,w0CAA6yB;;AAEx0B;;AAEA;AACA;AACA;AACA;;AAEA,OAAO;AACP,iE;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCKe;AACbA,UADa,sBACF;AACTC,WAAO,CAACC,IAAR,CAAa,yBAAb;AACD,GAHY;AAIbC,WAJa,uBAID;AACVF,WAAO,CAACC,IAAR,CAAa,0BAAb;AACD;AANY,C;;AAQf;AAAC,CAACE,OAAO,WAAP,IAAmBC,MAAM,CAACD,OAA3B,EAAoCE,QAApC,GAA+CC,mBAAO,CAAC,0VAAD,CAAtD","file":"./app.js","sourceRoot":""} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/common/images/cat.png" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/common/images/cat.png" new file mode 100644 index 0000000000000000000000000000000000000000..0776613aeac149df3b36d0fb2929f80edfd85543 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/common/images/cat.png" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/i18n/en-US.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/i18n/en-US.json" new file mode 100644 index 0000000000000000000000000000000000000000..e63c70d978a3a53be988388c87182f81785e170c --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/i18n/en-US.json" @@ -0,0 +1,6 @@ +{ + "strings": { + "hello": "Hello", + "world": "World" + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/i18n/zh-CN.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/i18n/zh-CN.json" new file mode 100644 index 0000000000000000000000000000000000000000..de6ee5748322f44942c1b003319d8e66c837675f --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/i18n/zh-CN.json" @@ -0,0 +1,6 @@ +{ + "strings": { + "hello": "您好", + "world": "世界" + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/manifest.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/manifest.json" new file mode 100644 index 0000000000000000000000000000000000000000..e043c1cc5d606383d2aa5d55b91ceff4df449ed4 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/manifest.json" @@ -0,0 +1,17 @@ +{ + "appID": "com.huawei.codelab", + "appName": "$string:entry_MainAbility", + "versionName": "1.0.0", + "versionCode": 1000000, + "minPlatformVersion": 6, + "pages": [ + "pages/index/index" + ], + "deviceType": [ + "phone" + ], + "window": { + "autoDesignWidth": true, + "designWidth": 720 + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/pages/index/index.js" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/pages/index/index.js" new file mode 100644 index 0000000000000000000000000000000000000000..63a714ebf04c7ba8180a423e2a42452d75b51920 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/pages/index/index.js" @@ -0,0 +1,435 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.hml?entry"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.hml?entry": +/*!*********************************************************************************************************!*\ + !*** f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.hml?entry ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +var $app_template$ = __webpack_require__(/*! !../../../../../../../../../../../../HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/json.js!../../../../../../../../../../../../HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/template.js!./index.hml */ "./lib/json.js!./lib/template.js!../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.hml") +var $app_style$ = __webpack_require__(/*! !../../../../../../../../../../../../HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/json.js!../../../../../../../../../../../../HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/style.js!./index.css */ "./lib/json.js!./lib/style.js!../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.css") +var $app_script$ = __webpack_require__(/*! !../../../../../../../../../../../../HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/script.js!../../../../../../../../../../../../HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/node_modules/babel-loader?presets[]=F:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/node_modules/@babel/preset-env&plugins[]=F:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/node_modules/@babel/plugin-transform-modules-commonjs&comments=false!../../../../../../../../../../../../HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/resource-reference-script.js!./index.js */ "./lib/script.js!./node_modules/babel-loader/lib/index.js?presets[]=F:\\HarmonyOS\\HarmonyOs SDK\\js\\2.2.0.3\\build-tools\\ace-loader\\node_modules\\@babel\\preset-env&plugins[]=F:\\HarmonyOS\\HarmonyOs SDK\\js\\2.2.0.3\\build-tools\\ace-loader\\node_modules\\@babel\\plugin-transform-modules-commonjs&comments=false!./lib/resource-reference-script.js!../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.js") + +$app_define$('@app-component/index', [], function($app_require$, $app_exports$, $app_module$) { + +$app_script$($app_module$, $app_exports$, $app_require$) +if ($app_exports$.__esModule && $app_exports$.default) { +$app_module$.exports = $app_exports$.default +} + +$app_module$.exports.template = $app_template$ + +$app_module$.exports.style = $app_style$ + +}) +$app_bootstrap$('@app-component/index',undefined,undefined) + +/***/ }), + +/***/ "./lib/json.js!./lib/style.js!../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.css": +/*!******************************************************************************************************************************************************************************************************************************************************!*\ + !*** f:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/json.js!f:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/style.js!f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.css ***! + \******************************************************************************************************************************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = { + ".container": { + "width": "100%", + "backgroundColor": "#F8FCF5", + "flexDirection": "column", + "justifyContent": "center", + "alignItems": "center" + }, + ".img": { + "marginTop": "10px", + "height": "100px", + "width": "100px", + "animationTimingFunction": "ease", + "animationDuration": "2s", + "animationDelay": "0s", + "animationFillMode": "forwards", + "animationIterationCount": -1 + }, + ".text": { + "fontSize": "20px" + }, + ".img-translate": { + "animationName": "translateAnim" + }, + ".img-rotate": { + "animationName": "rotateAnim" + }, + ".img-rotateY": { + "animationName": "rotateYAnim" + }, + ".img-scale": { + "animationName": "scaleAnim" + }, + ".img-mixes": { + "animationName": "mixesAnim" + }, + ".img-opacity": { + "animationName": "opacityAnim" + }, + "@KEYFRAMES": { + "translateAnim": [ + { + "transform": "{\"translate\":\"-100px\"}", + "time": 0 + }, + { + "transform": "{\"translate\":\"100px\"}", + "time": 100 + } + ], + "rotateAnim": [ + { + "transform": "{\"rotate\":\"0deg\"}", + "time": 0 + }, + { + "transform": "{\"rotate\":\"360deg\"}", + "time": 100 + } + ], + "rotateYAnim": [ + { + "transform": "{\"rotateY\":\"0deg\"}", + "time": 0 + }, + { + "transform": "{\"rotateY\":\"360deg\"}", + "time": 100 + } + ], + "scaleAnim": [ + { + "transform": "{\"scale\":\"0\"}", + "time": 0 + }, + { + "transform": "{\"scale\":\"1.2\"}", + "time": 100 + } + ], + "opacityAnim": [ + { + "opacity": 0, + "time": 0 + }, + { + "opacity": 1, + "time": 100 + } + ] + } +} + +/***/ }), + +/***/ "./lib/json.js!./lib/template.js!../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.hml": +/*!*********************************************************************************************************************************************************************************************************************************************************!*\ + !*** f:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/json.js!f:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/template.js!f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.hml ***! + \*********************************************************************************************************************************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = { + "attr": { + "debugLine": "pages/index/index:14", + "className": "container" + }, + "type": "div", + "classList": [ + "container" + ], + "children": [ + { + "attr": { + "debugLine": "pages/index/index:15", + "className": "img img-translate", + "src": "/common/images/cat.png" + }, + "type": "image", + "classList": [ + "img", + "img-translate" + ] + }, + { + "attr": { + "debugLine": "pages/index/index:16", + "className": "text", + "value": "translate" + }, + "type": "text", + "classList": [ + "text" + ] + }, + { + "attr": { + "debugLine": "pages/index/index:17", + "className": "img img-rotate", + "src": "/common/images/cat.png" + }, + "type": "image", + "classList": [ + "img", + "img-rotate" + ] + }, + { + "attr": { + "debugLine": "pages/index/index:18", + "className": "text", + "value": "rotate" + }, + "type": "text", + "classList": [ + "text" + ] + }, + { + "attr": { + "debugLine": "pages/index/index:19", + "className": "img img-rotateY", + "src": "/common/images/cat.png" + }, + "type": "image", + "classList": [ + "img", + "img-rotateY" + ] + }, + { + "attr": { + "debugLine": "pages/index/index:20", + "className": "text", + "value": "rotateY" + }, + "type": "text", + "classList": [ + "text" + ] + }, + { + "attr": { + "debugLine": "pages/index/index:21", + "className": "img img-scale", + "src": "/common/images/cat.png" + }, + "type": "image", + "classList": [ + "img", + "img-scale" + ] + }, + { + "attr": { + "debugLine": "pages/index/index:22", + "className": "text", + "value": "scale" + }, + "type": "text", + "classList": [ + "text" + ] + }, + { + "attr": { + "debugLine": "pages/index/index:23", + "className": "img img-opacity", + "src": "/common/images/cat.png" + }, + "type": "image", + "classList": [ + "img", + "img-opacity" + ] + }, + { + "attr": { + "debugLine": "pages/index/index:24", + "className": "text", + "value": "opacity" + }, + "type": "text", + "classList": [ + "text" + ] + } + ] +} + +/***/ }), + +/***/ "./lib/script.js!./node_modules/babel-loader/lib/index.js?presets[]=F:\\HarmonyOS\\HarmonyOs SDK\\js\\2.2.0.3\\build-tools\\ace-loader\\node_modules\\@babel\\preset-env&plugins[]=F:\\HarmonyOS\\HarmonyOs SDK\\js\\2.2.0.3\\build-tools\\ace-loader\\node_modules\\@babel\\plugin-transform-modules-commonjs&comments=false!./lib/resource-reference-script.js!../../../../../../Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.js": +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** f:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/script.js!f:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/node_modules/babel-loader/lib?presets[]=F:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/node_modules/@babel/preset-env&plugins[]=F:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/node_modules/@babel/plugin-transform-modules-commonjs&comments=false!f:/HarmonyOS/HarmonyOs SDK/js/2.2.0.3/build-tools/ace-loader/lib/resource-reference-script.js!f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.js ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = function(module, exports, $app_require$){"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports["default"] = void 0; +var _default = {}; +exports["default"] = _default; + +function requireModule(moduleName) { + const systemList = ['system.router', 'system.app', 'system.prompt', 'system.configuration', + 'system.image', 'system.device', 'system.mediaquery', 'ohos.animator', 'system.grid', 'system.resource'] + var target = '' + if (systemList.includes(moduleName.replace('@', ''))) { + target = $app_require$('@app-module/' + moduleName.substring(1)); + return target; + } + var shortName = moduleName.replace(/@[^.]+.([^.]+)/, '$1'); + if (typeof ohosplugin !== 'undefined' && /@ohos/.test(moduleName)) { + target = ohosplugin; + for (let key of shortName.split('.')) { + target = target[key]; + if(!target) { + break; + } + } + if (typeof target !== 'undefined') { + return target; + } + } + if (typeof systemplugin !== 'undefined') { + target = systemplugin; + for (let key of shortName.split('.')) { + target = target[key]; + if(!target) { + break; + } + } + if (typeof target !== 'undefined') { + return target; + } + } + target = requireNapi(shortName); + return target; +} + +var moduleOwn = exports.default || module.exports; +var accessors = ['public', 'protected', 'private']; +if (moduleOwn.data && accessors.some(function (acc) { + return moduleOwn[acc]; + })) { + throw new Error('For VM objects, attribute data must not coexist with public, protected, or private. Please replace data with public.'); +} else if (!moduleOwn.data) { + moduleOwn.data = {}; + moduleOwn._descriptor = {}; + accessors.forEach(function(acc) { + var accType = typeof moduleOwn[acc]; + if (accType === 'object') { + moduleOwn.data = Object.assign(moduleOwn.data, moduleOwn[acc]); + for (var name in moduleOwn[acc]) { + moduleOwn._descriptor[name] = {access : acc}; + } + } else if (accType === 'function') { + console.warn('For VM objects, attribute ' + acc + ' value must not be a function. Change the value to an object.'); + } + }); +}} +/* generated by ace-loader */ + + +/***/ }) + +/******/ }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/pages/index/index.js.map" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/pages/index/index.js.map" new file mode 100644 index 0000000000000000000000000000000000000000..db04a10e9215f8824399c3181623cbf54a641eff --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/js/debug/normal/rich/assets/js/default/pages/index/index.js.map" @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.hml","webpack:///f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.css","webpack:///f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.hml?9283","webpack:///f:/Dome/git_dome/ETS/codelabs/AnimationDemo/entry/src/main/js/default/pages/index/index.js"],"names":[],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;AClFA,qBAAqB,mBAAO,CAAC,wXAAuO;AACpQ,kBAAkB,mBAAO,CAAC,kXAAoO;AAC9P,mBAAmB,mBAAO,CAAC,mjCAAqnB;;AAEhpB;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA,CAAC;AACD,2D;;;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,uBAAuB,yBAAyB;AAChD;AACA,OAAO;AACP;AACA,uBAAuB,wBAAwB;AAC/C;AACA;AACA;AACA;AACA;AACA,uBAAuB,oBAAoB;AAC3C;AACA,OAAO;AACP;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA;AACA;AACA;AACA,uBAAuB,qBAAqB;AAC5C;AACA,OAAO;AACP;AACA,uBAAuB,uBAAuB;AAC9C;AACA;AACA;AACA;AACA;AACA,uBAAuB,gBAAgB;AACvC;AACA,OAAO;AACP;AACA,uBAAuB,kBAAkB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,C;;;;;;;;;;;AC3FA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,C;;;;;;;;;;;;;;;;;eC/Ge,E","file":"./pages/index/index.js","sourceRoot":""} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/merge_profile/debug/config.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/merge_profile/debug/config.json" new file mode 100644 index 0000000000000000000000000000000000000000..4016d8989eef06d2ea9bf38cef8687109b452cc5 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/merge_profile/debug/config.json" @@ -0,0 +1,67 @@ +{ + "app": { + "bundleName": "com.huawei.codelab", + "vendor": "huawei", + "apiVersion": { + "compatible": 6, + "target": 6, + "releaseType": "Release" + }, + "version": { + "code": 1000000, + "name": "1.0.0" + } + }, + "deviceConfig": { + "default": { + "debug": true + } + }, + "module": { + "name": ".MyApplication", + "deviceType": [ + "phone" + ], + "distro": { + "deliveryWithInstall": true, + "moduleName": "entry", + "moduleType": "entry", + "installationFree": true + }, + "abilities": [ + { + "name": "com.huawei.codelab.MainAbility", + "description": "$string:mainability_description", + "icon": "$media:icon", + "label": "$string:entry_MainAbility", + "type": "page", + "launchType": "standard", + "skills": [ + { + "actions": [ + "action.system.home" + ], + "entities": [ + "entity.system.home" + ] + } + ], + "homeAbility": true + } + ], + "js": [ + { + "name": "default", + "pages": [ + "pages/index/index" + ], + "window": { + "designWidth": 720, + "autoDesignWidth": true + } + } + ], + "mainAbility": "com.huawei.codelab.MainAbility", + "package": "com.huawei.codelab" + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/merge_res/debug/merge_res_file.index" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/merge_res/debug/merge_res_file.index" new file mode 100644 index 0000000000000000000000000000000000000000..a0370b3af29bb52544336851bbb164799f7de257 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/merge_res/debug/merge_res_file.index" @@ -0,0 +1 @@ +"F:\Dome\git_dome\ETS\codelabs\AnimationDemo\entry\src\main" diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/original_res/debug/res/drawable/icon.png" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/original_res/debug/res/drawable/icon.png" new file mode 100644 index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/original_res/debug/res/drawable/icon.png" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/original_res/debug/res/values/strings.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/original_res/debug/res/values/strings.xml" new file mode 100644 index 0000000000000000000000000000000000000000..99859de2a114f5ddba31f0d4401f49320182ba96 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/original_res/debug/res/values/strings.xml" @@ -0,0 +1,5 @@ + + + "entry_MainAbility" + "JS_Empty Ability" + diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/process_profile/debug/normal/config.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/process_profile/debug/normal/config.json" new file mode 100644 index 0000000000000000000000000000000000000000..c88aca4716bbbeb65f6bc9a964e8f9b7ef7a2b13 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/process_profile/debug/normal/config.json" @@ -0,0 +1,67 @@ +{ + "app": { + "apiVersion": { + "compatible": 6, + "releaseType": "Release", + "target": 6 + }, + "vendor": "huawei", + "bundleName": "com.huawei.codelab", + "version": { + "code": 1000000, + "name": "1.0.0" + } + }, + "deviceConfig": { + "default": { + "debug": true + } + }, + "module": { + "deviceType": [ + "phone" + ], + "abilities": [ + { + "skills": [ + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + } + ], + "name": "com.huawei.codelab.MainAbility", + "icon": "$media:icon", + "description": "$string:mainability_description", + "label": "$string:entry_MainAbility", + "type": "page", + "launchType": "standard", + "homeAbility": true + } + ], + "mainAbility": "com.huawei.codelab.MainAbility", + "distro": { + "moduleType": "entry", + "installationFree": true, + "deliveryWithInstall": true, + "moduleName": "entry" + }, + "package": "com.huawei.codelab", + "name": ".MyApplication", + "js": [ + { + "pages": [ + "pages/index/index" + ], + "name": "default", + "window": { + "designWidth": 720, + "autoDesignWidth": true + } + } + ] + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/R.txt" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/R.txt" new file mode 100644 index 0000000000000000000000000000000000000000..373f3c3f65c9f17065ddc0348a0ae2d570609b8b --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/R.txt" @@ -0,0 +1,3 @@ +media icon 0x1000002 +string entry_MainAbility 0x1000000 +string mainability_description 0x1000001 diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/config.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/config.json" new file mode 100644 index 0000000000000000000000000000000000000000..c1efda4e95e3d9a5b6f4194e8b3c77900bfd35b8 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/config.json" @@ -0,0 +1,70 @@ +{ + "app": { + "apiVersion": { + "compatible": 6, + "releaseType": "Release", + "target": 6 + }, + "vendor": "huawei", + "bundleName": "com.huawei.codelab", + "version": { + "code": 1000000, + "name": "1.0.0" + } + }, + "deviceConfig": { + "default": { + "debug": true + } + }, + "module": { + "abilities": [ + { + "iconId": 16777218, + "skills": [ + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + } + ], + "descriptionId": 16777217, + "labelId": 16777216, + "icon": "$media:icon", + "name": "com.huawei.codelab.MainAbility", + "description": "$string:mainability_description", + "label": "$string:entry_MainAbility", + "type": "page", + "homeAbility": true, + "launchType": "standard" + } + ], + "deviceType": [ + "phone" + ], + "mainAbility": "com.huawei.codelab.MainAbility", + "distro": { + "moduleType": "entry", + "installationFree": true, + "deliveryWithInstall": true, + "moduleName": "entry" + }, + "package": "com.huawei.codelab", + "name": ".MyApplication", + "js": [ + { + "pages": [ + "pages/index/index" + ], + "name": "default", + "window": { + "designWidth": 720, + "autoDesignWidth": true + } + } + ] + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources.index" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources.index" new file mode 100644 index 0000000000000000000000000000000000000000..2ada6f40f66f9cd5817550392e3b463a1f329e8e Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources.index" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/attributes.key" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/attributes.key" new file mode 100644 index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/attributes.key" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/constants.key" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/constants.key" new file mode 100644 index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/constants.key" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/contents.key" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/contents.key" new file mode 100644 index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/contents.key" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/icon.png" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/icon.png" new file mode 100644 index 0000000000000000000000000000000000000000..8966a1e3de00956d251d5c1497aa251ea7b5c49f Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/icon.png" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/nodes.key" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/nodes.key" new file mode 100644 index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/res/debug/normal/rich/resources/base/media/nodes.key" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classFiles" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classFiles" new file mode 100644 index 0000000000000000000000000000000000000000..be4df5265113e6dd670080b8e31300239bb7f73d --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classFiles" @@ -0,0 +1,5 @@ +F:\Dome\git_dome\ETS\codelabs\AnimationDemo\entry\build\intermediates\shell\debug\build\javac\classes\com\huawei\codelab\MainAbilityShellActivity.class +F:\Dome\git_dome\ETS\codelabs\AnimationDemo\entry\build\intermediates\shell\debug\build\javac\classes\com\huawei\codelab\R$drawable.class +F:\Dome\git_dome\ETS\codelabs\AnimationDemo\entry\build\intermediates\shell\debug\build\javac\classes\com\huawei\codelab\R$string.class +F:\Dome\git_dome\ETS\codelabs\AnimationDemo\entry\build\intermediates\shell\debug\build\javac\classes\com\huawei\codelab\R.class +F:\Dome\git_dome\ETS\codelabs\AnimationDemo\entry\build\intermediates\shell\debug\build\javac\classes\com\huawei\codelab\ShellMyApplication.class diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/MainAbilityShellActivity.class" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/MainAbilityShellActivity.class" new file mode 100644 index 0000000000000000000000000000000000000000..ca3d13dc56f3e8e0fd0103abf62c5cab56436e97 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/MainAbilityShellActivity.class" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/R$drawable.class" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/R$drawable.class" new file mode 100644 index 0000000000000000000000000000000000000000..0092e63e592f1ed474283627e64ddb1fcb5149c1 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/R$drawable.class" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/R$string.class" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/R$string.class" new file mode 100644 index 0000000000000000000000000000000000000000..7d5c721ce1f473f692555cea97cc633fdc9f3b87 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/R$string.class" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/R.class" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/R.class" new file mode 100644 index 0000000000000000000000000000000000000000..4e9256c61660f8c539140ef49af9b555e0668c51 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/R.class" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/ShellMyApplication.class" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/ShellMyApplication.class" new file mode 100644 index 0000000000000000000000000000000000000000..0a61dab0c726b5eae52f2ae4d18c1ab6c52886f4 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/javac/classes/com/huawei/codelab/ShellMyApplication.class" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/mergedManifest/normal/AndroidManifest.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/mergedManifest/normal/AndroidManifest.xml" new file mode 100644 index 0000000000000000000000000000000000000000..2184f416004c45c1c66eec4fe32c982689f86083 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/mergedManifest/normal/AndroidManifest.xml" @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/cut_entry.zip" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/cut_entry.zip" new file mode 100644 index 0000000000000000000000000000000000000000..958e3b1dad6bf763b452f725a8ebc122ba571567 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/cut_entry.zip" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/cut_entry/AndroidManifest.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/cut_entry/AndroidManifest.xml" new file mode 100644 index 0000000000000000000000000000000000000000..e2b6ac4890598cfc903a25120666878f87c2a189 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/cut_entry/AndroidManifest.xml" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/cut_entry/res/drawable/icon.png" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/cut_entry/res/drawable/icon.png" new file mode 100644 index 0000000000000000000000000000000000000000..d912df1fc7eb485da25b48d0c8d7e59652484b90 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/cut_entry/res/drawable/icon.png" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/cut_entry/resources.arsc" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/cut_entry/resources.arsc" new file mode 100644 index 0000000000000000000000000000000000000000..8cfabd2701a9ba1ac0762f0cb2213d879fc22a24 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/cut_entry/resources.arsc" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/entry.zip" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/entry.zip" new file mode 100644 index 0000000000000000000000000000000000000000..9dfad0488f57d5d801295a283899f3fe09cffa56 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/entry.zip" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/entry/AndroidManifest.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/entry/AndroidManifest.xml" new file mode 100644 index 0000000000000000000000000000000000000000..db2bbcb80f3e9402f8614f4aa4b1e26492bb8d57 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/entry/AndroidManifest.xml" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/entry/res/drawable/icon.png" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/entry/res/drawable/icon.png" new file mode 100644 index 0000000000000000000000000000000000000000..d912df1fc7eb485da25b48d0c8d7e59652484b90 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/entry/res/drawable/icon.png" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/entry/resources.arsc" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/entry/resources.arsc" new file mode 100644 index 0000000000000000000000000000000000000000..8cfabd2701a9ba1ac0762f0cb2213d879fc22a24 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/entry/resources.arsc" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/r/com/huawei/codelab/R.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/r/com/huawei/codelab/R.java" new file mode 100644 index 0000000000000000000000000000000000000000..913e066e46a667ba1550fba9846d1d55ae4c4bb8 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/r/com/huawei/codelab/R.java" @@ -0,0 +1,18 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package com.huawei.codelab; + +public final class R { + public static final class drawable { + public static final int icon=0x7f010000; + } + public static final class string { + public static final int entry_MainAbility=0x7f020000; + public static final int mainability_description=0x7f020001; + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/res.zip" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/res.zip" new file mode 100644 index 0000000000000000000000000000000000000000..140abad7bd9e01b3756cdbb46f76036dc8f6f6c2 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/res/normal/res.zip" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/simplifyManifest/normal/AndroidManifest.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/simplifyManifest/normal/AndroidManifest.xml" new file mode 100644 index 0000000000000000000000000000000000000000..2fec72cae25f5e3c0445c231d392d35718ccfa83 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/simplifyManifest/normal/AndroidManifest.xml" @@ -0,0 +1,9 @@ + + + + + + + + + diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/transformClasses/dalvik/classes.dex" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/transformClasses/dalvik/classes.dex" new file mode 100644 index 0000000000000000000000000000000000000000..dba9993195bd8e4b393dc76012b0d15048372694 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/build/transformClasses/dalvik/classes.dex" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/AndroidManifest.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/AndroidManifest.xml" new file mode 100644 index 0000000000000000000000000000000000000000..db19b1fa182741622646ecd349f79766c914f6e8 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/AndroidManifest.xml" @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/java/com/huawei/codelab/MainAbilityShellActivity.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/java/com/huawei/codelab/MainAbilityShellActivity.java" new file mode 100644 index 0000000000000000000000000000000000000000..e4ae822db3322e553dc74b281884b9c1debcfe2b --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/java/com/huawei/codelab/MainAbilityShellActivity.java" @@ -0,0 +1,11 @@ +package com.huawei.codelab; + +import android.os.Bundle; +import ohos.abilityshell.AbilityShellActivity; + +public class MainAbilityShellActivity extends AbilityShellActivity { + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + } +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/java/com/huawei/codelab/ShellMyApplication.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/java/com/huawei/codelab/ShellMyApplication.java" new file mode 100644 index 0000000000000000000000000000000000000000..827810f268fa0eb133ff0ff3038d07c016af4f72 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/java/com/huawei/codelab/ShellMyApplication.java" @@ -0,0 +1,10 @@ +package com.huawei.codelab; + +import ohos.ace.ability.AceApplication; + +public class ShellMyApplication extends AceApplication { + @Override + public void onCreate() { + super.onCreate(); + } +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/res/drawable/icon.png" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/res/drawable/icon.png" new file mode 100644 index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/res/drawable/icon.png" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/res/values/strings.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/res/values/strings.xml" new file mode 100644 index 0000000000000000000000000000000000000000..7435042bfa080c8b0441d4f7186068efe00e8b6a --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell/debug/src/main/res/values/strings.xml" @@ -0,0 +1,6 @@ + + + + "entry_MainAbility" + "JS_Empty Ability" + diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell_output/debug/cut/entry_debug_unsigned_cut_entry.apk" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell_output/debug/cut/entry_debug_unsigned_cut_entry.apk" new file mode 100644 index 0000000000000000000000000000000000000000..9064314b1137d4f5d86ec0c5f914ff18e57ed688 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell_output/debug/cut/entry_debug_unsigned_cut_entry.apk" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell_output/debug/entry/entry_debug_signed_entry.apk" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell_output/debug/entry/entry_debug_signed_entry.apk" new file mode 100644 index 0000000000000000000000000000000000000000..6cca703afab70a4b92282cc780cd68c8febc6a45 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell_output/debug/entry/entry_debug_signed_entry.apk" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell_output/debug/entry/entry_debug_unsigned_entry.apk" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell_output/debug/entry/entry_debug_unsigned_entry.apk" new file mode 100644 index 0000000000000000000000000000000000000000..142c20ca81386781470726f5cf50288e6bfd347c Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/shell_output/debug/entry/entry_debug_unsigned_entry.apk" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/transformClasses/debug/dalvik/classes.dex" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/transformClasses/debug/dalvik/classes.dex" new file mode 100644 index 0000000000000000000000000000000000000000..74f19c944a3ab1aaf08dbc58b5c8185acfd3503b Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/intermediates/transformClasses/debug/dalvik/classes.dex" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/outputs/hap/debug/entry-debug-rich-unsigned.hap" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/outputs/hap/debug/entry-debug-rich-unsigned.hap" new file mode 100644 index 0000000000000000000000000000000000000000..47b37584ae8ff3c40f46aaef515dde5d398553b9 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/outputs/hap/debug/entry-debug-rich-unsigned.hap" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/outputs/hap/debug/hapInfo.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/outputs/hap/debug/hapInfo.json" new file mode 100644 index 0000000000000000000000000000000000000000..ee950bf7d0845e23b89a8617fdb8c8e1f52c8ef2 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/outputs/hap/debug/hapInfo.json" @@ -0,0 +1,6 @@ +[ + { + "hapPath": "entry-debug-rich-unsigned.hap", + "device": "phone" + } +] \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/outputs/hap/debug/pack.info" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/outputs/hap/debug/pack.info" new file mode 100644 index 0000000000000000000000000000000000000000..4b1fa44ac3a759a506c9f13eabc3877240452d1f --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/outputs/hap/debug/pack.info" @@ -0,0 +1,47 @@ +{ + "summary": { + "app": { + "bundleName": "com.huawei.codelab", + "version": { + "code": 1000000, + "name": "1.0.0" + } + }, + "modules": [ + { + "mainAbility": "com.huawei.codelab.MainAbility", + "deviceType": [ + "phone" + ], + "abilities": [ + { + "visible": true, + "name": "com.huawei.codelab.MainAbility", + "label": "$string:entry_MainAbility" + } + ], + "distro": { + "moduleType": "entry", + "installationFree": true, + "deliveryWithInstall": true, + "moduleName": "entry" + }, + "apiVersion": { + "compatible": 6, + "releaseType": "Release", + "target": 6 + } + } + ] + }, + "packages": [ + { + "deviceType": [ + "phone" + ], + "moduleType": "entry", + "deliveryWithInstall": true, + "name": "entry-debug-rich-unsigned" + } + ] +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin" new file mode 100644 index 0000000000000000000000000000000000000000..f968e76e67b5c35fbf7a45a6a5bbb1811d7a10a7 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/tmp/compileDebugRFile/previous-compilation-data.bin" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/tmp/compileDebugRFile/previous-compilation-data.bin" new file mode 100644 index 0000000000000000000000000000000000000000..70c5fe738672cf614d6b0eb407bb74b2608ca5e6 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/tmp/compileDebugRFile/previous-compilation-data.bin" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/tmp/compileDebugShellJavaWithJavac/previous-compilation-data.bin" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/tmp/compileDebugShellJavaWithJavac/previous-compilation-data.bin" new file mode 100644 index 0000000000000000000000000000000000000000..ccb3c38cce40ed1923b2195375870580f34f1d48 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/tmp/compileDebugShellJavaWithJavac/previous-compilation-data.bin" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/tmp/packageDebugRClass/MANIFEST.MF" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/tmp/packageDebugRClass/MANIFEST.MF" new file mode 100644 index 0000000000000000000000000000000000000000..59499bce4a2bd51cba227b7c00fcf745b19c95a4 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/build/tmp/packageDebugRClass/MANIFEST.MF" @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/package.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/package.json" new file mode 100644 index 0000000000000000000000000000000000000000..0967ef424bce6791893e9a57bb952f80fd536e93 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/package.json" @@ -0,0 +1 @@ +{} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/proguard-rules.pro" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/proguard-rules.pro" new file mode 100644 index 0000000000000000000000000000000000000000..f7666e47561d514b2a76d5a7dfbb43ede86da92a --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/proguard-rules.pro" @@ -0,0 +1 @@ +# config module specific ProGuard rules here. \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/config.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/config.json" new file mode 100644 index 0000000000000000000000000000000000000000..dcd3b9daf8d4224dabc681cceb30fc5dd52d8108 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/config.json" @@ -0,0 +1,57 @@ +{ + "app": { + "bundleName": "com.huawei.codelab", + "vendor": "huawei", + "version": { + "code": 1000000, + "name": "1.0.0" + } + }, + "deviceConfig": {}, + "module": { + "package": "com.huawei.codelab", + "name": ".MyApplication", + "mainAbility": "com.huawei.codelab.MainAbility", + "deviceType": [ + "phone" + ], + "distro": { + "deliveryWithInstall": true, + "moduleName": "entry", + "moduleType": "entry", + "installationFree": true + }, + "abilities": [ + { + "skills": [ + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + } + ], + "name": "com.huawei.codelab.MainAbility", + "icon": "$media:icon", + "description": "$string:mainability_description", + "label": "$string:entry_MainAbility", + "type": "page", + "launchType": "standard" + } + ], + "js": [ + { + "pages": [ + "pages/index/index" + ], + "name": "default", + "window": { + "designWidth": 720, + "autoDesignWidth": true + } + } + ] + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/java/com/huawei/codelab/MainAbility.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/java/com/huawei/codelab/MainAbility.java" new file mode 100644 index 0000000000000000000000000000000000000000..dc322f31e26af610b5dc38d763fb0499fc5768bd --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/java/com/huawei/codelab/MainAbility.java" @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License,Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.huawei.codelab; + +import ohos.aafwk.content.Intent; +import ohos.ace.ability.AceAbility; + +/** + * MainAbility + * + * @since 2021-08-13 + */ +public class MainAbility extends AceAbility { + @Override + public void onStart(Intent intent) { + super.onStart(intent); + } + + @Override + public void onStop() { + super.onStop(); + } +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/java/com/huawei/codelab/MyApplication.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/java/com/huawei/codelab/MyApplication.java" new file mode 100644 index 0000000000000000000000000000000000000000..187dc063c4a35a429e2be829805292c21a510910 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/java/com/huawei/codelab/MyApplication.java" @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License,Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.huawei.codelab; + +import ohos.aafwk.ability.AbilityPackage; + +/** + * MyApplication + * + * @since 2021-08-13 + */ +public class MyApplication extends AbilityPackage { + @Override + public void onInitialize() { + super.onInitialize(); + } +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/app.js" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/app.js" new file mode 100644 index 0000000000000000000000000000000000000000..b6ace9fa8c02f05c988f27c74b5552bfc26dac95 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/app.js" @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License,Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export default { + onCreate() { + console.info('AceApplication onCreate'); + }, + onDestroy() { + console.info('AceApplication onDestroy'); + } +}; diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/common/images/cat.png" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/common/images/cat.png" new file mode 100644 index 0000000000000000000000000000000000000000..0776613aeac149df3b36d0fb2929f80edfd85543 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/common/images/cat.png" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/i18n/en-US.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/i18n/en-US.json" new file mode 100644 index 0000000000000000000000000000000000000000..e63c70d978a3a53be988388c87182f81785e170c --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/i18n/en-US.json" @@ -0,0 +1,6 @@ +{ + "strings": { + "hello": "Hello", + "world": "World" + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/i18n/zh-CN.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/i18n/zh-CN.json" new file mode 100644 index 0000000000000000000000000000000000000000..de6ee5748322f44942c1b003319d8e66c837675f --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/i18n/zh-CN.json" @@ -0,0 +1,6 @@ +{ + "strings": { + "hello": "您好", + "world": "世界" + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/pages/index/index.css" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/pages/index/index.css" new file mode 100644 index 0000000000000000000000000000000000000000..dae9fda3cceb6223fd3c586851c2aee6c332a898 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/pages/index/index.css" @@ -0,0 +1,118 @@ +/* + * Copyright (c) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License,Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +.container { + width: 100%; + background-color: #F8FCF5; + flex-direction: column; + justify-content: center; + align-items: center; +} + +.img { + margin-top: 10px; + height: 100px; + width: 100px; + animation-timing-function: ease; + animation-duration: 2s; + animation-delay: 0s; + animation-fill-mode: forwards; + animation-iteration-count: infinite; +} + +.text { + font-size: 20px; +} + +.img-translate { + animation-name: translateAnim; +} + +.img-rotate { + animation-name: rotateAnim; +} + +.img-rotateY { + animation-name: rotateYAnim; +} + +.img-scale { + animation-name: scaleAnim; +} + +.img-mixes { + animation-name: mixesAnim; +} + +.img-opacity { + animation-name: opacityAnim; +} + +/*从-100px平移到100px*/ +@keyframes translateAnim { + from { + transform: translate(-100px); + } + + to { + transform: translate(100px); + } +} + +/*从0°旋转到360°*/ +@keyframes rotateAnim { + from { + transform: rotate(0deg); + } + + to { + transform: rotate(360deg); + } +} + +/*沿Y轴旋转,从0°旋转到360°*/ +@keyframes rotateYAnim { + from { + transform: rotateY(0deg); + } + + to { + transform: rotateY(360deg); + } +} + +/*从0倍缩放到1.2倍大小*/ +@keyframes scaleAnim { + from { + transform: scale(0); + } + + to { + transform: scale(1.2); + } +} + +/*不透明度值从0变化到1*/ +@keyframes opacityAnim { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + + diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/pages/index/index.hml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/pages/index/index.hml" new file mode 100644 index 0000000000000000000000000000000000000000..0cef0f1c9f7af94237fb319af366bafa964465c5 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/pages/index/index.hml" @@ -0,0 +1,25 @@ + + +
+ + translate + + rotate + + rotateY + + scale + + opacity +
diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/pages/index/index.js" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/pages/index/index.js" new file mode 100644 index 0000000000000000000000000000000000000000..c89a4e391f4a1ea4cd60dce468d20d61ec781ca7 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/js/default/pages/index/index.js" @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License,Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export default {} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/resources/base/element/string.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/resources/base/element/string.json" new file mode 100644 index 0000000000000000000000000000000000000000..0bae6bd40f7360d5d818998221b199d3ec0f69c0 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/resources/base/element/string.json" @@ -0,0 +1,12 @@ +{ + "string": [ + { + "name": "entry_MainAbility", + "value": "entry_MainAbility" + }, + { + "name": "mainability_description", + "value": "JS_Empty Ability" + } + ] +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/resources/base/media/icon.png" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/resources/base/media/icon.png" new file mode 100644 index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/entry/src/main/resources/base/media/icon.png" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/gradle/wrapper/gradle-wrapper.jar" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/gradle/wrapper/gradle-wrapper.jar" new file mode 100644 index 0000000000000000000000000000000000000000..490fda8577df6c95960ba7077c43220e5bb2c0d9 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/gradle/wrapper/gradle-wrapper.jar" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/gradle/wrapper/gradle-wrapper.properties" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/gradle/wrapper/gradle-wrapper.properties" new file mode 100644 index 0000000000000000000000000000000000000000..f59159e865d4b59feb1b8c44b001f62fc5d58df4 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/gradle/wrapper/gradle-wrapper.properties" @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://repo.huaweicloud.com/gradle/gradle-6.3-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/local.properties" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/local.properties" new file mode 100644 index 0000000000000000000000000000000000000000..5d3e545b2e443bf2372a3ac7f35de5644a43f2d5 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/local.properties" @@ -0,0 +1,12 @@ +## This file is automatically generated by DevEco Studio. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must *NOT* be checked into Version Control Systems, +# as it contains information specific to your local configuration. +# +# Location of the SDK. This is only used by Gradle. +# For customization when using a Version Control System, please read the +# header note. +#Tue Sep 27 17:50:53 CST 2022 +nodejs.dir=F\:\\HarmonyOS\\DevEco Studio 3.0.0.800\\tools\\nodejs +hwsdk.dir=F\:\\HarmonyOS\\HarmonyOs SDK diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/settings.gradle" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/settings.gradle" new file mode 100644 index 0000000000000000000000000000000000000000..4773db73233a570c2d0c01a22e75321acfbf7a07 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/Animation/settings.gradle" @@ -0,0 +1 @@ +include ':entry' diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.gitignore" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..c5986840b05025a898d4ea39abbc0fbf237b6270 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.gitignore" @@ -0,0 +1,15 @@ +*.iml +.gradle +/local.properties +/.idea/caches +/.idea/libraries +/.idea/modules.xml +/.idea/workspace.xml +/.idea/navEditor.xml +/.idea/assetWizardSettings.xml +.DS_Store +/build +/captures +.externalNativeBuild +.cxx +upload.gradle diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/.gitignore" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..26d33521af10bcc7fd8cea344038eaaeb78d0ef5 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/.gitignore" @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/compiler.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/compiler.xml" new file mode 100644 index 0000000000000000000000000000000000000000..fb7f4a8a465d42b4a0390d464b83b99e8465bba7 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/compiler.xml" @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/gradle.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/gradle.xml" new file mode 100644 index 0000000000000000000000000000000000000000..758b11ade7646f48142015e6309f37e36d25e1c6 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/gradle.xml" @@ -0,0 +1,23 @@ + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/jarRepositories.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/jarRepositories.xml" new file mode 100644 index 0000000000000000000000000000000000000000..1dfcd020d2b2774ad414ac5c0acc344e9b9479b4 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/jarRepositories.xml" @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/misc.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/misc.xml" new file mode 100644 index 0000000000000000000000000000000000000000..58918f50335428f2efb3af4d621f9f405ed659d4 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/misc.xml" @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/vcs.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/vcs.xml" new file mode 100644 index 0000000000000000000000000000000000000000..94a25f7f4cb416c083d265558da75d457237d671 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/.idea/vcs.xml" @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/README.OPENSOURCE" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/README.OPENSOURCE" new file mode 100644 index 0000000000000000000000000000000000000000..4b18f570a1293b84fdb240506837ae604d50ab2c --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/README.OPENSOURCE" @@ -0,0 +1,10 @@ +[ + { + "Name": " BadgeView ", + "License": "BadgeView is available under the MIT license", + "License File": "README", + "Version Number": "1.1.1", + "Upstream URL": "https://github.com/AlexLiuSheng/BadgeView/archive/master.zip", + "Description": "BadgeView is a message Reminder View" + } +] \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/README.md" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/README.md" new file mode 100644 index 0000000000000000000000000000000000000000..d5ebd98a24ca872083c228d7d087eb895afa11ab --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/README.md" @@ -0,0 +1,78 @@ +# BadgeView + +BadgeView是个消息提醒小红点,可以修改红点样式 + +## 演示 +|设置滑动背景颜色 | +|:---:| +|| + +## 主要特征 + * 支持修改提醒中数字是否显示 + * 支持修改提醒红点的样式 + * 支持修改提醒的颜色,大小 + +## entry运行要求 + 通过DevEco studio,并下载openHarmonySDK + 将项目中的build.gradle文件中dependencies→classpath版本改为对应的版本(即你的IDE新建项目中所用的版本) + + ## 集成 + + ``` +方式一: +通过library生成har包,添加har包到libs文件夹内 +在entry的gradle内添加如下代码 +implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) + +方式二: +allprojects{ + repositories{ + mavenCentral() + } +} +implementation 'io.openharmony.tpc.thirdlib:badgeview:1.0.3' + ``` + +BadgeView使用说明: +* 简单使用 +``` +BadgeFactory.createDot(this).setBadgeCount(20).bind(imageView); +BadgeFactory.createCircle(this).setBadgeCount(20).bind(imageView); +BadgeFactory.createRectangle(this).setBadgeCount(20).bind(imageView); +BadgeFactory.createOval(this).setBadgeCount(20).bind(imageView); +BadgeFactory.createSquare(this).setBadgeCount(20).bind(imageView); +BadgeFactory.createRoundRect(this).setBadgeCount(20).bind(imageView); +``` +* 扩展使用 +``` +BadgeFactory.create(this) +.setTextColor(Color.White) +.setWidthAndHeight(25,25) +.setBadgeBackground(Color.Red) +.setTextSize(10) +.setBadgeGravity(Gravity.Right|Gravity.Top) +.setBadgeCount(20) +.setShape(BadgeView.SHAPE_CIRCLE) +.setSpace(10,10) +.bind(view); +``` + +## License +``` + Copyright 2016 AllenLiu. + + Licensed to the Apache Software Foundation (ASF) under one or more contributor + license agreements. See the NOTICE file distributed with this work for + additional information regarding copyright ownership. The ASF licenses this + file to you under the Apache License, Version 2.0 (the "License"); you may not + use this file except in compliance with the License. You may obtain a copy of + the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + License for the specific language governing permissions and limitations under + the License. +``` \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/build.gradle" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/build.gradle" new file mode 100644 index 0000000000000000000000000000000000000000..dd704258e69d0eb519a25f67353834c3f98524a3 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/build.gradle" @@ -0,0 +1,48 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules. +apply plugin: 'com.huawei.ohos.app' + +ohos { + compileSdkVersion 5 + defaultConfig { + compatibleSdkVersion 5 + } +} + +buildscript { + repositories { + maven { + url 'https://repo.huaweicloud.com/repository/maven/' + } + maven { + url 'https://developer.huawei.com/repo/' + } + jcenter() + } + dependencies { + classpath 'com.huawei.ohos:hap:3.0.5.2' + classpath 'com.huawei.ohos:decctest:1.2.7.2' + } +} + +allprojects { + repositories { + maven { + url 'https://repo.huaweicloud.com/repository/maven/' + } + maven { + url 'https://developer.huawei.com/repo/' + } + + jcenter() + } +} +rootProject.ext { + DEFAULT_GROUP_ID = "io.openharmony.tpc.thirdlib" + DEFAULT_ARTIFACT_ID = "BadgeView" + DEFAULT_VERSION = "1.0.3" + DEFAULT_GITEE_URL = "https://gitee.com/openharmony-tpc/" + rootProject.ext.DEFAULT_ARTIFACT_ID + HPM_NAME = "@opensource/" + rootProject.ext.DEFAULT_ARTIFACT_ID + HPM_DESCRIPTION = "a badgeview base on ohos" + HPM_TAG = "UI" + HPM_KEYWORDS = 'badgeview' +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/changelog.md" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/changelog.md" new file mode 100644 index 0000000000000000000000000000000000000000..47cfa40aedb53deb268479541483aa8a708a851e --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/changelog.md" @@ -0,0 +1,4 @@ +# 版本修改 +* 版本1.0.2修改 + +实现了原三方库中的在视图上添加各种样式的圆点的功能 \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/.gitignore" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..796b96d1c402326528b4ba3c12ee9d92d0e212e9 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/.gitignore" @@ -0,0 +1 @@ +/build diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/build.gradle" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/build.gradle" new file mode 100644 index 0000000000000000000000000000000000000000..4e0987672ac0a0cddb2a483aab301f024115c610 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/build.gradle" @@ -0,0 +1,18 @@ +apply plugin: 'com.huawei.ohos.hap' +apply plugin: 'com.huawei.ohos.decctest' +ohos { + compileSdkVersion 5 + defaultConfig { + compatibleSdkVersion 5 + } +} + +dependencies { + implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) + implementation project(':library') + testCompile'junit:junit:4.12' + ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.100' +} +decc { + supportType = ['html','xml'] +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/config.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/config.json" new file mode 100644 index 0000000000000000000000000000000000000000..d3e2d48445e38047bfbefed9168f846cbe6407d8 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/config.json" @@ -0,0 +1,48 @@ +{ + "app": { + "bundleName": "com.allenliu.app", + "vendor": "allenliu", + "version": { + "code": 1, + "name": "1.0" + }, + "apiVersion": { + "compatible": 5, + "target": 5 + } + }, + "deviceConfig": {}, + "module": { + "package": "com.allenliu.app", + "name": ".BadgeViewApplication", + "deviceType": [ + "phone" + ], + "distro": { + "deliveryWithInstall": true, + "moduleName": "entry", + "moduleType": "entry" + }, + "abilities": [ + { + "skills": [ + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + } + ], + "orientation": "unspecified", + "name": "com.allenliu.app.MainAbility", + "icon": "$media:icon", + "description": "$string:mainability_description", + "label": "$ohos:string:id_text_font_family_medium", + "type": "page", + "launchType": "standard" + } + ] + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/java/com/allenliu/app/BadgeViewApplication.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/java/com/allenliu/app/BadgeViewApplication.java" new file mode 100644 index 0000000000000000000000000000000000000000..109bd2479a4b3268a09eaa92bdca66598a1623a0 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/java/com/allenliu/app/BadgeViewApplication.java" @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.allenliu.app; + +import ohos.aafwk.ability.AbilityPackage; + +/** + * 程序入口application + */ +public class BadgeViewApplication extends AbilityPackage { + @Override + public void onInitialize() { + super.onInitialize(); + } +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/java/com/allenliu/app/MainAbility.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/java/com/allenliu/app/MainAbility.java" new file mode 100644 index 0000000000000000000000000000000000000000..29610b01be2f3d9372b03b3808907269dc389edf --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/java/com/allenliu/app/MainAbility.java" @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.allenliu.app; + +import com.allenliu.app.slice.MainAbilitySlice; +import ohos.aafwk.ability.Ability; +import ohos.aafwk.content.Intent; + +/** + * 程序入口ability + */ +public class MainAbility extends Ability { + @Override + public void onStart(Intent intent) { + super.onStart(intent); + super.setMainRoute(MainAbilitySlice.class.getName()); + } +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/java/com/allenliu/app/slice/MainAbilitySlice.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/java/com/allenliu/app/slice/MainAbilitySlice.java" new file mode 100644 index 0000000000000000000000000000000000000000..cbcc3a357b423cce2034c8802d052179b3f0f851 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/java/com/allenliu/app/slice/MainAbilitySlice.java" @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.allenliu.app.slice; + +import com.allenliu.app.ResourceTable; +import com.allenliu.badgeview.BadgeFactory; +import ohos.aafwk.ability.AbilitySlice; +import ohos.aafwk.content.Intent; +import ohos.agp.components.Image; +import ohos.agp.utils.Color; + +/** + * 程序入口展示页面 + */ +public class MainAbilitySlice extends AbilitySlice { + @Override + public void onStart(Intent intent) { + super.onStart(intent); + super.setUIContent(ResourceTable.Layout_ability_main); + Image image1 = (Image) findComponentById(ResourceTable.Id_iv1); + Image image2 = (Image) findComponentById(ResourceTable.Id_iv2); + Image image3 = (Image) findComponentById(ResourceTable.Id_iv3); + Image image4 = (Image) findComponentById(ResourceTable.Id_iv4); + Image image5 = (Image) findComponentById(ResourceTable.Id_iv5); + Image image6 = (Image) findComponentById(ResourceTable.Id_iv6); + BadgeFactory.createDot(this).setBadgeCount(20).bind(image1); + BadgeFactory.createCircle(this).setBadgeCount(20).bind(image2); + BadgeFactory.createRectangle(this).setBadgeCount(20).bind(image3); + BadgeFactory.createOval(this).setBadgeCount(20).bind(image4); + BadgeFactory.createSquare(this).setBadgeCount(20).bind(image5); + BadgeFactory.create(this).setTextColor(Color.RED.getValue()).setTextSize(10).setWidthAndHeight(20,20).setBadgeCount(20).setBadgeBackground(Color.GREEN.getValue()).bind(image6); + } + + @Override + public void onActive() { + super.onActive(); + } + + @Override + public void onForeground(Intent intent) { + super.onForeground(intent); + } +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/resources/base/element/string.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/resources/base/element/string.json" new file mode 100644 index 0000000000000000000000000000000000000000..9eb1acfea90d271a6a2dde6f5c60f874fb40f788 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/resources/base/element/string.json" @@ -0,0 +1,12 @@ +{ + "string": [ + { + "name": "app_name", + "value": "SwipRxjava" + }, + { + "name": "mainability_description", + "value": "Java_Phone_Empty Feature Ability" + } + ] +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/resources/base/graphic/background_ability_main.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/resources/base/graphic/background_ability_main.xml" new file mode 100644 index 0000000000000000000000000000000000000000..23806b21f51837924cd70e02f7c4a49f68ccd012 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/resources/base/graphic/background_ability_main.xml" @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/resources/base/layout/ability_main.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/resources/base/layout/ability_main.xml" new file mode 100644 index 0000000000000000000000000000000000000000..a9c90a3b4724b6441f5a52e5fcf786bbc6006820 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/resources/base/layout/ability_main.xml" @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/resources/base/media/icon.png" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/resources/base/media/icon.png" new file mode 100644 index 0000000000000000000000000000000000000000..ce307a8827bd75456441ceb57d530e4c8d45d36c Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/main/resources/base/media/icon.png" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/ohosTest/config.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/ohosTest/config.json" new file mode 100644 index 0000000000000000000000000000000000000000..c992f28af14133ce86d1c55a1acdddb8d2eb825b --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/ohosTest/config.json" @@ -0,0 +1,40 @@ +{ + "app": { + "bundleName": "com.allenliu.app", + "vendor": "allenliu", + "version": { + "code": 1, + "name": "1.0" + }, + "apiVersion": { + "compatible": 4, + "target": 4, + "releaseType": "Beta1" + } + }, + "deviceConfig": {}, + "module": { + "package": "com.allenliu.app", + "name": "testModule", + "deviceType": [ + "phone" + ], + "distro": { + "deliveryWithInstall": true, + "moduleName": "entry_test", + "moduleType": "feature" + }, + "abilities": [ + { + "name": "decc.testkit.runner.EntryAbility", + "description": "Test Entry Ability", + "icon": "$media:icon", + "label": "TestAbility", + "launchType": "standard", + "orientation": "landscape", + "visible": true, + "type": "page" + } + ] + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/ohosTest/java/com/allenliu/app/ExampleOhosTest.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/ohosTest/java/com/allenliu/app/ExampleOhosTest.java" new file mode 100644 index 0000000000000000000000000000000000000000..5ad5253da0ba091d2b710d3f5102466fdf6cdecc --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/ohosTest/java/com/allenliu/app/ExampleOhosTest.java" @@ -0,0 +1,14 @@ +package com.allenliu.app; + +import ohos.aafwk.ability.delegation.AbilityDelegatorRegistry; +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class ExampleOhosTest { + @Test + public void testBundleName() { + final String actualBundleName = AbilityDelegatorRegistry.getArguments().getTestBundleName(); + assertEquals("com.allenliu.app", actualBundleName); + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/test/java/com/allenliu/app/ExampleTest.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/test/java/com/allenliu/app/ExampleTest.java" new file mode 100644 index 0000000000000000000000000000000000000000..2ad3f8ea38c8964b9c2f7694af8002b1c6e07234 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/entry/src/test/java/com/allenliu/app/ExampleTest.java" @@ -0,0 +1,9 @@ +package com.allenliu.app; + +import org.junit.Test; + +public class ExampleTest { + @Test + public void onStart() { + } +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradle.properties" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradle.properties" new file mode 100644 index 0000000000000000000000000000000000000000..0daf1830fbdef07e50a44d74210c8c82f1b66278 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradle.properties" @@ -0,0 +1,10 @@ +# Project-wide Gradle settings. +# IDE (e.g. DevEco Studio) users: +# Gradle settings configured through the IDE *will override* +# any settings specified in this file. +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +# If the Chinese output is garbled, please configure the following parameter. +# org.gradle.jvmargs=-Dfile.encoding=GBK diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradle/wrapper/gradle-wrapper.jar" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradle/wrapper/gradle-wrapper.jar" new file mode 100644 index 0000000000000000000000000000000000000000..490fda8577df6c95960ba7077c43220e5bb2c0d9 Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradle/wrapper/gradle-wrapper.jar" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradle/wrapper/gradle-wrapper.properties" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradle/wrapper/gradle-wrapper.properties" new file mode 100644 index 0000000000000000000000000000000000000000..6623300bebd011bc5f7991f4f9c389e2f67b14ac --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradle/wrapper/gradle-wrapper.properties" @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradlew" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradlew" new file mode 100644 index 0000000000000000000000000000000000000000..2fe81a7d95e4f9ad2c9b2a046707d36ceb3980b3 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradlew" @@ -0,0 +1,183 @@ +#!/usr/bin/env sh + +# +# Copyright 2015 the original author or authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn () { + echo "$*" +} + +die () { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; + NONSTOP* ) + nonstop=true + ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin or MSYS, switch paths to Windows format before running java +if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=`expr $i + 1` + done + case $i in + 0) set -- ;; + 1) set -- "$args0" ;; + 2) set -- "$args0" "$args1" ;; + 3) set -- "$args0" "$args1" "$args2" ;; + 4) set -- "$args0" "$args1" "$args2" "$args3" ;; + 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Escape application args +save () { + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done + echo " " +} +APP_ARGS=`save "$@"` + +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +exec "$JAVACMD" "$@" diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradlew.bat" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradlew.bat" new file mode 100644 index 0000000000000000000000000000000000000000..62bd9b9ccefea2b65ae41e5d9a545e2021b90a1d --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/gradlew.bat" @@ -0,0 +1,103 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windows variants + +if not "%OS%" == "Windows_NT" goto win9xME_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/.gitignore" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..796b96d1c402326528b4ba3c12ee9d92d0e212e9 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/.gitignore" @@ -0,0 +1 @@ +/build diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/build.gradle" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/build.gradle" new file mode 100644 index 0000000000000000000000000000000000000000..bac4a1b7f950c43435cae5ac9c338e437413f392 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/build.gradle" @@ -0,0 +1,13 @@ +apply plugin: 'com.huawei.ohos.library' +ohos { + compileSdkVersion 5 + defaultConfig { + compatibleSdkVersion 5 + } + +} + +dependencies { + implementation fileTree(dir: 'libs', include: ['*.jar']) + testCompile'junit:junit:4.12' +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/src/main/config.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/src/main/config.json" new file mode 100644 index 0000000000000000000000000000000000000000..26e2a81a013378db66cadd8d0c42348dc3c5d392 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/src/main/config.json" @@ -0,0 +1,27 @@ +{ + "app": { + "bundleName": "com.allenliu.app", + "vendor": "allenliu", + "version": { + "code": 1, + "name": "1.0" + }, + "apiVersion": { + "compatible": 5, + "target": 5, + "releaseType": "Beta1" + } + }, + "deviceConfig": {}, + "module": { + "package": "com.allenliu.badgeview", + "deviceType": [ + "phone" + ], + "distro": { + "deliveryWithInstall": true, + "moduleName": "library", + "moduleType": "har" + } + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/src/main/java/com/allenliu/badgeview/BadgeFactory.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/src/main/java/com/allenliu/badgeview/BadgeFactory.java" new file mode 100644 index 0000000000000000000000000000000000000000..c7b52aebe5920bf9de7feb57e915f0763ca27a3a --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/src/main/java/com/allenliu/badgeview/BadgeFactory.java" @@ -0,0 +1,33 @@ +package com.allenliu.badgeview; + + +import ohos.agp.utils.LayoutAlignment; +import ohos.app.Context; + +/** + * Created by Allen Liu on 2016/7/15. + */ +public class BadgeFactory { + public static BadgeView createDot(Context context){ + return new BadgeView(context).setWidthAndHeight(10,10).setTextSize(0).setBadgeGravity(LayoutAlignment.RIGHT| LayoutAlignment.TOP).setShape(BadgeView.SHAPE_CIRCLE); + } + public static BadgeView createCircle(Context context){ + return new BadgeView(context).setWidthAndHeight(20,20).setTextSize(12).setBadgeGravity(LayoutAlignment.RIGHT| LayoutAlignment.TOP).setShape(BadgeView.SHAPE_CIRCLE); + } + public static BadgeView createRectangle(Context context){ + return new BadgeView(context).setWidthAndHeight(25,20).setTextSize(12).setBadgeGravity(LayoutAlignment.RIGHT| LayoutAlignment.TOP).setShape(BadgeView.SHAPE_RECTANGLE); + } + public static BadgeView createOval(Context context){ + return new BadgeView(context).setWidthAndHeight(25,20).setTextSize(12).setBadgeGravity(LayoutAlignment.RIGHT| LayoutAlignment.TOP).setShape(BadgeView.SHAPE_OVAL); + } + public static BadgeView createSquare(Context context){ + return new BadgeView(context).setWidthAndHeight(20,20).setTextSize(12).setBadgeGravity(LayoutAlignment.RIGHT| LayoutAlignment.TOP).setShape(BadgeView.SHAPE_SQUARE); + } + public static BadgeView createRoundRect(Context context){ + return new BadgeView(context).setWidthAndHeight(25,20).setTextSize(12).setBadgeGravity(LayoutAlignment.RIGHT| LayoutAlignment.TOP).setShape(BadgeView.SHAPTE_ROUND_RECTANGLE); + } + public static BadgeView create(Context context){ + return new BadgeView(context); + } + +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/src/main/java/com/allenliu/badgeview/BadgeView.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/src/main/java/com/allenliu/badgeview/BadgeView.java" new file mode 100644 index 0000000000000000000000000000000000000000..20032f7d184eb46e12c7b04e9f8689b0cfc09ce1 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/src/main/java/com/allenliu/badgeview/BadgeView.java" @@ -0,0 +1,330 @@ +package com.allenliu.badgeview; + + +import ohos.agp.components.AttrSet; +import ohos.agp.components.Component; +import ohos.agp.components.ComponentContainer; +import ohos.agp.components.StackLayout; +import ohos.agp.render.Canvas; +import ohos.agp.render.Paint; +import ohos.agp.utils.Color; +import ohos.agp.utils.LayoutAlignment; +import ohos.agp.utils.RectFloat; +import ohos.agp.utils.TextAlignment; +import ohos.agp.window.service.Display; +import ohos.agp.window.service.DisplayManager; +import ohos.app.Context; + +import java.util.Optional; + + +public class BadgeView extends Component implements Component.DrawTask { + + public static final int SHAPE_CIRCLE = 1; + public static final int SHAPE_RECTANGLE = 2; + public static final int SHAPE_OVAL = 3; + public static final int SHAPTE_ROUND_RECTANGLE = 4; + public static final int SHAPE_SQUARE = 5; + private Paint numberPaint; + private Paint backgroundPaint; + private int currentShape = SHAPE_CIRCLE; + private int defaultTextColor = Color.WHITE.getValue(); + private int defaultTextSize; + private int defaultBackgroundColor = Color.RED.getValue(); + private String showText = ""; + private int badgeGravity = LayoutAlignment.RIGHT | LayoutAlignment.TOP; + private int leftMargin = 0; + private int topMargin = 0; + private int bottomMargin = 0; + private int rightMargin = 0; + private boolean hasBind=false; + private int horiontalSpace=0; + private int verticalSpace=0; + public BadgeView(Context context) { + super(context); + init(context); + } + public BadgeView(Context context, AttrSet attrs) { + super(context, attrs); + init(context); + } + public BadgeView(Context context, AttrSet attrs, String defStyleAttr) { + super(context, attrs, defStyleAttr); + init(context); + } + private void init(Context context) { + defaultTextSize = dip2px(context, 1); + numberPaint = new Paint(); + numberPaint.setAntiAlias(true); + numberPaint.setColor(new Color(defaultTextColor)); + numberPaint.setStyle(Paint.Style.FILL_STYLE); + numberPaint.setTextSize(defaultTextSize); + numberPaint.setTextAlign(TextAlignment.CENTER); + backgroundPaint = new Paint(); + backgroundPaint.setAntiAlias(true); + backgroundPaint.setColor(new Color(defaultBackgroundColor)); + backgroundPaint.setStyle(Paint.Style.FILL_STYLE); + StackLayout.LayoutConfig params = new StackLayout.LayoutConfig(StackLayout.LayoutConfig.MATCH_CONTENT, StackLayout.LayoutConfig.MATCH_CONTENT); + params.alignment = badgeGravity; + setLayoutConfig(params); + addDrawTask(this); + } + + @Override + public void onDraw(Component component, Canvas canvas) { + RectFloat rectF = new RectFloat(0, 0, getWidth(), getHeight()); + Paint.FontMetrics fontMetrics = numberPaint.getFontMetrics(); + float textH = fontMetrics.descent - fontMetrics.ascent; + switch (currentShape) { + case SHAPE_CIRCLE: + canvas.drawCircle(getWidth() / 2f, getHeight() / 2f, getWidth() / 2, backgroundPaint); + canvas.drawText(numberPaint,showText, getWidth() / 2f, getHeight() / 2f + (textH / 2f - fontMetrics.descent)); + break; + case SHAPE_OVAL: + + canvas.drawOval(rectF, backgroundPaint); + canvas.drawText( numberPaint,showText, getWidth() / 2f, getHeight() / 2f + (textH / 2f - fontMetrics.descent)); + break; + case SHAPE_RECTANGLE: + canvas.drawRect(rectF, backgroundPaint); + canvas.drawText(numberPaint,showText, getWidth() / 2f, getHeight() / 2f + (textH / 2f - fontMetrics.descent)); + break; + case SHAPE_SQUARE: + int sideLength = Math.min(getHeight(), getWidth()); + RectFloat squareF = new RectFloat(0, 0, sideLength, sideLength); + canvas.drawRect(squareF, backgroundPaint); + canvas.drawText(numberPaint,showText, sideLength / 2f, sideLength / 2f + (textH / 2f - fontMetrics.descent)); + break; + case SHAPTE_ROUND_RECTANGLE: + canvas.drawRoundRect(rectF, dip2px(getContext(), 5), dip2px(getContext(), 5), backgroundPaint); + canvas.drawText(numberPaint,showText, getWidth() / 2f, getHeight() / 2f + (textH / 2f - fontMetrics.descent)); + break; + } + + } + + + + + private int dip2px(Context context, int dip) { + Optional defaultDisplay = DisplayManager.getInstance().getDefaultDisplay(getContext()); + if(defaultDisplay.isPresent()){ + Display display = defaultDisplay.get(); + return (int)(display.getAttributes().scalDensity*dip+0.5f); + } + return 0; + } + + /** 将sp转换成px + * + * @param context 上下文 + * @param spValue 需要修改的值 + * @return 修改后的值 + */ + private int sp2px(Context context, float spValue) { + Optional defaultDisplay = DisplayManager.getInstance().getDefaultDisplay(getContext()); + if(defaultDisplay.isPresent()){ + Display display = defaultDisplay.get(); + return (int)(display.getAttributes().scalDensity*spValue+0.5f); + } + return 0; + } + + public BadgeView setShape(int shape) { + currentShape = shape; + invalidate(); + return this; + } + + /** + * 设置badgeview宽和高 + * @param w dip + * @param h dip this unit is dip + * @return BadgeView对象 + */ + public BadgeView setWidthAndHeight(int w, int h) { + StackLayout.LayoutConfig params = (StackLayout.LayoutConfig) getLayoutConfig(); + params.width = dip2px(getContext(), w); + params.height = dip2px(getContext(), h); + setLayoutConfig(params); + return this; + } + + + + /** + * set bindview margin that you can change badges positon + * + * @param left the unit is dip + * @param top + * @param right + * @param bottom + * @return BadgeView对象 + * + */ + @Deprecated + public BadgeView setMargin(int left, int top, int right, int bottom) { + leftMargin = dip2px(getContext(), left); + bottomMargin = dip2px(getContext(), bottom); + topMargin = dip2px(getContext(), top); + rightMargin = dip2px(getContext(), right); + invalidate(); + return this; + } + + /** + *设置badgeview内容间距 + * + * @param horitontal horitontal space unit dp + * @param vertical vertical space unnit dp + * @return BadgeView对象 + */ + public BadgeView setSpace(int horitontal, int vertical){ + horiontalSpace=dip2px(getContext(), horitontal); + verticalSpace=dip2px(getContext(), vertical); + invalidate(); + return this; + } + /** + * 设置badgeview内字体大小 + * @param sp the unit is sp + * @return BadgeView对象 + */ + public BadgeView setTextSize(int sp) { + defaultTextSize = sp2px(getContext(), sp); + numberPaint.setTextSize(sp2px(getContext(), sp)); + invalidate(); + return this; + } + + /** + * 设置badgeview颜色值 + * + * @param color 颜色值 + * @return badgeview对象 + */ + public BadgeView setTextColor(int color) { + defaultTextColor = color; + numberPaint.setColor(new Color(color)); + invalidate(); + return this; + } + + /** + * 设置背景颜色值 + * + * @param color 背景颜色 + * @return badgeview对象 + */ + public BadgeView setBadgeBackground(int color) { + defaultBackgroundColor = color; + backgroundPaint.setColor(new Color(color)); + invalidate(); + return this; + } + + public BadgeView setBadgeCount(int count) { + showText = String.valueOf(count); + invalidate(); + return this; + } + + public BadgeView setBadgeCount(String count) { + showText = count; + invalidate(); + return this; + } + /** + * set gravity must be before @link bind() method + * + * @param gravity + * @return BadgeView对象 + */ + public BadgeView setBadgeGravity(int gravity) { + badgeGravity = gravity; + StackLayout.LayoutConfig params = (StackLayout.LayoutConfig) getLayoutConfig(); + params.alignment = gravity; + setLayoutConfig(params); + return this; + } + + public BadgeView bind(Component view) { + if (getComponentParent() != null){ + ((ComponentContainer) getComponentParent()).removeComponent(this); + } + if (view == null){ + return this; + } + if ((view.getComponentParent() instanceof StackLayout)&&hasBind==true) + { + ((StackLayout) view.getComponentParent()).addComponent(this); + return this; + } else if (view.getComponentParent() instanceof ComponentContainer) { + ComponentContainer parentContainer = (ComponentContainer) view.getComponentParent(); + int viewIndex = ((ComponentContainer) view.getComponentParent()).getChildIndex(view); + ((ComponentContainer) view.getComponentParent()).removeComponent(view); + StackLayout container = new StackLayout(getContext()); + ComponentContainer.LayoutConfig containerParams = view.getLayoutConfig(); + int origionHeight=containerParams.height; + int origionWidth=containerParams.width; + StackLayout.LayoutConfig viewLayoutParams =new StackLayout.LayoutConfig( origionWidth, origionHeight); + if(origionHeight==ComponentContainer.LayoutConfig.MATCH_CONTENT){ + containerParams.height = ComponentContainer.LayoutConfig.MATCH_CONTENT; + viewLayoutParams.setMarginTop(topMargin); + viewLayoutParams.setMarginBottom(bottomMargin); + }else{ + containerParams.height =origionHeight+topMargin+bottomMargin+verticalSpace; + } + if(origionWidth==ComponentContainer.LayoutConfig.MATCH_CONTENT){ + containerParams.width = ComponentContainer.LayoutConfig.MATCH_CONTENT; + viewLayoutParams.setMarginLeft(leftMargin); + viewLayoutParams.setMarginRight(rightMargin); + }else{ + containerParams.width=origionWidth+rightMargin+horiontalSpace+leftMargin; + } + container.setLayoutConfig(containerParams); + + //setGravity + StackLayout.LayoutConfig params = (StackLayout.LayoutConfig) getLayoutConfig(); + if(params.alignment==(LayoutAlignment.RIGHT|LayoutAlignment.TOP)||params.alignment==LayoutAlignment.RIGHT||params.alignment==LayoutAlignment.TOP){ + view.setPadding(0,verticalSpace,horiontalSpace,0); + viewLayoutParams.alignment=LayoutAlignment.LEFT|LayoutAlignment.BOTTOM; + }else if(params.alignment==(LayoutAlignment.LEFT|LayoutAlignment.TOP)||params.alignment==LayoutAlignment.LEFT||params.alignment==LayoutAlignment.TOP){ + view.setPadding(horiontalSpace,verticalSpace,0,0); + viewLayoutParams.alignment=LayoutAlignment.RIGHT|LayoutAlignment.BOTTOM; + }else if(params.alignment==(LayoutAlignment.LEFT|LayoutAlignment.BOTTOM)){ + view.setPadding(horiontalSpace,0,0,verticalSpace); + viewLayoutParams.alignment=LayoutAlignment.RIGHT|LayoutAlignment.TOP; + }else if(params.alignment==(LayoutAlignment.RIGHT|LayoutAlignment.BOTTOM)){ + view.setPadding(0,0,horiontalSpace,verticalSpace); + viewLayoutParams.alignment=LayoutAlignment.LEFT|LayoutAlignment.TOP; + }else{ + view.setPadding(0,verticalSpace,horiontalSpace,0); + viewLayoutParams.alignment=LayoutAlignment.LEFT|LayoutAlignment.BOTTOM; + } + + view.setLayoutConfig(viewLayoutParams); + container.setId(view.getId()); + container.addComponent(view); + container.addComponent(this); + parentContainer.addComponent(container, viewIndex); + hasBind=true; + } else if (view.getComponentParent() == null) { + return this; + } + return this; + } + + public boolean unbind() { + if (getComponentParent() != null) { + ((ComponentContainer) getComponentParent()).removeComponent(this); + return true; + } + return false; + } + + public String getBadgeCount() { + return showText; + } + +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/src/main/resources/base/element/string.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/src/main/resources/base/element/string.json" new file mode 100644 index 0000000000000000000000000000000000000000..6c298286373e6266fd910aac81429792f08df437 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/library/src/main/resources/base/element/string.json" @@ -0,0 +1,8 @@ +{ + "string": [ + { + "name": "app_name", + "value": "Library" + } + ] +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/screenshot/badgeviewshow.jpg" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/screenshot/badgeviewshow.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..d0e951a88d87a329fe88a012ef8570182d5a26de Binary files /dev/null and "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/screenshot/badgeviewshow.jpg" differ diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/settings.gradle" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/settings.gradle" new file mode 100644 index 0000000000000000000000000000000000000000..d0c7ee8440156d4a9324ac5357770747425fef57 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/BadgeView/settings.gradle" @@ -0,0 +1 @@ +include ':entry', ':library' diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/.gitignore" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..44d914d1a41227b5cd6dc5e527d3e1871662f97f --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/.gitignore" @@ -0,0 +1,10 @@ +*.iml +.gradle +/local.properties +.idea +.DS_Store +/build +/captures +.externalNativeBuild +.cxx +upload1.gradle \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/LICENSE" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/LICENSE" new file mode 100644 index 0000000000000000000000000000000000000000..608e2348bab516701f092036a7c72d1377bc02dd --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/LICENSE" @@ -0,0 +1,5 @@ +Copyright (C) 2015 Stuart Campbell Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/README.OPENSOURCE" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/README.OPENSOURCE" new file mode 100644 index 0000000000000000000000000000000000000000..1a77a01d56e65b6432bfcff3bd82afa412aaa984 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/README.OPENSOURCE" @@ -0,0 +1,11 @@ +[ + { + "Name": "RushOrm", + "License": " Licence Apache License, Version 2.0 ", + "License File": " LICENSE.md ", + "Version Number": " 1.3.0 ", + "Upstream URL": " https://github.com/Stuart-campbell/RushOrm/archive/v1.3.0.tar.gz", + "Description": " RushOrm replaces the need for SQL by mapping java classes to SQL tables. " + } +] + diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/README.md" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/README.md" new file mode 100644 index 0000000000000000000000000000000000000000..12d71eae31a918fe6fea115fc573917111ce12a4 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/README.md" @@ -0,0 +1,162 @@ +# RushOrm +RushOrm replaces the need for SQL by mapping java classes to SQL tables. + +### 概述 + +### What projects is it right for? + +
+ +### Why was RushOrm written? + +While there are a number of other ORMs, the areas many seem to fall short is the support of 'one to many' relationships, migration and extensions. While claiming all the same basic feature of most other ORMs RushOrm supports 'List' properties without having to add the parent object to it's children. It also handles migrating the class structure without any SQL scripts being required by the developer. Finally it is designed with the understanding that not every situation can be anticipated so instead it can be easily customized. +
+ +### 演示效果 + + +### 集成 + +```javascript +方式一: +通过library生成har包,添加har包到libs文件夹内 +在entry的gradle内添加如下代码 +implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) + +方式二: +allprojects{ + repositories{ + mavenCentral() + } +} +implementation 'io.openharmony.tpc.thirdlib:RushOrm_rushohos:1.0.6' +``` + +## entry运行要求 + 通过DevEco studio,并下载SDK + 将项目中的build.gradle文件中dependencies→classpath版本改为对应的版本(即你的IDE新建项目中所用的版本) + + + +### 示例 + +```java +1. + +public class Car extends RushObject { + + public String color; + public Engine engine; + + public String anotherField; + + @RushList(classType = Wheel.class) + public List wheels; + + public Car(){ + /* Empty constructor required */ + } + + public Car(String color, Engine engine){ + this.color = color; + this.engine = engine; + } +} + + +public class MainAbility extends Ability { + @Override + public void onStart(Intent intent) { + super.onStart(intent); + super.setMainRoute(MainAbilitySlice.class.getName()); + List> classes = new ArrayList<>(); + classes.add(Car.class); + classes.add(Engine.class); + classes.add(Wheel.class); + OhosInitializeConfig ohosInitializeConfig = new OhosInitializeConfig(getApplicationContext(), classes); + RushOhos.initialize(ohosInitializeConfig); + } +} + + + +2. + Button btnSave = (Button) findComponentById(ResourceTable.Id_btn_save); + Button btnSelect = (Button) findComponentById(ResourceTable.Id_btn_select); + Button btnDel = (Button) findComponentById(ResourceTable.Id_btn_del); + Text tvShow = (Text) findComponentById(ResourceTable.Id_text_show); + //保存 + btnSave.setClickedListener(component -> { + final long startTime = System.currentTimeMillis(); + final int numberToSave = 100; + List cars = new ArrayList<>(numberToSave); + for (int i = 0; i < numberToSave; i++) { + Car car = new Car("Red", new Engine()); + car.wheels = new ArrayList<>(); + for (int j = 0; j < 4; j++) { + car.wheels.add(new Wheel("Michelin")); + } + cars.add(car); + } + + RushCore.getInstance().save(cars, () -> { + long endTime = System.currentTimeMillis(); + final double saveTime = (endTime - startTime) / 1000.0; + getAbility().getContext().getUITaskDispatcher().asyncDispatch(new Runnable() { + @Override + public void run() { + tvShow.setText("保存成功!总耗时:"+String.format("%1$,.2f s", saveTime)); + } + }); + }); + }); + //查询 + btnSelect.setClickedListener(component -> { + new Thread(() -> { + List cars = new RushSearch().find(Car.class); + getAbility().getContext().getUITaskDispatcher().asyncDispatch(new Runnable() { + @Override + public void run() { + LogUtil.error("test", "Rush main select complete===="); + tvShow.setText("查询成功:"+JSON.toJSONString(cars)); + } + }); + }).start(); + }); + //删除 + btnDel.setClickedListener(component -> new Thread(() -> { + RushCore.getInstance().deleteAll(Car.class); + RushCore.getInstance().deleteAll(Engine.class); + RushCore.getInstance().deleteAll(Wheel.class); + getAbility().getContext().getUITaskDispatcher().asyncDispatch(new Runnable() { + @Override + public void run() { + tvShow.setText("删除成功"); + } + }); + }).start()); +``` + +### Licence Apache License, Version 2.0 +Copyright (C) 2015 Stuart Campbell Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + + diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/build.gradle" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/build.gradle" new file mode 100644 index 0000000000000000000000000000000000000000..5d2b8502bd31652bb022c9b7e8b39e8d34df3ad0 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/build.gradle" @@ -0,0 +1,42 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules. +apply plugin: 'com.huawei.ohos.app' + +ohos { + compileSdkVersion 5 + defaultConfig { + compatibleSdkVersion 5 + } +} + +buildscript { + repositories { + mavenCentral() + + maven { + url 'https://repo.huaweicloud.com/repository/maven/' + } + maven { + url 'https://developer.huawei.com/repo/' + } + jcenter() + } + dependencies { + classpath 'com.huawei.ohos:hap:3.0.5.2' + classpath 'com.huawei.ohos:decctest:1.2.7.2' + } +} + +allprojects { + repositories { + mavenCentral() + + maven { + url 'https://repo.huaweicloud.com/repository/maven/' + } + maven { + url 'https://developer.huawei.com/repo/' + } + + jcenter() + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/changelog.md" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/changelog.md" new file mode 100644 index 0000000000000000000000000000000000000000..27833108d04e7a2694119a1ce1529df3d2f8c022 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/changelog.md" @@ -0,0 +1,2 @@ +# Changelog +支持RushOrm原有的所有功能 diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/.gitignore" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..796b96d1c402326528b4ba3c12ee9d92d0e212e9 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/.gitignore" @@ -0,0 +1 @@ +/build diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/build.gradle" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/build.gradle" new file mode 100644 index 0000000000000000000000000000000000000000..11d028a225ec7d4a3140fffbe3c0034dcc62125c --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/build.gradle" @@ -0,0 +1,19 @@ +apply plugin: 'com.huawei.ohos.hap' +apply plugin: 'com.huawei.ohos.decctest' +ohos { + compileSdkVersion 5 + defaultConfig { + compatibleSdkVersion 5 + } +} + +dependencies { + implementation fileTree(dir: 'libs', include: ['*.jar']) + testCompile'junit:junit:4.12' + ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.100' + implementation project(path: ':rushohos') + implementation 'com.alibaba:fastjson:1.2.55' +} +decc { + supportType = ['html','xml'] +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/config.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/config.json" new file mode 100644 index 0000000000000000000000000000000000000000..76ead90747cb06bc45735ba61a1e665178ba0d2d --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/config.json" @@ -0,0 +1,53 @@ +{ + "app": { + "bundleName": "co.uk.rushorm.sample", + "vendor": "uk", + "version": { + "code": 1, + "name": "1.0" + }, + "apiVersion": { + "compatible": 5, + "target": 5 + } + }, + "deviceConfig": {}, + "module": { + "package": "co.uk.rushorm.sample", + "name": ".RushOrmApp", + "reqCapabilities": [ + "video_support" + ], + "deviceType": [ + "phone", + "tv" + ], + "distro": { + "deliveryWithInstall": true, + "moduleName": "entry", + "moduleType": "entry" + }, + "abilities": [ + { + "skills": [ + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + } + ], + "orientation": "unspecified", + + "name": "co.uk.rushorm.sample.MainAbility", + "icon": "$media:icon", + "description": "$string:mainability_description", + "label": "$ohos:string:id_text_font_family_medium", + "type": "page", + "launchType": "standard" + } + ] + } +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/MainAbility.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/MainAbility.java" new file mode 100644 index 0000000000000000000000000000000000000000..afffaa9833c299e2a74369bef5f5c225be770fa5 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/MainAbility.java" @@ -0,0 +1,44 @@ + +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package co.uk.rushorm.sample; + +import co.uk.rushorm.ohos.OhosInitializeConfig; +import co.uk.rushorm.ohos.RushOhos; +import co.uk.rushorm.core.Rush; +import co.uk.rushorm.sample.demo.Car; +import co.uk.rushorm.sample.demo.Engine; +import co.uk.rushorm.sample.demo.Wheel; +import co.uk.rushorm.sample.slice.MainAbilitySlice; +import ohos.aafwk.ability.Ability; +import ohos.aafwk.content.Intent; + +import java.util.ArrayList; +import java.util.List; + +public class MainAbility extends Ability { + @Override + public void onStart(Intent intent) { + super.onStart(intent); + super.setMainRoute(MainAbilitySlice.class.getName()); + List> classes = new ArrayList<>(); + classes.add(Car.class); + classes.add(Engine.class); + classes.add(Wheel.class); + OhosInitializeConfig ohosInitializeConfig = new OhosInitializeConfig(getApplicationContext(), classes); + RushOhos.initialize(ohosInitializeConfig); + } +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/RushOrmApp.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/RushOrmApp.java" new file mode 100644 index 0000000000000000000000000000000000000000..bedd3f480d49b002166f31721632ab4fa3dfe809 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/RushOrmApp.java" @@ -0,0 +1,26 @@ + +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package co.uk.rushorm.sample; + +import ohos.aafwk.ability.AbilityPackage; + +public class RushOrmApp extends AbilityPackage { + @Override + public void onInitialize() { + super.onInitialize(); + } +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/demo/Car.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/demo/Car.java" new file mode 100644 index 0000000000000000000000000000000000000000..08c0254010ec60fbc74030ca108b5b8b626d5ee9 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/demo/Car.java" @@ -0,0 +1,29 @@ +package co.uk.rushorm.sample.demo; + +import java.util.List; + +import co.uk.rushorm.core.RushObject; +import co.uk.rushorm.core.annotations.RushList; + +/** + * Created by Stuart on 31/01/15. + */ +public class Car extends RushObject { + + public String color; + public Engine engine; + + public String anotherField; + + @RushList(classType = Wheel.class) + public List wheels; + + public Car(){ + /* Empty constructor required */ + } + + public Car(String color, Engine engine){ + this.color = color; + this.engine = engine; + } +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/demo/Engine.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/demo/Engine.java" new file mode 100644 index 0000000000000000000000000000000000000000..34a0b6de84f14919ee237ce8105f3d2c89c37dca --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/demo/Engine.java" @@ -0,0 +1,19 @@ +package co.uk.rushorm.sample.demo; + +import co.uk.rushorm.core.RushObject; + +/** + * Created by Stuart on 31/01/15. + */ +public class Engine extends RushObject { + + public Engine(){ + /* Empty constructor required */ + } + + public int cylinders; + + public Engine(int cylinders){ + this.cylinders = cylinders; + } +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/demo/Wheel.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/demo/Wheel.java" new file mode 100644 index 0000000000000000000000000000000000000000..e69c32c07fc6c639724318c58d025fba01de52cd --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/demo/Wheel.java" @@ -0,0 +1,20 @@ +package co.uk.rushorm.sample.demo; + +import co.uk.rushorm.core.RushObject; + +/** + * Created by Stuart on 31/01/15. + */ +public class Wheel extends RushObject { + + public Wheel(){ + /* Empty constructor required */ + } + + public String make; + + public Wheel(String make){ + this.make = make; + } + +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/slice/MainAbilitySlice.java" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/slice/MainAbilitySlice.java" new file mode 100644 index 0000000000000000000000000000000000000000..984f8582075864f620f56c8561f091eb09936602 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/java/co/uk/rushorm/sample/slice/MainAbilitySlice.java" @@ -0,0 +1,112 @@ + +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package co.uk.rushorm.sample.slice; + +import co.uk.rushorm.sample.ResourceTable; + +import co.uk.rushorm.core.LogUtil; +import co.uk.rushorm.core.RushCore; +import co.uk.rushorm.core.RushSearch; +import co.uk.rushorm.sample.demo.Car; +import co.uk.rushorm.sample.demo.Engine; +import co.uk.rushorm.sample.demo.Wheel; +import com.alibaba.fastjson.JSON; +import ohos.aafwk.ability.AbilitySlice; +import ohos.aafwk.content.Intent; +import ohos.agp.components.Button; +import ohos.agp.components.Text; + +import java.util.ArrayList; +import java.util.List; + +/** + * 示例 + */ +public class MainAbilitySlice extends AbilitySlice { + @Override + public void onStart(Intent intent) { + super.onStart(intent); + super.setUIContent(ResourceTable.Layout_ability_main); + Button btnSave = (Button) findComponentById(ResourceTable.Id_btn_save); + Button btnSelect = (Button) findComponentById(ResourceTable.Id_btn_select); + Button btnDel = (Button) findComponentById(ResourceTable.Id_btn_del); + Text tvShow = (Text) findComponentById(ResourceTable.Id_text_show); + //保存 + btnSave.setClickedListener(component -> { + final long startTime = System.currentTimeMillis(); + final int numberToSave = 100; + + List cars = new ArrayList<>(numberToSave); + for (int i = 0; i < numberToSave; i++) { + Car car = new Car("Red", new Engine()); + car.wheels = new ArrayList<>(); + for (int j = 0; j < 4; j++) { + car.wheels.add(new Wheel("Michelin")); + } + cars.add(car); + } + + RushCore.getInstance().save(cars, () -> { + long endTime = System.currentTimeMillis(); + final double saveTime = (endTime - startTime) / 1000.0; + getAbility().getContext().getUITaskDispatcher().asyncDispatch(new Runnable() { + @Override + public void run() { + LogUtil.error("test", "Rush main complete===="); + tvShow.setText("保存成功!总耗时:"+String.format("%1$,.2f s", saveTime)); + } + }); + }); + }); + //查询 + btnSelect.setClickedListener(component -> { + LogUtil.error("test", "Rush main select start===="); + new Thread(() -> { + List cars = new RushSearch().find(Car.class); + getAbility().getContext().getUITaskDispatcher().asyncDispatch(new Runnable() { + @Override + public void run() { + LogUtil.error("test", "Rush main select complete===="); + tvShow.setText("查询成功:"+JSON.toJSONString(cars)); + } + }); + }).start(); + }); + //删除 + btnDel.setClickedListener(component -> new Thread(() -> { + RushCore.getInstance().deleteAll(Car.class); + RushCore.getInstance().deleteAll(Engine.class); + RushCore.getInstance().deleteAll(Wheel.class); + getAbility().getContext().getUITaskDispatcher().asyncDispatch(new Runnable() { + @Override + public void run() { + tvShow.setText("删除成功"); + } + }); + }).start()); + } + + @Override + public void onActive() { + super.onActive(); + } + + @Override + public void onForeground(Intent intent) { + super.onForeground(intent); + } +} diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/resources/base/element/string.json" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/resources/base/element/string.json" new file mode 100644 index 0000000000000000000000000000000000000000..60f9c7884386a9b02f24696888be9e24a76a80e7 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/resources/base/element/string.json" @@ -0,0 +1,12 @@ +{ + "string": [ + { + "name": "app_name", + "value": "PushOrm_ohos" + }, + { + "name": "mainability_description", + "value": "hap sample empty page" + } + ] +} \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/resources/base/graphic/background_element.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/resources/base/graphic/background_element.xml" new file mode 100644 index 0000000000000000000000000000000000000000..c3244f4584fb54c678fcc96b5d3fb9b0d0405112 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/resources/base/graphic/background_element.xml" @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git "a/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/resources/base/layout/ability_main.xml" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/resources/base/layout/ability_main.xml" new file mode 100644 index 0000000000000000000000000000000000000000..f155fef40ba403a3fb5dbb8945cf05b9d3f8e275 --- /dev/null +++ "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/RushOrm/entry/src/main/resources/base/layout/ability_main.xml" @@ -0,0 +1,54 @@ + + + +