Home
last modified time | relevance | path

Searched refs:GetCurrentPos (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_slider.cpp202 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 Dui_box_progress.cpp263 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 Dui_time_picker.cpp258 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 Dui_circle_progress.cpp76 int16_t angle = GetCurrentPos(angleRange); in GetRedrawAngle()
H A Dui_abstract_progress.cpp106 int16_t UIAbstractProgress::GetCurrentPos(int16_t distance) const in GetCurrentPos() function in OHOS::UIAbstractProgress
H A Dui_swipe_view.cpp180 distance = event.GetCurrentPos().x - event.GetPreLastPoint().x; in OnDragEndEvent()
183 distance = event.GetCurrentPos().y - event.GetPreLastPoint().y; in OnDragEndEvent()
H A Dui_scroll_view.cpp57 current = event.GetCurrentPos(); in OnDragEndEvent()
H A Dui_dialog.cpp63 !dialog_->dialogLayer_->GetRect().IsContains(event.GetCurrentPos())) { in OnClick()
H A Dui_edit_text.cpp140 Point pressPos = event.GetCurrentPos(); in DealPressEvents()
H A Dui_list.cpp216 current = event.GetCurrentPos(); in OnDragEndEvent()
/ohos5.0/foundation/arkui/ui_lite/test/unittest/events/
H A Drelease_event_unit_test.cpp58 EXPECT_EQ(releaseEvent_->GetCurrentPos().x, INIT_POS.x);
59 EXPECT_EQ(releaseEvent_->GetCurrentPos().y, INIT_POS.y);
H A Dcancel_event_unit_test.cpp62 EXPECT_EQ(cancelEvent_->GetCurrentPos().x, INIT_POS.x);
63 EXPECT_EQ(cancelEvent_->GetCurrentPos().y, INIT_POS.y);
H A Dclick_event_unit_test.cpp61 EXPECT_EQ(clickEvent_->GetCurrentPos().x, INIT_POS.x);
62 EXPECT_EQ(clickEvent_->GetCurrentPos().y, INIT_POS.y);
H A Dpress_event_unit_test.cpp62 EXPECT_EQ(pressEvent_->GetCurrentPos().x, INIT_POS.x);
63 EXPECT_EQ(pressEvent_->GetCurrentPos().y, INIT_POS.y);
H A Ddrag_event_unit_test.cpp68 EXPECT_EQ(dragEvent_->GetCurrentPos().x, NEW_POS.x);
69 EXPECT_EQ(dragEvent_->GetCurrentPos().y, NEW_POS.y);
135 Point currentPos = dragEvent_->GetCurrentPos();
H A Devent_unit_test.cpp63 EXPECT_EQ(event_->GetCurrentPos().x, INIT_POS.x);
64 EXPECT_EQ(event_->GetCurrentPos().y, INIT_POS.y);
H A Dlong_press_event_unit_test.cpp63 EXPECT_EQ(longPressEvent_->GetCurrentPos().x, INIT_POS.x);
64 EXPECT_EQ(longPressEvent_->GetCurrentPos().y, INIT_POS.y);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_accessibility_property.cpp47 result.current = fullScreenPattern->GetCurrentPos(); in GetAccessibilityValue()
51 result.current = pattern->GetCurrentPos(); in GetAccessibilityValue()
H A Dvideo_pattern.h130 uint32_t GetCurrentPos() const in GetCurrentPos() function
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/events/
H A Devent.h81 const Point& GetCurrentPos() const in GetCurrentPos() function
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_abstract_progress.h317 int16_t GetCurrentPos(int16_t distance) const;
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Devent_util.cpp71 Point point = event.GetCurrentPos(); in CreateEvent()
H A Djs_fwk_common.cpp357 JerrySetNumberProperty(point, "x", event.GetCurrentPos().x); in ConvertBaseEventInfo()
358 JerrySetNumberProperty(point, "y", event.GetCurrentPos().y); in ConvertBaseEventInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable.h403 double GetCurrentPos() const in GetCurrentPos() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Dscrollable.h447 double GetCurrentPos() const in GetCurrentPos() function

12