# InnerKit-Test-Application **Repository Path**: bitlepetit/inner-kit-test-application ## Basic Information - **Project Name**: InnerKit-Test-Application - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-12-03 - **Last Updated**: 2025-01-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # InnerKit 说明 ## 本地调试方法 在本地新增组件调试InnerKit的相关能力,需要对本地SDK进行修改。 1. 在`path_to_sdk/ets/build-tools/ets-loader/tsconfig.json`中,在components和extend标签下新增组件及对应的组件属性 ```json { "compilerOptions": { "ets": { "components": [ "CustomizeView" ], "extend": { "components": [ { "name": "CustomizeView", "type": "CustomizeViewAttribute", "instance": "CustomizeViewInstance" } ] } } } } ``` 2. 将类型定义文件[@ohos.customize.customizeview.d.ts](./@ohos.customize.customizeview.d.ts)添加到目录`path_to_sdk/ets/api/`中 3. 将customizeView.z.so推送进设备 4. 运行实例代码 ## 支持范围(参照movingPhoto) * movingphoto_styles.h * Property 中的宏定义 * Constants 中的数据结构 * ImageSourceInfo * movingphoto_pattern.h * Pattern(Done) * Pattern 相关回调 * MediaPlayer * RenderSurface * RenderContext * ImageEvent * VideoUtils * GeometryNode * LongPressEvent * TouchEventImpl * PixelMap * ImageAnalyzerManager * movingphoto_node.h * FrameNode(继承) * movingphoto_model_ng.cpp * ImagePattern * LinearLayoutPattern * movingphoto_layout_algorithm.h * BoxLayoutAlgorithm(Done) * LayoutWrapper(Done) * 通用 * AceType(Done) * RefPtr(Done) * SizeT(Done) 数据结构 * geometry(Done) 数据结构 * Gesture * gesture_event(Done) * event_hub(Doing,预期通过注入实现) * LayoutConstraint 数据结构 # CustomizeView ![](./customize_view.png)