Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DSparseLongArray.java29 private int[] mKeys; field in SparseLongArray
46 mKeys = new int[initialCapacity]; in SparseLongArray()
56 clone.mKeys = mKeys.clone(); in clone()
77 int i = binarySearch(mKeys, 0, mSize, key); in get()
90 int i = binarySearch(mKeys, 0, mSize, key); in delete()
101 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1)); in removeAt()
112 int i = binarySearch(mKeys, 0, mSize, key); in put()
119 if (mSize >= mKeys.length) { in put()
124 System.arraycopy(mKeys, i, mKeys, i + 1, mSize - i); in put()
128 mKeys[i] = key; in put()
[all …]
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
DSparseArray.java23 private final ArrayList<Integer> mKeys; field in SparseArray
31 mKeys = new ArrayList<>(initialCapacity); in SparseArray()
36 return mKeys.size(); in size()
40 mKeys.clear(); in clear()
45 final int index = Collections.binarySearch(mKeys, key); in put()
51 mKeys.add(insertIndex, key); in put()
60 final int index = Collections.binarySearch(mKeys, key); in get()
68 return mKeys.indexOf(key); in indexOfKey()
76 return mKeys.get(index); in keyAt()
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
DDebugMmsConfigFragment.java99 private final List<String> mKeys; field in DebugMmsConfigFragment.MmsConfigAdapter
105 mKeys = new ArrayList<>(mMmsConfig.keySet()); in MmsConfigAdapter()
106 Collections.sort(mKeys); in MmsConfigAdapter()
118 final String key = mKeys.get(position); in getView()
134 return mKeys.size(); in getCount()
139 return mKeys.get(position); in getItem()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java178 private Key[] mKeys; field in KeyboardView
538 mKeys = keys.toArray(new Key[keys.size()]); in setKeyboard()
685 final Key[] keys = mKeys; in computeProximityThreshold()
742 final Key[] keys = mKeys; in onBufferDraw()
890 final Key[] keys = mKeys; in getKeyIndices()
941 if (index != NOT_A_KEY && index < mKeys.length) { in detectAndSendKey()
942 final Key key = mKeys[index]; in detectAndSendKey()
989 final Key[] keys = mKeys; in showPreview()
1030 final Key[] keys = mKeys; in showKey()
1031 if (keyIndex < 0 || keyIndex >= mKeys.length) return; in showKey()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DUiBlockerController.java44 private Set<String> mKeys; field in UiBlockerController
54 mKeys = new HashSet<>(keys); in UiBlockerController()
65 if (mKeys.isEmpty()) { in start()
94 if (mKeys.remove(key)) { in countDown()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DUiBlockerController.java44 private Set<String> mKeys; field in UiBlockerController
54 mKeys = new HashSet<>(keys); in UiBlockerController()
65 if (mKeys.isEmpty()) { in start()
94 if (mKeys.remove(key)) { in countDown()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEvents.java102 private Set<Integer> mKeys = new HashSet<>(); field in TestEvents.State
172 mState.mKeys.add(key); in pressKey()
182 mState.mKeys.remove(key); in releaseKey()
259 for (Integer key : mState.mKeys) { in build()