Home
last modified time | relevance | path

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

/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_view_unit_test.cpp54 UIViewTest() : view_(nullptr) {} in UIViewTest()
60 UIView* view_; member in OHOS::UIViewTest
65 if (view_ == nullptr) { in SetUp()
66 view_ = new UIView(); in SetUp()
72 if (view_ != nullptr) { in TearDown()
73 delete view_; in TearDown()
74 view_ = nullptr; in TearDown()
86 if (view_ == nullptr) { in HWTEST_F()
91 view_->SetOnDragListener(listener); in HWTEST_F()
92 EXPECT_EQ(view_ in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_camera.cpp22 SkiaCamera::SkiaCamera() noexcept : view_() {} in view_() function
26 view_.save(); in Save()
31 view_.restore(); in Restore()
36 view_.translate(x, y, z); in Translate()
41 view_.rotateX(deg); in RotateX()
46 view_.rotateY(deg); in RotateY()
51 view_.rotateZ(deg); in RotateZ()
59 view_.setCameraLocation(x, y, z); in SetCameraPos()
68 return view_.getCameraLocationX(); in GetCameraPosX()
77 return view_ in GetCameraPosY()
[all...]
H A Dskia_camera.h56 Sk3DView view_; member in OHOS::Rosen::Drawing::SkiaCamera
/foundation/arkui/ace_engine_lite/frameworks/src/core/animation/
H A Dtransition_impl.cpp31 animator_ = new Animator(this, view_, 0, true); in Init()
187 view_->SetPosition(xSrc_, viewStatus_.y); in SetTransformSrcPosition()
188 view_->GetParent()->Invalidate(); in SetTransformSrcPosition()
190 view_->SetPosition(viewStatus_.x, ySrc_); in SetTransformSrcPosition()
191 view_->GetParent()->Invalidate(); in SetTransformSrcPosition()
201 TransformMap transMap(view_->GetOrigRect()); in RotateAroundCenterPoint()
205 pivot_.x_ = (view_->GetWidth() - 1) / halfVal; in RotateAroundCenterPoint()
206 pivot_.y_ = (view_->GetHeight() - 1) / halfVal; in RotateAroundCenterPoint()
208 view_->SetTransformMap(transMap); in RotateAroundCenterPoint()
251 RecoveryViewStatus(view_ in Perform()
[all...]
H A Dtransition_impl.h133 : view_(view), in TransitionImpl()
183 UIView* view_; member in OHOS::ACELite::final
/foundation/arkui/ui_lite/test/uitest/test_border_margin_padding/
H A Dui_test_border_margin_padding.cpp44 view_ = view; in MarginListener()
52 view_->style_.SetStyle(STYLE_MARGIN_LEFT, MARGIN_SIZE);
53 view_->style_.SetStyle(STYLE_MARGIN_TOP, MARGIN_SIZE);
54 view_->style_.SetStyle(STYLE_MARGIN_RIGHT, MARGIN_SIZE);
55 view_->style_.SetStyle(STYLE_MARGIN_BOTTOM, MARGIN_SIZE);
57 view_->style_.SetStyle(STYLE_MARGIN_LEFT, 0);
58 view_->style_.SetStyle(STYLE_MARGIN_TOP, 0);
59 view_->style_.SetStyle(STYLE_MARGIN_RIGHT, 0);
60 view_->style_.SetStyle(STYLE_MARGIN_BOTTOM, 0);
62 view_
68 UITestBorderMarginPadding* view_ = nullptr; global() member in OHOS::MarginListener
94 UITestBorderMarginPadding* view_ = nullptr; global() member in OHOS::BorderListener
125 UITestBorderMarginPadding* view_ = nullptr; global() member in OHOS::PaddingListener
[all...]
/foundation/arkui/ui_lite/frameworks/animator/
H A Danimator.cpp39 callback_->OnStop(*view_); in Stop()
66 callback_->Callback(view_); in Run()
73 callback_->Callback(view_); in Run()
/foundation/arkui/ui_lite/interfaces/kits/animator/
H A Danimator.h115 : callback_(nullptr), view_(nullptr), state_(STOP), period_(0), repeat_(false), runTime_(0), lastRunTime_(0) in Animator()
133 : callback_(callback), view_(view), state_(STOP), period_(time), repeat_(repeat), runTime_(0), lastRunTime_(0) in Animator()
276 UIView* view_; member in OHOS::Animator
/foundation/arkui/ui_lite/test/unittest/animator/
H A Danimator_unit_test.cpp33 explicit TestAnimatorCallback(UIView* view) : view_(view), animator_(nullptr) {} in TestAnimatorCallback()
46 animator_ = new Animator(this, view_, TIME, false); in Init()
58 view_->SetX(pos);
63 view_->SetX(END_POS);
72 UIView* view_; member in OHOS::TestAnimatorCallback
/foundation/arkui/ui_lite/test/uitest/test_arc_label/
H A Dui_test_arc_label.cpp142 explicit LabelButtonClickListener(UIView* view) : view_(view) in LabelButtonClickListener()
148 UIArcLabel* label = static_cast<UIArcLabel*>(view_);
158 UIView* view_; member in OHOS::LabelButtonClickListener
163 explicit TestArcLabelScrollListener(UIView* view) : view_(view) in TestArcLabelScrollListener()
169 UILabelButton* button = static_cast<UILabelButton*>(view_);
178 UIView* view_; member in OHOS::TestArcLabelScrollListener
/foundation/arkui/ui_lite/test/uitest/test_focus_manager/
H A Dui_test_focus_manager.cpp124 SetFocusableOnClickListener(UIView* view, bool enable) : view_(view), enable_(enable) {} in SetFocusableOnClickListener()
130 view_->SetFocusable(enable_); in OnClick()
134 UIView* view_ = nullptr; member in OHOS::SetFocusableOnClickListener
140 explicit RequestFocusOnClickListener(UIView* view) : view_(view) {} in RequestFocusOnClickListener()
146 FocusManager::GetInstance()->RequestFocus(view_); in OnClick()
150 UIView* view_ = nullptr; member in OHOS::RequestFocusOnClickListener
/foundation/arkui/ui_lite/test/uitest/test_rotate_input/
H A Dui_test_rotate_input.cpp65 TestSetRotateFactorListener(UIView* view, float factor) : view_(view), factor_(factor) {} in TestSetRotateFactorListener()
70 switch (view_->GetViewType()) {
72 static_cast<UISwipeView*>(view_)->SetRotateFactor(factor_);
75 static_cast<UIScrollView*>(view_)->SetRotateFactor(factor_);
84 UIView* view_ = nullptr; member in OHOS::TestSetRotateFactorListener
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_label.cpp57 static_cast<UILabel*>(view_)->offsetX_ = offsetX_; in UpdateWidth()
58 view_->Invalidate(); in UpdateWidth()

Completed in 7 milliseconds