Home
last modified time | relevance | path

Searched refs:ComponentUtils (Results 1 – 25 of 32) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcanvas_component.cpp299 …CanvasComponent *component = static_cast<CanvasComponent *>(ComponentUtils::GetComponentFromBindin… in GetContext()
342 …CanvasComponent *component = static_cast<CanvasComponent *>(ComponentUtils::GetComponentFromBindin… in FillStyleSetter()
382 …CanvasComponent *component = static_cast<CanvasComponent *>(ComponentUtils::GetComponentFromBindin… in FillStyleGetter()
411 …CanvasComponent *component = static_cast<CanvasComponent *>(ComponentUtils::GetComponentFromBindin… in StrokeStyleSetter()
452 …CanvasComponent *component = static_cast<CanvasComponent *>(ComponentUtils::GetComponentFromBindin… in StrokeStyleGetter()
480 …CanvasComponent *component = static_cast<CanvasComponent *>(ComponentUtils::GetComponentFromBindin… in LineWidthSetter()
500 …CanvasComponent *component = static_cast<CanvasComponent *>(ComponentUtils::GetComponentFromBindin… in LineWidthGetter()
521 …CanvasComponent *component = static_cast<CanvasComponent *>(ComponentUtils::GetComponentFromBindin… in FontSetter()
574 …CanvasComponent *component = static_cast<CanvasComponent *>(ComponentUtils::GetComponentFromBindin… in FontGetter()
615 …CanvasComponent *component = static_cast<CanvasComponent *>(ComponentUtils::GetComponentFromBindin… in TextAlignSetter()
[all …]
H A Dcomponent_utils.cpp23 UIView* ComponentUtils::GetViewFromBindingObject(jerry_value_t value) in GetViewFromBindingObject()
29 Component* ComponentUtils::GetComponentFromBindingObject(jerry_value_t value) in GetComponentFromBindingObject()
43 void ComponentUtils::ReleaseComponents(Component *rootComponent) in ReleaseComponents()
68 uint16_t ComponentUtils::GetComponentType(jerry_value_t options) in GetComponentType()
H A Dcomponent_utils.h27 class ComponentUtils final : public MemoryHeap {
29 ACE_DISALLOW_COPY_AND_MOVE(ComponentUtils);
30 ~ComponentUtils() {} in ~ComponentUtils()
H A Dimage_animator_component.cpp327 static_cast<ImageAnimatorComponent *>(ComponentUtils::GetComponentFromBindingObject(dom)); in StartAnimator()
347 static_cast<ImageAnimatorComponent *>(ComponentUtils::GetComponentFromBindingObject(dom)); in PauseAnimator()
367 static_cast<ImageAnimatorComponent *>(ComponentUtils::GetComponentFromBindingObject(dom)); in ResumeAnimator()
387 static_cast<ImageAnimatorComponent *>(ComponentUtils::GetComponentFromBindingObject(dom)); in StopAnimator()
408 static_cast<ImageAnimatorComponent *>(ComponentUtils::GetComponentFromBindingObject(dom)); in GetAnimatorState()
H A Dvideo_component.cpp91 …VideoView *nativeVideo = reinterpret_cast<VideoView *>(ComponentUtils::GetViewFromBindingObject(co… in Start()
96 … = reinterpret_cast<VideoComponent *>(ComponentUtils::GetComponentFromBindingObject(context)); in Start()
114 …VideoView *nativeVideo = reinterpret_cast<VideoView *>(ComponentUtils::GetViewFromBindingObject(co… in Pause()
119 reinterpret_cast<VideoComponent *>(ComponentUtils::GetComponentFromBindingObject(context)); in Pause()
137 …VideoView *nativeVideo = reinterpret_cast<VideoView *>(ComponentUtils::GetViewFromBindingObject(co… in SetCurrentTime()
156 …VideoView *nativeVideo = reinterpret_cast<VideoView *>(ComponentUtils::GetViewFromBindingObject(co… in SetVolume()
H A Dcomponent_factory.h109 uint16_t id = ComponentUtils::GetComponentType(options); in CreateComponent()
156 uint16_t id = ComponentUtils::GetComponentType(options); in CreateComponent()
H A Dtab_content_component.cpp45 Component* component = ComponentUtils::GetComponentFromBindingObject(childHandler); in GetComponentByIndex()
H A Dlist_adapter.cpp223 UIView *newView = ComponentUtils::GetViewFromBindingObject(element); in GetView()
293 Component *component = ComponentUtils::GetComponentFromBindingObject(element); in BuildItemViewTree()
H A Dtabs_component.cpp178 Component* component = ComponentUtils::GetComponentFromBindingObject(child); in MatchChildren()
218 Component* component = ComponentUtils::GetComponentFromBindingObject(firstChildHandler); in GetTabBarLocation()
H A Dlist_component.cpp189 UIList *list = reinterpret_cast<UIList *>(ComponentUtils::GetViewFromBindingObject(dom)); in ListScrollTo()
H A Dcamera_component.cpp389 …UISurfaceView *cameraView = static_cast<UISurfaceView *>(ComponentUtils::GetViewFromBindingObject(… in TakePhoto()
390 …CameraComponent *component = static_cast<CameraComponent *>(ComponentUtils::GetComponentFromBindin… in TakePhoto()
H A Dtab_bar_component.cpp58 Component* textComponent = ComponentUtils::GetComponentFromBindingObject(childHandler); in GetTextByIndex()
H A Danalog_clock_component.cpp101 UIView* childView = ComponentUtils::GetViewFromBindingObject(child); in ProcessChildren()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Djsbundle_tdd_test.cpp69 …UIViewGroup *viewGroup = reinterpret_cast<UIViewGroup *>(ComponentUtils::GetViewFromBindingObject(… in CreateElementAttributeLength001()
95 Component *textComponent = ComponentUtils::GetComponentFromBindingObject(el); in CreateElementAttributeLength002()
99 UILabel *label = reinterpret_cast<UILabel *>(ComponentUtils::GetViewFromBindingObject(el)); in CreateElementAttributeLength002()
132 Component *textComponent = ComponentUtils::GetComponentFromBindingObject(textEl); in CreateElementAttributeLength003()
133 Component *divComponent = ComponentUtils::GetComponentFromBindingObject(divEl); in CreateElementAttributeLength003()
134 …UIViewGroup *viewGroup = reinterpret_cast<UIViewGroup *>(ComponentUtils::GetViewFromBindingObject(… in CreateElementAttributeLength003()
178 Component *textComponent = ComponentUtils::GetComponentFromBindingObject(textEl); in CreateElementAttributeLength004()
179 Component *divComponent = ComponentUtils::GetComponentFromBindingObject(divEl); in CreateElementAttributeLength004()
180 …UIViewGroup *viewGroup = reinterpret_cast<UIViewGroup *>(ComponentUtils::GetViewFromBindingObject(… in CreateElementAttributeLength004()
H A Dpercent_tdd_test.cpp123 Component *component = ComponentUtils::GetComponentFromBindingObject(element); in BuildViewTree()
134 Component *component = ComponentUtils::GetComponentFromBindingObject(element); in VerifyDimension()
405 ComponentUtils::ReleaseComponents(divComponent);
456 ComponentUtils::ReleaseComponents(stackComponent);
505 ComponentUtils::ReleaseComponents(containerComponent);
H A Dinput_event_tdd_test.cpp853 UIView *target = ComponentUtils::GetViewFromBindingObject(targetRef); in GetComponent()
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/
H A Dbasic_tdd_test.cpp136 rootComponent_ = ComponentUtils::GetComponentFromBindingObject(rootEl); in CreatePage()
169 ComponentUtils::ReleaseComponents(rootComponent_); in DestroyPage()
189 UIView *view = ComponentUtils::GetViewFromBindingObject(dom); in GetViewByRef()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/directive/
H A Ddirective_watcher_callback.cpp37 Component *component = ComponentUtils::GetComponentFromBindingObject(parentElement); in Handler()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-componentUtils.md11 …tUtils](./js-apis-arkui-UIContext.md#getcomponentutils)方法获取当前UI上下文关联的ComponentUtils对象。该接口需要在目标组件布局…
172 …的[getComponentUtils](./js-apis-arkui-UIContext.md#getcomponentutils)方法获取当前UI上下文关联的ComponentUtils对象。
H A Djs-apis-arkui-UIContext.md40 getComponentUtils(): ComponentUtils
42 获取ComponentUtils对象。
52 | [ComponentUtils](#componentutils) | 返回ComponentUtils实例对象。 |
2467 ## ComponentUtils section
2469 以下API需先使用UIContext中的[getComponentUtils()](#getcomponentutils)方法获取到ComponentUtils对象,再通过该对象调用对应方法。
2504 import { ComponentUtils } from '@kit.ArkUI';
2506 let componentUtils:ComponentUtils = uiContext.getComponentUtils();
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Dlazy_load_manager.cpp68 … Component *component = ComponentUtils::GetComponentFromBindingObject(watcher.GetNativeElement()); in RenderSingleLazyWatcher()
H A Djs_fwk_common.cpp254 Component *component = ComponentUtils::GetComponentFromBindingObject(nativeElement); in WatcherCallbackFunc()
922 Component *component = ComponentUtils::GetComponentFromBindingObject(nativeElement); in ListForWatcherCallbackFunc()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/router/
H A Djs_page_state_machine.cpp356 rootComponent_ = ComponentUtils::GetComponentFromBindingObject(element); in RenderPage()
463 ComponentUtils::ReleaseComponents(rootComponent_); in ReleaseHistoryPageResource()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-componentUtils.md11 …UIContext.md#getcomponentutils) API in **UIContext** to obtain the **ComponentUtils** object assoc…
172 …in [UIContext](js-apis-arkui-UIContext.md#uicontext) to obtain the **ComponentUtils** object assoc…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsUIContext.js337 this.componentUtils_ = new ComponentUtils(this.instanceId_);
899 class ComponentUtils { class

12