Home
last modified time | relevance | path

Searched refs:touchX (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DFooterView.java71 public boolean isOnEmptySpace(float touchX, float touchY) { in isOnEmptySpace() argument
72 return touchX < mContent.getX() in isOnEmptySpace()
73 || touchX > mContent.getX() + mContent.getWidth() in isOnEmptySpace()
/frameworks/base/services/core/java/com/android/server/wm/
DDragDropController.java95 SurfaceControl surface, int touchSource, float touchX, float touchY, in performDrag() argument
104 touchSource, touchX, touchY, thumbCenterX, thumbCenterY, data); in performDrag()
165 mDragState.broadcastDragStartedLocked(touchX, touchY); in performDrag()
177 surfaceControl, touchX - thumbCenterX, touchY - thumbCenterY); in performDrag()
DDragState.java427 void broadcastDragStartedLocked(final float touchX, final float touchY) { in broadcastDragStartedLocked() argument
428 mOriginalX = mCurrentX = touchX; in broadcastDragStartedLocked()
444 Slog.d(TAG_WM, "broadcasting DRAG_STARTED at (" + touchX + ", " + touchY + ")"); in broadcastDragStartedLocked()
449 sendDragStartedLocked(w, touchX, touchY, containsAppExtras); in broadcastDragStartedLocked()
461 private void sendDragStartedLocked(WindowState newWin, float touchX, float touchY, in sendDragStartedLocked() argument
467 DragEvent event = obtainDragEvent(DragEvent.ACTION_DRAG_STARTED, touchX, touchY, in sendDragStartedLocked()
DWindowManagerInternal.java255 int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY, in prePerformDrag() argument
DSession.java289 float touchX, float touchY, float thumbCenterX, float thumbCenterY, ClipData data) { in performDrag() argument
296 touchX, touchY, thumbCenterX, thumbCenterY, data); in performDrag()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java1231 int touchX = (int) me.getX() - mPaddingLeft;
1237 int keyIndex = getKeyIndices(touchX, touchY, null);
1266 mStartX = touchX;
1268 mLastCodeX = touchX;
1347 touchX = mLastCodeX;
1354 detectAndSendKey(mCurrentKey, touchX, touchY, eventTime);
1367 mLastX = touchX;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java181 ExpandableView getChildAtRawPosition(float touchX, float touchY); in getChildAtRawPosition() argument
/frameworks/base/core/java/android/view/
DIWindowSession.aidl174 float touchX, float touchY, float thumbCenterX, float thumbCenterY, in ClipData data); in performDrag() argument
DWindowlessWindowManager.java367 android.view.SurfaceControl surface, int touchSource, float touchX, float touchY, in performDrag() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java1542 private ExpandableView getChildAtPosition(float touchX, float touchY) {
1544 touchX, touchY, true /* requireMinHeight */, true /* ignoreDecors */);
1557 ExpandableView getChildAtPosition(float touchX, float touchY,
1578 && touchY >= top && touchY <= bottom && touchX >= left && touchX <= right) {
1595 public ExpandableView getChildAtRawPosition(float touchX, float touchY) {
1597 return getChildAtPosition(touchX - mTempInt2[0], touchY - mTempInt2[1]);
4499 public boolean isBelowLastNotification(float touchX, float touchY) { in isBelowLastNotification() argument
4512 if (!belowChild && !mFooterView.isOnEmptySpace(touchX - mFooterView.getX(), in isBelowLastNotification()
5948 public ExpandableView getChildAtRawPosition(float touchX, float touchY) {
5949 return NotificationStackScrollLayout.this.getChildAtRawPosition(touchX, touchY);
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DDividerView.java980 private int calculatePosition(int touchX, int touchY) { in calculatePosition() argument
981 return isHorizontalDivision() ? calculateYPosition(touchY) : calculateXPosition(touchX); in calculatePosition()
988 private int calculateXPosition(int touchX) { in calculateXPosition() argument
989 return mStartPosition + touchX - mStartX; in calculateXPosition()