Home
last modified time | relevance | path

Searched refs:uiView (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dopacity_tdd_test.cpp47 UIView* uiView = reinterpret_cast<UIView *>(divComponent->GetComponentRootView()); in SetOpacityTest001() local
48 EXPECT_EQ(uiView->GetOpaScale(), OPA_OPAQUE * expectOpacityValue); in SetOpacityTest001()
69 UIView* uiView = (divComponent->GetComponentRootView()); in SetOpacityTest002() local
70 EXPECT_NE(uiView->GetOpaScale(), OPA_OPAQUE * exceptionOpacityValue1); in SetOpacityTest002()
71 EXPECT_EQ(uiView->GetOpaScale(), OPA_OPAQUE * maxOpacityValue); in SetOpacityTest002()
81 EXPECT_NE(uiView->GetOpaScale(), OPA_OPAQUE * exceptionOpacityValue2); in SetOpacityTest002()
82 EXPECT_EQ(uiView->GetOpaScale(), OPA_OPAQUE * minOpacityValue); in SetOpacityTest002()
112 UIView* uiView = GetContainerView(componentNameId_, globObj_, textObject); in SetOpacityTest003() local
113 if (uiView == nullptr) { in SetOpacityTest003()
117 EXPECT_NE(uiView in SetOpacityTest003()
157 UIView* uiView = GetContainerView(componentNameId_, globObj_, divObject); SetOpacityTest004() local
212 FlexLayout* uiView = reinterpret_cast<FlexLayout *>(divComponent->GetComponentRootView()); SetOpacityTest006() local
239 FlexLayout* uiView = reinterpret_cast<FlexLayout *>(divComponent->GetComponentRootView()); SetOpacityTest007() local
255 FlexLayout* uiView = reinterpret_cast<FlexLayout *>(divComponent->GetComponentRootView()); GetContainerView() local
[all...]
/foundation/arkui/ui_lite/test/uitest/test_button/
H A Dui_test_button.cpp416 TestBtnOnClickShapeChangeListener(UIView* uiView, int16_t grid) : uiView_(uiView), changeGrid_(grid) {} in TestBtnOnClickShapeChangeListener() argument
445 TestBtnOnClickPositionChangeListener(UIView* uiView, MoveType moveType, uint16_t grid) in TestBtnOnClickPositionChangeListener() argument
446 : uiView_(uiView), moveType_(moveType), grid_(grid) in TestBtnOnClickPositionChangeListener()
480 TestBtnOnClickVisableListener(UIView* uiView, bool visible) : uiView_(uiView), visible_(visible) {} in TestBtnOnClickVisableListener() argument
498 TestBtnOnClickTouchableListener(UIView* uiView, bool touchable) : uiView_(uiView), touchable_(touchable) {} in TestBtnOnClickTouchableListener() argument
516 TestBtnOnClickChangeColorListener(UIView* uiView, uint16_t red, uint16_t green, uint16_t blue) in TestBtnOnClickChangeColorListener() argument
517 : uiView_(uiView), red in TestBtnOnClickChangeColorListener()
544 TestBtnOnClickRevertColorListener(UIView* uiView) TestBtnOnClickRevertColorListener() argument
567 TestBtnOnClickRevertToOriginStateListener(UIView* uiView) TestBtnOnClickRevertToOriginStateListener() argument
605 TestBtnAnimationListener(UIView* uiView, bool enableAnimation) TestBtnAnimationListener() argument
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcomponent.cpp280 UIView *uiView = GetComponentRootView(); in SetAttribute() local
281 if ((uiView == nullptr) || !KeyParser::IsKeyValid(attrKeyId) || IS_UNDEFINED(attrValue)) { in SetAttribute()
289 setResult = SetCommonAttribute(*uiView, attrKeyId, attrValue); in SetAttribute()
436 void Component::ApplyAlignedMargin(UIView &uiView) const in ApplyAlignedMargin()
439 uiView.SetStyle(STYLE_MARGIN_TOP, marginTop_.value.pixel); in ApplyAlignedMargin()
442 uiView.SetStyle(STYLE_MARGIN_BOTTOM, marginBottom_.value.pixel); in ApplyAlignedMargin()
445 uiView.SetStyle(STYLE_MARGIN_LEFT, marginLeft_.value.pixel); in ApplyAlignedMargin()
448 uiView.SetStyle(STYLE_MARGIN_RIGHT, marginRight_.value.pixel); in ApplyAlignedMargin()
463 void Component::ApplyAlignedPosition(UIView &uiView) const in ApplyAlignedPosition()
466 uiView in ApplyAlignedPosition()
519 UIView *uiView = GetComponentRootView(); AdaptBoxSizing() local
537 UIView *uiView = GetComponentRootView(); ApplyStyle() local
1019 UIView *uiView = GetComponentRootView(); RecordAnimation() local
1046 UIView *uiView = GetComponentRootView(); StartAnimation() local
1311 UIView *uiView = GetComponentRootView(); RegisterEventListener() local
1398 UIView *uiView = GetComponentRootView(); InvalidateIfNeeded() local
[all...]
H A Dlist_adapter.cpp311 void ListAdapter::InsertItem(JSValue nativeElement, UIView *uiView) in InsertItem() argument
320 insertNode->uiView = uiView; in InsertItem()
336 void ListAdapter::DeleteItem(const UIView *uiView) in DeleteItem() argument
341 // if viewNativePair not exsit, can not confirm whether the uiView is belongs For type child or common child, in DeleteItem()
348 while (delNode->uiView != uiView && delNode->next != nullptr) { in DeleteItem()
353 if (delNode->uiView == uiView) { in DeleteItem()
H A Dlist_adapter.h38 UIView *uiView; member
79 void InsertItem(JSValue nativeElement, UIView *uiView);
80 void DeleteItem(const UIView *uiView);
H A Dcomponent.h465 virtual void ApplyAlignedMargin(UIView &uiView) const;
532 void ApplyAlignedPosition(UIView &uiView) const;
533 void AdapteBoxRectArea(UIView &uiView) const;
/foundation/arkui/ui_lite/test/uitest/test_screenshot/
H A Dui_test_screenshot.cpp55 explicit TestScreenshotOnClickListener(UIView* uiView) : uiView_(uiView) {} in TestScreenshotOnClickListener() argument
70 explicit TestSetScreenshotOnClickListener(UIView* uiView) : uiView_(uiView) {} in TestSetScreenshotOnClickListener() argument
/foundation/arkui/ui_lite/test/framework/src/
H A Dtest_case_list_adapter.cpp40 BtnOnClickBackListener(UIViewGroup* uiView, in BtnOnClickBackListener() argument
44 : rootView_(uiView), mainMenu_(mainMenu), uiTest_(uiTest), testCaseLabel_(testCaseLabel) in BtnOnClickBackListener()
79 BtnOnClickUiTestListener(UIViewGroup* uiView, in BtnOnClickUiTestListener() argument
84 : rootView_(uiView), in BtnOnClickUiTestListener()
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/test/unittest/common/
H A Dstylemgr_tdd_test.cpp700 UIViewGroup* uiView = reinterpret_cast<UIViewGroup *>(component->GetComponentRootView()); in ACELiteStyleManagerIDSelector005() local
718 uint16_t width = uiView->GetWidth(); in ACELiteStyleManagerIDSelector005()
835 UIViewGroup* uiView = reinterpret_cast<UIViewGroup *>(component->GetComponentRootView()); in ACELiteStyleManagerClassSelector003() local
844 uint16_t width = uiView->GetWidth(); in ACELiteStyleManagerClassSelector003()
908 UIViewGroup* uiView = reinterpret_cast<UIViewGroup *>(component->GetComponentRootView()); in ACELiteStyleManagerCSSPesudo001() local
909 if (uiView != nullptr) { in ACELiteStyleManagerCSSPesudo001()
910 EXPECT_EQ(uiView->GetWidth(), widthValue); in ACELiteStyleManagerCSSPesudo001()
911 EXPECT_EQ(uiView->GetHeight(), heightValue); in ACELiteStyleManagerCSSPesudo001()
/foundation/arkui/ui_lite/test/uitest/test_animator/
H A Dui_test_animator.h30 ImageEaseAnimatorCallback(UIView* uiView, int16_t startPos, int16_t endPos) in ImageEaseAnimatorCallback() argument
34 animator_(new Animator(this, uiView, 1000, true)) // 1000:duration of animator_, in milliseconds. in ImageEaseAnimatorCallback()
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_image_unit_test.cpp290 UIView uiView; in HWTEST_F() local
293 imageView_->SetParent(&uiView); in HWTEST_F()
309 UIView uiView; in HWTEST_F() local
312 imageView_->SetNextSibling(&uiView); in HWTEST_F()
/foundation/arkui/ui_lite/test/uitest/test_ui_dump_dom_tree/
H A Dui_test_dump_dom.cpp121 TestBtnOnClickDumpDomListener(UIView* uiView, const char* id) : uiView_(uiView), id_(id) {} in TestBtnOnClickDumpDomListener() argument
140 TestBtnOnClickDumpDomTreeListener(UIView* uiView, const char* id) : uiView_(uiView), id_(id) {} in TestBtnOnClickDumpDomTreeListener() argument
/foundation/arkui/ui_lite/test/uitest/test_ui_analog_clock/
H A Dui_test_analog_clock.cpp112 TestBtnOnClickChangeModeListener(UIView* uiView, UIAnalogClock* clock) : uiView_(uiView), clock_(clock) {} in TestBtnOnClickChangeModeListener() argument
137 TestBtnOnClickMovePositionListener(UIView* uiView, UIAnalogClock* clock, MoveType type, uint16_t grid) in TestBtnOnClickMovePositionListener() argument
138 : uiView_(uiView), clock_(clock), type_(type), grid_(grid) in TestBtnOnClickMovePositionListener()

Completed in 11 milliseconds