Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java179 ev.offsetLocation(ev.getRawX() - ev.getX(), 0); in onInterceptTouchEvent()
184 mDownX = ev.getRawX(); in onInterceptTouchEvent()
221 float dx = ev.getRawX() - mDownX; in onInterceptTouchEvent()
248 ev.offsetLocation(ev.getRawX() - ev.getX(), 0); in onTouchEvent()
254 mDismissAnimator.animateDismissal(ev.getRawX() - mDownX); in onTouchEvent()
259 mDismissAnimator.animateRecovery(ev.getRawX() - mDownX); in onTouchEvent()
271 mLastX = ev.getRawX(); in onTouchEvent()
274 setProgress(ev.getRawX() - mDownX); in onTouchEvent()
326 float deltaX = ev.getRawX() - mDownX; in updateSwiping()
347 float deltaX = ev.getRawX() - mDownX;
[all …]
DDecorCaptionView.java211 startMovingTask(e.getRawX(), e.getRawY()); in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchState.java101 mLastTouch.set(ev.getRawX(), ev.getRawY()); in onTouchEvent()
130 float x = ev.getRawX(pointerIndex); in onTouchEvent()
166 mLastTouch.set(ev.getRawX(newPointerIndex), ev.getRawY(newPointerIndex)); in onTouchEvent()
189 mLastTouch.set(ev.getRawX(pointerIndex), ev.getRawY(pointerIndex)); in onTouchEvent()
339 float deltaX = event.getRawX() - event.getX();
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp360 ASSERT_EQ(210, event->getRawX(0)); in assertEqualsEventWithHistory()
361 ASSERT_EQ(220, event->getRawX(1)); in assertEqualsEventWithHistory()
506 ASSERT_EQ(210 * 2, event.getRawX(0)); in TEST_F()
582 ASSERT_NEAR(originalRawX, event.getRawX(0), 0.001); in TEST_F()
589 ASSERT_NEAR(originalRawX, event.getRawX(0), 0.001); in TEST_F()
606 ASSERT_NEAR(originalRawX, event.getRawX(0), 0.001); in TEST_F()
DInputPublisherAndConsumer_test.cpp213 motionEvent->getRawX(i)); in PublishAndConsumeMotionEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelperTest.java439 doReturn(5f).when(mEvent).getRawX(); in testIsTouchInView()
456 doReturn(50f).when(mEvent).getRawX(); in testIsTouchInView()
467 doReturn(5f).when(mEvent).getRawX(); in testIsTouchInView_expandable()
484 doReturn(50f).when(mEvent).getRawX(); in testIsTouchInView_expandable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java304 final float xDiff = ev.getRawX() - mInitialTouchX; in onInterceptTouchEvent()
330 mInitialTouchX = ev.getRawX(); in onInterceptTouchEvent()
426 mInitialTouchX = ev.getRawX(); in onTouchEvent()
432 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.java154 final float newX = motionEvent.getRawX(); in onInputEvent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java161 mActivatedX = ev.getRawX(); in onInterceptTouchEvent()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java110 mOffsetX = event.getRawX() - v.getX(); in onCreate()
124 v.setX(event.getRawX() - mOffsetX); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java234 mTouchDownX = (int) ev.getRawX(); in onTouchEvent()
249 x = (int)ev.getRawX(); in onTouchEvent()
/frameworks/base/core/java/android/view/
DGestureDetector.java888 (float) Math.hypot(mCurrentMotionEvent.getRawX() - mCurrentDownEvent.getRawX(), in recordGestureClassification()
DMotionEvent.java2631 public final float getRawX() { in getRawX() method in MotionEvent
2660 public float getRawX(int pointerIndex) { in getRawX() method in MotionEvent
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java71 this.event.getRawX(), in toJson()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleTouchHandler.java109 final float rawX = event.getRawX(); in onTouch()
DBubbleStackView.java877 float x = event.getRawX(); in getTargetView()
1361 return isIntersecting(mDismissContainer.getDismissTarget(), ev.getRawX(), ev.getRawY()); in isInDismissTarget()
/frameworks/base/native/android/
Dinput.cpp142 return static_cast<const MotionEvent*>(motion_event)->getRawX(pointer_index); in AMotionEvent_getRawX()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java429 final int rx = (int) ev.getRawX(); in isTouchInView()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java347 event.setLocation(event.getRawX(), event.getRawY());
/frameworks/native/include/input/
DInput.h486 inline float getRawX(size_t pointerIndex) const { in getRawX() function
/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/keyguard/
DKeyguardPatternView.java253 || mLockPatternScreenBounds.contains((int) event.getRawX(), (int) event.getRawY()); in disallowInterceptTouch()
/frameworks/native/libs/input/
DInput.cpp423 float rawX = getRawX(0); in transform()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java531 x = (int) event.getRawX(); in onTouch()
573 event.setLocation(event.getRawX(), event.getRawY()); in convertToScreenCoordinates()

12