Home
last modified time | relevance | path

Searched refs:AnimateTo (Results 1 - 25 of 75) sorted by relevance

123

/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll/
H A Dscroll_controller_test_ng.cpp26 * @tc.desc: Test AnimateTo without animation
37 * @tc.steps: step1. AnimateTo the position in the scroll in HWTEST_F()
38 * @tc.expected: AnimateTo the position in HWTEST_F()
40 positionController_->AnimateTo(Dimension(ITEM_MAIN_SIZE), 0, nullptr, false); in HWTEST_F()
45 * @tc.steps: step2. AnimateTo the position over the scroll in HWTEST_F()
46 * @tc.expected: AnimateTo the bottom, can not over scroll in HWTEST_F()
48 positionController_->AnimateTo(Dimension(CONTENT_MAIN_SIZE), 0, nullptr, false); in HWTEST_F()
53 * @tc.steps: step3. AnimateTo the top in HWTEST_F()
54 * @tc.expected: AnimateTo the top in HWTEST_F()
56 positionController_->AnimateTo(Dimensio in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/grid/
H A Dgrid_controller.cpp32 void GridController::AnimateTo(double position, float duration, const RefPtr<Curve>& curve) in AnimateTo() function in OHOS::Ace::GridController
36 LOGW("RenderGrid is null. AnimateTo %{public}lf failed.", position); in AnimateTo()
39 grid->AnimateTo(position, duration, curve); in AnimateTo()
52 void GridController::AnimateTo(int32_t index, float duration, const RefPtr<Curve>& curve) in AnimateTo() function in OHOS::Ace::GridController
56 LOGW("RenderGrid is null. AnimateTo %{public}d failed.", index); in AnimateTo()
59 grid->AnimateTo(index, duration, curve); in AnimateTo()
H A Dgrid_controller.h47 void AnimateTo(double position, float duration, const RefPtr<Curve>& curve);
49 void AnimateTo(int32_t index, float duration, const RefPtr<Curve>& curve);
H A Drender_grid.h83 void AnimateTo(int32_t index, float duration, const RefPtr<Curve>& curve);
87 void AnimateTo(double position, float duration, const RefPtr<Curve>& curve);
/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/
H A Dgrid_position_controller.cpp32 bool GridPositionController::AnimateTo( in AnimateTo() function in OHOS::Ace::V2::GridPositionController
39 return grid->AnimateTo(position, duration, curve); in AnimateTo()
H A Dgrid_position_controller.h33 bool AnimateTo(const Dimension& position, float duration, const RefPtr<Curve>& curve, bool smooth,
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Danimatable_double.h88 AnimateTo(newValue.GetValue()); in operator =()
90 AnimateTo(newValue.GetValue()); in operator =()
114 void AnimateTo(double endValue) in AnimateTo() function in OHOS::Ace::final
H A Danimatable_color.h75 AnimateTo(newColor.GetValue()); in operator =()
77 AnimateTo(newColor.GetValue()); in operator =()
87 void AnimateTo(uint32_t endValue) in AnimateTo() function in OHOS::Ace::final
H A Danimatable_path.cpp36 AnimateTo(newValue.GetValue()); in operator =()
38 AnimateTo(newValue.GetValue()); in operator =()
46 void AnimatablePath::AnimateTo(std::string endValue) in AnimateTo() function in OHOS::Ace::AnimatablePath
H A Danimatable_path.h62 void AnimateTo(std::string endValue);
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Danimatable_float.h96 AnimateTo(newValue.GetValue()); in operator =()
98 AnimateTo(newValue.GetValue()); in operator =()
106 void AnimateTo(float endValue) in AnimateTo() function in OHOS::Ace::final
H A Danimatable_matrix4.cpp42 AnimateTo(newMatrix4); in operator =()
44 AnimateTo(newMatrix4); in operator =()
61 void AnimatableMatrix4::AnimateTo(const Matrix4& endValue) in AnimateTo() function in OHOS::Ace::AnimatableMatrix4
H A Danimatable_dimension.cpp52 AnimateTo(newDimension.Value()); in operator =()
54 AnimateTo(newDimension.Value()); in operator =()
67 void AnimatableDimension::AnimateTo(double endValue) in AnimateTo() function in OHOS::Ace::AnimatableDimension
/foundation/arkui/ace_engine/test/unittest/base/
H A Danimatable_dimension_test.cpp90 * @tc.desc: Test the function AnimateTo of the class AnimatableDimension.
103 * @tc.steps2: Test the function AnimateTo firstly, enter the first if-branch. in HWTEST_F()
107 animatableDimensionObj1.AnimateTo(DEFAULT_DOUBLE2); in HWTEST_F()
112 * @tc.steps3: Test the function AnimateTo secondly, enter the second if-branch. in HWTEST_F()
116 animatableDimensionObj1.AnimateTo(DEFAULT_DOUBLE2); in HWTEST_F()
121 * @tc.steps4: Test the function AnimateTo thirdly, the function will run until the end of it. in HWTEST_F()
124 animatableDimensionObj1.AnimateTo(DEFAULT_DOUBLE1); in HWTEST_F()
H A Danimatable_matrix4_test.cpp68 * @tc.desc: Test the function AnimateTo of the class AnimatableMatrix4.
81 * @tc.steps: Test the function AnimateTo firstly, enter the first if-branch. in HWTEST_F()
83 animatableMatrix4Obj1.AnimateTo(endValue); in HWTEST_F()
89 * @tc.steps: Test the function AnimateTo secondly, enter the second if-branch. in HWTEST_F()
91 animatableMatrix4Obj1.AnimateTo(animatableMatrix4Obj1); in HWTEST_F()
95 * @tc.steps: Test the function AnimateTo thirdly, the function will run until the end of it. in HWTEST_F()
97 animatableMatrix4Obj1.AnimateTo(endValue); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Dscroll_position_controller.cpp73 bool ScrollPositionController::AnimateTo(double position, float duration, const RefPtr<Curve>& curve, in AnimateTo() function in OHOS::Ace::ScrollPositionController
80 scroll->AnimateTo(position, duration, curve, limitDuration, onFinish); in AnimateTo()
87 bool ScrollPositionController::AnimateTo( in AnimateTo() function in OHOS::Ace::ScrollPositionController
95 scroll->AnimateTo(normalizedPos, duration, curve, true, nullptr); in AnimateTo()
H A Dscroll_position_controller.h114 bool AnimateTo(const Dimension& position, float duration, const RefPtr<Curve>& curve, bool smooth,
116 bool AnimateTo(double position, float duration, const RefPtr<Curve>& curve, bool limitDuration = true,
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Dlist_position_controller.cpp32 bool ListPositionController::AnimateTo( in AnimateTo() function in OHOS::Ace::V2::ListPositionController
39 list->AnimateTo(position, duration, curve); in AnimateTo()
H A Dlist_position_controller.h32 bool AnimateTo(const Dimension& position, float duration, const RefPtr<Curve>& curve, bool smooth,
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/
H A Dsliding_panel_pattern.cpp198 AnimateTo(defaultBlankHeights_[mode_.value_or(PanelMode::HALF)], mode_.value_or(PanelMode::HALF)); in Update()
261 AnimateTo(defaultBlankHeights_[mode_.value_or(PanelMode::HALF)], mode_.value_or(PanelMode::HALF)); in FirstLayout()
299 AnimateTo(defaultBlankHeights_[mode_.value_or(PanelMode::HALF)], mode_.value_or(PanelMode::HALF)); in IsShowChanged()
314 AnimateTo(rootHeight, mode_.value_or(PanelMode::HALF)); in IsShowChanged()
333 AnimateTo(defaultBlankHeights_[PanelMode::FULL], PanelMode::FULL); in HeightDynamicUpdate()
338 AnimateTo(defaultBlankHeights_[PanelMode::HALF], PanelMode::HALF); in HeightDynamicUpdate()
343 AnimateTo(defaultBlankHeights_[PanelMode::MINI], PanelMode::MINI); in HeightDynamicUpdate()
348 AnimateTo(defaultBlankHeights_[PanelMode::CUSTOM], PanelMode::CUSTOM); in HeightDynamicUpdate()
501 AnimateTo(maxSize_.Height(), mode_.value_or(PanelMode::HALF)); in HandleDragEnd()
504 AnimateTo(defaultBlankHeights in HandleDragEnd()
598 void SlidingPanelPattern::AnimateTo(float targetLocation, PanelMode mode) AnimateTo() function in OHOS::Ace::NG::SlidingPanelPattern
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_controller.cpp38 bool ScrollableController::AnimateTo( in AnimateTo() function in OHOS::Ace::NG::ScrollableController
54 pattern->AnimateTo(position.ConvertToPx(), duration, curve, smooth, canOverScroll); in AnimateTo()
148 pattern->AnimateTo(position, -1, nullptr, true, false, false); in ScrollPage()
/foundation/arkui/ace_engine/frameworks/core/components/dialog_modal/
H A Drender_dialog_modal.h38 void AnimateTo(double childHeight, bool reverse);
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimatable_transform_operation.h115 operations_[i].AnimateTo(operations_[i], other.operations_[i]); in operator =()
156 AnimateTo(blended, target); in PlayTransformAnimation()
/foundation/arkui/ace_engine/frameworks/core/components/semi_modal/
H A Drender_semi_modal.cpp168 AnimateTo(defaultBlankHeight_); in InnerLayout()
347 AnimateTo(dragStartBlankHeight_); in ResetContentHeight()
359 AnimateTo(minBlankHeight_); in ExtendContentHeight()
454 AnimateTo(GetLayoutSize().Height()); in AnimateToExitApp()
680 void RenderSemiModal::AnimateTo(double blankHeight) in AnimateTo() function in OHOS::Ace::RenderSemiModal
720 AnimateTo(defaultBlankHeight_); in ShowUpAnimation()
/foundation/arkui/ace_engine/frameworks/core/components/panel/
H A Drender_sliding_panel.cpp150 AnimateTo(defaultBlankHeights_[mode_], mode_); in PerformLayout()
232 panel->AnimateTo(panel->defaultBlankHeights_[panel->mode_], panel->mode_); in SetDragBarCallBack()
288 AnimateTo(dragStartBlankHeight_, mode_); in ResetContentHeight()
379 AnimateTo(defaultBlankHeights_[mode_], mode_); in UpdatePanelHeightByCurrentMode()
439 AnimateTo(defaultBlankHeights_[mode_], mode_); in HandleDragEnd()
542 void RenderSlidingPanel::AnimateTo(double blankHeight, PanelMode mode) in AnimateTo() function in OHOS::Ace::RenderSlidingPanel

Completed in 17 milliseconds

123