/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | SparseWeakArray.java | 81 int i = binarySearch(mKeys, 0, mSize, key); in get() 94 int i = binarySearch(mKeys, 0, mSize, key); in delete() 152 int i = binarySearch(mKeys, 0, mSize, key); in put() 169 i = ~binarySearch(mKeys, 0, mSize, key); in put() 239 return binarySearch(mKeys, 0, mSize, key); in indexOfKey() 306 private static int binarySearch(long[] a, int start, int len, long key) { in binarySearch() method in SparseWeakArray
|
/frameworks/base/core/java/android/util/ |
D | SparseArray.java | 120 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in get() 133 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in delete() 148 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in removeReturnOld() 238 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 255 i = ~ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 367 return ContainerHelpers.binarySearch(mKeys, mSize, key); in indexOfKey()
|
D | LongSparseLongArray.java | 108 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in get() 121 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in delete() 143 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 219 return ContainerHelpers.binarySearch(mKeys, mSize, key); in indexOfKey()
|
D | LongSparseArray.java | 113 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in get() 126 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in delete() 197 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 214 i = ~ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 326 return ContainerHelpers.binarySearch(mKeys, mSize, key); in indexOfKey()
|
D | SparseIntArray.java | 108 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in get() 121 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in delete() 143 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 236 return ContainerHelpers.binarySearch(mKeys, mSize, key); in indexOfKey()
|
D | SparseLongArray.java | 101 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in get() 114 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in delete() 153 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 229 return ContainerHelpers.binarySearch(mKeys, mSize, key); in indexOfKey()
|
D | ContainerHelpers.java | 22 static int binarySearch(int[] array, int size, int value) { in binarySearch() method in ContainerHelpers 41 static int binarySearch(long[] array, int size, long value) { in binarySearch() method in ContainerHelpers
|
D | SparseBooleanArray.java | 100 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in get() 113 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in delete() 139 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 241 return ContainerHelpers.binarySearch(mKeys, mSize, key); in indexOfKey()
|
D | IntArray.java | 131 public int binarySearch(int value) { in binarySearch() method in IntArray 132 return ContainerHelpers.binarySearch(mValues, mSize, value); in binarySearch()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceGroupAdapter.java | 205 int insertPos = Collections.binarySearch(mPreferenceLayouts, pl); in addPreferenceClassName() 251 if (Collections.binarySearch(mPreferenceLayouts, mTempPreferenceLayout) < 0 || in getView() 314 int viewType = Collections.binarySearch(mPreferenceLayouts, mTempPreferenceLayout); in getItemViewType()
|
D | PreferenceGroup.java | 164 int insertionIndex = Collections.binarySearch(mPreferenceList, preference); in addPreference()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiShellCommand.java | 297 return (Arrays.binarySearch(allowed2gFreq, apChannelMHz) >= 0 in isApChannelMHzValid() 298 || Arrays.binarySearch(allowed5gFreq, apChannelMHz) >= 0 in isApChannelMHzValid() 299 || Arrays.binarySearch(allowed5gDfsFreq, apChannelMHz) >= 0); in isApChannelMHzValid()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/ |
D | TemperatureColorStore.java | 103 int index = binarySearch(temperature); in getColorForTemperature() 176 private int binarySearch(float temperature) { in binarySearch() method in TemperatureColorStore
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | SparseMappingTable.java | 122 final int idx = binarySearch(id); in getOrAddKey() 166 final int idx = binarySearch(id); in getKey() 226 final int idx = binarySearch(id); in getValueForId() 397 private int binarySearch(byte id) { in binarySearch() method in SparseMappingTable.Table
|
/frameworks/base/core/java/android/content/pm/split/ |
D | SplitDependencyLoader.java | 174 final int depIdx = Arrays.binarySearch(pkg.splitNames, splitDependency); in createDependenciesFromPackage() 201 final int depIdx = Arrays.binarySearch(pkg.splitNames, configForSplit); in createDependenciesFromPackage()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ItemGroup.java | 37 private static int binarySearch(SparseIntArray array, int value) { in binarySearch() method in ItemGroup 301 int result = binarySearch(hierarchyStart, position); in getItemIndex()
|
/frameworks/base/core/java/android/app/ |
D | AppCompatCallbacks.java | 56 if (Arrays.binarySearch(mDisabledChanges, changeId) < 0) { in isChangeEnabled()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | SparseRectFArray.java | 267 final int arrayIndex = Arrays.binarySearch(mKeys, index); in get() 285 final int arrayIndex = Arrays.binarySearch(mKeys, index); in getFlags()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | PersistentDataStore.java | 359 int index = Collections.binarySearch(mKeyboardLayouts, keyboardLayout); in addKeyboardLayout() 371 int index = Collections.binarySearch(mKeyboardLayouts, keyboardLayout); in removeKeyboardLayout() 400 int index = Collections.binarySearch(mKeyboardLayouts, mCurrentKeyboardLayout); in switchKeyboardLayout()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraMetadata.java | 210 if (filterTags != null && Arrays.binarySearch(filterTags, in getKeys() 271 return Arrays.binarySearch(filterTags, keyTag) >= 0; in shouldKeyBeAdded()
|
/frameworks/base/core/java/android/os/health/ |
D | HealthKeys.java | 163 final int index = Arrays.binarySearch(mKeys[type], key); in getIndex()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | IntHistogram.java | 150 int insertionIndex = Arrays.binarySearch(mBucketBoundaries, value); in getBucketKey()
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 1170 static int binarySearch(T const sortedArray[], int first, int last, EGLint key) in binarySearch() function 1189 int index = binarySearch<config_pair_t>( in isAttributeMatching() 1195 index = binarySearch<config_pair_t>( in isAttributeMatching() 1202 int cfgMgtIndex = binarySearch<config_management_t>( in isAttributeMatching() 1266 attrIndex = binarySearch<config_pair_t>( in getConfigAttrib() 1275 attrIndex = binarySearch<config_pair_t>( in getConfigAttrib() 1559 if (binarySearch<config_pair_t>( in eglChooseConfig()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingHelper.java | 159 return Collections.binarySearch(notificationList, target, mFinalComparator); in indexOf()
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | AbstractVerifier.java | 205 int x = Arrays.binarySearch(BAD_COUNTRY_2LDS, s); in acceptableCountryWildcard()
|