/packages/services/Car/service/src/com/android/car/ |
D | SparseArrayStream.java | 27 public static <E> IntStream keyStream(SparseArray<E> array) { in keyStream() 31 public static <E> Stream<E> valueStream(SparseArray<E> array) { in valueStream() 35 public static <E> Stream<Pair<Integer, E>> pairStream(SparseArray<E> array) { in pairStream()
|
D | CarServiceUtils.java | 145 final float[] array = new float[size]; in toFloatArray() local 154 final int[] array = new int[size]; in toIntArray() local
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/ |
D | ArrayUtils.java | 35 public static <T> boolean isEmpty(@Nullable T[] array) { in isEmpty() 45 public static <T> boolean contains(T[] array, T value) { in contains() 53 public static <T> int indexOf(T[] array, T value) { in indexOf()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | CollectionUtilsTests.java | 51 final String[] array = { "0", "1" }; in testArrayAsListFailure() local 83 final String[] array = { "0", "1", "2", "3", "4" }; in testArrayAsList() local
|
D | ResourceUtilsTests.java | 51 final String[] array = { in testFindConstantForKeyValuePairsSimple() local 85 final String[] array = { in testFindConstantForKeyValuePairsCombined() local 130 final String[] array = { in testFindConstantForKeyValuePairsRegexp() local
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
D | Utils.java | 32 SparseArrayEntry(SparseArray<U> array, int index) { in SparseArrayEntry() 41 SparseArrayIterator(SparseArray<T> array) { in SparseArrayIterator()
|
/packages/apps/ThemePicker/src/com/android/customization/widget/ |
D | DynamicAdaptiveIconDrawable.java | 331 final ChildDrawable[] array = state.mChildren; in applyTheme() local 470 final ChildDrawable[] array = mLayerState.mChildren; in setHotspot() local 481 final ChildDrawable[] array = mLayerState.mChildren; in setHotspotBounds() local 508 final ChildDrawable[] array = mLayerState.mChildren; in setVisible() local 522 final ChildDrawable[] array = mLayerState.mChildren; in setDither() local 543 final ChildDrawable[] array = mLayerState.mChildren; in setColorFilter() local 554 final ChildDrawable[] array = mLayerState.mChildren; in setTintList() local 566 final ChildDrawable[] array = mLayerState.mChildren; in setTintMode() local 589 final ChildDrawable[] array = mLayerState.mChildren; in setAutoMirrored() local 605 final ChildDrawable[] array = mLayerState.mChildren; in jumpToCurrentState() local [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
D | ResizableIntArrayTests.java | 42 final int[] array = src.getPrimitiveArray(); in testNewInstance() local 51 final int[] array = src.getPrimitiveArray(); in testAdd() local 126 final int[] array = src.getPrimitiveArray(); in testReset() local 158 final int[] array = src.getPrimitiveArray(); in testSetLength() local 216 final int[] array = dst.getPrimitiveArray(); in testCopy() local 245 final int[] array = dst.getPrimitiveArray(); in testAppend() local 295 final int[] array = src.getPrimitiveArray(); in testFill() local
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.h | 34 static void jintarrayToVector(JNIEnv *env, jintArray array, std::vector<int> *const outVector) { in jintarrayToVector() 130 static void putBooleanToArray(JNIEnv *env, jbooleanArray array, const int index, in putBooleanToArray() 135 static void putIntToArray(JNIEnv *env, jintArray array, const int index, const int value) { in putIntToArray() 139 static void putFloatToArray(JNIEnv *env, jfloatArray array, const int index, in putFloatToArray()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/ |
D | IntArrayTest.java | 32 int[] array = new int[] {0, 2, 3, 9}; in concatAndParseString() local
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/util/ |
D | ByteUtils.java | 56 public static long bytesToLong(byte[] array) { in bytesToLong() 71 public static String byteArrayToHexString(byte[] array) { in byteArrayToHexString()
|
/packages/apps/SecureElement/src/com/android/se/internal/ |
D | ByteArrayConverter.java | 82 public static String byteArrayToHexString(byte[] array, int offset, int length) { in byteArrayToHexString() 97 public static String byteArrayToHexString(byte[] array, int offset) { in byteArrayToHexString()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | SimpleMenuPreference.java | 62 private static void restoreOriginalOrder(CharSequence[] array, in restoreOriginalOrder() 69 private static void swapSelectedToFront(CharSequence[] array, int position) { in swapSelectedToFront() 75 private static void setSelectedPosition(CharSequence[] array, int lastSelectedOriginalPosition, in setSelectedPosition()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | CollectionUtils.java | 44 public static <E> ArrayList<E> arrayAsList(@Nonnull final E[] array, final int start, in arrayAsList()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | IntArray.java | 34 private IntArray(int[] array, int size) { in IntArray() 61 public static IntArray wrap(int... array) { in wrap() 254 int[] array = new int[tokenizer.countTokens()]; in fromConcatString() local
|
D | IntSet.java | 75 public static IntSet wrap(IntArray array) { in wrap()
|
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/ |
D | Utils.java | 43 int[] array = arrays[i]; in concatIntArrays() local
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | NetworkStackUtils.java | 247 public static <T> boolean isEmpty(T[] array) { in isEmpty() 265 int[] array = new int[list.size()]; in convertToIntArray() local 276 long[] array = new long[list.size()]; in convertToLongArray() local 287 public static <T> boolean any(SparseArray<T> array, Predicate<T> predicate) { in any()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | Hex.java | 58 public static String encodeHex(byte[] array, boolean zeroTerminated) { in encodeHex()
|
/packages/apps/Dialer/java/com/android/dialer/widget/ |
D | MaxHeightScrollView.java | 46 TypedArray array = in MaxHeightScrollView() local
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | DragListener.java | 66 ArrayAdapter array = (ArrayAdapter) mStatePanelTrack.getAdapter(); in onDrag() local
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | UserData.java | 159 private static String toHexString(byte[] array) { in toHexString() 163 private static String toHexString(byte[] array, int offset, int length, boolean upperCase) { in toHexString()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
D | AccountWithDataSet.java | 105 final String[] array = STRINGIFY_SEPARATOR_PAT.split(s, 3); in unstringify() local 138 final String[] array = ARRAY_STRINGIFY_SEPARATOR_PAT.split(s); in unstringifyList() local
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountWithDataSet.java | 214 final String[] array = STRINGIFY_SEPARATOR_PAT.split(s, 3); in unstringify() local 249 final String[] array = ARRAY_STRINGIFY_SEPARATOR_PAT.split(s); in unstringifyList() local
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | AspectRatioFrameLayout.java | 49 TypedArray array = in AspectRatioFrameLayout() local
|