Home
last modified time | relevance | path

Searched refs:getRawY (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java294 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
313 final float yDiff = ev.getRawY() - mInitialTouchY; in onInterceptTouchEvent()
320 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
321 mInitialTouchY = ev.getRawY(); in onInterceptTouchEvent()
339 mInitialTouchY = ev.getRawY(); in onInterceptTouchEvent()
351 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
428 mLastMotionY = ev.getRawY(); in onTouchEvent()
437 mInitialTouchY = ev.getRawY(); in onTouchEvent()
441 final float yDiff = ev.getRawY() - mInitialTouchY; in onTouchEvent()
448 mInitialTouchY = ev.getRawY(); in onTouchEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchState.java104 mLastTouch.set(ev.getRawX(), ev.getRawY()); in onTouchEvent()
134 float y = ev.getRawY(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()
353 float deltaY = event.getRawY() - event.getY();
DPipResizeGestureHandler.java251 && isWithinTouchRegion((int) ev.getRawX(), (int) ev.getRawY()); in willStartResizeGesture()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/window/
DOverlayPanelViewController.java518 setViewClipBounds((int) event2.getRawY()); in onScroll()
522 calculatePercentageFromEndingEdge(event2.getRawY()); in onScroll()
598 float diff = mAnimateDirection * (event1.getRawY() - event2.getRawY()); in getYPositionOfPanelEndingEdge()
643 calculatePercentageFromEndingEdge(event2.getRawY());
644 setViewClipBounds((int) event2.getRawY());
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSimpleMirrorWindowControl.java156 mLastDrag.set(event.getRawX(), event.getRawY()); in handleDragState()
160 int yDiff = (int) (event.getRawY() - mLastDrag.y); in handleDragState()
162 mLastDrag.set(event.getRawX(), event.getRawY()); in handleDragState()
DWindowMagnificationController.java303 mLastDrag.set(event.getRawX(), event.getRawY()); in handleDragTouchEvent()
307 int yDiff = (int) (event.getRawY() - mLastDrag.y); in handleDragTouchEvent()
309 mLastDrag.set(event.getRawX(), event.getRawY()); in handleDragTouchEvent()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp381 ASSERT_EQ(211, event->getRawY(0)); in assertEqualsEventWithHistory()
382 ASSERT_EQ(221, event->getRawY(1)); in assertEqualsEventWithHistory()
521 ASSERT_EQ(211 * 2, event.getRawY(0)); in TEST_F()
599 ASSERT_NEAR(originalRawY, event.getRawY(0), 0.001); in TEST_F()
606 ASSERT_NEAR(originalRawY, event.getRawY(0), 0.001); in TEST_F()
631 ASSERT_NEAR(originalRawY, event.getRawY(0), 0.001); in TEST_F()
DVerifiedInputEvent_test.cpp96 ASSERT_EQ(event.getRawY(0), verified.rawY); in TEST()
DInputPublisherAndConsumer_test.cpp244 motionEvent->getRawY(i)); in PublishAndConsumeMotionEvent()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/notification/
DNotificationPanelViewController.java526 calculatePercentageFromEndingEdge(event2.getRawY()); in onScroll()
531 float diff = mAnimateDirection * (event1.getRawY() - event2.getRawY()); in onScroll()
/frameworks/base/services/core/java/com/android/server/wm/
DDragInputEventReceiver.java67 final float newY = motionEvent.getRawY(); in onInputEvent()
DTaskPositioner.java129 final float newY = motionEvent.getRawY(); in onInputEvent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java162 mActivatedY = ev.getRawY(); in onInterceptTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java275 mTouchDownY = (int) ev.getRawY(); in onTouchEvent()
290 y = (int)ev.getRawY(); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java72 this.event.getRawY(), in toJson()
/frameworks/base/core/java/android/view/
DGestureDetector.java917 mCurrentMotionEvent.getRawY() - mCurrentDownEvent.getRawY())); in recordGestureClassification()
DVerifiedMotionEvent.java214 public float getRawY() { in getRawY() method in VerifiedMotionEvent
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleExpandedView.java369 if (motionEvent.getRawY() >= avBounds.top in onFinishInflate()
370 && motionEvent.getRawY() <= avBounds.bottom in onFinishInflate()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java205 startMovingTask(e.getRawX(), e.getRawY()); in onTouch()
/frameworks/base/native/android/
Dinput.cpp146 return static_cast<const MotionEvent*>(motion_event)->getRawY(pointer_index); in AMotionEvent_getRawY()
/frameworks/native/libs/input/
DInput.cpp105 event.getRawY(0), in verifiedMotionEventFromMotionEvent()
519 float scaledRawY = getRawY(0) * mYScale; 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.java268 float y = ev.getRawY(); in setupExpandedStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPatternView.java255 || mLockPatternScreenBounds.contains((int) event.getRawX(), (int) event.getRawY()); in disallowInterceptTouch()

12