/frameworks/base/tools/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 | 113 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in get() 126 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in delete() 141 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in removeReturnOld() 224 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 241 i = ~ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 331 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() 136 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 192 return ContainerHelpers.binarySearch(mKeys, mSize, key); in indexOfKey()
|
D | LongSparseLongArray.java | 103 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in get() 116 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in delete() 138 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 194 return ContainerHelpers.binarySearch(mKeys, mSize, key); in indexOfKey()
|
D | SparseIntArray.java | 103 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in get() 116 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in delete() 138 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 202 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() 187 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 204 i = ~ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 286 return ContainerHelpers.binarySearch(mKeys, mSize, key); in indexOfKey()
|
D | SparseBooleanArray.java | 98 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in get() 111 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in delete() 133 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 199 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 | IntArray.java | 95 public int binarySearch(int value) { in binarySearch() method in IntArray 96 return ContainerHelpers.binarySearch(mValues, mSize, value); in binarySearch()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | PositionMap.java | 87 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in get() 100 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in delete() 182 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 199 i = ~ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 290 return ContainerHelpers.binarySearch(mKeys, mSize, key); in indexOfKey() 444 static int binarySearch(int[] array, int size, int value) { in binarySearch() method in PositionMap.ContainerHelpers
|
/frameworks/support/compat/java/android/support/v4/util/ |
D | LongSparseArray.java | 105 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in get() 118 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in delete() 179 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 196 i = ~ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 287 return ContainerHelpers.binarySearch(mKeys, mSize, key); in indexOfKey()
|
D | SparseArrayCompat.java | 85 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in get() 98 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in delete() 172 int i = ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 189 i = ~ ContainerHelpers.binarySearch(mKeys, mSize, key); in put() 280 return ContainerHelpers.binarySearch(mKeys, mSize, key); in indexOfKey()
|
D | ContainerHelpers.java | 45 static int binarySearch(int[] array, int size, int value) { in binarySearch() method in ContainerHelpers 64 static int binarySearch(long[] array, int size, long value) { in binarySearch() method in ContainerHelpers
|
D | ArraySet.java | 91 int index = ContainerHelpers.binarySearch(mHashes, N, hash); in indexOf() 129 int index = ContainerHelpers.binarySearch(mHashes, N, 0); in indexOfNull()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceGroupAdapter.java | 197 int insertPos = Collections.binarySearch(mPreferenceLayouts, pl); in addPreferenceClassName() 242 if (Collections.binarySearch(mPreferenceLayouts, mTempPreferenceLayout) < 0 || in getView() 305 int viewType = Collections.binarySearch(mPreferenceLayouts, mTempPreferenceLayout); in getItemViewType()
|
D | PreferenceGroup.java | 156 int insertionIndex = Collections.binarySearch(mPreferenceList, preference); in addPreference()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | SparseMappingTable.java | 121 final int idx = binarySearch(id); in getOrAddKey() 165 final int idx = binarySearch(id); in getKey() 227 final int idx = binarySearch(id); in getValueForId() 398 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 | 38 private static int binarySearch(SparseIntArray array, int value) { in binarySearch() method in ItemGroup 314 int result = binarySearch(mHierarchyStart, position); in getItemIndex()
|
/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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | Grid.java | 466 ? Arrays.binarySearch(positions, 0, positionsLength, lastPos) : 0; in fillDisappearingItems() 494 ? Arrays.binarySearch(positions, 0, positionsLength, firstPos) : 0; in fillDisappearingItems()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraMetadata.java | 207 if (filterTags == null || Arrays.binarySearch(filterTags, in getKeys() 263 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/base/core/java/org/apache/http/conn/ssl/ |
D | AbstractVerifier.java | 203 int x = Arrays.binarySearch(BAD_COUNTRY_2LDS, s); in acceptableCountryWildcard()
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 1150 static int binarySearch(T const sortedArray[], int first, int last, EGLint key) in binarySearch() function 1169 int index = binarySearch<config_pair_t>( in isAttributeMatching() 1175 index = binarySearch<config_pair_t>( in isAttributeMatching() 1182 int cfgMgtIndex = binarySearch<config_management_t>( in isAttributeMatching() 1246 attrIndex = binarySearch<config_pair_t>( in getConfigAttrib() 1255 attrIndex = binarySearch<config_pair_t>( in getConfigAttrib() 1539 if (binarySearch<config_pair_t>( in eglChooseConfig()
|