Searched refs:INVALID_INDEX (Results 1 – 9 of 9) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | trie_map.cpp | 23 const int TrieMap::INVALID_INDEX = -1; member in latinime::TrieMap 72 if (terminalEntryIndex == INVALID_INDEX) { in getNextLevelBitmapEntryIndex() 74 return INVALID_INDEX; in getNextLevelBitmapEntryIndex() 82 if (valueEntryIndex == INVALID_INDEX) { in getNextLevelBitmapEntryIndex() 83 return INVALID_INDEX; in getNextLevelBitmapEntryIndex() 86 return INVALID_INDEX; in getNextLevelBitmapEntryIndex() 89 return INVALID_INDEX; in getNextLevelBitmapEntryIndex() 92 return INVALID_INDEX; in getNextLevelBitmapEntryIndex() 121 if (terminalEntryIndex == INVALID_INDEX) { in remove() 167 return Result(entry.getValue(), true, INVALID_INDEX); in iterateNext() [all …]
|
D | trie_map.h | 76 return mNextLevelBitmapEntryIndex != INVALID_INDEX; in hasNextLevelMap() 100 mKey(0), mValue(0), mIsValid(false), mNextLevelBitmapEntryIndex(INVALID_INDEX) { in TrieMapIterator() 101 if (!trieMap || mBaseBitmapEntryIndex == INVALID_INDEX) { in TrieMapIterator() 153 return TrieMapIterator(nullptr, INVALID_INDEX); in end() 164 static const int INVALID_INDEX; variable
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
D | trie_map_test.cpp | 73 EXPECT_EQ(TrieMap::INVALID_INDEX, result.mNextLevelBitmapEntryIndex); in TEST() 149 EXPECT_NE(TrieMap::INVALID_INDEX, nextLevelBitmapEntryIndex); in TEST() 161 EXPECT_NE(TrieMap::INVALID_INDEX, secondLevel); in TEST() 164 EXPECT_NE(TrieMap::INVALID_INDEX, thirdLevel); in TEST() 175 EXPECT_NE(TrieMap::INVALID_INDEX, secondLevel); in TEST() 184 EXPECT_NE(TrieMap::INVALID_INDEX, secondLevel); in TEST() 188 EXPECT_NE(TrieMap::INVALID_INDEX, thirdLevel); in TEST()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.cpp | 51 if (nextBitmapEntryIndex == TrieMap::INVALID_INDEX) { in getWordAttributes() 120 if (bitmapEntryIndex == TrieMap::INVALID_INDEX) { in getNgramProbabilityEntry() 137 if (bitmapEntryIndex == TrieMap::INVALID_INDEX) { in setNgramProbabilityEntry() 146 if (bitmapEntryIndex == TrieMap::INVALID_INDEX) { in removeNgramProbabilityEntry() 163 if (!result.mIsValid || result.mNextLevelBitmapEntryIndex == TrieMap::INVALID_INDEX) { in exportAllNgramEntriesRelatedToWord() 300 if (result.mIsValid && result.mNextLevelBitmapEntryIndex != TrieMap::INVALID_INDEX) { in createAndGetBitmapEntryIndex() 309 return TrieMap::INVALID_INDEX; in createAndGetBitmapEntryIndex() 323 return TrieMap::INVALID_INDEX; in getBitmapEntryIndex()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | GuideUtils.java | 27 private static final int INVALID_INDEX = -1; field in GuideUtils 85 int nextFocusIndex = INVALID_INDEX; in findNextFocusedProgram() 112 if (nextFocusIndex != INVALID_INDEX) { in findNextFocusedProgram()
|
D | ProgramGrid.java | 36 private static final int INVALID_INDEX = -1; field in ProgramGrid 247 if (focusedChildIndex == INVALID_INDEX) { in focusFind() 288 return INVALID_INDEX; in getFocusedChildIndex()
|
/packages/apps/Settings/src/com/android/settings/sound/ |
D | HandsFreeProfileOutputPreferenceController.java | 40 private static final int INVALID_INDEX = -1; field in HandsFreeProfileOutputPreferenceController 63 if (connectedDeviceIndex == INVALID_INDEX) { in onPreferenceChange() 83 return INVALID_INDEX; in getConnectedDeviceIndex()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/ |
D | HandsFreeProfileOutputPreferenceController.java | 40 private static final int INVALID_INDEX = -1; field in HandsFreeProfileOutputPreferenceController 63 if (connectedDeviceIndex == INVALID_INDEX) { in onPreferenceChange() 83 return INVALID_INDEX; in getConnectedDeviceIndex()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | BluetoothCmeError.java | 35 public static final int INVALID_INDEX = 21; field in BluetoothCmeError
|