/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll/ |
H A D | scroll_controller_test_ng.cpp | 26 * @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 D | grid_controller.cpp | 32 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 D | grid_controller.h | 47 void AnimateTo(double position, float duration, const RefPtr<Curve>& curve); 49 void AnimateTo(int32_t index, float duration, const RefPtr<Curve>& curve);
|
H A D | render_grid.h | 83 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 D | grid_position_controller.cpp | 32 bool GridPositionController::AnimateTo( in AnimateTo() function in OHOS::Ace::V2::GridPositionController 39 return grid->AnimateTo(position, duration, curve); in AnimateTo()
|
H A D | grid_position_controller.h | 33 bool AnimateTo(const Dimension& position, float duration, const RefPtr<Curve>& curve, bool smooth,
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | animatable_double.h | 88 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 D | animatable_color.h | 75 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 D | animatable_path.cpp | 36 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 D | animatable_path.h | 62 void AnimateTo(std::string endValue);
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | animatable_float.h | 96 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 D | animatable_matrix4.cpp | 42 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 D | animatable_dimension.cpp | 52 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 D | animatable_dimension_test.cpp | 90 * @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 D | animatable_matrix4_test.cpp | 68 * @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 D | scroll_position_controller.cpp | 73 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 D | scroll_position_controller.h | 114 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 D | list_position_controller.cpp | 32 bool ListPositionController::AnimateTo( in AnimateTo() function in OHOS::Ace::V2::ListPositionController 39 list->AnimateTo(position, duration, curve); in AnimateTo()
|
H A D | list_position_controller.h | 32 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 D | sliding_panel_pattern.cpp | 198 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 D | scrollable_controller.cpp | 38 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 D | render_dialog_modal.h | 38 void AnimateTo(double childHeight, bool reverse);
|
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | animatable_transform_operation.h | 115 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 D | render_semi_modal.cpp | 168 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 D | render_sliding_panel.cpp | 150 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
|