/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | layout_manager.cpp | 30 { DIR_HORIZONTAL, { { DIR_FORWARD, KeyDirection::DOWN }, { DIR_REVERSE, KeyDirection::UP } } }, 37 { DIR_VERTICAL, { { DIR_FORWARD, KeyDirection::DOWN }, { DIR_REVERSE, KeyDirection::UP } } } 42 { DIR_HORIZONTAL, { { DIR_FORWARD, KeyDirection::UP }, { DIR_REVERSE, KeyDirection::DOWN } } }, 49 { DIR_VERTICAL, { { DIR_FORWARD, KeyDirection::UP }, { DIR_REVERSE, KeyDirection::DOWN } } } 58 { DIR_HORIZONTAL, { { DIR_FORWARD, KeyDirection::UP }, { DIR_REVERSE, KeyDirection::DOWN } } }, 65 { DIR_VERTICAL, { { DIR_FORWARD, KeyDirection::DOWN }, { DIR_REVERSE, KeyDirection::UP } } } 70 { DIR_HORIZONTAL, { { DIR_FORWARD, KeyDirection::UP }, { DIR_REVERSE, KeyDirection::DOWN } } }, 77 { DIR_VERTICAL, { { DIR_FORWARD, KeyDirection::UP }, { DIR_REVERSE, KeyDirection::DOWN } } }
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_common_test_ng.cpp | 130 pattern_->HandleTouchEvent(CreateTouchEventInfo(TouchType::UP, Offset())); in HWTEST_F() 186 pattern_->HandleTouchEvent(CreateTouchEventInfo(TouchType::UP, Offset(SWIPER_WIDTH / 2, SWIPER_HEIGHT))); in HWTEST_F() 226 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, indicatorNode_, leftArrowNode_)); in HWTEST_F() 236 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, leftArrowNode_, nullptr)); in HWTEST_F() 246 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, rightArrowNode_, indicatorNode_)); in HWTEST_F() 273 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, indicatorNode_, nullptr)); in HWTEST_F() 283 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, leftArrowNode_, nullptr)); in HWTEST_F() 293 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, rightArrowNode_, nullptr)); in HWTEST_F() 320 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, indicatorNode_, nullptr)); // PreviousFocus in HWTEST_F() 323 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, leftArrowNode in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/component_test/core/ |
H A D | action.cpp | 31 pointerEventMatrix.PushEventAction(PointerEventAction { PointerActionState::UP, point, 0 }); in DecomposeTap() 41 pointerEventMatrix.PushEventAction(PointerEventAction { PointerActionState::UP, point, TAP_HOLD_MS }); in DecomposeDoubleTap() 44 pointerEventMatrix.PushEventAction(PointerEventAction { PointerActionState::UP, point, 0 }); in DecomposeDoubleTap() 55 pointerEventMatrix.PushEventAction(PointerEventAction { PointerActionState::UP, point, 0 }); in DecomposePress() 96 case PointerActionState::UP: in DispatchPointerEvent() 97 pointerEvent->type = OHOS::MMI::TouchType::UP; in DispatchPointerEvent() 157 pointer.PushEventAction(PointerEventAction { PointerActionState::UP, { to_.GetX(), to_.GetY() }, 0 }); in Decompose() 198 PointerEventAction { PointerActionState::UP, { left.second.GetX(), left.second.GetY() }, intervalMs }); in Decompose() 207 PointerEventAction { PointerActionState::UP, { right.second.GetX(), right.second.GetY() }, 0 }); in Decompose() 239 PointerEventAction { PointerActionState::UP, { fro in Decompose() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/calendar/ |
H A D | focusable_grid.cpp | 32 // true, true ---> UP 36 { VERTICAL, { { FORWARD, KeyDirection::DOWN }, { REVERSE, KeyDirection::UP } } } 59 case KeyDirection::UP: in FocusMove() 98 if (next < firstDayIndex_ && direction == KeyDirection::UP) { in FocusMove()
|
/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | scroll_fade_painter.h | 32 UP = 0, member in OHOS::Ace::OverScrollDirection 82 OverScrollDirection direction_ = OverScrollDirection::UP;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/effect/ |
H A D | scroll_fade_painter.h | 27 UP = 0, member in OHOS::Ace::NG::OverScrollDirection 82 OverScrollDirection direction_ = OverScrollDirection::UP;
|
H A D | scroll_fade_effect.cpp | 86 fadePainter_->SetDirection(OverScrollDirection::UP); in SetPaintDirection() 88 auto isOverScrollAtUp = fadePainter_->GetDirection() == OverScrollDirection::UP && in SetPaintDirection() 108 fadePainter_->SetDirection(OverScrollDirection::UP); in SetPaintDirection()
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | swipe_recognizer.cpp | 35 return yOffset > 0.0 ? SwipeEventInfo::SwipeDirection::DOWN : SwipeEventInfo::SwipeDirection::UP; in GetSwipeDirection() 46 } else if (direction == SwipeEventInfo::SwipeDirection::UP) { in GetSwipeDistance() 62 { SwipeEventInfo::SwipeDirection::UP, "up" }, in ToJsonParamInfo() member in OHOS::Ace::SwipeEventInfo::SwipeDirection 83 case TouchType::UP: { in HandleSwipeEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_content_overlay/ |
H A D | select_overlay_callback.h | 105 if (event.type == TouchType::UP) { in OnHandleGlobalEvent() 122 if (event.type == TouchType::UP && downPointInfo_) { in OnHandleGlobalEvent() 123 OnHandleGlobalTouchEvent(event.sourceType, TouchType::UP); in OnHandleGlobalEvent()
|
/foundation/arkui/ace_engine/frameworks/core/gestures/test/unittest/ |
H A D | gestures_test.cpp | 415 .x = LOCATION_X, .y = LOCATION_Y, .type = TouchType::UP, .time = std::chrono::high_resolution_clock::now() in HWTEST_F() 676 point.type = TouchType::UP; in HWTEST_F() 725 point.type = TouchType::UP; in HWTEST_F() 775 point.type = TouchType::UP; in HWTEST_F() 822 point.type = TouchType::UP; in HWTEST_F() 859 point.type = TouchType::UP; in HWTEST_F() 909 pointEnd.type = TouchType::UP; in HWTEST_F() 957 pointEnd.type = TouchType::UP; in HWTEST_F() 1080 pointEnd.type = TouchType::UP; in HWTEST_F() 1133 pointEnd.type = TouchType::UP; in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/ |
H A D | tabs_common_test_ng.cpp | 67 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, tabBarNode_, nullptr)); in HWTEST_F() 72 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, swiperNode_, tabBarNode_)); in HWTEST_F() 105 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, tabBarNode_, nullptr)); in HWTEST_F() 110 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, swiperNode_, nullptr)); in HWTEST_F() 130 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, tabBarNode_, swiperNode_)); in HWTEST_F() 135 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, swiperNode_, nullptr)); in HWTEST_F() 155 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, tabBarNode_, nullptr)); in HWTEST_F() 160 EXPECT_TRUE(IsEqualNextFocusNode(FocusStep::UP, swiperNode_, nullptr)); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/indexer/ |
H A D | indexer_select_test_ng.cpp | 411 Touch(TouchType::UP, 20.f); in HWTEST_F() 436 Touch(TouchType::UP, 50.f); in HWTEST_F() 455 Touch(TouchType::UP, 20.f); in HWTEST_F() 467 Touch(TouchType::UP, -1.f); in HWTEST_F() 622 ListItemClick(clickIndex, TouchType::UP); in HWTEST_F() 632 ListItemClick(clickIndex, TouchType::UP); in HWTEST_F() 668 ListItemClick(clickIndex, TouchType::UP); in HWTEST_F() 682 ListItemClick(clickIndex, TouchType::UP); in HWTEST_F() 715 OnPopupTouchDown(TouchType::UP); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/symbol/ |
H A D | constants.h | 36 UP, member in OHOS::Ace::CommonSubType
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/ |
H A D | model_touch_handler.cpp | 35 case TouchType::UP: { in HandleTouchEvent() 104 case TouchType::UP: in CreateSceneTouchEvent()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_touch_handler.cpp | 98 case TouchEvent::UP: in JsHandlerOnTouch() 121 JSTouchHandler::JsHandlerOnTouch(TouchEvent::UP, args); in JsHandlerOnUp()
|
H A D | js_touch_handler.h | 28 enum TouchEvent { DOWN, UP, MOVE, CANCEL }; enumerator
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_hm_symbol_config_ohos_test.cpp | 84 * @tc.desc: Test GetGroupParameters by scale effect with UP or DOWN 92 DrawingCommonSubType::UP); in HWTEST_F() 127 DrawingCommonSubType::UP); in HWTEST_F()
|
/foundation/multimodalinput/input/frameworks/napi/key_event/src/ |
H A D | js_key_event.cpp | 31 UP = 2, member in OHOS::MMI::__anon11308::Action 101 DECLARE_NAPI_STATIC_PROPERTY("UP", GetNapiInt32(env, static_cast<int32_t>(Action::UP))), in Export()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/post_event/ |
H A D | post_event_manager.cpp | 39 case TouchType::UP: in PostEvent() 134 // when receive UP event, clear DispatchAction which is same targetNode and same id in HandlePostEvent() 146 } else if ((iter.touchEvent.type == TouchType::UP || iter.touchEvent.type == TouchType::CANCEL) && in CheckAndClearPostEventAction() 176 (actionItem.touchEvent.type == TouchType::UP || actionItem.touchEvent.type == TouchType::CANCEL) && in HaveReceiveUpOrCancelEvent()
|
/foundation/multimodalinput/input/frameworks/napi/touch_event/include/ |
H A D | js_touch_event.h | 31 UP = 3, member in OHOS::MMI::final::Action
|
/foundation/arkui/ace_engine/frameworks/core/components/search/ |
H A D | search_element.cpp | 41 keyEvent.action == KeyAction::UP) { in OnKeyEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | event_constants.h | 101 UP, member in OHOS::Ace::OHOS::Ace::TouchType
|
/foundation/arkui/ace_engine/frameworks/core/components/bubble/ |
H A D | bubble_element.cpp | 36 if (keyEvent.code == KeyCode::KEY_BACK && keyEvent.action == KeyAction::UP) { in OnKeyEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_column_pattern.cpp | 144 if (info.GetTouches().front().GetTouchType() == TouchType::UP || in ParseTouchListener() 237 if (info.GetTouches().front().GetTouchType() == TouchType::UP) { in CreateItemTouchEventListener() 845 scrollDelta_ > 0.0 ? DatePickerScrollDirection::DOWN : DatePickerScrollDirection::UP; in HandleDragEnd() 847 auto shiftDistance = (dir == DatePickerScrollDirection::UP) ? optionProperties_[middleIndex].prevDistance in HandleDragEnd() 852 scrollDelta_ = scrollDelta_ - std::abs(shiftDistance) * (dir == DatePickerScrollDirection::UP ? -1 : 1); in HandleDragEnd() 905 DatePickerScrollDirection dir = delta > 0.0 ? DatePickerScrollDirection::DOWN : DatePickerScrollDirection::UP; in ScrollOption() 906 auto shiftDistance = (dir == DatePickerScrollDirection::UP) ? optionProperties_[midIndex].prevDistance in ScrollOption() 933 auto distance = (dir == DatePickerScrollDirection::UP) ? optionProperties_[i].prevDistance in CalcAlgorithmOffset() 951 TimePickerScrollDirection dir = dragDelta > 0.0 ? TimePickerScrollDirection::DOWN : TimePickerScrollDirection::UP; in UpdateFinishToss() 952 auto shiftDistance = (dir == TimePickerScrollDirection::UP) in UpdateFinishToss() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_column_pattern.cpp | 210 if (info.GetTouches().front().GetTouchType() == TouchType::UP || in ParseTouchListener() 306 if (info.GetTouches().front().GetTouchType() == TouchType::UP) { in CreateItemTouchEventListener() 893 scrollDelta_ > 0.0 ? TimePickerScrollDirection::DOWN : TimePickerScrollDirection::UP; in HandleDragEnd() 895 auto shiftDistance = (dir == TimePickerScrollDirection::UP) ? optionProperties_[middleIndex].prevDistance in HandleDragEnd() 900 scrollDelta_ = scrollDelta_ - std::abs(shiftDistance) * (dir == TimePickerScrollDirection::UP ? -1 : 1); in HandleDragEnd() 953 TimePickerScrollDirection dir = delta > 0.0 ? TimePickerScrollDirection::DOWN : TimePickerScrollDirection::UP; in ScrollOption() 954 auto shiftDistance = (dir == TimePickerScrollDirection::UP) ? optionProperties_[midIndex].prevDistance in ScrollOption() 988 auto distance = (dir == TimePickerScrollDirection::UP) ? optionProperties_[i].prevDistance in CalcAlgorithmOffset() 1023 if (dir == TimePickerScrollDirection::UP) { in GetShiftDistance() 1083 if (dir == TimePickerScrollDirection::UP) { in GetShiftDistanceForLandscape() [all...] |