Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DFooterView.java69 public boolean isOnEmptySpace(float touchX, float touchY) { in isOnEmptySpace() argument
72 || touchY < mContent.getY() in isOnEmptySpace()
73 || touchY > mContent.getY() + mContent.getHeight(); in isOnEmptySpace()
/frameworks/base/services/core/java/com/android/server/wm/
DDragDropController.java96 int flags, SurfaceControl surface, int touchSource, float touchX, float touchY, in performDrag() argument
105 touchSource, touchX, touchY, thumbCenterX, thumbCenterY, data); in performDrag()
165 mDragState.broadcastDragStartedLocked(touchX, touchY); in performDrag()
179 surfaceControl, touchX - thumbCenterX, touchY - thumbCenterY); in performDrag()
188 mDragState.notifyLocationLocked(touchX, touchY); in performDrag()
DDragState.java311 void broadcastDragStartedLocked(final float touchX, final float touchY) { in broadcastDragStartedLocked() argument
313 mOriginalY = mCurrentY = touchY; in broadcastDragStartedLocked()
328 Slog.d(TAG_WM, "broadcasting DRAG_STARTED at (" + touchX + ", " + touchY + ")"); in broadcastDragStartedLocked()
332 sendDragStartedLocked(w, touchX, touchY, mDataDescription); in broadcastDragStartedLocked()
344 private void sendDragStartedLocked(WindowState newWin, float touchX, float touchY, in sendDragStartedLocked() argument
348 touchX, touchY, null, desc, null, null, false); in sendDragStartedLocked()
DWindowManagerInternal.java169 int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY, in prePerformDrag() argument
DSession.java317 float touchX, float touchY, float thumbCenterX, float thumbCenterY, ClipData data) { in performDrag() argument
323 flags, surface, touchSource, touchX, touchY, thumbCenterX, thumbCenterY, data); in performDrag()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java1220 int touchY = (int) me.getY() - mPaddingTop;
1221 if (touchY >= -mVerticalCorrection)
1222 touchY += mVerticalCorrection;
1225 int keyIndex = getKeyIndices(touchX, touchY, null);
1255 mStartY = touchY;
1257 mLastCodeY = touchY;
1336 touchY = mLastCodeY;
1342 detectAndSendKey(mCurrentKey, touchX, touchY, eventTime);
1356 mLastY = touchY;
/frameworks/base/core/java/android/view/
DIWindowSession.aidl171 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.java1229 public ExpandableView getClosestChildAtRawPosition(float touchX, float touchY) {
1231 float localTouchY = touchY - mTempInt2[1];
1259 public ExpandableView getChildAtRawPosition(float touchX, float touchY) {
1261 return getChildAtPosition(touchX - mTempInt2[0], touchY - mTempInt2[1]);
1265 public ExpandableView getChildAtPosition(float touchX, float touchY) {
1266 return getChildAtPosition(touchX, touchY, true /* requireMinHeight */);
1278 private ExpandableView getChildAtPosition(float touchX, float touchY,
1299 && touchY >= top && touchY <= bottom && touchX >= left && touchX <= right) {
1309 return row.getViewAtPosition(touchY - childTop);
4197 public boolean isBelowLastNotification(float touchX, float touchY) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java956 private int calculatePosition(int touchX, int touchY) { in calculatePosition() argument
957 return isHorizontalDivision() ? calculateYPosition(touchY) : calculateXPosition(touchX); in calculatePosition()
968 private int calculateYPosition(int touchY) { in calculateYPosition() argument
969 return mStartPosition + touchY - mStartY; in calculateYPosition()