Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java284 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
303 final float yDiff = ev.getRawY() - mInitialTouchY; in onInterceptTouchEvent()
310 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
311 mInitialTouchY = ev.getRawY(); in onInterceptTouchEvent()
329 mInitialTouchY = ev.getRawY(); in onInterceptTouchEvent()
341 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
418 mLastMotionY = ev.getRawY(); in onTouchEvent()
427 mInitialTouchY = ev.getRawY(); in onTouchEvent()
431 final float yDiff = ev.getRawY() - mInitialTouchY; in onTouchEvent()
438 mInitialTouchY = ev.getRawY(); in onTouchEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchState.java101 mLastTouch.set(ev.getRawX(), ev.getRawY()); in onTouchEvent()
130 float y = ev.getRawY(pointerIndex); in onTouchEvent()
165 mLastTouch.set(ev.getRawX(newPointerIndex), ev.getRawY(newPointerIndex)); in onTouchEvent()
188 mLastTouch.set(ev.getRawX(pointerIndex), ev.getRawY(pointerIndex)); in onTouchEvent()
339 float deltaY = event.getRawY() - event.getY();
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java1111 setNotificationViewClipBounds((int) event2.getRawY()); in onScroll()
1115 calculatePercentageFromBottom(event2.getRawY()); in onScroll()
1160 mNotificationView.getHeight() - (event1.getRawY() - event2.getRawY()); in onScroll()
1231 calculatePercentageFromBottom(event2.getRawY());
1232 setNotificationViewClipBounds((int) event2.getRawY());
1253 calculatePercentageFromBottom(event2.getRawY());
1259 mNotificationView.getHeight() - (int) (event1.getRawY() - event2.getRawY());
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp367 ASSERT_EQ(211, event->getRawY(0)); in assertEqualsEventWithHistory()
368 ASSERT_EQ(221, event->getRawY(1)); in assertEqualsEventWithHistory()
507 ASSERT_EQ(211 * 2, event.getRawY(0)); in TEST_F()
583 ASSERT_NEAR(originalRawY, event.getRawY(0), 0.001); in TEST_F()
590 ASSERT_NEAR(originalRawY, event.getRawY(0), 0.001); in TEST_F()
607 ASSERT_NEAR(originalRawY, event.getRawY(0), 0.001); in TEST_F()
DInputPublisherAndConsumer_test.cpp215 motionEvent->getRawY(i)); in PublishAndConsumeMotionEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DDragInputEventReceiver.java67 final float newY = motionEvent.getRawY(); in onInputEvent()
DTaskPositioner.java154 final float newY = motionEvent.getRawY(); in onInputEvent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java162 mActivatedY = ev.getRawY(); in onInterceptTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java185 mDownY = ev.getRawY(); in onInterceptTouchEvent()
327 float deltaY = ev.getRawY() - mDownY; in updateSwiping()
DDecorCaptionView.java211 startMovingTask(e.getRawX(), e.getRawY()); in onTouch()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java111 mOffsetY = event.getRawY() - v.getY(); in onCreate()
125 v.setY(event.getRawY() - mOffsetY); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java235 mTouchDownY = (int) ev.getRawY(); in onTouchEvent()
250 y = (int)ev.getRawY(); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleTouchHandler.java104 final float rawY = event.getRawY(); in onTouch()
DBubbleStackView.java488 float y = ev.getRawY(); in onInterceptTouchEvent()
814 float y = event.getRawY(); in getTargetView()
1276 return isIntersecting(mDismissContainer.getDismissTarget(), ev.getRawX(), ev.getRawY()); in isInDismissTarget()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java72 this.event.getRawY(), in toJson()
/frameworks/base/core/java/android/view/
DGestureDetector.java889 mCurrentMotionEvent.getRawY() - mCurrentDownEvent.getRawY())); in recordGestureClassification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelperTest.java438 doReturn(10f).when(mEvent).getRawY(); in testIsTouchInView()
466 doReturn(10f).when(mEvent).getRawY(); in testIsTouchInView_expandable()
/frameworks/base/native/android/
Dinput.cpp146 return static_cast<const MotionEvent*>(motion_event)->getRawY(pointer_index); in AMotionEvent_getRawY()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java427 final int ry = (int) ev.getRawY(); in isTouchInView()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java347 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/native/include/input/
DInput.h490 inline float getRawY(size_t pointerIndex) const { in getRawY() function
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPatternView.java251 return mLockPatternScreenBounds.contains((int) event.getRawX(), (int) event.getRawY()); in disallowInterceptTouch()
/frameworks/native/libs/input/
DInput.cpp424 float rawY = getRawY(0); in transform()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java532 y = (int) event.getRawY(); in onTouch()
573 event.setLocation(event.getRawX(), event.getRawY()); in convertToScreenCoordinates()

12