/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | canvas_component.cpp | 299 …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 D | component_utils.cpp | 23 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 D | component_utils.h | 27 class ComponentUtils final : public MemoryHeap { 29 ACE_DISALLOW_COPY_AND_MOVE(ComponentUtils); 30 ~ComponentUtils() {} in ~ComponentUtils()
|
H A D | image_animator_component.cpp | 327 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 D | video_component.cpp | 91 …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 D | component_factory.h | 109 uint16_t id = ComponentUtils::GetComponentType(options); in CreateComponent() 156 uint16_t id = ComponentUtils::GetComponentType(options); in CreateComponent()
|
H A D | tab_content_component.cpp | 45 Component* component = ComponentUtils::GetComponentFromBindingObject(childHandler); in GetComponentByIndex()
|
H A D | list_adapter.cpp | 223 UIView *newView = ComponentUtils::GetViewFromBindingObject(element); in GetView() 293 Component *component = ComponentUtils::GetComponentFromBindingObject(element); in BuildItemViewTree()
|
H A D | tabs_component.cpp | 178 Component* component = ComponentUtils::GetComponentFromBindingObject(child); in MatchChildren() 218 Component* component = ComponentUtils::GetComponentFromBindingObject(firstChildHandler); in GetTabBarLocation()
|
H A D | list_component.cpp | 189 UIList *list = reinterpret_cast<UIList *>(ComponentUtils::GetViewFromBindingObject(dom)); in ListScrollTo()
|
H A D | camera_component.cpp | 389 …UISurfaceView *cameraView = static_cast<UISurfaceView *>(ComponentUtils::GetViewFromBindingObject(… in TakePhoto() 390 …CameraComponent *component = static_cast<CameraComponent *>(ComponentUtils::GetComponentFromBindin… in TakePhoto()
|
H A D | tab_bar_component.cpp | 58 Component* textComponent = ComponentUtils::GetComponentFromBindingObject(childHandler); in GetTextByIndex()
|
H A D | analog_clock_component.cpp | 101 UIView* childView = ComponentUtils::GetViewFromBindingObject(child); in ProcessChildren()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | jsbundle_tdd_test.cpp | 69 …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 D | percent_tdd_test.cpp | 123 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 D | input_event_tdd_test.cpp | 853 UIView *target = ComponentUtils::GetViewFromBindingObject(targetRef); in GetComponent()
|
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/ |
H A D | basic_tdd_test.cpp | 136 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 D | directive_watcher_callback.cpp | 37 Component *component = ComponentUtils::GetComponentFromBindingObject(parentElement); in Handler()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | js-apis-arkui-componentUtils.md | 11 …tUtils](./js-apis-arkui-UIContext.md#getcomponentutils)方法获取当前UI上下文关联的ComponentUtils对象。该接口需要在目标组件布局… 172 …的[getComponentUtils](./js-apis-arkui-UIContext.md#getcomponentutils)方法获取当前UI上下文关联的ComponentUtils对象。
|
H A D | js-apis-arkui-UIContext.md | 40 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 D | lazy_load_manager.cpp | 68 … Component *component = ComponentUtils::GetComponentFromBindingObject(watcher.GetNativeElement()); in RenderSingleLazyWatcher()
|
H A D | js_fwk_common.cpp | 254 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 D | js_page_state_machine.cpp | 356 rootComponent_ = ComponentUtils::GetComponentFromBindingObject(element); in RenderPage() 463 ComponentUtils::ReleaseComponents(rootComponent_); in ReleaseHistoryPageResource()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-arkui-componentUtils.md | 11 …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 D | jsUIContext.js | 337 this.componentUtils_ = new ComponentUtils(this.instanceId_); 899 class ComponentUtils { class
|