/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
MoreKeysDetector.java | 41 final int touchX = getTouchX(x); 47 final int dist = key.squaredDistanceToEdge(touchX, touchY);
|
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);
|
/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)
|
/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) {
|
/external/libgdx/gdx/src/com/badlogic/gdx/input/ |
RemoteInput.java | 100 touchX[touchEvent.pointer] = touchEvent.x;
142 touchX[touchEvent.pointer] = touchEvent.x;
186 int[] touchX = new int[20];
348 return touchX[0];
353 return touchX[pointer];
|
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/ |
LwjglAWTInput.java | 105 int touchX = 0;
254 return touchX;
260 return touchX;
429 deltaX = event.x - touchX;
431 touchX = event.x;
449 deltaX = event.x - touchX;
451 touchX = event.x;
464 touchX = e.getX();
505 deltaX = event.x - touchX;
507 touchX = event.x; [all...] |
/external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosmoe/ |
IOSInput.java | 60 int[] touchX = new int[MAX_TOUCHES];
218 return touchX[0];
223 return touchX[pointer];
602 touchX[event.pointer] = event.x;
611 deltaX[event.pointer] = event.x - touchX[event.pointer];
613 touchX[event.pointer] = event.x;
620 touchX[event.pointer] = event.x;
|
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/ |
IOSInput.java | 89 int[] touchX = new int[MAX_TOUCHES]; 273 return touchX[0]; 278 return touchX[pointer]; 686 touchX[event.pointer] = event.x; 695 deltaX[event.pointer] = event.x - touchX[event.pointer]; 697 touchX[event.pointer] = event.x; 704 touchX[event.pointer] = event.x;
|
/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);
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
AndroidInput.java | 104 int[] touchX = new int[NUM_TOUCHES];
264 return touchX[0];
278 return touchX[pointer];
770 touchX = resize(touchX);
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/ |
GwtInput.java | 44 private int[] touchX = new int[MAX_TOUCHES];
110 return touchX[0];
115 return touchX[pointer];
517 this.touchX[0] += getMovementXJSNI(e);
520 this.touchX[0] = getRelativeX(e, canvas);
524 if (processor != null) processor.touchDown(touchX[0], touchY[0], 0, getButton(e.getButton()));
531 this.touchX[0] += getMovementXJSNI(e);
534 this.deltaX[0] = getRelativeX(e, canvas) - touchX[0];
536 this.touchX[0] = getRelativeX(e, canvas);
542 processor.touchDragged(touchX[0], touchY[0], 0); [all...] |