Home
last modified time | relevance | path

Searched refs:getRawX (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchState.java104 mLastTouch.set(ev.getRawX(), ev.getRawY()); in onTouchEvent()
133 float x = ev.getRawX(pointerIndex); in onTouchEvent()
169 mLastTouch.set(ev.getRawX(newPointerIndex), ev.getRawY(newPointerIndex)); in onTouchEvent()
192 mLastTouch.set(ev.getRawX(pointerIndex), ev.getRawY(pointerIndex)); in onTouchEvent()
352 float deltaX = event.getRawX() - event.getX();
DPipResizeGestureHandler.java251 && isWithinTouchRegion((int) ev.getRawX(), (int) ev.getRawY()); in willStartResizeGesture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSimpleMirrorWindowControl.java156 mLastDrag.set(event.getRawX(), event.getRawY()); in handleDragState()
159 int xDiff = (int) (event.getRawX() - mLastDrag.x); in handleDragState()
162 mLastDrag.set(event.getRawX(), event.getRawY()); in handleDragState()
DWindowMagnificationController.java303 mLastDrag.set(event.getRawX(), event.getRawY()); in handleDragTouchEvent()
306 int xDiff = (int) (event.getRawX() - mLastDrag.x); in handleDragTouchEvent()
309 mLastDrag.set(event.getRawX(), event.getRawY()); in handleDragTouchEvent()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp374 ASSERT_EQ(210, event->getRawX(0)); in assertEqualsEventWithHistory()
375 ASSERT_EQ(220, event->getRawX(1)); in assertEqualsEventWithHistory()
520 ASSERT_EQ(210 * 2, event.getRawX(0)); in TEST_F()
598 ASSERT_NEAR(originalRawX, event.getRawX(0), 0.001); in TEST_F()
605 ASSERT_NEAR(originalRawX, event.getRawX(0), 0.001); in TEST_F()
630 ASSERT_NEAR(originalRawX, event.getRawX(0), 0.001); in TEST_F()
DVerifiedInputEvent_test.cpp95 ASSERT_EQ(event.getRawX(0), verified.rawX); in TEST()
DInputPublisherAndConsumer_test.cpp242 motionEvent->getRawX(i)); in PublishAndConsumeMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java314 final float xDiff = ev.getRawX() - mInitialTouchX; in onInterceptTouchEvent()
340 mInitialTouchX = ev.getRawX(); in onInterceptTouchEvent()
436 mInitialTouchX = ev.getRawX(); in onTouchEvent()
442 final float xDiff = ev.getRawX() - mInitialTouchX; in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DDragInputEventReceiver.java66 final float newX = motionEvent.getRawX(); in onInputEvent()
DTaskPositioner.java128 final float newX = motionEvent.getRawX(); in onInputEvent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java161 mActivatedX = ev.getRawX(); in onInterceptTouchEvent()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/notification/
DNotificationPanelViewController.java294 mFirstTouchDownOnGlassPane = event.getRawX(); in setupNotificationPanel()
321 mIsNotificationCardSwiping = Math.abs(mFirstTouchDownOnGlassPane - event.getRawX()) in setupNotificationPanel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java274 mTouchDownX = (int) ev.getRawX(); in onTouchEvent()
289 x = (int)ev.getRawX(); in onTouchEvent()
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DTaskOrganizerMultiWindowTest.java51 float x = e.getRawX(0); in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java71 this.event.getRawX(), in toJson()
/frameworks/base/core/java/android/view/
DGestureDetector.java916 (float) Math.hypot(mCurrentMotionEvent.getRawX() - mCurrentDownEvent.getRawX(), in recordGestureClassification()
DVerifiedMotionEvent.java204 public float getRawX() { in getRawX() method in VerifiedMotionEvent
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleExpandedView.java371 && (motionEvent.getRawX() < avBounds.left in onFinishInflate()
372 || motionEvent.getRawX() > avBounds.right)) { in onFinishInflate()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java205 startMovingTask(e.getRawX(), e.getRawY()); in onTouch()
/frameworks/base/native/android/
Dinput.cpp142 return static_cast<const MotionEvent*>(motion_event)->getRawX(pointer_index); in AMotionEvent_getRawX()
/frameworks/native/libs/input/
DInput.cpp104 event.getRawX(0), in verifiedMotionEventFromMotionEvent()
518 float scaledRawX = getRawX(0) * mXScale; in transform()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java348 event.setLocation(event.getRawX(), event.getRawY());
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java561 targetView = findViewForTouch((int) event.getRawX(), (int) event.getRawY()); in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationShadeWindowViewController.java267 float x = ev.getRawX(); in setupExpandedStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPatternView.java255 || mLockPatternScreenBounds.contains((int) event.getRawX(), (int) event.getRawY()); in disallowInterceptTouch()

12