Home
last modified time | relevance | path

Searched refs:offsetLocation (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DRelativeTouchListener.kt164 event.offsetLocation(deltaX, deltaY) in addMovement()
166 event.offsetLocation(-deltaX, -deltaY) in addMovement()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java62 ev.offsetLocation(mTempRect.left, mTempRect.top); in onTouchEvent()
64 ev.offsetLocation(-mTempRect.left, -mTempRect.top); in onTouchEvent()
DKeyguardPatternView.java137 ev.offsetLocation(mTempRect.left, mTempRect.top); in onTouchEvent()
139 ev.offsetLocation(-mTempRect.left, -mTempRect.top); in onTouchEvent()
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java579 containerEvent.offsetLocation(mOwnerViewRawLocation[0] - targetViewRawX, in onTouch()
587 containerEvent.offsetLocation(-containerX, 0); in onTouch()
590 containerEvent.offsetLocation(0, -containerY); in onTouch()
DScrollView.java743 vtev.offsetLocation(0, mNestedYOffset); in onTouchEvent()
786 vtev.offsetLocation(0, mScrollOffset[1]); in onTouchEvent()
838 vtev.offsetLocation(0, mScrollOffset[1]); in onTouchEvent()
DTimePickerClockDelegate.java1100 motionEvent.offsetLocation(offsetX, offsetY);
1102 motionEvent.offsetLocation(-offsetX, -offsetY);
DAbsListView.java3671 vtev.offsetLocation(0, mScrollOffset[1]); in scrollIfNeeded()
3739 vtev.offsetLocation(0, mScrollOffset[1]); in scrollIfNeeded()
3976 vtev.offsetLocation(0, mNestedYOffset); in onTouchEvent()
/frameworks/layoutlib/bridge/src/android/view/
DWindowManagerImpl.java108 ev.offsetLocation(-baseRootParent.getX(), -baseRootParent.getY()); in addView()
143 event.offsetLocation(-arg0.getX(), -arg0.getY()); in addView()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchState.java372 event.offsetLocation(deltaX, deltaY);
374 event.offsetLocation(-deltaX, -deltaY);
/frameworks/base/core/tests/coretests/src/android/view/
DMotionEventTest.java117 event.offsetLocation(10 /* deltaX */, 20 /* deltaY */); in testCalculatesCursorPositionForSimpleMouseEventsWithOffset()
230 event.offsetLocation(40, 50); in testLocationOffsetOnlyAppliedToNonPointerSources()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt477 event.offsetLocation(deltaX, deltaY) in <lambda>()
479 event.offsetLocation(-deltaX, -deltaY) in <lambda>()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DStickyHeaderRecyclerView.java139 ev.offsetLocation(-stickyRect.left, -stickyRect.top); in dispatchTouchEvent()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DStickyHeaderListView.java104 ev.offsetLocation(-stickyRect.left, -stickyRect.top); in dispatchTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DNearestTouchFrame.java221 event.offsetLocation(mTouchingChild.getWidth() / 2 - x,
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp519 event.offsetLocation(5.0f, -2.0f); in TEST_F()
618 event.offsetLocation(-3, -2); in TEST_F()
837 event.offsetLocation(20, 60); in TEST_F()
/frameworks/base/core/java/android/view/
DViewGroup.java2087 event.offsetLocation(offsetX, offsetY); in dispatchResolvePointerIcon()
2089 event.offsetLocation(-offsetX, -offsetY); in dispatchResolvePointerIcon()
2417 event.offsetLocation(offsetX, offsetY); in dispatchTooltipHoverEvent()
2419 event.offsetLocation(-offsetX, -offsetY); in dispatchTooltipHoverEvent()
2594 event.offsetLocation(offsetX, offsetY); in dispatchTransformedGenericPointerEvent()
2596 event.offsetLocation(-offsetX, -offsetY); in dispatchTransformedGenericPointerEvent()
2614 transformedEvent.offsetLocation(offsetX, offsetY); in getTransformedMotionEvent()
3119 event.offsetLocation(offsetX, offsetY); in dispatchTransformedTouchEvent()
3123 event.offsetLocation(-offsetX, -offsetY); in dispatchTransformedTouchEvent()
3138 transformedEvent.offsetLocation(offsetX, offsetY); in dispatchTransformedTouchEvent()
DMotionEvent.java3339 public final void offsetLocation(float deltaX, float deltaY) { in offsetLocation() method in MotionEvent
3355 offsetLocation(x - oldX, y - oldY); in setLocation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecorViewModel.java521 ev.offsetLocation(-bottomOrRightBounds.left, -bottomOrRightBounds.top); in getSplitScreenDecor()
/frameworks/native/include/input/
DInput.h776 void offsetLocation(float xOffset, float yOffset);
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp696 return event->offsetLocation(deltaX, deltaY); in android_view_MotionEvent_nativeOffsetLocation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutTest.java889 transformed.offsetLocation(-view.getTop(), -view.getLeft()); in transformEventForView()
/frameworks/native/libs/input/
DInput.cpp623 void MotionEvent::offsetLocation(float xOffset, float yOffset) { in offsetLocation() function in android::MotionEvent
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java1952 ev.offsetLocation(0, -inputStart);
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java1684 ev.offsetLocation(mScrollOffset[0], mScrollOffset[1]); in scrollByInternal()
2811 vtev.offsetLocation(mNestedOffsets[0], mNestedOffsets[1]); in onTouchEvent()
2854 vtev.offsetLocation(mScrollOffset[0], mScrollOffset[1]); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationPanelViewController.java3473 event.offsetLocation(deltaX, deltaY); in addMovement()
3475 event.offsetLocation(-deltaX, -deltaY); in addMovement()

12