Home
last modified time | relevance | path

Searched refs:touchY (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDismissView.java48 public boolean isOnEmptySpace(float touchX, float touchY) { in isOnEmptySpace() argument
51 || touchY < mContent.getY() in isOnEmptySpace()
52 || touchY > mContent.getY() + mContent.getHeight(); in isOnEmptySpace()
/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java225 void broadcastDragStartedLw(final float touchX, final float touchY) { in broadcastDragStartedLw() argument
227 mOriginalY = mCurrentY = touchY; in broadcastDragStartedLw()
248 Slog.d(TAG_WM, "broadcasting DRAG_STARTED at (" + touchX + ", " + touchY + ")"); in broadcastDragStartedLw()
254 sendDragStartedLw(windows.get(i), touchX, touchY, mDataDescription); in broadcastDragStartedLw() local
266 private void sendDragStartedLw(WindowState newWin, float touchX, float touchY, in sendDragStartedLw() argument
270 touchX, touchY, null, desc, null, null, false); in sendDragStartedLw()
DSession.java286 int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY, in performDrag() argument
338 mService.mDragState.broadcastDragStartedLw(touchX, touchY); in performDrag()
352 touchY - thumbCenterY); in performDrag()
362 mService.mDragState.notifyLocationLw(touchX, touchY); in performDrag()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java1238 int touchY = (int) me.getY() - mPaddingTop;
1239 if (touchY >= -mVerticalCorrection)
1240 touchY += mVerticalCorrection;
1243 int keyIndex = getKeyIndices(touchX, touchY, null);
1273 mStartY = touchY;
1275 mLastCodeY = touchY;
1354 touchY = mLastCodeY;
1360 detectAndSendKey(mCurrentKey, touchX, touchY, eventTime);
1374 mLastY = touchY;
/frameworks/base/core/java/android/view/
DIWindowSession.aidl192 float touchX, float touchY, float thumbCenterX, float thumbCenterY, in ClipData data); in performDrag() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java938 public ExpandableView getClosestChildAtRawPosition(float touchX, float touchY) { in getClosestChildAtRawPosition() argument
940 float localTouchY = touchY - mTempInt2[1]; in getClosestChildAtRawPosition()
967 public ExpandableView getChildAtRawPosition(float touchX, float touchY) { in getChildAtRawPosition() argument
969 return getChildAtPosition(touchX - mTempInt2[0], touchY - mTempInt2[1]); in getChildAtRawPosition()
973 public ExpandableView getChildAtPosition(float touchX, float touchY) { in getChildAtPosition() argument
991 if (touchY >= top && touchY <= bottom && touchX >= left && touchX <= right) { in getChildAtPosition()
1001 return row.getViewAtPosition(touchY - childTop); in getChildAtPosition()
3622 public boolean isBelowLastNotification(float touchX, float touchY) { in isBelowLastNotification() argument
3628 if (childTop > touchY) { in isBelowLastNotification()
3632 boolean belowChild = touchY > childTop + child.getActualHeight(); in isBelowLastNotification()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeWindowSession.java151 int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY, in performDrag() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java815 private int calculatePosition(int touchX, int touchY) { in calculatePosition() argument
816 return isHorizontalDivision() ? calculateYPosition(touchY) : calculateXPosition(touchX); in calculatePosition()
827 private int calculateYPosition(int touchY) { in calculateYPosition() argument
828 return mStartPosition + touchY - mStartY; in calculateYPosition()