Searched refs:CoordinateUtils (Results 1 – 14 of 14) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | SlidingKeyInputDrawingPreview.java | 26 import com.android.inputmethod.latin.common.CoordinateUtils; 40 private final int[] mPreviewFrom = CoordinateUtils.newInstance(); 41 private final int[] mPreviewTo = CoordinateUtils.newInstance(); 90 CoordinateUtils.x(mPreviewFrom), CoordinateUtils.y(mPreviewFrom), radius, in drawPreview() 91 CoordinateUtils.x(mPreviewTo), CoordinateUtils.y(mPreviewTo), radius); in drawPreview()
|
D | DrawingPreviewPlacerView.java | 27 import com.android.inputmethod.latin.common.CoordinateUtils; 32 private final int[] mKeyboardViewOrigin = CoordinateUtils.newInstance(); 56 CoordinateUtils.copy(mKeyboardViewOrigin, originCoords); in setKeyboardViewGeometry() 79 final int originX = CoordinateUtils.x(mKeyboardViewOrigin); in onDraw() 80 final int originY = CoordinateUtils.y(mKeyboardViewOrigin); in onDraw()
|
D | NonDistinctMultitouchHelper.java | 25 import com.android.inputmethod.latin.common.CoordinateUtils; 33 private int[] mLastCoords = CoordinateUtils.newInstance(); 70 final int x = CoordinateUtils.x(mLastCoords); in processMotionEvent() 71 final int y = CoordinateUtils.y(mLastCoords); in processMotionEvent()
|
D | GestureFloatingTextDrawingPreview.java | 30 import com.android.inputmethod.latin.common.CoordinateUtils; 104 private final int[] mLastPointerCoords = CoordinateUtils.newInstance(); 173 Math.max(CoordinateUtils.x(mLastPointerCoords) - rectWidth / 2.0f, 0.0f), in updatePreviewPosition() 175 final float rectY = CoordinateUtils.y(mLastPointerCoords) in updatePreviewPosition()
|
D | KeyPreviewChoreographer.java | 26 import com.android.inputmethod.latin.common.CoordinateUtils; 121 + CoordinateUtils.x(originCoords); in placeKeyPreview() 136 + CoordinateUtils.y(originCoords); in placeKeyPreview()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Keyboard.java | 25 import com.android.inputmethod.latin.common.CoordinateUtils; 248 final int[] coordinates = CoordinateUtils.newCoordinateArray(length); in getCoordinates() 252 CoordinateUtils.setXYInArray(coordinates, i, in getCoordinates() 255 CoordinateUtils.setXYInArray(coordinates, i, in getCoordinates()
|
D | MoreKeysKeyboardView.java | 34 import com.android.inputmethod.latin.common.CoordinateUtils; 41 private final int[] mCoordinates = CoordinateUtils.newInstance(); 136 final int panelX = Math.max(0, Math.min(maxX, x)) + CoordinateUtils.x(mCoordinates); in showMoreKeysPanel() 137 final int panelY = y + CoordinateUtils.y(mCoordinates); in showMoreKeysPanel()
|
D | MainKeyboardView.java | 58 import com.android.inputmethod.latin.common.CoordinateUtils; 143 private final int[] mOriginCoords = CoordinateUtils.newInstance(); 627 final int[] lastCoords = CoordinateUtils.newInstance(); in showMoreKeysKeyboard() 635 ? CoordinateUtils.x(lastCoords) in showMoreKeysKeyboard()
|
D | PointerTracker.java | 38 import com.android.inputmethod.latin.common.CoordinateUtils; 118 private int[] mDownCoordinates = CoordinateUtils.newInstance(); 461 CoordinateUtils.set(outCoords, mLastX, mLastY); in getLastCoordinates() 469 CoordinateUtils.copy(outCoords, mDownCoordinates); in getDownCoordinates() 474 CoordinateUtils.set(mDownCoordinates, x, y); in onDownKey()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | KeyboardAccessibilityNodeProvider.java | 34 import com.android.inputmethod.latin.common.CoordinateUtils; 64 private final int[] mParentLocation = CoordinateUtils.newInstance(); 233 CoordinateUtils.x(mParentLocation), CoordinateUtils.y(mParentLocation)); in createAccessibilityNodeInfo()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | WordComposerTests.java | 27 import com.android.inputmethod.latin.common.CoordinateUtils; 52 CoordinateUtils.newCoordinateArray(CODEPOINTS_WITHIN_BMP.length, in testMoveCursor() 81 CoordinateUtils.newCoordinateArray(CODEPOINTS_WITH_SUPPLEMENTARY_CHAR.length, in testMoveCursor()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | CoordinateUtils.java | 21 public final class CoordinateUtils { class 26 private CoordinateUtils() { in CoordinateUtils() method in CoordinateUtils
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | WordComposer.java | 25 import com.android.inputmethod.latin.common.CoordinateUtils; 296 CoordinateUtils.xFromArray(coordinates, i), in setComposingWord() 297 CoordinateUtils.yFromArray(coordinates, i))); in setComposingWord()
|
D | LatinIME.java | 80 import com.android.inputmethod.latin.common.CoordinateUtils; 1347 return CoordinateUtils.newCoordinateArray(codePoints.length, in getCoordinatesForCurrentKeyboard()
|