arkui_ace_engine:基于OpenHarmony的UI开发框架项目

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.

Branch25Tags0
FilesLast commitLast update
Rename all C API unit tests according to one template. Signed-off-by: Nikolay Pisanov <Pisanov.Nikolay@huawei.com> Change-Id: I0f35ea45d87514b389374c4376e5f744652a57c4 3 months ago
添加overlay的ets tag Change-Id: Ifff7c825129f9117271a00b6c85dfbb3ca394df7 Signed-off-by: linzuoquan <linzuoquan1@huawei.com> 14 days ago
!84915 merge mock_previewer_remwind into master [UIF] [Previewer] Add RemoteWindow mock support for placeholder rendering in Previewer Created-by: pavelyevivan Commit-by: pavelyevivan Merged-by: openharmony_ci Description: **IssueNo**: https://gitcode.com/openharmony/arkui_ace_engine/issues/76712 **Description**: This feature adds a lightweight mock implementation for the RemoteWindow component to enable its usage in the Previewer environment. **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!8491514 days ago
修复分段按钮代码 Signed-off-by: Cuecuexiaoyu <yuyi51@huawei.com> 🤖‍ AI[0%] 👌 AI Adopted[0%] 🧑 Human[100%] Change-Id: I7fb591df2f9b03c526109818a6a728a8c63197b0 14 days ago
修复分段按钮代码 Signed-off-by: Cuecuexiaoyu <yuyi51@huawei.com> 🤖‍ AI[0%] 👌 AI Adopted[0%] 🧑 Human[100%] Change-Id: I7fb591df2f9b03c526109818a6a728a8c63197b0 14 days ago
LazyVWaterFlow/LazyVGrid/LazyColumn header/footer 实现 Co-Authored-By: Agent Signed-off-by: fuhanfeng <fuhanfeng1@h-partners.com> 13 days ago
docs: refresh knowledge base index and consolidate agent guidance 🤖‍ AI[86%] 👌 AI Adopted[86%] 🧑 Human[14%] Co-authored-by: codex (gpt-5.3-codex) <ai@local> Signed-off-by: sunfei <sunfei.sun@huawei.com> Change-Id: Ie8ebf96645d09c927fce32e45c86c39cd4e97ae9 13 days ago
docs: refresh knowledge base index and consolidate agent guidance 🤖‍ AI[86%] 👌 AI Adopted[86%] 🧑 Human[14%] Co-authored-by: codex (gpt-5.3-codex) <ai@local> Signed-off-by: sunfei <sunfei.sun@huawei.com> Change-Id: Ie8ebf96645d09c927fce32e45c86c39cd4e97ae9 13 days ago
!85244 merge master_0519 into master docs: refresh knowledge base index and consolidate agent guidance Created-by: sunfei2021 Commit-by: sunfei Merged-by: openharmony_ci Description: **IssueNo**: https://gitcode.com/openharmony/arkui_ace_engine/issues/76996 **Description**: refresh knowledge base index and consolidate agent guidance **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!8524411 days ago
fix readme Signed-off-by: luoying_ace_admin <luoying19@huawei.com> Change-Id: Ic0dd127ba4dffe28a669de3ba6c2feb70e6037f2 3 years ago
!85098 merge master into master 安全控件组件内置文本样式优化,修改了部分建议,save/paste Created-by: wangshengwen333 Commit-by: wangshengwen333 Merged-by: openharmony_ci Description: **IssueNo**:#76864 **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!8509811 days ago
add A2UI Render Signed-off-by: dutie123 <dujingcheng@huawei.com> 2 months ago
!85244 merge master_0519 into master docs: refresh knowledge base index and consolidate agent guidance Created-by: sunfei2021 Commit-by: sunfei Merged-by: openharmony_ci Description: **IssueNo**: https://gitcode.com/openharmony/arkui_ace_engine/issues/76996 **Description**: refresh knowledge base index and consolidate agent guidance **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!8524411 days ago
!85186 merge BugFix into master Bug Fix Created-by: ryan5630 Commit-by: ryan5630 Merged-by: openharmony_ci Description: **IssueNo**:76945 **Description**: Bug 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用例 - [ ] 已验证/Yes - [x] 不涉及,请在下方说明原因/Not Involved. Please specify the reasons below. See merge request: openharmony/arkui_ace_engine!8518611 days ago
格式修改 Signed-off-by: happy <wangxueli8@huawei.com> Change-Id: I185ade5df4b3aabe03f7b671beadb4cb41ff8564 3 months ago
merge 0728 Change-Id: I1bd1e4762af6e3a49fc523afee90676ab9a0cca5 Signed-off-by: huiqiangdev <huiqiangdev@icloud.com> 8 months ago
Managed code generation on the fly Signed-off-by: guozejun <guozejun@huawei.com> Change-Id: I1c235e3966997e7289ca881f719e97f4585423bc 1 month ago
docs: refresh knowledge base index and consolidate agent guidance 🤖‍ AI[86%] 👌 AI Adopted[86%] 🧑 Human[14%] Co-authored-by: codex (gpt-5.3-codex) <ai@local> Signed-off-by: sunfei <sunfei.sun@huawei.com> Change-Id: Ie8ebf96645d09c927fce32e45c86c39cd4e97ae9 13 days ago
arkui-x 编译问题修复 Signed-off-by: ajajaaj1024 <tujiren@huawei.com> Change-Id: I6de9d77a52202668195cfec3870d274c88aaa9e2 10 months ago
docs: refresh knowledge base index and consolidate agent guidance 🤖‍ AI[86%] 👌 AI Adopted[86%] 🧑 Human[14%] Co-authored-by: codex (gpt-5.3-codex) <ai@local> Signed-off-by: sunfei <sunfei.sun@huawei.com> Change-Id: Ie8ebf96645d09c927fce32e45c86c39cd4e97ae9 13 days ago
update OpenHarmony 2.0 Canary 4 years ago
Update OAT for idlize binary Signed-off-by: guozejun <guozejun@huawei.com> Change-Id: I1ee52b46787b91f495220d3c37a702f31c2c944c 3 months ago
回退 'Pull Request !29318 : 测试用,请勿合入' 2 years ago
ets to arkts Signed-off-by: luoying_ace_admin <luoying19@huawei.com> Change-Id: Ia345753f0056d525408d54b34d10928d8eb5cbd4 3 years ago
Merge branch 'master' of git@gitcode.com:zhangjing111/arkui_ace_engine.git into 'master' # Conflicts: # conflict ace_config.gni24 days ago
Merge branch 'master' of git@gitcode.com:zhangjing111/arkui_ace_engine.git into 'master' # Conflicts: # conflict ace_config.gni24 days ago
fix node_path being overridden in gn Signed-off-by: Pavel Mironchik <pavel.mironchik@huawei.com> Change-Id: Id44d329ffb952b8a92ae74a5a43fec76a49ea0ba 1 month ago
typo fix Signed-off-by: Zhang Peng <zhangpeng280@huawei.com> Change-Id: I2a42dde1796358c2fce53d4a9ae692b5d1077c59 3 years ago
add claude doc and some design docs Signed-off-by: sunfei <sunfei.sun@huawei.com> Change-Id: I0d4598ef5ec057e86c3792c3a138c4c441c8cfba 4 months ago

ArkUI开发框架

简介

ArkUI框架是OpenHarmony UI开发框架,提供开发者进行应用UI开发时所必需的能力,包括UI组件、动画、绘制、交互事件、JS API扩展机制等。ArkUI框架提供了两种开发范式,分别是基于ArkTS的声明式开发范式(简称“声明式开发范式”)和兼容JS的类Web开发范式(简称“类Web开发范式”)。

图 1 ArkUI框架结构

从上图可以看出,类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框架子系统

arkui_ace_engine

arkui_ace_engine_lite

arkui_napi

Introduction

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.

Customize my domain

Downloads

0

Total downloads (including clone, pull, ZIP & release downloads), updated by T+1.

Languages

C++82.47%
ArkTS9.93%
TypeScript3.54%
JavaScript2.89%
C0.91%