/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SpacingAndPunctuations.java | 96 return Arrays.binarySearch(mSortedWordSeparators, code) >= 0; in isWordSeparator() 100 return Arrays.binarySearch(mSortedWordConnectors, code) >= 0; in isWordConnector() 108 return Arrays.binarySearch(mSortedSymbolsPrecededBySpace, code) >= 0; in isUsuallyPrecededBySpace() 112 return Arrays.binarySearch(mSortedSymbolsFollowedBySpace, code) >= 0; in isUsuallyFollowedBySpace() 116 return Arrays.binarySearch(mSortedSymbolsClusteringTogether, code) >= 0; in isClusteringSymbol() 120 return Arrays.binarySearch(mSortedSentenceTerminators, code) >= 0; in isSentenceTerminator()
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | CollectionUtils.java | 61 if (Collections.binarySearch(result, toAdd, comparator) < 0) { in union() 75 int index = Collections.binarySearch(result, toSubtract, comparator); in subtract() 89 if (Collections.binarySearch(contains, iterate, comparator) >= 0) { in containsAny()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | Series.java | 29 import static com.android.pump.util.Collections.binarySearch; 99 int seriesLocation = binarySearch(mSeasons, episode.getSeason(), in addEpisode() 103 int episodeLocation = binarySearch(series, episode.getEpisode(), Episode::getEpisode); in addEpisode()
|
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/table/packed/read/ |
D | PackedTableReader.java | 184 return binarySearch(lower, upper, entryMatcher); in findLongValueEntry() 187 private Entry binarySearch(int lower, int upper, LongValueEntryMatcher entryMatcher) { in binarySearch() method in PackedTableReader 309 return binarySearch(lower, upper, entryMatcher); in findNearbyEntry()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | IntSet.java | 31 int index = Arrays.binarySearch(mArray.mValues, 0, mArray.mSize, value); in add() 38 return Arrays.binarySearch(mArray.mValues, 0, mArray.mSize, value) >= 0; in contains()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | Collections.java | 36 int index = binarySearch(list, key, keyRetriever); in find() 43 public static <T> int binarySearch(@NonNull List<T> list, long key, in binarySearch() method in Collections
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/ |
D | SparseArray.java | 45 final int index = Collections.binarySearch(mKeys, key); in put() 60 final int index = Collections.binarySearch(mKeys, key); in get()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/ |
D | TemperatureColorStore.java | 103 int index = binarySearch(temperature); in getColorForTemperature() 176 private int binarySearch(float temperature) { in binarySearch() method in TemperatureColorStore
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | SectionedAlbumDataAdapter.java | 201 return (Arrays.binarySearch(sections, position) >= 0); in isHeader() 205 int offset = Arrays.binarySearch(sections, position); in internalPosition()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | VideoUtils.java | 308 if (Arrays.binarySearch(track.getSyncSamples(), currentSample + 1) >= 0) { in correctTimeToSyncSample() 311 timeOfSyncSamples[Arrays.binarySearch( in correctTimeToSyncSample()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsSectionIndexer.java | 92 int index = Arrays.binarySearch(mPositions, position); in getSectionForPosition()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiShellCommand.java | 1397 return (Arrays.binarySearch(allowed2gFreq, apChannelMHz) >= 0 in isApChannelMHzValid() 1398 || Arrays.binarySearch(allowed5gFreq, apChannelMHz) >= 0 in isApChannelMHzValid() 1399 || Arrays.binarySearch(allowed5gDfsFreq, apChannelMHz) >= 0) in isApChannelMHzValid() 1400 || Arrays.binarySearch(allowed6gFreq, apChannelMHz) >= 0 in isApChannelMHzValid() 1401 || Arrays.binarySearch(allowed60gFreq, apChannelMHz) >= 0; in isApChannelMHzValid()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | StringUtils.java | 396 needsCapsNext = (Arrays.binarySearch(sortedSeparators, codePoint) >= 0); in isIdenticalAfterCapitalizeEachWord() 417 needsCapsNext = (Arrays.binarySearch(sortedSeparators, nextChar.codePointAt(0)) >= 0); in capitalizeEachWord()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | KeyboardLayoutPickerController.java | 147 entry.getKey().setChecked(Arrays.binarySearch(enabledKeyboardLayouts, in updateCheckedState()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsStore.java | 92 int index = Arrays.binarySearch(mApps, mTempInfo, COMPONENT_KEY_COMPARATOR); in getApp()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioContext.java | 233 Preconditions.checkArgument(Arrays.binarySearch(CONTEXTS, audioContext) >= 0, in preconditionCheckAudioContext()
|
D | CarAudioZonesHelper.java | 108 return Arrays.binarySearch(LEGACY_CONTEXTS, audioContext) >= 0; in isLegacyContext()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | IntHistogram.java | 191 int insertionIndex = Arrays.binarySearch(mBucketBoundaries, value); in getBucketKey()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | SimContact.java | 235 return Collections.binarySearch(contacts, new SimContact(-1, name, phone, null), in findByPhoneAndName()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | AggregationSuggestionEngine.java | 346 if (!changed && Arrays.binarySearch(mSuggestedContactIds, contactId) < 0) { in updateSuggestedContactIds()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SimImportFragment.java | 192 Arrays.binarySearch(ids, mListView.getItemIdAtPosition(i)) >= 0); in showSelectionsForCurrentAccount()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 483 int result = Collections.binarySearch(data, reference, PTNODE_COMPARATOR); in findInsertionIndex()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/ |
D | ChannelDataManager.java | 441 Collections.binarySearch( in handleEvents()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcDispatcher.java | 715 if (Arrays.binarySearch(tagTechs, tech) < 0) { in filterMatch()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ProgramDataManager.java | 431 int index = Collections.binarySearch(programs, key); in getProgramIndexAt()
|