From 291e078af07eb976f0b794cf4a3f2c70e13b0c40 Mon Sep 17 00:00:00 2001 From: rex <1491721419@qq.com> Date: Fri, 17 Oct 2025 20:29:46 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=BA=9F=E5=BC=83=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/ets/view/InTabComponent.ets | 4 +- .../src/main/ets/view/SwitchTabComponent.ets | 2 +- GesturesConfictPractice/README.md | 6 +- .../ets/controller/AvSessionController.ets | 2 +- .../src/main/ets/utils/ImageUtil.ets | 6 +- HDRVivid/AVPlayer/README.md | 6 +- HDRVivid/AVPlayer/build-profile.json5 | 4 +- .../entry/src/main/ets/view/AVPlayer.ets | 69 ++++++++----------- .../main/ets/utils/audioplayer/MediaTools.ets | 2 +- 9 files changed, 43 insertions(+), 58 deletions(-) diff --git a/ArkUI/PureTabsExt/entry/src/main/ets/view/InTabComponent.ets b/ArkUI/PureTabsExt/entry/src/main/ets/view/InTabComponent.ets index dc7f7154..81999269 100644 --- a/ArkUI/PureTabsExt/entry/src/main/ets/view/InTabComponent.ets +++ b/ArkUI/PureTabsExt/entry/src/main/ets/view/InTabComponent.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { AbilityConstant,Configuration } from "@kit.AbilityKit"; +import { AbilityConstant, common,Configuration } from "@kit.AbilityKit"; import { BusinessError } from '@kit.BasicServicesKit'; import { hilog } from "@kit.PerformanceAnalysisKit"; @@ -40,7 +40,7 @@ export default struct InTabComponent { } private async updateTabItems(){ - await this.getUIContext().getHostContext()?.resourceManager.getStringArrayValue($r('app.strarray.in_tabs_items')) + await this.getUIContext().getHostContext()?.resourceManager.getStringArrayValue($r('app.strarray.in_tabs_items').id) .then((strarray: string[]) => { this.tabItems = strarray; }) diff --git a/ArkUI/PureTabsExt/entry/src/main/ets/view/SwitchTabComponent.ets b/ArkUI/PureTabsExt/entry/src/main/ets/view/SwitchTabComponent.ets index 31699074..e2528a29 100644 --- a/ArkUI/PureTabsExt/entry/src/main/ets/view/SwitchTabComponent.ets +++ b/ArkUI/PureTabsExt/entry/src/main/ets/view/SwitchTabComponent.ets @@ -33,7 +33,7 @@ export default struct SwitchTabComponent { private async updateTabItems() { await this.getUIContext() - .getHostContext()?.resourceManager.getStringArrayValue($r('app.strarray.switch_tabs_items')) + .getHostContext()?.resourceManager.getStringArrayValue($r('app.strarray.switch_tabs_items').id) .then((strarray: string[]) => { this.tabItems = strarray; }) diff --git a/GesturesConfictPractice/README.md b/GesturesConfictPractice/README.md index 650d4375..d7d91f02 100644 --- a/GesturesConfictPractice/README.md +++ b/GesturesConfictPractice/README.md @@ -4,11 +4,11 @@ 本代码示例展示了多个组件嵌套时同时绑定手势事件,或者同一个组件同时绑定多个手势等场景下,手势冲突问题的解决。 -#### 使用说明 +### 使用说明 安装运行应用,进入应用首页,点击不同的按钮跳转到不同的手势场景示例。 -## 工程目录 +### 工程目录 ``` ├──entry/src/main/ets @@ -35,7 +35,7 @@ 不涉及 -## 约束与限制 +### 约束与限制 * 本示例仅支持标准系统上运行,支持设备:华为手机。 * HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 diff --git a/HDRVivid/AVPlayer/MediaService/src/main/ets/controller/AvSessionController.ets b/HDRVivid/AVPlayer/MediaService/src/main/ets/controller/AvSessionController.ets index cbbd01ae..693cea3b 100644 --- a/HDRVivid/AVPlayer/MediaService/src/main/ets/controller/AvSessionController.ets +++ b/HDRVivid/AVPlayer/MediaService/src/main/ets/controller/AvSessionController.ets @@ -80,7 +80,7 @@ export class AvSessionController { try { let metadata: avSession.AVMetadata = { assetId: `${curSource.index}`, - title: this.context?.resourceManager.getStringSync(curSource.name), + title: this.context?.resourceManager.getStringSync(curSource.name.id), mediaImage: imagePixMap, duration: duration }; diff --git a/HDRVivid/AVPlayer/MediaService/src/main/ets/utils/ImageUtil.ets b/HDRVivid/AVPlayer/MediaService/src/main/ets/utils/ImageUtil.ets index b268d315..73e46703 100644 --- a/HDRVivid/AVPlayer/MediaService/src/main/ets/utils/ImageUtil.ets +++ b/HDRVivid/AVPlayer/MediaService/src/main/ets/utils/ImageUtil.ets @@ -22,11 +22,7 @@ export class ImageUtil { public static async getPixmapFromMedia(resource: Resource, UIContext: UIContext) { let unit8Array: Uint8Array | undefined = undefined; try { - unit8Array = await UIContext.getHostContext()?.resourceManager?.getMediaContent({ - bundleName: resource.bundleName, - moduleName: resource.moduleName, - id: resource.id - }); + unit8Array = await UIContext.getHostContext()?.resourceManager?.getMediaContent(resource.id); } catch (error) { Logger.error(`getMediaContent failed Cause: ${JSON.stringify(error)}`); } diff --git a/HDRVivid/AVPlayer/README.md b/HDRVivid/AVPlayer/README.md index 944700ac..b7beb422 100644 --- a/HDRVivid/AVPlayer/README.md +++ b/HDRVivid/AVPlayer/README.md @@ -65,11 +65,11 @@ 1. 本示例仅支持标准系统上运行,支持设备:华为手机。 -2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 +2. HarmonyOS系统:HarmonyOS 6.0.0 Release及以上。 -3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 +3. DevEco Studio版本:DevEco Studio 6.0.0 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 +4. HarmonyOS SDK版本:HarmonyOS 6.0.0 Release SDK及以上。 ### 下载 diff --git a/HDRVivid/AVPlayer/build-profile.json5 b/HDRVivid/AVPlayer/build-profile.json5 index c564392d..748ebf8f 100644 --- a/HDRVivid/AVPlayer/build-profile.json5 +++ b/HDRVivid/AVPlayer/build-profile.json5 @@ -5,8 +5,8 @@ { "name": "default", "signingConfig": "default", - "compatibleSdkVersion": "5.0.5(17)", - "targetSdkVersion": "5.0.5(17)", + "compatibleSdkVersion": "6.0.0(20)", + "targetSdkVersion": "6.0.0(20)", "runtimeOS": "HarmonyOS", } ], diff --git a/HDRVivid/AVPlayer/entry/src/main/ets/view/AVPlayer.ets b/HDRVivid/AVPlayer/entry/src/main/ets/view/AVPlayer.ets index 5d1a6ab0..79d52674 100644 --- a/HDRVivid/AVPlayer/entry/src/main/ets/view/AVPlayer.ets +++ b/HDRVivid/AVPlayer/entry/src/main/ets/view/AVPlayer.ets @@ -96,38 +96,25 @@ export struct VideoPlayer { let audioManager = audio.getAudioManager(); let audioVolumeManger: audio.AudioVolumeManager = audioManager.getVolumeManager(); + try { + this.volume = audioVolumeManger.getVolumeByStream(audio.StreamUsage.STREAM_USAGE_MOVIE); + + let maxNum = audioVolumeManger.getMaxVolumeByStream(audio.StreamUsage.STREAM_USAGE_MUSIC); + hilog.info(0x0000, 'AVPlayer', `Callback invoked to indicate that the maximum volume is obtained. ${maxNum}`); + + let minNum = audioVolumeManger.getMinVolumeByStream(audio.StreamUsage.STREAM_USAGE_MUSIC); + hilog.info(0x0000, 'AVPlayer', `Callback invoked to indicate that the maximum volume is obtained. ${minNum}`); + } catch (err) { + let error = err as BusinessError; + hilog.error(0x0000, 'AVPlayer', `code=${error.code}, message=${error.message}`); + } + audioVolumeManger.getVolumeGroupManager(groupId, (err: BusinessError, value: audio.AudioVolumeGroupManager) => { if (err) { hilog.error(0x0000, 'AVPlayer', `Failed to obtain the colume group infos list. ${err}`); return; } - let audioVolumeGroupManager = value; hilog.info(0x0000, 'AVPlayer', `Callback invoked to indicate that the volume group infos list is obtained.`); - - audioVolumeGroupManager.getVolume(audio.AudioVolumeType.MEDIA, (err: BusinessError, value: number) => { - if (err) { - hilog.error(0x0000, 'AVPlayer', `Failed to obtain the volume. ${err}`); - return; - } - this.volume = value; - hilog.info(0x0000, 'AVPlayer', `Callback invoked to indicate that the volume is obtained. ${value}`); - }); - - audioVolumeGroupManager.getMaxVolume(audio.AudioVolumeType.MEDIA, (err: BusinessError, value: number) => { - if (err) { - hilog.error(0x0000, 'AVPlayer', `Failed to obtain the maximum volume. ${err}`); - return; - } - hilog.info(0x0000, 'AVPlayer', `Callback invoked to indicate that the maximum volume is obtained. ${value}`); - }); - - audioVolumeGroupManager.getMinVolume(audio.AudioVolumeType.MEDIA, (err: BusinessError, value: number) => { - if (err) { - hilog.error(0x0000, 'AVPlayer', `Failed to obtain the minimum volume. ${err}`); - return; - } - hilog.info(0x0000, 'AVPlayer', `Callback invoked to indicate that the minimum volume is obtained. ${value}`); - }); }); } @@ -198,7 +185,7 @@ export struct VideoPlayer { .width(this.isFloatWindow ? $r('app.float.size_24') : $r('app.float.icon_size_large')) .aspectRatio(1) .visibility(this.isFullScreen || this.isFullLandscapeScreen || this.isFloatWindow ? - Visibility.Visible : Visibility.Hidden) + Visibility.Visible : Visibility.Hidden) Image($r('app.media.ic_video_menu_forward')) .monopolizeEvents(true) .width(this.isFloatWindow ? $r('app.float.size_24') : $r('app.float.icon_size_large')) @@ -307,7 +294,8 @@ export struct VideoPlayer { .onActionUpdate((event: GestureEvent) => { if (event.fingerList[0].globalX > (820 / 2)) { this.visible = true; - let curBrightness = this.screenBrightness - this.uiContext.vp2px(event.offsetY) / this.uiContext.vp2px(this.screenHeight); + let curBrightness = + this.screenBrightness - this.uiContext.vp2px(event.offsetY) / this.uiContext.vp2px(this.screenHeight); curBrightness = curBrightness >= 1.0 ? 1.0 : curBrightness; curBrightness = curBrightness <= 0.0 ? 0.0 : curBrightness; this.screenBrightness = curBrightness; @@ -458,7 +446,7 @@ export struct VideoPlayer { Column() { Row() { Image(this.avPlayerController.isPlaying ? $r('sys.media.ohos_ic_public_pause') : - $r('app.media.ic_video_menu_play')) + $r('app.media.ic_video_menu_play')) .width($r('app.float.size_24')) .height($r('app.float.size_24')) .fillColor(Color.White) @@ -488,12 +476,13 @@ export struct VideoPlayer { .zIndex(CommonConstants.SLIDER_INDEX) .onAreaChange(() => { try { - let videoSlider: componentUtils.ComponentInfo = this.getUIContext().getComponentUtils().getRectangleById('video_slider'); + let videoSlider: componentUtils.ComponentInfo = + this.getUIContext().getComponentUtils().getRectangleById('video_slider'); this.slideWidth = this.uiContext.px2vp(videoSlider.size.width); this.offsetY = this.uiContext.px2vp(videoSlider.localOffset.y); this.beginX = this.uiContext.px2vp(videoSlider.localOffset.x); } catch (error) { - hilog.error(0x0000, 'testTag',`getRectangleById failed, Code:${error.code}, message:${error.message}`); + hilog.error(0x0000, 'testTag', `getRectangleById failed, Code:${error.code}, message:${error.message}`); } }) .onChange((value: number, mode: SliderChangeMode) => { @@ -571,14 +560,14 @@ export struct VideoPlayer { let context = this.uiContext.getHostContext() as common.UIAbilityContext; await window.getLastWindow(context) .then((windowClass: window.Window) => { - windowClass.setWindowKeepScreenOn(false) + windowClass.setWindowKeepScreenOn(false) .catch((err: BusinessError) => { - hilog.error(0x0000, 'testTag',`setWindowKeepScreenOn failed, Code:${err.code}, message:${err.message}`); + hilog.error(0x0000, 'testTag', `setWindowKeepScreenOn failed, Code:${err.code}, message:${err.message}`); }) }) - .catch((err: BusinessError) => { - hilog.error(0x0000, 'testTag',`getLastWindow failed, Code:${err.code}, message:${err.message}`); - }) + .catch((err: BusinessError) => { + hilog.error(0x0000, 'testTag', `getLastWindow failed, Code:${err.code}, message:${err.message}`); + }) return; } if (this.avPlayerController.isReady === true) { @@ -601,12 +590,12 @@ export struct VideoPlayer { await window.getLastWindow(context) .then((windowClass: window.Window) => { windowClass.setWindowKeepScreenOn(true) - .catch((err: BusinessError) => { - hilog.error(0x0000, 'testTag',`setWindowKeepScreenOn failed, Code:${err.code}, message:${err.message}`); - }) + .catch((err: BusinessError) => { + hilog.error(0x0000, 'testTag', `setWindowKeepScreenOn failed, Code:${err.code}, message:${err.message}`); + }) }) .catch((err: BusinessError) => { - hilog.error(0x0000, 'testTag',`getLastWindow failed, Code:${err.code}, message:${err.message}`); + hilog.error(0x0000, 'testTag', `getLastWindow failed, Code:${err.code}, message:${err.message}`); }) } diff --git a/XiaoyiAgentDemo/entry/src/main/ets/utils/audioplayer/MediaTools.ets b/XiaoyiAgentDemo/entry/src/main/ets/utils/audioplayer/MediaTools.ets index bfe8d509..3a9bc05c 100644 --- a/XiaoyiAgentDemo/entry/src/main/ets/utils/audioplayer/MediaTools.ets +++ b/XiaoyiAgentDemo/entry/src/main/ets/utils/audioplayer/MediaTools.ets @@ -24,7 +24,7 @@ export class MediaTools { name: resourceManager.Resource): Promise { let resourceMgr = context.resourceManager; let fileData: Uint8Array | null = null; - resourceMgr.getMediaContent(name) + resourceMgr.getMediaContent(name.id) .then((data: Uint8Array) => { fileData = data; }) -- Gitee From 961e8390ee0d146dfaedc3023928e207ed0116d0 Mon Sep 17 00:00:00 2001 From: rex <1491721419@qq.com> Date: Wed, 29 Oct 2025 10:58:56 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=B7=A5=E7=A8=8B=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MaliangGPU/.gitignore | 12 ------- MaliangGPU/README.md | 14 +++++--- MaliangGPU/entry/.gitignore | 6 ---- MaliangGPU/entry/src/mock/mock-config.json5 | 2 -- .../src/ohosTest/ets/test/Ability.test.ets | 35 ------------------- .../entry/src/ohosTest/ets/test/List.test.ets | 5 --- MaliangGPU/entry/src/ohosTest/module.json5 | 13 ------- MaliangGPU/entry/src/test/List.test.ets | 5 --- MaliangGPU/entry/src/test/LocalUnit.test.ets | 33 ----------------- 9 files changed, 9 insertions(+), 116 deletions(-) delete mode 100644 MaliangGPU/.gitignore delete mode 100644 MaliangGPU/entry/.gitignore delete mode 100644 MaliangGPU/entry/src/mock/mock-config.json5 delete mode 100644 MaliangGPU/entry/src/ohosTest/ets/test/Ability.test.ets delete mode 100644 MaliangGPU/entry/src/ohosTest/ets/test/List.test.ets delete mode 100644 MaliangGPU/entry/src/ohosTest/module.json5 delete mode 100644 MaliangGPU/entry/src/test/List.test.ets delete mode 100644 MaliangGPU/entry/src/test/LocalUnit.test.ets diff --git a/MaliangGPU/.gitignore b/MaliangGPU/.gitignore deleted file mode 100644 index d2ff2014..00000000 --- a/MaliangGPU/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -/node_modules -/oh_modules -/local.properties -/.idea -**/build -/.hvigor -.cxx -/.clangd -/.clang-format -/.clang-tidy -**/.test -/.appanalyzer \ No newline at end of file diff --git a/MaliangGPU/README.md b/MaliangGPU/README.md index 92b35534..e86259bb 100644 --- a/MaliangGPU/README.md +++ b/MaliangGPU/README.md @@ -11,13 +11,17 @@ ## 工程目录 ``` -├──entry/src/main +├──entry/src/main // 代码区 +│ ├──entryability +│ │ └──EntryAbility.ets // 程序入口类 +│ ├──entrybackupability +│ │ └──EntryBackupAbility.ets // 应用数据备份和恢复 │ └──ets │ └──pages -│ ├──field.glsl // GLSL样例代码 -│ ├──Index.ets // 首页 -│ └──shader.frag // GLSL样例代码 -└──entry/src/main/resources // 资源文件目录 +│ ├──field.glsl // GLSL样例代码 +│ ├──Index.ets // 首页 +│ └──shader.frag // GLSL样例代码 +└──entry/src/main/resources // 资源文件目录 ``` ## 具体实现 diff --git a/MaliangGPU/entry/.gitignore b/MaliangGPU/entry/.gitignore deleted file mode 100644 index e2713a27..00000000 --- a/MaliangGPU/entry/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/node_modules -/oh_modules -/.preview -/build -/.cxx -/.test \ No newline at end of file diff --git a/MaliangGPU/entry/src/mock/mock-config.json5 b/MaliangGPU/entry/src/mock/mock-config.json5 deleted file mode 100644 index 7a73a41b..00000000 --- a/MaliangGPU/entry/src/mock/mock-config.json5 +++ /dev/null @@ -1,2 +0,0 @@ -{ -} \ No newline at end of file diff --git a/MaliangGPU/entry/src/ohosTest/ets/test/Ability.test.ets b/MaliangGPU/entry/src/ohosTest/ets/test/Ability.test.ets deleted file mode 100644 index 85c78f67..00000000 --- a/MaliangGPU/entry/src/ohosTest/ets/test/Ability.test.ets +++ /dev/null @@ -1,35 +0,0 @@ -import { hilog } from '@kit.PerformanceAnalysisKit'; -import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; - -export default function abilityTest() { - describe('ActsAbilityTest', () => { - // Defines a test suite. Two parameters are supported: test suite name and test suite function. - beforeAll(() => { - // Presets an action, which is performed only once before all test cases of the test suite start. - // This API supports only one parameter: preset action function. - }) - beforeEach(() => { - // Presets an action, which is performed before each unit test case starts. - // The number of execution times is the same as the number of test cases defined by **it**. - // This API supports only one parameter: preset action function. - }) - afterEach(() => { - // Presets a clear action, which is performed after each unit test case ends. - // The number of execution times is the same as the number of test cases defined by **it**. - // This API supports only one parameter: clear action function. - }) - afterAll(() => { - // Presets a clear action, which is performed after all test cases of the test suite end. - // This API supports only one parameter: clear action function. - }) - it('assertContain', 0, () => { - // Defines a test case. This API supports three parameters: test case name, filter parameter, and test case function. - hilog.info(0x0000, 'testTag', '%{public}s', 'it begin'); - let a = 'abc'; - let b = 'b'; - // Defines a variety of assertion methods, which are used to declare expected boolean conditions. - expect(a).assertContain(b); - expect(a).assertEqual(a); - }) - }) -} \ No newline at end of file diff --git a/MaliangGPU/entry/src/ohosTest/ets/test/List.test.ets b/MaliangGPU/entry/src/ohosTest/ets/test/List.test.ets deleted file mode 100644 index 794c7dc4..00000000 --- a/MaliangGPU/entry/src/ohosTest/ets/test/List.test.ets +++ /dev/null @@ -1,5 +0,0 @@ -import abilityTest from './Ability.test'; - -export default function testsuite() { - abilityTest(); -} \ No newline at end of file diff --git a/MaliangGPU/entry/src/ohosTest/module.json5 b/MaliangGPU/entry/src/ohosTest/module.json5 deleted file mode 100644 index 55725a92..00000000 --- a/MaliangGPU/entry/src/ohosTest/module.json5 +++ /dev/null @@ -1,13 +0,0 @@ -{ - "module": { - "name": "entry_test", - "type": "feature", - "deviceTypes": [ - "phone", - "tablet", - "2in1" - ], - "deliveryWithInstall": true, - "installationFree": false - } -} diff --git a/MaliangGPU/entry/src/test/List.test.ets b/MaliangGPU/entry/src/test/List.test.ets deleted file mode 100644 index bb5b5c37..00000000 --- a/MaliangGPU/entry/src/test/List.test.ets +++ /dev/null @@ -1,5 +0,0 @@ -import localUnitTest from './LocalUnit.test'; - -export default function testsuite() { - localUnitTest(); -} \ No newline at end of file diff --git a/MaliangGPU/entry/src/test/LocalUnit.test.ets b/MaliangGPU/entry/src/test/LocalUnit.test.ets deleted file mode 100644 index 165fc161..00000000 --- a/MaliangGPU/entry/src/test/LocalUnit.test.ets +++ /dev/null @@ -1,33 +0,0 @@ -import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'; - -export default function localUnitTest() { - describe('localUnitTest', () => { - // Defines a test suite. Two parameters are supported: test suite name and test suite function. - beforeAll(() => { - // Presets an action, which is performed only once before all test cases of the test suite start. - // This API supports only one parameter: preset action function. - }); - beforeEach(() => { - // Presets an action, which is performed before each unit test case starts. - // The number of execution times is the same as the number of test cases defined by **it**. - // This API supports only one parameter: preset action function. - }); - afterEach(() => { - // Presets a clear action, which is performed after each unit test case ends. - // The number of execution times is the same as the number of test cases defined by **it**. - // This API supports only one parameter: clear action function. - }); - afterAll(() => { - // Presets a clear action, which is performed after all test cases of the test suite end. - // This API supports only one parameter: clear action function. - }); - it('assertContain', 0, () => { - // Defines a test case. This API supports three parameters: test case name, filter parameter, and test case function. - let a = 'abc'; - let b = 'b'; - // Defines a variety of assertion methods, which are used to declare expected boolean conditions. - expect(a).assertContain(b); - expect(a).assertEqual(a); - }); - }); -} \ No newline at end of file -- Gitee From c5f3b2ac5200950de465ca8b3c1b2f2e7fbbdb40 Mon Sep 17 00:00:00 2001 From: rex <1491721419@qq.com> Date: Wed, 29 Oct 2025 11:04:37 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=B7=A5=E7=A8=8B=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MaliangGPU/README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/MaliangGPU/README.md b/MaliangGPU/README.md index e86259bb..b8eb3fd1 100644 --- a/MaliangGPU/README.md +++ b/MaliangGPU/README.md @@ -11,17 +11,16 @@ ## 工程目录 ``` -├──entry/src/main // 代码区 +├──entry/src/main/ets // 代码区 │ ├──entryability -│ │ └──EntryAbility.ets // 程序入口类 +│ │ └──EntryAbility.ets // 程序入口类 │ ├──entrybackupability -│ │ └──EntryBackupAbility.ets // 应用数据备份和恢复 -│ └──ets -│ └──pages -│ ├──field.glsl // GLSL样例代码 -│ ├──Index.ets // 首页 -│ └──shader.frag // GLSL样例代码 -└──entry/src/main/resources // 资源文件目录 +│ │ └──EntryBackupAbility.ets // 应用数据备份和恢复 +│ └──pages +│ ├──field.glsl // GLSL样例代码 +│ ├──Index.ets // 首页 +│ └──shader.frag // GLSL样例代码 +└──entry/src/main/resources // 资源文件目录 ``` ## 具体实现 -- Gitee