Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java171 ev.offsetLocation(ev.getRawX() - ev.getX(), 0); in onInterceptTouchEvent()
176 mDownX = ev.getRawX(); in onInterceptTouchEvent()
213 float dx = ev.getRawX() - mDownX; in onInterceptTouchEvent()
240 ev.offsetLocation(ev.getRawX() - ev.getX(), 0); in onTouchEvent()
246 mDismissAnimator.animateDismissal(ev.getRawX() - mDownX); in onTouchEvent()
251 mDismissAnimator.animateRecovery(ev.getRawX() - mDownX); in onTouchEvent()
263 mLastX = ev.getRawX(); in onTouchEvent()
266 setProgress(ev.getRawX() - mDownX); in onTouchEvent()
318 float deltaX = ev.getRawX() - mDownX; in updateSwiping()
339 float deltaX = ev.getRawX() - mDownX;
[all …]
DDecorCaptionView.java211 startMovingTask(e.getRawX(), e.getRawY()); in onTouch()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp352 ASSERT_EQ(210, event->getRawX(0)); in assertEqualsEventWithHistory()
353 ASSERT_EQ(220, event->getRawX(1)); in assertEqualsEventWithHistory()
493 ASSERT_EQ(210 * 2, event.getRawX(0)); in TEST_F()
566 ASSERT_NEAR(originalRawX, event.getRawX(0), 0.001); in TEST_F()
573 ASSERT_NEAR(originalRawX, event.getRawX(0), 0.001); in TEST_F()
590 ASSERT_NEAR(originalRawX, event.getRawX(0), 0.001); in TEST_F()
DInputPublisherAndConsumer_test.cpp207 motionEvent->getRawX(i)); in PublishAndConsumeMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarGestureHelper.java207 ? (int) event.getRawX() in handleDragActionMoveEvent()
230 int position = !mIsVertical ? (int) event.getRawY() : (int) event.getRawX(); in handleDragActionMoveEvent()
247 ? (int) event.getRawX() in handleDragActionUpEvent()
DPanelView.java204 float deltaX = event.getRawX() - event.getX(); in trackMovement()
DPhoneStatusBar.java2971 event.getRawX(), event.getRawY(), mDisabled1, mDisabled2)); in interceptTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java297 final float xDiff = ev.getRawX() - mInitialTouchX; in onInterceptTouchEvent()
323 mInitialTouchX = ev.getRawX(); in onInterceptTouchEvent()
419 mInitialTouchX = ev.getRawX(); in onTouchEvent()
425 final float xDiff = ev.getRawX() - mInitialTouchX; in onTouchEvent()
DSwipeHelper.java281 final int x = (int) ev.getRawX() - mTmpPos[0]; in onInterceptTouchEvent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java161 mActivatedX = ev.getRawX(); in onInterceptTouchEvent()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DDocumentHolder.java148 if (rect.contains((int) event.getRawX(), (int) event.getRawY())) { in onSingleTapUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java71 this.event.getRawX(), in toJson()
/frameworks/base/native/android/
Dinput.cpp142 return static_cast<const MotionEvent*>(motion_event)->getRawX(pointer_index); in AMotionEvent_getRawX()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java344 event.setLocation(event.getRawX(), event.getRawY());
/frameworks/native/include/input/
DInput.h439 inline float getRawX(size_t pointerIndex) const { in getRawX() function
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java558 targetView = findViewForTouch((int) event.getRawX(), (int) event.getRawY()); in onTouch()
DEditor.java4376 final float xInWindow = ev.getRawX() - mLastParentXOnScreen + mLastParentX; in onTouchEvent()
4387 final float xInWindow = ev.getRawX() - mLastParentXOnScreen + mLastParentX; in onTouchEvent()
4541 mDownPositionX = ev.getRawX(); in onTouchEvent()
4547 final float deltaX = mDownPositionX - ev.getRawX(); in onTouchEvent()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DOverlayDisplayWindow.java436 event.setLocation(event.getRawX(), event.getRawY());
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioner.java143 final float newX = motionEvent.getRawX(); in onInputEvent()
DWindowManagerService.java788 final float newX = motionEvent.getRawX(); in onInputEvent()
11444 updatePosition(motionEvent.getRawX(), motionEvent.getRawY()); in onPointerEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java507 x = (int) event.getRawX(); in onTouch()
549 event.setLocation(event.getRawX(), event.getRawY()); in convertToScreenCoordinates()
/frameworks/native/libs/input/
DInput.cpp396 float rawX = getRawX(0); in transform()
/frameworks/base/docs/html/training/gestures/
Dviewgroup.jd194 float deltaX = motionEvent.getRawX() - mDownX;
/frameworks/base/core/java/android/view/
DMotionEvent.java2371 public final float getRawX() { in getRawX() method in MotionEvent
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java4203 final int rx = (int) ev.getRawX(); in closeControlsIfOutsideTouch()

12