Searched refs:mArray (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | ResizableIntArray.java | 28 private int[] mArray; field in ResizableIntArray 37 return mArray[index]; in get() 44 mArray[index] = val; in addAt() 54 mArray[currentLength] = val; in add() 65 final int currentCapcity = mArray.length; in calculateCapacity() 78 mArray = Arrays.copyOf(mArray, newCapacity); in ensureCapacity() 93 mArray = new int[capacity]; in reset() 99 return mArray; in getPrimitiveArray() 104 mArray = ip.mArray; in set() 112 mArray = new int[newCapacity]; in copy() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | IntSet.java | 25 final IntArray mArray = new IntArray(); field in IntSet 31 int index = Arrays.binarySearch(mArray.mValues, 0, mArray.mSize, value); in add() 33 mArray.add(-index - 1, value); in add() 38 return Arrays.binarySearch(mArray.mValues, 0, mArray.mSize, value) >= 0; in contains() 42 return mArray.isEmpty(); in isEmpty() 49 return mArray.size(); in size() 53 mArray.clear(); in clear() 61 return (obj instanceof IntSet) && ((IntSet) obj).mArray.equals(mArray); in equals() 65 return mArray; in getArray() 72 mArray.copyFrom(other.mArray); in copyFrom() [all …]
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/ |
D | SparseIntArray.java | 20 private final SparseArray<Integer> mArray; field in SparseIntArray 27 mArray = new SparseArray<>(initialCapacity); in SparseIntArray() 31 return mArray.size(); in size() 35 mArray.clear(); in clear() 39 mArray.put(key, value); in put() 47 return mArray.get(key, valueIfKeyNotFound); in get() 51 return mArray.indexOfKey(key); in indexOfKey() 55 return mArray.keyAt(index); in keyAt()
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
D | Utils.java | 38 private final SparseArray<T> mArray; field in Utils.SparseArrayIterator 42 mArray = array; in SparseArrayIterator() 52 return mIndex < mArray.size(); in hasNext() 57 return new SparseArrayEntry<>(mArray, mIndex++); in next()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkMenuConfig.java | 61 private ArrayList<Config> mArray; field in StkMenuConfig 143 for (Config config : mArray) { in findConfig() 155 mArray = new ArrayList<Config>(); in initialize() 181 mArray.add(config); in initialize()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/ |
D | IntSetTest.java | 68 assertEquals("1, 2, 10", set.mArray.toConcatString()); in threeElementSet()
|