/foundation/arkui/ui_lite/test/unittest/events/ |
H A D | press_event_unit_test.cpp | 62 EXPECT_EQ(pressEvent_->GetCurrentPos().x, INIT_POS.x); in HWTEST_F() 63 EXPECT_EQ(pressEvent_->GetCurrentPos().y, INIT_POS.y); in HWTEST_F()
|
H A D | release_event_unit_test.cpp | 52 * @tc.desc: Verify GetCurrentPos function, equal. 58 EXPECT_EQ(releaseEvent_->GetCurrentPos().x, INIT_POS.x); in HWTEST_F() 59 EXPECT_EQ(releaseEvent_->GetCurrentPos().y, INIT_POS.y); in HWTEST_F()
|
H A D | cancel_event_unit_test.cpp | 62 EXPECT_EQ(cancelEvent_->GetCurrentPos().x, INIT_POS.x); in HWTEST_F() 63 EXPECT_EQ(cancelEvent_->GetCurrentPos().y, INIT_POS.y); in HWTEST_F()
|
H A D | click_event_unit_test.cpp | 61 EXPECT_EQ(clickEvent_->GetCurrentPos().x, INIT_POS.x); in HWTEST_F() 62 EXPECT_EQ(clickEvent_->GetCurrentPos().y, INIT_POS.y); in HWTEST_F()
|
H A D | long_press_event_unit_test.cpp | 53 * @tc.desc: Verify GetCurrentPos function, equal. 63 EXPECT_EQ(longPressEvent_->GetCurrentPos().x, INIT_POS.x); in HWTEST_F() 64 EXPECT_EQ(longPressEvent_->GetCurrentPos().y, INIT_POS.y); in HWTEST_F() 69 * @tc.desc: Verify GetCurrentPos function, equal.
|
H A D | event_unit_test.cpp | 63 EXPECT_EQ(event_->GetCurrentPos().x, INIT_POS.x); in HWTEST_F() 64 EXPECT_EQ(event_->GetCurrentPos().y, INIT_POS.y); in HWTEST_F()
|
H A D | drag_event_unit_test.cpp | 68 EXPECT_EQ(dragEvent_->GetCurrentPos().x, NEW_POS.x); in HWTEST_F() 69 EXPECT_EQ(dragEvent_->GetCurrentPos().y, NEW_POS.y); in HWTEST_F() 135 Point currentPos = dragEvent_->GetCurrentPos(); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/ |
H A D | video_accessibility_property.cpp | 44 result.current = fullScreenPattern->GetCurrentPos(); in GetAccessibilityValue() 48 result.current = pattern->GetCurrentPos(); in GetAccessibilityValue()
|
H A D | video_pattern.h | 135 uint32_t GetCurrentPos() const in GetCurrentPos() function in OHOS::OHOS::Ace::NG::VideoPattern
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_slider.cpp | 202 length = GetCurrentPos(progressWidth_ + 1); in DrawForeground() 212 length = GetCurrentPos(progressWidth_ + 1); in DrawForeground() 222 length = GetCurrentPos(progressHeight_ + 1); in DrawForeground() 232 length = GetCurrentPos(progressHeight_ + 1); in DrawForeground() 328 Point knobPosition = event.GetCurrentPos(); in OnClickEvent() 340 Point knobPosition = event.GetCurrentPos(); in OnDragEvent() 351 Point knobPosition = event.GetCurrentPos(); in OnDragEndEvent()
|
H A D | ui_time_picker.cpp | 258 if (event.GetCurrentPos().x < (GetX() + hourPicker_->GetX() + hourPicker_->GetWidth())) { in OnPressEvent() 260 } else if (event.GetCurrentPos().x < (GetX() + minutePicker_->GetX() + minutePicker_->GetWidth())) { in OnPressEvent() 262 } else if (event.GetCurrentPos().x < (GetX() + secondPicker_->GetX() + secondPicker_->GetWidth())) { in OnPressEvent()
|
H A D | ui_box_progress.cpp | 263 length = GetCurrentPos(progressWidth - 1); in DrawForeground() 268 length = GetCurrentPos(progressWidth - 1); in DrawForeground() 274 length = GetCurrentPos(progressHeight - 1); in DrawForeground() 279 length = GetCurrentPos(progressHeight - 1); in DrawForeground()
|
H A D | ui_circle_progress.cpp | 76 int16_t angle = GetCurrentPos(angleRange); in GetRedrawAngle()
|
H A D | ui_abstract_progress.cpp | 106 int16_t UIAbstractProgress::GetCurrentPos(int16_t distance) const in GetCurrentPos() function in OHOS::UIAbstractProgress
|
H A D | ui_swipe_view.cpp | 180 distance = event.GetCurrentPos().x - event.GetPreLastPoint().x; in OnDragEndEvent() 183 distance = event.GetCurrentPos().y - event.GetPreLastPoint().y; in OnDragEndEvent()
|
H A D | ui_scroll_view.cpp | 57 current = event.GetCurrentPos(); in OnDragEndEvent()
|
H A D | ui_dialog.cpp | 63 !dialog_->dialogLayer_->GetRect().IsContains(event.GetCurrentPos())) {
|
H A D | ui_edit_text.cpp | 140 Point pressPos = event.GetCurrentPos(); in DealPressEvents()
|
H A D | ui_list.cpp | 216 current = event.GetCurrentPos(); in OnDragEndEvent()
|
/foundation/arkui/ui_lite/interfaces/kits/events/ |
H A D | event.h | 81 const Point& GetCurrentPos() const in GetCurrentPos() function in OHOS::Event
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_abstract_progress.h | 317 int16_t GetCurrentPos(int16_t distance) const;
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | event_util.cpp | 71 Point point = event.GetCurrentPos(); in CreateEvent()
|
H A D | js_fwk_common.cpp | 357 JerrySetNumberProperty(point, "x", event.GetCurrentPos().x); in ConvertBaseEventInfo() 358 JerrySetNumberProperty(point, "y", event.GetCurrentPos().y); in ConvertBaseEventInfo()
|
/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | scrollable.h | 447 double GetCurrentPos() const in GetCurrentPos() function in OHOS::Ace::Scrollable
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable.h | 429 double GetCurrentPos() const in GetCurrentPos() function in OHOS::Ace::NG::Scrollable
|