Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DPointerTrackerQueue.java53 final int arraySize = mArraySize; in add() local
54 if (arraySize < expandableArray.size()) { in add()
55 expandableArray.set(arraySize, pointer); in add()
59 mArraySize = arraySize + 1; in add()
69 final int arraySize = mArraySize; in remove() local
71 for (int index = 0; index < arraySize; index++) { in remove()
101 final int arraySize = mArraySize; in releaseAllPointersOlderThan() local
103 for (newIndex = index = 0; index < arraySize; index++) { in releaseAllPointersOlderThan()
120 for (; index < arraySize; index++) { in releaseAllPointersOlderThan()
153 final int arraySize = mArraySize; in releaseAllPointersExcept() local
[all …]
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DCoordinateUtils.java54 public static int[] newCoordinateArray(final int arraySize) { in newCoordinateArray() argument
55 return new int[ELEMENT_SIZE * arraySize]; in newCoordinateArray()
59 public static int[] newCoordinateArray(final int arraySize, in newCoordinateArray() argument
61 final int[] result = new int[ELEMENT_SIZE * arraySize]; in newCoordinateArray()
62 for (int i = 0; i < arraySize; ++i) { in newCoordinateArray()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_writing_utils.cpp55 BufferWithExtendableBuffer *const buffer, const size_t arraySize, in writePtNodeArraySizeAndAdvancePosition() argument
64 if (arraySize <= MAX_PTNODE_ARRAY_SIZE) { in writePtNodeArraySizeAndAdvancePosition()
65 uint32_t data = arraySize | LARGE_PTNODE_ARRAY_SIZE_FIELD_SIZE_FLAG; in writePtNodeArraySizeAndAdvancePosition()
70 arraySize); in writePtNodeArraySizeAndAdvancePosition()
Ddynamic_pt_writing_utils.h40 const size_t arraySize, int *const arraySizeFieldPos);
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dchar_utils.h56 static AK_FORCE_INLINE int getCodePointCount(const int arraySize, const int *const codePoints) { in getCodePointCount() argument
58 for (; size < arraySize; ++size) { in getCodePointCount()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DStringResourceMap.java95 public void setOutputArraySize(final int arraySize) { in setOutputArraySize() argument
96 mOutputArraySize = arraySize; in setOutputArraySize()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp1532 jmethodID arraySize = env->GetMethodID(arrayListclazz, "size", "()I"); in gattServerAddServiceNative() local
1534 int count = env->CallIntMethod(gatt_db_elements, arraySize); in gattServerAddServiceNative()