HomeSort by relevance Sort by last modified time
    Searched refs:touchX (Results 1 - 16 of 16) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
KeyDetector.java 92 final int touchX = getTouchX(x);
97 for (final Key key: mKeyboard.getNearestKeys(touchX, touchY)) {
100 if (!key.isOnKey(touchX, touchY)) {
103 final int distance = key.squaredDistanceToEdge(touchX, touchY);
MoreKeysDetector.java 41 final int touchX = getTouchX(x);
47 final int dist = key.squaredDistanceToEdge(touchX, touchY);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DismissView.java 48 public boolean isOnEmptySpace(float touchX, float touchY) {
49 return touchX < mContent.getX()
50 || touchX > mContent.getX() + mContent.getWidth()
  /packages/apps/Launcher2/src/com/android/launcher2/
DragView.java 245 * @param touchX the x coordinate the user touched in DragLayer coordinates
248 public void show(int touchX, int touchY) {
257 setTranslationX(touchX - mRegistrationX);
281 * @param touchX the x coordinate the user touched in DragLayer coordinates
284 void move(int touchX, int touchY) {
285 setTranslationX(touchX - mRegistrationX + (int) mOffsetX);
CellLayout.java 711 public void setTagToCellInfoForPoint(int touchX, int touchY) {
714 final int x = touchX + getScrollX();
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
DragView.java 308 * @param touchX the x coordinate the user touched in DragLayer coordinates
311 public void show(int touchX, int touchY) {
320 setTranslationX(touchX - mRegistrationX);
344 * @param touchX the x coordinate the user touched in DragLayer coordinates
347 void move(int touchX, int touchY) {
348 setTranslationX(touchX - mRegistrationX + (int) mOffsetX);
  /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
CandidateView.java 175 final int touchX = mTouchX;
189 if (touchX + scrollX >= x && touchX + scrollX < x + wordWidth && !scrolled) {
  /frameworks/base/services/core/java/com/android/server/wm/
DragState.java 225 void broadcastDragStartedLw(final float touchX, final float touchY) {
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,
270 touchX, touchY, null, desc, null, null, false);
Session.java 286 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);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
proximity_info.cpp 133 const float touchX = static_cast<float>(x);
135 return ProximityInfoUtils::getSquaredDistanceFloat(centerX, centerY, touchX, touchY)
  /frameworks/base/core/java/android/view/
IWindowSession.aidl 192 float touchX, float touchY, float thumbCenterX, float thumbCenterY, in ClipData data);
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
KeyboardView.java     [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgeWindowSession.java 151 int touchSource, float touchX, float touchY, float thumbCenterX, float thumbCenterY,
  /frameworks/base/core/java/android/inputmethodservice/
KeyboardView.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DividerView.java 761 private int calculatePosition(int touchX, int touchY) {
762 return isHorizontalDivision() ? calculateYPosition(touchY) : calculateXPosition(touchX);
769 private int calculateXPosition(int touchX) {
770 return mStartPosition + touchX - mStartX;
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
NotificationStackScrollLayout.java     [all...]

Completed in 390 milliseconds