The OpenHarmony JS UI framework provides basic, container, and canvas UI components and standard CSS animation capabilities. It supports the web-development-like programming paradigm.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
update build fix agent Signed-off-by: sunfei <sunfei.sun@huawei.com> 🤖 AI[0%] 👌 AI Adopted[0%] 🧑 Human[100%] Change-Id: Ie771c51f47e6a2b246fc611b124bae6abefe0d76 | 1 个月前 | |
docs: trim unsupported page scene SDD scope 🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: codex (gpt-5.5) <ai@local> Change-Id: Ice7b3cb258017184851c771167580b655e6da99e Signed-off-by: lushi <lushi@huawei.com> | 1 天前 | |
!86826 merge themeResource into master Theme.csv和Resource冗余代码清理 Created-by: yuanlin94 Commit-by: yuanlin94 Merged-by: openharmony_ci Description: **IssueNo**: 79017 **Description**: Theme.csv和Resource冗余代码清理 **Sig**: SIG_ApplicationFramework **Binary Source**: No ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [x] 需求/Feature - [ ] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [x] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!86826 | 1 天前 | |
!86635 merge PageScene into master UISession支持页面场景规则化感知能力 Created-by: lushi871202 Commit-by: lushi Merged-by: openharmony_ci Description: **IssueNo**: #78826 **Description**: UISession 支持页面场景规则化感知能力,新增 PageScene 规则管理和 UISession 注册/获取/上报链路,首批实现文本编辑类场景 TEXT_EDITOR 检测与上报。 **Sig**: SIG_ApplicationFramework **Binary Source**: No ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [x] 需求/Feature - [ ] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved 自验说明:已执行 ./build.sh --product-name rk3568 --build-target ace_engine,构建通过。 ### XTS自验结果/XTS Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [x] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [ ] 已验证/Yes - [x] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. L0说明:本次为 UISession 内部能力和规则管理实现,当前阶段以 SDD Stage3 实现验证及 ace_engine 构建验证为主,未涉及独立 L0 用例执行。 See merge request: openharmony/arkui_ace_engine!86635 | 8 小时前 | |
!86587 merge 0627_multinav into master multinavigation适配新的分栏规则 Created-by: cortisol Commit-by: yuzhicheng Merged-by: openharmony_ci Description: **IssueNo**:https://gitcode.com/openharmony/arkui_ace_engine/issues/78784 **Description**: fix **Sig**: SIG_ApplicationFramework **Binary Source**: No(涉及则Yes) ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [x] 需求/Feature - [ ] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [x] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!86587 | 3 天前 | |
!86325 merge align_union_test into master align union types subtyping Created-by: zhaoshuting Commit-by: Shimenkov Mikhail Merged-by: openharmony_ci Description: Change-Id: Iec818f80167fbb37b4efa0b78e9b1cb062d95c31 **IssueNo**: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/11646 **Description**: 用例适配语法变更 **Sig**: SIG_ApplicationFramework **Binary Source**: No(涉及则Yes) ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [ ] 需求/Feature - [x] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [x] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!86325 | 4 天前 | |
!86150 merge test_0615 into master shape类组件模块化和归一化 Created-by: wangxiuxiu Commit-by: wangxiuxiu96 Merged-by: openharmony_ci Description: **IssueNo**:78448 **Description**:test_0615 **Sig**: SIG_ApplicationFramework **Binary Source**: No ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [x] 需求/Feature - [ ] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [x] 已验证/Yes - [ ] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!86150 | 1 天前 | |
!87071 merge master into master movingphotoview bug fix Created-by: jinqi66 Commit-by: jinqi66 Merged-by: openharmony_ci Description: **IssueNo**: https://gitcode.com/openharmony/arkui_ace_engine/issues/79238 **Description**: movingphotoview bug fix **Sig**: SIG_ApplicationFramework **Binary Source**: No ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [ ] 需求/Feature - [x] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [x] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [x] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [ ] 已验证/Yes - [x] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!87071 | 11 小时前 | |
!86635 merge PageScene into master UISession支持页面场景规则化感知能力 Created-by: lushi871202 Commit-by: lushi Merged-by: openharmony_ci Description: **IssueNo**: #78826 **Description**: UISession 支持页面场景规则化感知能力,新增 PageScene 规则管理和 UISession 注册/获取/上报链路,首批实现文本编辑类场景 TEXT_EDITOR 检测与上报。 **Sig**: SIG_ApplicationFramework **Binary Source**: No ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [x] 需求/Feature - [ ] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved 自验说明:已执行 ./build.sh --product-name rk3568 --build-target ace_engine,构建通过。 ### XTS自验结果/XTS Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [x] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [ ] 已验证/Yes - [x] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. L0说明:本次为 UISession 内部能力和规则管理实现,当前阶段以 SDD Stage3 实现验证及 ace_engine 构建验证为主,未涉及独立 L0 用例执行。 See merge request: openharmony/arkui_ace_engine!86635 | 8 小时前 | |
!87024 merge lh_add_uiext_accessibility_sample_v2 into master 新增UIExtensionAndAccessibility示例(静态模式UIExtension与无障碍) Created-by: liuhui93 Commit-by: liuhui Merged-by: openharmony_ci Description: **IssueNo**: https://gitcode.com/openharmony/arkui_ace_engine/issues/79197 **Description**: 新增UIExtensionAndAccessibility示例工程(ArkTS静态编译模式),演示UIExtensionComponent、EmbeddedComponent、FullScreenLaunchComponent及ArkUI无障碍属性的静态模式用法。工程不含截图等二进制文件,README下载命令已指向ace_engine仓库。 **Sig**: SIG_ApplicationFramework **Binary Source**: No ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [x] 需求/Feature - [ ] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [x] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [x] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [ ] 已验证/Yes - [x] 不涉及,请在下方说明原因/Not Involved. 示例工程不涉及L0用例 See merge request: openharmony/arkui_ace_engine!87024 | 1 天前 | |
fix readme Signed-off-by: luoying_ace_admin <luoying19@huawei.com> Change-Id: Ic0dd127ba4dffe28a669de3ba6c2feb70e6037f2 | 3 年前 | |
!87077 merge arkuix into master 屏蔽跨平台场景下部分级别的日志 Created-by: wangchensu1 Commit-by: wangchensu Merged-by: openharmony_ci Description: **IssueNo**:https://gitcode.com/openharmony/arkui_ace_engine/issues/79242 **Description**:屏蔽跨平台场景下部分级别的日志 **Sig**: SIG_ApplicationFramework **Binary Source**: No(涉及则Yes) ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的 [ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [x] 需求/Feature - [ ] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [x] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [ ] 已验证/Yes - [x] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!87077 | 5 小时前 | |
add A2UI Render Signed-off-by: dutie123 <dujingcheng@huawei.com> | 3 个月前 | |
!87040 merge 0709_dvsync into master 添加dvsync设置接口 Created-by: linzuoquan Commit-by: linzuoquan Merged-by: openharmony_ci Description: **IssueNo**: #79213 **Description**: 新增 NDK C API OH_ArkUI_NodeUtils_SetUiDvsyncSwitch 用于设置 UI dvsync 开关;并将 CheckThreadSafe() 从 PipelineContext(NG) 上移到 PipelineBase 基类以便 C API 复用线程安全校验。纯增量,不改变既有接口语义。 **Sig**: SIG_ApplicationFramework **Binary Source**: No ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的[ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [x] 需求/Feature - [ ] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [x] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [ ] 已验证/Yes - [x] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. ## 自验说明 - 本地 TDD 自验(开发者本地执行):新增单元测试 SetUiDvsyncSwitchAPITest001/002 覆盖 null context 与无效 context id 两条路径,结果通过。 - XTS / L0:本次为纯增量新增 NDK C API,未改变既有组件行为,未涉及 XTS 与 L0 回归。 - PR 前已对改动做静态阻塞风险审查(编译、ABI、API 兼容、线程安全、内存、测试、遗漏文件),未发现阻塞合并项。 See merge request: openharmony/arkui_ace_engine!87040 | 7 小时前 | |
!87040 merge 0709_dvsync into master 添加dvsync设置接口 Created-by: linzuoquan Commit-by: linzuoquan Merged-by: openharmony_ci Description: **IssueNo**: #79213 **Description**: 新增 NDK C API OH_ArkUI_NodeUtils_SetUiDvsyncSwitch 用于设置 UI dvsync 开关;并将 CheckThreadSafe() 从 PipelineContext(NG) 上移到 PipelineBase 基类以便 C API 复用线程安全校验。纯增量,不改变既有接口语义。 **Sig**: SIG_ApplicationFramework **Binary Source**: No ## 请勿修改以下选项内容,仅需保存后点击复选框,或在编辑时将对应项前面的[ ]改为[x] ## Do not modify the following option content. Simply save and click the checkbox, or when editing, change [ ] to [x] for the relevant item. ### Feature or Bugfix - [x] 需求/Feature - [ ] 缺陷/Bugfix ### 是否涉及非兼容变更/Whether it involves incompatible changes - [ ] 是/Yes - [x] 否/No ### TDD自验结果/TDD Self-Verification Results - [x] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [ ] 不涉及/Not Involved ### XTS自验结果/XTS Self-Verification Results - [ ] 通过,请在下方提供截图/Pass. Provide execution details in picture below. - [ ] 失败,请在下方提供基线执行情况截图/Fail. Provide baseline execution details in picture below. - [x] 不涉及/Not Involved ### 检视意见是否都已闭环/Have all review comments been resolved - [x] 是/Yes - [ ] 否/No ### 是否已执行L0用例 - [ ] 已验证/Yes - [x] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. ## 自验说明 - 本地 TDD 自验(开发者本地执行):新增单元测试 SetUiDvsyncSwitchAPITest001/002 覆盖 null context 与无效 context id 两条路径,结果通过。 - XTS / L0:本次为纯增量新增 NDK C API,未改变既有组件行为,未涉及 XTS 与 L0 回归。 - PR 前已对改动做静态阻塞风险审查(编译、ABI、API 兼容、线程安全、内存、测试、遗漏文件),未发现阻塞合并项。 See merge request: openharmony/arkui_ace_engine!87040 | 7 小时前 | |
格式修改 Signed-off-by: happy <wangxueli8@huawei.com> Change-Id: I185ade5df4b3aabe03f7b671beadb4cb41ff8564 | 4 个月前 | |
merge 0728 Change-Id: I1bd1e4762af6e3a49fc523afee90676ab9a0cca5 Signed-off-by: huiqiangdev <huiqiangdev@icloud.com> | 9 个月前 | |
Theme.csv和Resource冗余代码清理 Signed-off-by: yuanlin94 <linyuan25@h-partners.com> | 1 天前 | |
update knowledge_base, add task routing rule Signed-off-by: sunfei <sunfei.sun@huawei.com> 🤖 AI[33%] 👌 AI Adopted[33%] 🧑 Human[67%] Change-Id: Ic61e402cc0ebb1cbd92f04bd4f9a892e2d0cebd6 | 1 个月前 | |
fixStripSection Signed-off-by: tangfei0616 <tangfei44@h-partners.com> | 1 天前 | |
update knowledge_base Signed-off-by: sunfei <sunfei.sun@huawei.com> 🤖 AI[33%] 👌 AI Adopted[33%] 🧑 Human[67%] Change-Id: Ic61e402cc0ebb1cbd92f04bd4f9a892e2d0cebd6 | 1 个月前 | |
update OpenHarmony 2.0 Canary | 5 年前 | |
Theme.csv和Resource冗余代码清理 Signed-off-by: yuanlin94 <linyuan25@h-partners.com> | 1 天前 | |
回退 'Pull Request !29318 : 测试用,请勿合入' | 2 年前 | |
ets to arkts Signed-off-by: luoying_ace_admin <luoying19@huawei.com> Change-Id: Ia345753f0056d525408d54b34d10928d8eb5cbd4 | 3 年前 | |
arkuixStripSection Signed-off-by: tangfei0616 <tangfei44@h-partners.com> | 11 天前 | |
arkui tdd编译产物没找到 Issue: https://gitcode.com/openharmony/arkui_ace_engine/issues/78136 Feature or Bugfix: Bugfix Binary Source:No Signed-off-by: chenjiafeng <chenjiafeng10@h-partners.com> Co-Authored-By: Agent | 23 天前 | |
fix node_path being overridden in gn Signed-off-by: Pavel Mironchik <pavel.mironchik@huawei.com> Change-Id: Id44d329ffb952b8a92ae74a5a43fec76a49ea0ba | 2 个月前 | |
移除废弃代码 🤖 AI[100%] 👌 AI Adopted[100%] 🧑 Human[0%] Co-authored-by: codex (gpt-5.5) <ai@local> Change-Id: I0b921364d884d4477598ea321cafbb6348b593e4 Signed-off-by: linzuoquan <linzuoquan1@huawei.com> | 12 天前 | |
udpate component module design doc Signed-off-by: sunfei <sunfei.sun@huawei.com> 🤖 AI[0%] 👌 AI Adopted[0%] 🧑 Human[100%] Change-Id: I125634702914596cab94cae6882e86cb6d3d1e67 | 25 天前 |
ArkUI开发框架
简介
ArkUI框架是OpenHarmony UI开发框架,提供开发者进行应用UI开发时所必需的能力,包括UI组件、动画、绘制、交互事件、JS API扩展机制等。ArkUI框架提供了两种开发范式,分别是基于ArkTS的声明式开发范式(简称“声明式开发范式”)和兼容JS的类Web开发范式(简称“类Web开发范式”)。
从上图可以看出,类Web开发范式与声明式开发范式的UI后端引擎和语言运行时是共用的,其中,UI后端引擎实现了ArkUI框架的六种基本能力。声明式开发范式无需JS Framework进行页面DOM管理,渲染更新链路更为精简,占用内存更少,因此更推荐开发者选用声明式开发范式来搭建应用UI界面。
目录
ArkUI开发框架源代码在/foundation/arkui/ace_engine下,目录结构如下图所示:
/foundation/arkui/ace_engine
├── adapter # 平台适配目录
│ ├── common
│ └── ohos
├── frameworks # 框架代码
│ ├── base # 基础库
│ ├── bridge # 前后端组件对接层
│ └── core # 核心组件目录
使用场景
ArkUI框架提供了丰富的、功能强大的UI组件、样式定义,组件之间相互独立,随取随用,也可以在需求相同的地方重复使用。开发者还可以通过组件间合理的搭配定义满足业务需求的新组件,减少开发量。
相关仓
arkui_ace_engine
项目介绍
The OpenHarmony JS UI framework provides basic, container, and canvas UI components and standard CSS animation capabilities. It supports the web-development-like programming paradigm.
定制我的领域