Searched refs:mKeys (Results 1 – 7 of 7) sorted by relevance
70 private KeyHolder[] mKeys; field in LeanbackKeyboardView168 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 …]
23 private final ArrayList<Integer> mKeys; field in SparseArray31 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()
100 private final List<String> mKeys; field in DebugMmsConfigFragment.MmsConfigAdapter106 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()
178 private Key[] mKeys; field in KeyboardView541 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 …]
44 private Set<String> mKeys; field in UiBlockerController54 mKeys = new HashSet<>(keys); in UiBlockerController()65 if (mKeys.isEmpty()) { in start()94 if (mKeys.remove(key)) { in countDown()
102 private Set<Integer> mKeys = new HashSet<>(); field in TestEvents.State172 mState.mKeys.add(key); in pressKey()182 mState.mKeys.remove(key); in releaseKey()259 for (Integer key : mState.mKeys) { in build()