Home
last modified time | relevance | path

Searched defs:array (Results 1 – 25 of 104) sorted by relevance

12345

/packages/services/Car/service/src/com/android/car/
DSparseArrayStream.java27 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()
DCarServiceUtils.java158 final float[] array = new float[size]; in toFloatArray() local
167 final int[] array = new int[size]; in toIntArray() local
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/utils/
DArrayUtils.java35 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/
DResourceUtilsTests.java51 final String[] array = { in testFindConstantForKeyValuePairsSimple() local
85 final String[] array = { in testFindConstantForKeyValuePairsCombined() local
130 final String[] array = { in testFindConstantForKeyValuePairsRegexp() local
DCollectionUtilsTests.java51 final String[] array = { "0", "1" }; in testArrayAsListFailure() local
83 final String[] array = { "0", "1", "2", "3", "4" }; in testArrayAsList() local
/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java331 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/
DResizableIntArrayTests.java42 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/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DUtils.java32 SparseArrayEntry(SparseArray<U> array, int index) { in SparseArrayEntry()
41 SparseArrayIterator(SparseArray<T> array) { in SparseArrayIterator()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.h34 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/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/util/
DByteUtils.java56 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/
DByteArrayConverter.java82 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/
DSimpleMenuPreference.java62 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/providers/MediaProvider/src/com/android/providers/media/util/
DLongArray.java32 private LongArray(long[] array, int size) { in LongArray()
59 public static LongArray wrap(long[] array) { in wrap()
66 public static LongArray fromArray(long[] array, int size) { in fromArray()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DIntArray.java34 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
DIntSet.java75 public static IntSet wrap(IntArray array) { in wrap()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/
DIntArrayTest.java32 int[] array = new int[] {0, 2, 3, 9}; in concatAndParseString() local
/packages/modules/NetworkStack/src/android/net/util/
DNetworkStackUtils.java245 public static <T> boolean isEmpty(T[] array) { in isEmpty()
263 int[] array = new int[list.size()]; in convertToIntArray() local
274 long[] array = new long[list.size()]; in convertToLongArray() local
285 public static <T> boolean any(SparseArray<T> array, Predicate<T> predicate) { in any()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DCollectionUtils.java44 public static <E> ArrayList<E> arrayAsList(@Nonnull final E[] array, final int start, in arrayAsList()
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DUtils.java43 int[] array = arrays[i]; in concatIntArrays() local
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DAccountWithDataSet.java105 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/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DUserData.java159 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/Contacts/src/com/android/contacts/model/account/
DAccountWithDataSet.java214 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/providers/ContactsProvider/src/com/android/providers/contacts/util/
DHex.java58 public static String encodeHex(byte[] array, boolean zeroTerminated) { in encodeHex()
/packages/apps/Dialer/java/com/android/dialer/widget/
DMaxHeightScrollView.java46 TypedArray array = in MaxHeightScrollView() local
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DDragListener.java66 ArrayAdapter array = (ArrayAdapter) mStatePanelTrack.getAdapter(); in onDrag() local

12345