/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/ |
PreFillQueue.java | 12 private int keyIndex; 25 PreFillType result = keyList.get(keyIndex); 30 keyList.remove(keyIndex); 37 keyIndex = keyList.isEmpty() ? 0 : (keyIndex + 1) % keyList.size();
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info.h | 42 int getCodePointOf(const int keyIndex) const; 43 int getOriginalCodePointOf(const int keyIndex) const; 44 bool hasSweetSpotData(const int keyIndex) const { 47 return mSweetSpotRadii[keyIndex] > 0.0f; 49 float getSweetSpotRadiiAt(int keyIndex) const { return mSweetSpotRadii[keyIndex]; } 50 float getSweetSpotCenterXAt(int keyIndex) const { return mSweetSpotCenterXs[keyIndex]; } 51 float getSweetSpotCenterYAt(int keyIndex) const { return mSweetSpotCenterYs[keyIndex]; } [all...] |
proximity_info.cpp | 139 int ProximityInfo::getCodePointOf(const int keyIndex) const { 140 if (keyIndex < 0 || keyIndex >= KEY_COUNT) { 143 return mKeyIndexToLowerCodePointG[keyIndex]; 146 int ProximityInfo::getOriginalCodePointOf(const int keyIndex) const { 147 if (keyIndex < 0 || keyIndex >= KEY_COUNT) { 150 return mKeyIndexToOriginalCodePoint[keyIndex];
|
proximity_info_state.cpp | 37 const int keyIndex = mProximityInfo->getKeyIndexOf(primaryCodePoint); 38 return mProximityInfo->getOriginalCodePointOf(keyIndex); 297 // Returns a probability of mapping index to keyIndex. 298 float ProximityInfoState::getProbability(const int index, const int keyIndex) const { 300 std::unordered_map<int, float>::const_iterator it = mCharProbabilities[index].find(keyIndex);
|
proximity_info_utils.h | 165 const int keyIndex = getKeyIndexOf(keyCount, c, codeToKeyMap); 167 keyIndex, x, y); 169 keyWidths, keyHeights, keyIndex, x, y);
|
/frameworks/base/lowpan/java/android/net/lowpan/ |
LowpanCredential.java | 40 private LowpanCredential(byte[] masterKey, int keyIndex) { 41 setMasterKey(masterKey, keyIndex); 52 public static LowpanCredential createMasterKey(byte[] masterKey, int keyIndex) { 53 return new LowpanCredential(masterKey, keyIndex); 63 void setMasterKeyIndex(int keyIndex) { 64 mMasterKeyIndex = keyIndex; 67 void setMasterKey(byte[] masterKey, int keyIndex) { 69 setMasterKeyIndex(keyIndex);
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/ |
WebSocketProtocol.java | 90 int keyIndex = (int) (frameBytesRead % keyLength); 91 buffer[i] = (byte) (buffer[i] ^ key[keyIndex]);
|
/external/guava/guava/src/com/google/common/collect/ |
DenseImmutableTable.java | 105 @Nullable abstract V getValue(int keyIndex); 119 Integer keyIndex = keyToIndex().get(key); 120 return (keyIndex == null) ? null : getValue(keyIndex); 166 V getValue(int keyIndex) { 167 return values[rowIndex][keyIndex]; 190 V getValue(int keyIndex) { 191 return values[keyIndex][columnIndex]; 211 Map<C, V> getValue(int keyIndex) { 212 return new Row(keyIndex); [all...] |
ArrayTable.java | 196 private final ImmutableMap<K, Integer> keyIndex; 198 private ArrayMap(ImmutableMap<K, Integer> keyIndex) { 199 this.keyIndex = keyIndex; 204 return keyIndex.keySet(); 208 return keyIndex.keySet().asList().get(index); 219 return keyIndex.size(); 224 return keyIndex.isEmpty(); 266 return keyIndex.containsKey(key); 271 Integer index = keyIndex.get(key) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/ |
typing_weighting.cpp | 43 const int keyIndex = traverseSession->getProximityInfo()->getKeyIndexOf( 59 if (keyIndex == NOT_AN_INDEX) { 70 if (keyIndex == NOT_AN_INDEX) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ConcurrentHashMultisetBasherTest.java | 118 int keyIndex = random.nextInt(nKeys); 119 String key = keys.get(keyIndex); 125 deltas[keyIndex] += delta; 131 deltas[keyIndex] += (newValue - oldValue); 138 deltas[keyIndex] += (newValue - oldValue); 145 deltas[keyIndex] -= Math.min(delta, oldValue); 151 deltas[keyIndex] -= delta;
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
KeyboardView.java | 481 int keyIndex = getKeyIndices(mStartX, mStartY, null); 482 if ((keyIndex != NOT_A_KEY) 483 && (keyIndex < mKeys.length) 484 && (oldRepeatKeyCode == mKeys[keyIndex].codes[0])) { 486 mRepeatKeyIndex = keyIndex; [all...] |
/frameworks/av/drm/mediacas/plugins/clearkey/ |
ClearKeyCasPlugin.cpp | 323 for (size_t keyIndex = 0; keyIndex < keys.size(); keyIndex++) { 326 const sp<ABuffer>& keyBytes = keys[keyIndex].key_bytes; 331 AES_BLOCK_SIZE * 8, &mKeyInfo[keyIndex].contentKey); 332 mKeyInfo[keyIndex].valid = (result == 0); 333 if (!mKeyInfo[keyIndex].valid) { 335 keyIndex, keys[keyIndex].key_id); 356 int32_t keyIndex = (scramblingControl & 1) [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
AccessibilityButtonController.java | 134 final int keyIndex = mCallbacks.indexOfKey(callback); 135 final boolean hasKey = keyIndex >= 0; 137 mCallbacks.removeAt(keyIndex);
|
/cts/tests/tests/util/src/android/util/cts/ |
SparseBooleanArrayTest.java | 54 int keyIndex; 56 keyIndex = sparseBooleanArray.indexOfKey(KEYS[i]); 57 assertEquals(VALUES[i], sparseBooleanArray.valueAt(keyIndex)); 111 int keyIndex; 113 keyIndex = sparseBooleanArray.indexOfKey(KEYS[i]); 114 assertEquals(VALUES[i], sparseBooleanArray.valueAt(keyIndex));
|
/frameworks/base/core/java/android/inputmethodservice/ |
KeyboardView.java | [all...] |
Keyboard.java | 633 for (int keyIndex = 0; keyIndex < numKeys; ++keyIndex) { 634 Key key = row.mKeys.get(keyIndex); 635 if (keyIndex > 0) { 643 for (int keyIndex = 0; keyIndex < numKeys; ++keyIndex) { 644 Key key = row.mKeys.get(keyIndex); [all...] |
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
KeyboardView.java | [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ArrayTable.java | 194 private final ImmutableMap<K, Integer> keyIndex; 196 private ArrayMap(ImmutableMap<K, Integer> keyIndex) { 197 this.keyIndex = keyIndex; 202 return keyIndex.keySet(); 206 return keyIndex.keySet().asList().get(index); 217 return keyIndex.size(); 222 return keyIndex.isEmpty(); 264 return keyIndex.containsKey(key); 269 Integer index = keyIndex.get(key) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
ProximityInfo.java | 159 for (int infoIndex = 0, keyIndex = 0; keyIndex < sortedKeys.size(); keyIndex++) { 160 final Key key = sortedKeys.get(keyIndex); 183 for (int infoIndex = 0, keyIndex = 0; keyIndex < sortedKeys.size(); keyIndex++) { 184 final Key key = sortedKeys.get(keyIndex);
|
/prebuilts/go/darwin-x86/src/crypto/tls/ |
ticket.go | 168 keyIndex := -1 171 keyIndex = i 176 if keyIndex == -1 { 179 key := &keys[keyIndex] 197 state := &sessionState{usedOldKey: keyIndex > 0}
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
ticket.go | 168 keyIndex := -1 171 keyIndex = i 176 if keyIndex == -1 { 179 key := &keys[keyIndex] 197 state := &sessionState{usedOldKey: keyIndex > 0}
|
/frameworks/base/core/java/com/android/internal/alsa/ |
AlsaCardsParser.java | 83 int keyIndex = line.indexOf(kUsbCardKeyStr); 84 mIsUsb = keyIndex != -1; 86 mCardDescription = line.substring(tokenIndex, keyIndex - 1);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
GameControllerInput.java | 251 public int getKeyCode(int keyIndex) { 252 return mKeys.keyAt(keyIndex); 255 public boolean isKeyPressed(int keyIndex) { 256 return mKeys.valueAt(keyIndex) != 0;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
DrawableContainer.java | 872 for (int keyIndex = 0; keyIndex < futureCount; keyIndex++) { 873 final int index = mDrawableFutures.keyAt(keyIndex); 874 final ConstantState cs = mDrawableFutures.valueAt(keyIndex); 911 final int keyIndex = mDrawableFutures.indexOfKey(index); 912 if (keyIndex >= 0) { 913 final ConstantState cs = mDrawableFutures.valueAt(keyIndex); 916 mDrawableFutures.removeAt(keyIndex); [all...] |