Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DCoordinateUtils.java68 public static int xFromArray(@Nonnull final int[] coordsArray, final int index) { in xFromArray() argument
69 return coordsArray[ELEMENT_SIZE * index + INDEX_X]; in xFromArray()
72 public static int yFromArray(@Nonnull final int[] coordsArray, final int index) { in yFromArray() argument
73 return coordsArray[ELEMENT_SIZE * index + INDEX_Y]; in yFromArray()
77 public static int[] coordinateFromArray(@Nonnull final int[] coordsArray, final int index) { in coordinateFromArray() argument
79 set(coords, xFromArray(coordsArray, index), yFromArray(coordsArray, index)); in coordinateFromArray()
83 public static void setXYInArray(@Nonnull final int[] coordsArray, final int index, in setXYInArray() argument
86 coordsArray[baseIndex + INDEX_X] = x; in setXYInArray()
87 coordsArray[baseIndex + INDEX_Y] = y; in setXYInArray()
90 public static void setCoordinateInArray(@Nonnull final int[] coordsArray, final int index, in setCoordinateInArray() argument
[all …]