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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..fdc0c4a65db238be4186f16e1e0911b1d61fbf31 --- /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/TransitionAnimation/ComponentTransitionAnimation/.gitignore" @@ -0,0 +1,16 @@ +*.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 +/entry/.preview +.cxx +/node_modules 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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.idea/gradle.xml" new file mode 100644 index 0000000000000000000000000000000000000000..8e58fe17252eecf082d73668f94d06640663b8cc --- /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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.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/TransitionAnimation/ComponentTransitionAnimation/.idea/previewer/phone/phoneSettingConfig_MateX2.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/TransitionAnimation/ComponentTransitionAnimation/.idea/previewer/phone/phoneSettingConfig_MateX2.json" new file mode 100644 index 0000000000000000000000000000000000000000..f505e6b9ca3d41faf1f0a39a496db58b117fbd60 --- /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/TransitionAnimation/ComponentTransitionAnimation/.idea/previewer/phone/phoneSettingConfig_MateX2.json" @@ -0,0 +1,25 @@ +{ + "setting": { + "1.0.1": { + "Language": { + "args": { + "Language": "zh-CN" + } + } + } + }, + "frontend": { + "1.0.0": { + "Resolution": { + "args": { + "Resolution": "360*780" + } + }, + "DeviceType": { + "args": { + "DeviceType": "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/TransitionAnimation/ComponentTransitionAnimation/.idea/previewer/phone/phoneSettingConfig_P40.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/TransitionAnimation/ComponentTransitionAnimation/.idea/previewer/phone/phoneSettingConfig_P40.json" new file mode 100644 index 0000000000000000000000000000000000000000..69beee7fd7694e767677c5d3b4863f419c2bf84e --- /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/TransitionAnimation/ComponentTransitionAnimation/.idea/previewer/phone/phoneSettingConfig_P40.json" @@ -0,0 +1,25 @@ +{ + "setting": { + "1.0.1": { + "Language": { + "args": { + "Language": "zh_CN" + } + } + } + }, + "frontend": { + "1.0.0": { + "Resolution": { + "args": { + "Resolution": "360*780" + } + }, + "DeviceType": { + "args": { + "DeviceType": "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/TransitionAnimation/ComponentTransitionAnimation/.idea/previewer/previewConfigV2.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/TransitionAnimation/ComponentTransitionAnimation/.idea/previewer/previewConfigV2.json" new file mode 100644 index 0000000000000000000000000000000000000000..2d3493fc5590ad981cbfd97bdea15ae50eef0637 --- /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/TransitionAnimation/ComponentTransitionAnimation/.idea/previewer/previewConfigV2.json" @@ -0,0 +1,49 @@ +{ + "1.0.0": { + "LastPreviewDevice": {} + }, + "1.0.1": { + "profileList": [ + { + "id": "P40", + "deviceType": "phone", + "width": 1080, + "height": 2340, + "shape": "rect", + "dpi": 480, + "orientation": "portrait", + "language": "zh_CN", + "colorMode": "light" + }, + { + "id": "MateX2", + "deviceType": "phone", + "width": 2200, + "height": 2480, + "shape": "rect", + "dpi": 520, + "orientation": "portrait", + "language": "zh_CN", + "colorMode": "light" + }, + { + "id": "MatePadPro", + "deviceType": "tablet", + "width": 2560, + "height": 1600, + "shape": "rect", + "dpi": 400, + "orientation": "landscape", + "language": "zh_CN", + "colorMode": "light" + } + ], + "runningProfileList": [ + "P40" + ], + "availableProfileList": [ + "MateX2", + "MatePadPro" + ] + } +} \ 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/TransitionAnimation/ComponentTransitionAnimation/.idea/previewer/tablet/tabletSettingConfig_MatePadPro.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/TransitionAnimation/ComponentTransitionAnimation/.idea/previewer/tablet/tabletSettingConfig_MatePadPro.json" new file mode 100644 index 0000000000000000000000000000000000000000..e241bd4bcf4ddb2b74ae6c2a4ed268697e12fa26 --- /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/TransitionAnimation/ComponentTransitionAnimation/.idea/previewer/tablet/tabletSettingConfig_MatePadPro.json" @@ -0,0 +1,25 @@ +{ + "setting": { + "1.0.1": { + "Language": { + "args": { + "Language": "zh-CN" + } + } + } + }, + "frontend": { + "1.0.0": { + "Resolution": { + "args": { + "Resolution": "1024*640" + } + }, + "DeviceType": { + "args": { + "DeviceType": "tablet" + } + } + } + } +} \ 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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/build.gradle" new file mode 100644 index 0000000000000000000000000000000000000000..0fb96a8c6a28f555ccc95404a6629d73210535d5 --- /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/TransitionAnimation/ComponentTransitionAnimation/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 7 +} + +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/' + } + } +} 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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/entry/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..7d5b7a94f4dcf381f03ff21f28f8a2494b58023f --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/.gitignore" @@ -0,0 +1,2 @@ +/build +/node_modules 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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/entry/build.gradle" new file mode 100644 index 0000000000000000000000000000000000000000..0f0156791bf6048a230e13abccb9d631170209dc --- /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/TransitionAnimation/ComponentTransitionAnimation/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 7 + defaultConfig { + compatibleSdkVersion 7 + } + 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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/config.json" new file mode 100644 index 0000000000000000000000000000000000000000..b2826fada038f739fbc6327c6e9d7964f3a54d75 --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/config.json" @@ -0,0 +1,63 @@ +{ + "app": { + "bundleName": "com.example.componenttransitionanimation.hmservice", + "vendor": "example", + "version": { + "code": 1000000, + "name": "1.0.0" + } + }, + "deviceConfig": {}, + "module": { + "package": "com.example.componenttransitionanimation", + "name": ".MyApplication", + "mainAbility": "com.example.componenttransitionanimation.MainAbility", + "deviceType": [ + "phone", + "tablet" + ], + "distro": { + "deliveryWithInstall": true, + "moduleName": "entry", + "moduleType": "entry", + "installationFree": true + }, + "abilities": [ + { + "skills": [ + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + } + ], + "visible": true, + "name": "com.example.componenttransitionanimation.MainAbility", + "icon": "$media:icon", + "description": "$string:mainability_description", + "label": "$string:entry_MainAbility", + "type": "page", + "launchType": "standard" + } + ], + "js": [ + { + "mode": { + "syntax": "ets", + "type": "pageAbility" + }, + "pages": [ + "pages/index" + ], + "name": "default", + "window": { + "designWidth": 720, + "autoDesignWidth": false + } + } + ] + } +} \ 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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/ets/default/app.ets" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/ets/default/app.ets" new file mode 100644 index 0000000000000000000000000000000000000000..0be61a623b0216ebbfacf77d8871f2fcaf1de68e --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/ets/default/app.ets" @@ -0,0 +1,8 @@ +export default { + onCreate() { + console.info('Application onCreate') + }, + onDestroy() { + console.info('Application 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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/ets/default/pages/index.ets" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/ets/default/pages/index.ets" new file mode 100644 index 0000000000000000000000000000000000000000..4dde21631b995317169c022252bd953908db10f8 --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/ets/default/pages/index.ets" @@ -0,0 +1,28 @@ +@Entry +@Component +struct TransitionExample { + @State btn1: boolean = false + @State show: string = "show" + build() { + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center,}) { + Button(this.show).width(80).height(30).backgroundColor(0x317aff).margin({bottom:50}) + .onClick(() => { + animateTo({ duration: 1000 }, () => { + this.btn1 = !this.btn1 + if(this.btn1){ + this.show = "关闭" + }else{ + this.show = "展开" + } + }) + }) + if (this.btn1) { + // 插入和删除配置为不同的过渡效果 + Button() { + Image($rawfile('YZ.jpg')).width("80%").height(300) + }.transition({ type: TransitionType.Insert, scale : {x:0,y:1.0} }) + .transition({ type: TransitionType.Delete, scale: { x: 1.0, y: 0.0 } }) + } + }.height(400).width("100%").padding({top:100}) + } +} \ 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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/java/com/example/componenttransitionanimation/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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/java/com/example/componenttransitionanimation/MainAbility.java" new file mode 100644 index 0000000000000000000000000000000000000000..c2b649bf8910fe64e217516bbe9e8f638852978f --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/java/com/example/componenttransitionanimation/MainAbility.java" @@ -0,0 +1,16 @@ +package com.example.componenttransitionanimation; + +import ohos.ace.ability.AceAbility; +import ohos.aafwk.content.Intent; + +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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/java/com/example/componenttransitionanimation/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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/java/com/example/componenttransitionanimation/MyApplication.java" new file mode 100644 index 0000000000000000000000000000000000000000..e9c7d0145bf254472562e2d9ca4680933bf67857 --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/java/com/example/componenttransitionanimation/MyApplication.java" @@ -0,0 +1,10 @@ +package com.example.componenttransitionanimation; + +import ohos.aafwk.ability.AbilityPackage; + +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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/resources/base/element/string.json" new file mode 100644 index 0000000000000000000000000000000000000000..bc3df790ef54add880b08cf9dbd43bc45a9137d4 --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/resources/base/element/string.json" @@ -0,0 +1,12 @@ +{ + "string": [ + { + "name": "entry_MainAbility", + "value": "entry_MainAbility" + }, + { + "name": "mainability_description", + "value": "eTS_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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/resources/rawfile/XK.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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/resources/rawfile/XK.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..ac25838006b8db06b39658af783dd75925ff5fe6 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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/resources/rawfile/XK.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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/resources/rawfile/YZ.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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/resources/rawfile/YZ.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..064351b66f6496ddfa229765130a8e5b67114da4 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/TransitionAnimation/ComponentTransitionAnimation/entry/src/main/resources/rawfile/YZ.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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/default/app.ets" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/default/app.ets" new file mode 100644 index 0000000000000000000000000000000000000000..8658c07ca25e8955158335fe74f49a74a52b72fd --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/default/app.ets" @@ -0,0 +1,11 @@ +export default { + onCreate() { + console.info('Application onCreate') + }, + onShow() { + console.info('Application onShow') + }, + onDestroy() { + console.info('Application 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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/default/i18n/en-US.json" new file mode 100644 index 0000000000000000000000000000000000000000..55561b83737c3c31d082fbfa11e5fc987a351104 --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/default/i18n/en-US.json" @@ -0,0 +1,8 @@ +{ + "strings": { + "hello": "Hello", + "world": "World" + }, + "Files": { + } +} \ 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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/default/i18n/zh-CN.json" new file mode 100644 index 0000000000000000000000000000000000000000..cce1af06761a42add0cac1a0567aa3237eda8cb4 --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/default/i18n/zh-CN.json" @@ -0,0 +1,8 @@ +{ + "strings": { + "hello": "您好", + "world": "世界" + }, + "Files": { + } +} \ 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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/default/pages/index/index.ets" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/default/pages/index/index.ets" new file mode 100644 index 0000000000000000000000000000000000000000..2bfa0eff1e790f2545358c9bc1c479f750b9fd7d --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/default/pages/index/index.ets" @@ -0,0 +1,49 @@ +import {Core, ExpectExtend, InstrumentLog} from "deccjsunit/index" +import testsuite from "../../../test/List.test.ets" +import featureAbility from "@ohos.ability.featureAbility" + +@Entry +@Component +struct MyComponent { + aboutToAppear() { + console.info("start run testcase!!!!") + featureAbility.getWant() + .then((Want) => { + const core = Core.getInstance() + const expectExtend = new ExpectExtend({ + 'id': 'extend' + }) + const instrumentLog = new InstrumentLog({ + 'id': 'report', 'unity': 'true' + }) + core.addService('expect', expectExtend) + core.addService('report', instrumentLog) + core.init() + core.subscribeEvent('spec', instrumentLog) + core.subscribeEvent('suite', instrumentLog) + core.subscribeEvent('task', instrumentLog) + const configService = core.getDefaultService('config') + configService.setConfig(Want.parameters) + testsuite() + core.execute() + console.info('Operation successful. Data: ' + JSON.stringify(Want)); + }) + .catch((error) => { + console.error('Operation failed. Cause: ' + JSON.stringify(error)); + }) + } + + build() { + Flex({ + direction: FlexDirection.Column, + alignItems: ItemAlign.Center, + justifyContent: FlexAlign.Center + }) { + Text('Hello World') + .fontSize(50) + .fontWeight(FontWeight.Bold) + } + .width('100%') + .height('100%') + } +} \ 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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/test/ExampleJsunit.test.ets" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/test/ExampleJsunit.test.ets" new file mode 100644 index 0000000000000000000000000000000000000000..018aba5e774064d954d53b8fbb3e1ed34f52590d --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/test/ExampleJsunit.test.ets" @@ -0,0 +1,12 @@ +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index" +import app from '@system.app' + +export default function exampleJsunit() { + describe('appInfoTest', function () { + it('app_info_test_001', 0, function () { + var info = app.getInfo() + expect("1.0").assertEqual('1.0') + expect(info.versionCode).assertEqual('3') + }) + }) +} \ 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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/test/List.test.ets" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/test/List.test.ets" new file mode 100644 index 0000000000000000000000000000000000000000..c96221152225c7d3d4bc64859deed72bbee774c0 --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/ets/test/List.test.ets" @@ -0,0 +1,5 @@ +import exampleJsunit from "../test/ExampleJsunit.test.ets" + +export default function testsuite() { + exampleJsunit() +} \ 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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/java/com/example/componenttransitionanimation/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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/java/com/example/componenttransitionanimation/ExampleOhosTest.java" new file mode 100644 index 0000000000000000000000000000000000000000..9d06a23cca86eea404d67e9621dd854f38485b28 --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/java/com/example/componenttransitionanimation/ExampleOhosTest.java" @@ -0,0 +1,14 @@ +package com.example.componenttransitionanimation; + +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.example.componenttransitionanimation.hmservice", 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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/resources/base/element/string.json" new file mode 100644 index 0000000000000000000000000000000000000000..a8ca6aa9425e4add4bc778facc6e507d959634d7 --- /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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/resources/base/element/string.json" @@ -0,0 +1,12 @@ +{ + "string": [ + { + "name": "app_name", + "value": "ComponentTransitionAnimation" + }, + { + "name": "mainability_description", + "value": "hap sample empty page" + } + ] +} 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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/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/TransitionAnimation/ComponentTransitionAnimation/entry/src/ohosTest/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/gradle.properties" new file mode 100644 index 0000000000000000000000000000000000000000..be492496f9a20ac2d980ef4fc30061f4184c1c40 --- /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/TransitionAnimation/ComponentTransitionAnimation/gradle.properties" @@ -0,0 +1,13 @@ +# 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. +# This function is enabled by default when the DevEco Studio builds the hap/app,if you need disable gradle parallel,you should set org.gradle.parallel false. +# more information see https://docs.gradle.org/current/userguide/performance.html +# org.gradle.parallel=false +# org.gradle.jvmargs=-Dfile.encoding=GBK \ 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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/gradle/wrapper/gradle-wrapper.properties" new file mode 100644 index 0000000000000000000000000000000000000000..63c817f17998697c0097fa6399106b99591c77b9 --- /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/TransitionAnimation/ComponentTransitionAnimation/gradle/wrapper/gradle-wrapper.properties" @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://repo.huaweicloud.com/gradle/gradle-7.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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/gradlew" new file mode 100644 index 0000000000000000000000000000000000000000..536f0272dd995f3afdb5e34e0f42bdf3d1986c22 --- /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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/ComponentTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..fdc0c4a65db238be4186f16e1e0911b1d61fbf31 --- /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/TransitionAnimation/PageTransitionAnimation/.gitignore" @@ -0,0 +1,16 @@ +*.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 +/entry/.preview +.cxx +/node_modules 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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.idea/gradle.xml" new file mode 100644 index 0000000000000000000000000000000000000000..8e58fe17252eecf082d73668f94d06640663b8cc --- /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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/car/carSettingConfig_Car.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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/car/carSettingConfig_Car.json" new file mode 100644 index 0000000000000000000000000000000000000000..52ba22e1e8bcb2342e1e105bdb6c02641d5a6e09 --- /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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/car/carSettingConfig_Car.json" @@ -0,0 +1,25 @@ +{ + "setting": { + "1.0.1": { + "Language": { + "args": { + "Language": "zh-CN" + } + } + } + }, + "frontend": { + "1.0.0": { + "Resolution": { + "args": { + "Resolution": "560*210" + } + }, + "DeviceType": { + "args": { + "DeviceType": "car" + } + } + } + } +} \ 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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/phone/phoneSettingConfig_MateX2.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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/phone/phoneSettingConfig_MateX2.json" new file mode 100644 index 0000000000000000000000000000000000000000..f505e6b9ca3d41faf1f0a39a496db58b117fbd60 --- /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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/phone/phoneSettingConfig_MateX2.json" @@ -0,0 +1,25 @@ +{ + "setting": { + "1.0.1": { + "Language": { + "args": { + "Language": "zh-CN" + } + } + } + }, + "frontend": { + "1.0.0": { + "Resolution": { + "args": { + "Resolution": "360*780" + } + }, + "DeviceType": { + "args": { + "DeviceType": "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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/phone/phoneSettingConfig_P40.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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/phone/phoneSettingConfig_P40.json" new file mode 100644 index 0000000000000000000000000000000000000000..69beee7fd7694e767677c5d3b4863f419c2bf84e --- /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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/phone/phoneSettingConfig_P40.json" @@ -0,0 +1,25 @@ +{ + "setting": { + "1.0.1": { + "Language": { + "args": { + "Language": "zh_CN" + } + } + } + }, + "frontend": { + "1.0.0": { + "Resolution": { + "args": { + "Resolution": "360*780" + } + }, + "DeviceType": { + "args": { + "DeviceType": "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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/previewConfigV2.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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/previewConfigV2.json" new file mode 100644 index 0000000000000000000000000000000000000000..c2db670610275357cc58fc3b8852d28db7426d50 --- /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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/previewConfigV2.json" @@ -0,0 +1,61 @@ +{ + "1.0.0": { + "LastPreviewDevice": {} + }, + "1.0.1": { + "profileList": [ + { + "id": "P40", + "deviceType": "phone", + "width": 1080, + "height": 2340, + "shape": "rect", + "dpi": 480, + "orientation": "portrait", + "language": "zh_CN", + "colorMode": "light" + }, + { + "id": "MateX2", + "deviceType": "phone", + "width": 2200, + "height": 2480, + "shape": "rect", + "dpi": 520, + "orientation": "portrait", + "language": "zh_CN", + "colorMode": "light" + }, + { + "id": "MatePadPro", + "deviceType": "tablet", + "width": 2560, + "height": 1600, + "shape": "rect", + "dpi": 400, + "orientation": "landscape", + "language": "zh_CN", + "colorMode": "light" + }, + { + "id": "Car", + "deviceType": "car", + "width": 1920, + "height": 1080, + "shape": "rect", + "dpi": 320, + "orientation": "landscape", + "language": "zh_CN", + "colorMode": "light" + } + ], + "runningProfileList": [ + "P40" + ], + "availableProfileList": [ + "MateX2", + "MatePadPro", + "Car" + ] + } +} \ 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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/tablet/tabletSettingConfig_MatePadPro.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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/tablet/tabletSettingConfig_MatePadPro.json" new file mode 100644 index 0000000000000000000000000000000000000000..e241bd4bcf4ddb2b74ae6c2a4ed268697e12fa26 --- /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/TransitionAnimation/PageTransitionAnimation/.idea/previewer/tablet/tabletSettingConfig_MatePadPro.json" @@ -0,0 +1,25 @@ +{ + "setting": { + "1.0.1": { + "Language": { + "args": { + "Language": "zh-CN" + } + } + } + }, + "frontend": { + "1.0.0": { + "Resolution": { + "args": { + "Resolution": "1024*640" + } + }, + "DeviceType": { + "args": { + "DeviceType": "tablet" + } + } + } + } +} \ 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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/build.gradle" new file mode 100644 index 0000000000000000000000000000000000000000..0fb96a8c6a28f555ccc95404a6629d73210535d5 --- /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/TransitionAnimation/PageTransitionAnimation/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 7 +} + +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/' + } + } +} 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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/entry/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..7d5b7a94f4dcf381f03ff21f28f8a2494b58023f --- /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/TransitionAnimation/PageTransitionAnimation/entry/.gitignore" @@ -0,0 +1,2 @@ +/build +/node_modules 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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/entry/build.gradle" new file mode 100644 index 0000000000000000000000000000000000000000..0f0156791bf6048a230e13abccb9d631170209dc --- /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/TransitionAnimation/PageTransitionAnimation/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 7 + defaultConfig { + compatibleSdkVersion 7 + } + 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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/entry/src/main/config.json" new file mode 100644 index 0000000000000000000000000000000000000000..bb645a5fd8f5bf75551f82e03520a25e9cb92ed1 --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/main/config.json" @@ -0,0 +1,65 @@ +{ + "app": { + "bundleName": "com.example.pagetransitionanimation.hmservice", + "vendor": "example", + "version": { + "code": 1000000, + "name": "1.0.0" + } + }, + "deviceConfig": {}, + "module": { + "package": "com.example.pagetransitionanimation", + "name": ".MyApplication", + "mainAbility": "com.example.pagetransitionanimation.MainAbility", + "deviceType": [ + "phone", + "tablet", + "car" + ], + "distro": { + "deliveryWithInstall": true, + "moduleName": "entry", + "moduleType": "entry", + "installationFree": true + }, + "abilities": [ + { + "skills": [ + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + } + ], + "visible": true, + "name": "com.example.pagetransitionanimation.MainAbility", + "icon": "$media:icon", + "description": "$string:mainability_description", + "label": "$string:entry_MainAbility", + "type": "page", + "launchType": "standard" + } + ], + "js": [ + { + "mode": { + "syntax": "ets", + "type": "pageAbility" + }, + "pages": [ + "pages/index", + "pages/page1" + ], + "name": "default", + "window": { + "designWidth": 720, + "autoDesignWidth": false + } + } + ] + } +} \ 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/TransitionAnimation/PageTransitionAnimation/entry/src/main/ets/default/app.ets" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/TransitionAnimation/PageTransitionAnimation/entry/src/main/ets/default/app.ets" new file mode 100644 index 0000000000000000000000000000000000000000..0be61a623b0216ebbfacf77d8871f2fcaf1de68e --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/main/ets/default/app.ets" @@ -0,0 +1,8 @@ +export default { + onCreate() { + console.info('Application onCreate') + }, + onDestroy() { + console.info('Application 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/TransitionAnimation/PageTransitionAnimation/entry/src/main/ets/default/pages/index.ets" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/TransitionAnimation/PageTransitionAnimation/entry/src/main/ets/default/pages/index.ets" new file mode 100644 index 0000000000000000000000000000000000000000..cbeb55e20e00ead9b29df49546be3db912cf37e9 --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/main/ets/default/pages/index.ets" @@ -0,0 +1,30 @@ +@Entry +@Component +struct PageTransitionExample1 { + @State scale: number = 1 + @State opacity: number = 1 + @State active: boolean = false + build() { + Column() { + Navigator({ target: 'pages/page1', type: NavigationType.Push }) { + Image($rawfile("fss.jpg")).width("100%").height("100%") + } + .onClick(() => { + this.active = true + }) + }.scale({ x: this.scale }).opacity(this.opacity) + } +// 自定义方式1:完全自定义转场过程的效果 + pageTransition() { + PageTransitionEnter({ duration: 1200, curve: Curve.Linear }) + .onEnter((type: RouteType, progress: number) => { + this.scale = 1 + this.opacity = progress + }) // 进场过程中会逐帧触发onEnter回调,入参为动效的归一化进度(0% -- 100%) + PageTransitionExit({ duration: 1500, curve: Curve.Ease }) + .onExit((type: RouteType, progress: number) => { + this.scale = 1 - progress + this.opacity = 1 + }) // 退场过程中会逐帧触发onExit回调,入参为动效的归一化进度(0% -- 100%) + } +} \ 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/TransitionAnimation/PageTransitionAnimation/entry/src/main/ets/default/pages/page1.ets" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/TransitionAnimation/PageTransitionAnimation/entry/src/main/ets/default/pages/page1.ets" new file mode 100644 index 0000000000000000000000000000000000000000..f94e399eaa7633ff3986f87f8796ff82c34793b1 --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/main/ets/default/pages/page1.ets" @@ -0,0 +1,28 @@ +// page1.ets +@Entry +@Component +struct AExample { + @State scale: number = 1 + @State opacity: number = 1 + @State active: boolean = false + build() { + Column() { + Navigator({ target: 'pages/index' ,type: NavigationType.Push}) { + Image($rawfile("gz.jpg")).width("100%").height("100%") + } + }.height("100%").width("100%").scale({ x: this.scale }).opacity(this.opacity) + } +// 自定义方式1:完全自定义转场过程的效果 + pageTransition() { + PageTransitionEnter({ duration: 1200, curve: Curve.Linear }) + .onEnter((type: RouteType, progress: number) => { + this.scale = 1 + this.opacity = progress + }) // 进场过程中会逐帧触发onEnter回调,入参为动效的归一化进度(0% -- 100%) + PageTransitionExit({ duration: 1500, curve: Curve.Ease }) + .onExit((type: RouteType, progress: number) => { + this.scale = 1 - progress + this.opacity = 1 + }) // 退场过程中会逐帧触发onExit回调,入参为动效的归一化进度(0% -- 100%) + } +} \ 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/TransitionAnimation/PageTransitionAnimation/entry/src/main/java/com/example/pagetransitionanimation/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/TransitionAnimation/PageTransitionAnimation/entry/src/main/java/com/example/pagetransitionanimation/MainAbility.java" new file mode 100644 index 0000000000000000000000000000000000000000..6ccb092914c4d1a2339479b8e16814f4c4323f24 --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/main/java/com/example/pagetransitionanimation/MainAbility.java" @@ -0,0 +1,16 @@ +package com.example.pagetransitionanimation; + +import ohos.ace.ability.AceAbility; +import ohos.aafwk.content.Intent; + +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/TransitionAnimation/PageTransitionAnimation/entry/src/main/java/com/example/pagetransitionanimation/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/TransitionAnimation/PageTransitionAnimation/entry/src/main/java/com/example/pagetransitionanimation/MyApplication.java" new file mode 100644 index 0000000000000000000000000000000000000000..4fcae546662bb1e87168378b1f90f444783d6419 --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/main/java/com/example/pagetransitionanimation/MyApplication.java" @@ -0,0 +1,10 @@ +package com.example.pagetransitionanimation; + +import ohos.aafwk.ability.AbilityPackage; + +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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/entry/src/main/resources/base/element/string.json" new file mode 100644 index 0000000000000000000000000000000000000000..bc3df790ef54add880b08cf9dbd43bc45a9137d4 --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/main/resources/base/element/string.json" @@ -0,0 +1,12 @@ +{ + "string": [ + { + "name": "entry_MainAbility", + "value": "entry_MainAbility" + }, + { + "name": "mainability_description", + "value": "eTS_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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/entry/src/main/resources/rawfile/fss.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/TransitionAnimation/PageTransitionAnimation/entry/src/main/resources/rawfile/fss.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a48f385fdb3d88ccf416d43670e3cbbb8ae9e40f 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/TransitionAnimation/PageTransitionAnimation/entry/src/main/resources/rawfile/fss.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/TransitionAnimation/PageTransitionAnimation/entry/src/main/resources/rawfile/gz.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/TransitionAnimation/PageTransitionAnimation/entry/src/main/resources/rawfile/gz.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..56cbfa17eed3cb6d5d587b351f18454071904146 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/TransitionAnimation/PageTransitionAnimation/entry/src/main/resources/rawfile/gz.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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/default/app.ets" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/default/app.ets" new file mode 100644 index 0000000000000000000000000000000000000000..8658c07ca25e8955158335fe74f49a74a52b72fd --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/default/app.ets" @@ -0,0 +1,11 @@ +export default { + onCreate() { + console.info('Application onCreate') + }, + onShow() { + console.info('Application onShow') + }, + onDestroy() { + console.info('Application 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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/default/i18n/en-US.json" new file mode 100644 index 0000000000000000000000000000000000000000..55561b83737c3c31d082fbfa11e5fc987a351104 --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/default/i18n/en-US.json" @@ -0,0 +1,8 @@ +{ + "strings": { + "hello": "Hello", + "world": "World" + }, + "Files": { + } +} \ 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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/default/i18n/zh-CN.json" new file mode 100644 index 0000000000000000000000000000000000000000..cce1af06761a42add0cac1a0567aa3237eda8cb4 --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/default/i18n/zh-CN.json" @@ -0,0 +1,8 @@ +{ + "strings": { + "hello": "您好", + "world": "世界" + }, + "Files": { + } +} \ 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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/default/pages/index/index.ets" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/default/pages/index/index.ets" new file mode 100644 index 0000000000000000000000000000000000000000..2bfa0eff1e790f2545358c9bc1c479f750b9fd7d --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/default/pages/index/index.ets" @@ -0,0 +1,49 @@ +import {Core, ExpectExtend, InstrumentLog} from "deccjsunit/index" +import testsuite from "../../../test/List.test.ets" +import featureAbility from "@ohos.ability.featureAbility" + +@Entry +@Component +struct MyComponent { + aboutToAppear() { + console.info("start run testcase!!!!") + featureAbility.getWant() + .then((Want) => { + const core = Core.getInstance() + const expectExtend = new ExpectExtend({ + 'id': 'extend' + }) + const instrumentLog = new InstrumentLog({ + 'id': 'report', 'unity': 'true' + }) + core.addService('expect', expectExtend) + core.addService('report', instrumentLog) + core.init() + core.subscribeEvent('spec', instrumentLog) + core.subscribeEvent('suite', instrumentLog) + core.subscribeEvent('task', instrumentLog) + const configService = core.getDefaultService('config') + configService.setConfig(Want.parameters) + testsuite() + core.execute() + console.info('Operation successful. Data: ' + JSON.stringify(Want)); + }) + .catch((error) => { + console.error('Operation failed. Cause: ' + JSON.stringify(error)); + }) + } + + build() { + Flex({ + direction: FlexDirection.Column, + alignItems: ItemAlign.Center, + justifyContent: FlexAlign.Center + }) { + Text('Hello World') + .fontSize(50) + .fontWeight(FontWeight.Bold) + } + .width('100%') + .height('100%') + } +} \ 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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/test/ExampleJsunit.test.ets" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/test/ExampleJsunit.test.ets" new file mode 100644 index 0000000000000000000000000000000000000000..018aba5e774064d954d53b8fbb3e1ed34f52590d --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/test/ExampleJsunit.test.ets" @@ -0,0 +1,12 @@ +import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index" +import app from '@system.app' + +export default function exampleJsunit() { + describe('appInfoTest', function () { + it('app_info_test_001', 0, function () { + var info = app.getInfo() + expect("1.0").assertEqual('1.0') + expect(info.versionCode).assertEqual('3') + }) + }) +} \ 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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/test/List.test.ets" "b/OpenHarmonyAPP\345\274\200\345\217\221\345\255\246\344\271\240\346\272\220\347\240\201\344\275\223\347\263\273/3\343\200\201\345\270\270\347\224\250\347\273\204\344\273\266\346\272\220\347\240\201/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/test/List.test.ets" new file mode 100644 index 0000000000000000000000000000000000000000..c96221152225c7d3d4bc64859deed72bbee774c0 --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/ets/test/List.test.ets" @@ -0,0 +1,5 @@ +import exampleJsunit from "../test/ExampleJsunit.test.ets" + +export default function testsuite() { + exampleJsunit() +} \ 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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/java/com/example/pagetransitionanimation/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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/java/com/example/pagetransitionanimation/ExampleOhosTest.java" new file mode 100644 index 0000000000000000000000000000000000000000..1ae5d9503cf4e7d3ec40272614b8843f6c7ea3a3 --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/java/com/example/pagetransitionanimation/ExampleOhosTest.java" @@ -0,0 +1,14 @@ +package com.example.pagetransitionanimation; + +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.example.pagetransitionanimation.hmservice", 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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/resources/base/element/string.json" new file mode 100644 index 0000000000000000000000000000000000000000..8ecd80060e1cda3ad4f9844b127a28c2d9d85cab --- /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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/resources/base/element/string.json" @@ -0,0 +1,12 @@ +{ + "string": [ + { + "name": "app_name", + "value": "PageTransitionAnimation" + }, + { + "name": "mainability_description", + "value": "hap sample empty page" + } + ] +} 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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/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/TransitionAnimation/PageTransitionAnimation/entry/src/ohosTest/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/gradle.properties" new file mode 100644 index 0000000000000000000000000000000000000000..be492496f9a20ac2d980ef4fc30061f4184c1c40 --- /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/TransitionAnimation/PageTransitionAnimation/gradle.properties" @@ -0,0 +1,13 @@ +# 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. +# This function is enabled by default when the DevEco Studio builds the hap/app,if you need disable gradle parallel,you should set org.gradle.parallel false. +# more information see https://docs.gradle.org/current/userguide/performance.html +# org.gradle.parallel=false +# org.gradle.jvmargs=-Dfile.encoding=GBK \ 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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/gradle/wrapper/gradle-wrapper.properties" new file mode 100644 index 0000000000000000000000000000000000000000..63c817f17998697c0097fa6399106b99591c77b9 --- /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/TransitionAnimation/PageTransitionAnimation/gradle/wrapper/gradle-wrapper.properties" @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://repo.huaweicloud.com/gradle/gradle-7.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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/gradlew" new file mode 100644 index 0000000000000000000000000000000000000000..536f0272dd995f3afdb5e34e0f42bdf3d1986c22 --- /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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/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/TransitionAnimation/PageTransitionAnimation/settings.gradle" @@ -0,0 +1 @@ +include ':entry'