Home
last modified time | relevance | path

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

/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardView.java70 private KeyHolder[] mKeys; field in LeanbackKeyboardView
168 if (mKeys == null || mKeys.length == 0 || index < 0 || index > mKeys.length) { in getKey()
171 return mKeys[index].key; in getKey()
178 return mFocusIndex == -1 ? null : mKeys[mFocusIndex].key; in getFocusedKey()
195 if (mKeys == null || mKeys.length == 0) { in getNearestIndex()
230 } else if (index >= mKeys.length) { in getNearestIndex()
231 index = mKeys.length - 1; in getNearestIndex()
266 final KeyHolder keyHolder = mKeys[keyIndex]; in createKeyImageView()
374 createKeyImageViews(mKeys); in invalidateAllKeys()
378 if (mKeys == null) in invalidateKey()
[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.java100 private final List<String> mKeys; field in DebugMmsConfigFragment.MmsConfigAdapter
106 mKeys = new ArrayList<>(mMmsConfig.keySet()); in MmsConfigAdapter()
107 Iterator<String> it = mKeys.iterator(); in MmsConfigAdapter()
114 Collections.sort(mKeys); in MmsConfigAdapter()
126 final String key = mKeys.get(position); in getView()
142 return mKeys.size(); in getCount()
147 return mKeys.get(position); in getItem()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java178 private Key[] mKeys; field in KeyboardView
541 mKeys = keys.toArray(new Key[keys.size()]); in setKeyboard()
688 final Key[] keys = mKeys; in computeProximityThreshold()
745 final Key[] keys = mKeys; in onBufferDraw()
893 final Key[] keys = mKeys; in getKeyIndices()
944 if (index != NOT_A_KEY && index < mKeys.length) { in detectAndSendKey()
945 final Key key = mKeys[index]; in detectAndSendKey()
992 final Key[] keys = mKeys; in showPreview()
1033 final Key[] keys = mKeys; in showKey()
1034 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()