Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DFooterView.java68 public boolean isOnEmptySpace(float touchX, float touchY) { in isOnEmptySpace() argument
69 return touchX < mContent.getX() in isOnEmptySpace()
70 || touchX > mContent.getX() + mContent.getWidth() in isOnEmptySpace()
/frameworks/base/services/core/java/com/android/server/wm/
DDragDropController.java91 int flags, SurfaceControl surface, int touchSource, float touchX, float touchY, in performDrag() argument
100 touchSource, touchX, touchY, thumbCenterX, thumbCenterY, data); in performDrag()
160 mDragState.broadcastDragStartedLocked(touchX, touchY); in performDrag()
173 surfaceControl, touchX - thumbCenterX, touchY - thumbCenterY); in performDrag()
182 mDragState.notifyLocationLocked(touchX, touchY); in performDrag()
DDragState.java363 void broadcastDragStartedLocked(final float touchX, final float touchY) { in broadcastDragStartedLocked() argument
364 mOriginalX = mCurrentX = touchX; in broadcastDragStartedLocked()
380 Slog.d(TAG_WM, "broadcasting DRAG_STARTED at (" + touchX + ", " + touchY + ")"); in broadcastDragStartedLocked()
384 sendDragStartedLocked(w, touchX, touchY, mDataDescription); in broadcastDragStartedLocked()
396 private void sendDragStartedLocked(WindowState newWin, float touchX, float touchY, in sendDragStartedLocked() argument
400 touchX, touchY, null, desc, null, null, false); in sendDragStartedLocked()
DWindowManagerInternal.java167 int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY, in prePerformDrag() argument
DSession.java263 float touchX, float touchY, float thumbCenterX, float thumbCenterY, ClipData data) { in performDrag() argument
269 flags, surface, touchSource, 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.java179 ExpandableView getChildAtRawPosition(float touchX, float touchY); in getChildAtRawPosition() argument
/frameworks/base/core/java/android/view/
DIWindowSession.aidl179 float touchX, float touchY, float thumbCenterX, float thumbCenterY, in ClipData data); in performDrag() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java1557 public ExpandableView getClosestChildAtRawPosition(float touchX, float touchY) {
1587 private ExpandableView getChildAtPosition(float touchX, float touchY) {
1588 return getChildAtPosition(touchX, touchY, true /* requireMinHeight */);
1601 private ExpandableView getChildAtPosition(float touchX, float touchY,
1622 && touchY >= top && touchY <= bottom && touchX >= left && touchX <= right) {
1641 public ExpandableView getChildAtRawPosition(float touchX, float touchY) {
1643 return getChildAtPosition(touchX - mTempInt2[0], touchY - mTempInt2[1]);
4977 public boolean isBelowLastNotification(float touchX, float touchY) {
4990 if (!belowChild && !mFooterView.isOnEmptySpace(touchX - mFooterView.getX(),
6448 public ExpandableView getChildAtRawPosition(float touchX, float touchY) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java952 private int calculatePosition(int touchX, int touchY) { in calculatePosition() argument
953 return isHorizontalDivision() ? calculateYPosition(touchY) : calculateXPosition(touchX); in calculatePosition()
960 private int calculateXPosition(int touchX) { in calculateXPosition() argument
961 return mStartPosition + touchX - mStartX; in calculateXPosition()