Home
last modified time | relevance | path

Searched refs:arraySize (Results 1 – 11 of 11) 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/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DIkeProtocolException.java156 protected static byte[] integerToByteArray(int integer, int arraySize) { in integerToByteArray() argument
157 if (arraySize > INTEGER_BYTE_SIZE) { in integerToByteArray()
159 "Cannot convert integer to a byte array of length: " + arraySize); in integerToByteArray()
166 byte[] zeroPad = new byte[INTEGER_BYTE_SIZE - arraySize]; in integerToByteArray()
167 byte[] byteData = new byte[arraySize]; in integerToByteArray()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/io/read/
DTypedInputStream.java61 int arraySize = readUnsignedByte(); in readTinyVarByteArray() local
62 byte[] bytes = new byte[arraySize]; in readTinyVarByteArray()
73 int arraySize = readUnsignedByte(); in readTinyVarCharArray() local
74 char[] chars = new char[arraySize]; in readTinyVarCharArray()
/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/services/Car/service/src/com/android/car/power/
DPolicyReader.java740 int arraySize = array.size(); in toIntArray() local
742 for (int i = 0; i < arraySize; i++) { in toIntArray()
747 for (int i = 0; i < arraySize; i++) { in toIntArray()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp1753 jmethodID arraySize = env->GetMethodID(arrayListclazz, "size", "()I"); in gattServerAddServiceNative() local
1755 int count = env->CallIntMethod(gatt_db_elements, arraySize); in gattServerAddServiceNative()
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt70 Landroid/icu/impl/CalendarCache;->arraySize:I