/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | trie_map.cpp | 23 const int TrieMap::INVALID_INDEX = -1; member in latinime::TrieMap 74 return 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() 237 return INVALID_INDEX; in allocateTable() 246 return INVALID_INDEX; in allocateTable() 255 return INVALID_INDEX; in getTerminalEntryIndex() 264 return INVALID_INDEX; in getTerminalEntryIndex() [all …]
|
H A 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
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
H A D | ContextualButtonGroup.java | 28 private static final int INVALID_INDEX = -1; field in ContextualButtonGroup 56 if (index != INVALID_INDEX) { in removeButton() 63 if (index != INVALID_INDEX) { in getContextButton() 89 if (index == INVALID_INDEX) { in setButtonVisibility() 120 return index != INVALID_INDEX && mButtonData.get(index).markedVisible; in isButtonVisibleWithinGroup() 157 return INVALID_INDEX; in getContextButtonIndex()
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | SuggestionsAdapter.java | 80 static final int INVALID_INDEX = -1; field in SuggestionsAdapter 83 private int mText1Col = INVALID_INDEX; 84 private int mText2Col = INVALID_INDEX; 85 private int mText2UrlCol = INVALID_INDEX; 86 private int mIconName1Col = INVALID_INDEX; 87 private int mIconName2Col = INVALID_INDEX; 88 private int mFlagsCol = INVALID_INDEX; 320 if (mFlagsCol != INVALID_INDEX) { in bindView() 403 if (mIconName1Col == INVALID_INDEX) { in getIcon1() 415 if (mIconName2Col == INVALID_INDEX) { in getIcon2() [all …]
|
H A D | ActivityChooserModel.java | 224 private static final int INVALID_INDEX = -1; field in ActivityChooserModel 455 return INVALID_INDEX; in getActivityIndex()
|
/aosp12/frameworks/base/core/java/android/view/inputmethod/ |
H A D | BaseInputConnection.java | 307 private static int INVALID_INDEX = -1; field in BaseInputConnection 314 return INVALID_INDEX; // The starting point is out of range. in findIndexBackward() 317 return INVALID_INDEX; // Basically this should not happen. in findIndexBackward() 328 return INVALID_INDEX; // An invalid surrogate pair is found. in findIndexBackward() 335 return INVALID_INDEX; // An invalid surrogate pair is found. in findIndexBackward() 346 return INVALID_INDEX; // A invalid surrogate pair is found. in findIndexBackward() 358 return INVALID_INDEX; // The starting point is out of range. in findIndexForward() 361 return INVALID_INDEX; // Basically this should not happen. in findIndexForward() 392 return INVALID_INDEX; // A invalid surrogate pair is found. in findIndexForward() 443 if (start != INVALID_INDEX) { in deleteSurroundingTextInCodePoints() [all …]
|
/aosp12/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
H A 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()
|
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
H A 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()
|
/aosp12/packages/apps/TV/src/com/android/tv/guide/ |
H A 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()
|
H A D | ProgramGrid.java | 36 private static final int INVALID_INDEX = -1; field in ProgramGrid 247 if (focusedChildIndex == INVALID_INDEX) { in focusFind() 299 return INVALID_INDEX; in getFocusedChildIndex()
|
/aosp12/packages/apps/Settings/src/com/android/settings/sound/ |
H A 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()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
H A D | ContentLimitingAdapter.java | 92 if (index != RangeFilterImpl.INVALID_INDEX) { in onBindViewHolder() 118 if (mRangeFilter.positionToIndex(position) == RangeFilterImpl.INVALID_INDEX) { in getItemViewType()
|
H A D | RangeFilterImpl.java | 189 public static final int INVALID_INDEX = -1; field in RangeFilterImpl.ListRange 244 return INVALID_INDEX; in positionToIndex()
|
H A D | RangeFilter.java | 27 int INVALID_INDEX = -1; field
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
H A D | BluetoothCmeError.java | 35 public static final int INVALID_INDEX = 21; field in BluetoothCmeError
|
/aosp12/packages/apps/Car/Media/src/com/android/car/media/ |
H A D | UxrPivotFilter.java | 29 int INVALID_INDEX = -1; field
|
H A D | PlaybackFragment.java | 373 if (mUxrPivotFilter.positionToIndex(position) == UxrPivotFilterImpl.INVALID_INDEX) { in getItemViewType() 393 if (index != UxrPivotFilterImpl.INVALID_INDEX) { in onBindViewHolder() 440 if (index != UxrPivotFilterImpl.INVALID_INDEX) { in getItemId()
|
H A D | UxrPivotFilterImpl.java | 276 return INVALID_INDEX; in positionToIndex()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/ |
H A D | RangeFilterImplTest.java | 160 .isEqualTo(RangeFilter.INVALID_INDEX); in verifyClampedBothEnds() 167 .isEqualTo(RangeFilter.INVALID_INDEX); in verifyClampedBothEnds()
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 63685 Landroid/view/inputmethod/BaseInputConnection;->INVALID_INDEX:I 69434 Landroid/widget/ActivityChooserModel;->INVALID_INDEX:I
|