Searched refs:touchX (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDismissView.java48 public boolean isOnEmptySpace(float touchX, float touchY) { argument
49 return touchX < mContent.getX()
50 || touchX > mContent.getX() + mContent.getWidth()
/frameworks/base/services/core/java/com/android/server/wm/
H A DDragState.java225 void broadcastDragStartedLw(final float touchX, final float touchY) { argument
226 mOriginalX = mCurrentX = touchX;
248 Slog.d(TAG_WM, "broadcasting DRAG_STARTED at (" + touchX + ", " + touchY + ")");
254 sendDragStartedLw(windows.get(i), touchX, touchY, mDataDescription);
266 private void sendDragStartedLw(WindowState newWin, float touchX, float touchY, argument
270 touchX, touchY, null, desc, null, null, false);
H A DSession.java286 int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY,
316 // will let us eliminate the (touchX,touchY) parameters from the API.
338 mService.mDragState.broadcastDragStartedLw(touchX, touchY);
351 surfaceControl.setPosition(touchX - thumbCenterX,
362 mService.mDragState.notifyLocationLw(touchX, touchY);
285 performDrag(IWindow window, IBinder dragToken, int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY, ClipData data) argument
/frameworks/base/core/java/android/view/
H A DIWindowSession.aidl192 float touchX, float touchY, float thumbCenterX, float thumbCenterY, in ClipData data);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java151 int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY,
150 performDrag(IWindow window, IBinder dragToken, int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY, ClipData data) argument
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java1237 int touchX = (int) me.getX() - mPaddingLeft;
1243 int keyIndex = getKeyIndices(touchX, touchY, null);
1272 mStartX = touchX;
1274 mLastCodeX = touchX;
1353 touchX = mLastCodeX;
1360 detectAndSendKey(mCurrentKey, touchX, touchY, eventTime);
1373 mLastX = touchX;
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDividerView.java761 private int calculatePosition(int touchX, int touchY) { argument
762 return isHorizontalDivision() ? calculateYPosition(touchY) : calculateXPosition(touchX);
769 private int calculateXPosition(int touchX) { argument
770 return mStartPosition + touchX - mStartX;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java891 public ExpandableView getClosestChildAtRawPosition(float touchX, float touchY) { argument
920 public ExpandableView getChildAtRawPosition(float touchX, float touchY) { argument
922 return getChildAtPosition(touchX - mTempInt2[0], touchY - mTempInt2[1]);
926 public ExpandableView getChildAtPosition(float touchX, float touchY) { argument
944 if (touchY >= top && touchY <= bottom && touchX >= left && touchX <= right) {
3548 public boolean isBelowLastNotification(float touchX, float touchY) { argument
3560 if(!belowChild && !mDismissView.isOnEmptySpace(touchX - mDismissView.getX(),

Completed in 852 milliseconds