Searched refs:array (Results 1 - 25 of 190) sorted by path

12345678

/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
/frameworks/av/media/libeffects/testlibs/
H A DEffectEqualizer.cpp18 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dlagconceal.cpp101 void insertion_sort(int16 array[], int16 n);
102 void insert(int16 array[], int16 num, int16 x);
333 void insertion_sort(int16 array[], int16 n) argument
339 insert(array, i, array[i]);
347 void insert(int16 array[], int16 n, int16 x) argument
354 if (x < array[i])
356 array[i + 1] = array[i];
363 array[
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_util.h95 /* macro for range checking an array, used only if compiler flag _RANGE_CHECK
98 #define RANGE_CHECK_ARRAY(array, minBound, maxBound, length) \
102 if ((array)[i] < (minBound) || (array)[i] > (maxBound)) \
106 #define RANGE_CHECK_ARRAY(array, minBound, maxBound, length)
/frameworks/av/services/camera/libcameraservice/camera2/
H A DCameraMetadata.h121 return update(tag, data.array(), data.size());
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java627 final ParcelableSparseArray array = new ParcelableSparseArray();
628 final ClassLoader loader = array.getClass().getClassLoader();
631 array.put(source.readInt(), source.readParcelable(loader));
633 return array;
/frameworks/base/core/java/android/content/
H A DClipDescription.java69 * @param mimeTypes An array of MIME types this data is available as.
141 * @return Returns an array of all matching MIME types. If there are no
145 ArrayList<String> array = null;
148 if (array == null) {
149 array = new ArrayList<String>();
151 array.add(mMimeTypes[i]);
154 if (array == null) {
157 String[] rawArray = new String[array.size()];
158 array.toArray(rawArray);
/frameworks/base/core/java/android/content/res/
H A DResources.java416 * Return the styled text array associated with a particular resource ID.
424 * @return The styled text array associated with the resource.
431 throw new NotFoundException("Text array resource ID #0x"
436 * Return the string array associated with a particular resource ID.
444 * @return The string array associated with the resource.
451 throw new NotFoundException("String array resource ID #0x"
456 * Return the int array associated with a particular resource ID.
464 * @return The int array associated with the resource.
471 throw new NotFoundException("Int array resource ID #0x"
476 * Return an array o
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java70 * as a 1D array. The float at index i represents the grayscale
87 * as a 1D array. The float at index i represents the grayscale
353 float[][] array = new float[2][2];
354 array[0][0] = 0;
355 array[0][1] = 0;
356 array[1][0] = 0;
357 array[1][1] = 0;
363 array[0][0] += x * x;
364 array[0][1] += x * y;
365 array[
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java1027 * @param data a byte array of the picture data
1139 * <p>This does not affect the order of byte array passed in {@link
1951 // Indices for focus distance array.
1953 * The array index of near focus distance for use with
1959 * The array index of optimal focus distance for use with
1965 * The array index of far focus distance for use with
1971 * The array index of minimum preview fps for use with {@link
1978 * The array index of maximum preview fps for use with {@link
2368 "range must be an array with two elements.");
2383 * list with at least one element. Every element is an int array
[all...]
H A DSerialPort.java94 return native_read_array(buffer.array(), buffer.remaining());
96 throw new IllegalArgumentException("buffer is not direct and has no array");
110 native_write_array(buffer.array(), length);
112 throw new IllegalArgumentException("buffer is not direct and has no array");
/frameworks/base/core/java/android/hardware/usb/
H A DUsbRequest.java141 result = native_queue_array(buffer.array(), length, out);
143 throw new IllegalArgumentException("buffer is not direct and has no array");
159 bytesRead = native_dequeue_array(mBuffer.array(), mLength, out);
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java618 private static long getLong(long[] array, int i, long value) { argument
619 return array != null ? array[i] : value;
622 private static void setLong(long[] array, int i, long value) { argument
623 if (array != null) array[i] = value;
626 private static void addLong(long[] array, int i, long value) { argument
627 if (array != null) array[i] += value;
H A DNetworkTemplate.java62 com.android.internal.R.array.config_data_usage_network_types);
H A DNetworkUtils.java183 byte[] array = address.getAddress();
185 if (prefixLength < 0 || prefixLength > array.length * 8) {
193 if (offset < array.length) array[offset] = (byte)(array[offset] & mask);
197 for (; offset < array.length; offset++) {
198 array[offset] = 0;
203 netPart = InetAddress.getByAddress(array);
241 * Create a string array of host addresses from a collection of InetAddresses
243 * @return an array o
[all...]
/frameworks/base/core/java/android/net/arp/
H A DArpPeer.java103 mSocket.write(L2_BROADCAST, buf.array(), 0, buf.limit());
/frameworks/base/core/java/android/nfc/
H A DNdefMessage.java88 * It is safe to re-use the data byte array after construction:
149 * (no need to check for null or array length >= 1):
154 * @return array of one or more NDEF records.
161 * Return the length of this NDEF Message if it is written to a byte array
166 * byte array used to construct this NDEF Message. However it will
167 * always be equal to the length of the byte array produced by
184 * and the byte array is suitable for network transmission or storage
202 return buffer.array();
H A DNdefRecord.java399 * mimeData byte array, so take care not
400 * to modify the mimeData byte array while still using the returned
445 * data byte array, so take care not
446 * to modify the data byte array while still using the returned
506 * empty byte array or null.
509 * @param type byte array, containing zero to 255 bytes, or null
510 * @param id byte array, containing zero to 255 bytes, or null
511 * @param payload byte array, containing zero to (2 ** 32 - 1) bytes,
577 * Returns an empty byte array if this record
587 * Returns an empty byte array i
[all...]
/frameworks/base/core/java/android/nfc/tech/
H A DMifareClassic.java482 transceive(cmd.array(), false);
510 transceive(cmd.array(), false);
/frameworks/base/core/java/android/os/
H A DBundle.java344 Parcelable[] array = (Parcelable[]) obj;
345 for (int n = array.length - 1; n >= 0; n--) {
346 if ((array[n].describeContents()
353 SparseArray<? extends Parcelable> array =
355 for (int n = array.size() - 1; n >= 0; n--) {
356 if ((array.get(n).describeContents()
363 ArrayList array = (ArrayList) obj;
366 if ((array.size() > 0)
367 && (array.get(0) instanceof Parcelable)) {
368 for (int n = array
[all...]
H A DLatencyTimer.java65 long[] array = getArray(tag);
67 // array[mSampleSize] holds the number of used entries
68 final int index = (int) array[mSampleSize]++;
69 array[index] = delta;
70 if (array[mSampleSize] == mSampleSize) {
72 for (long d : array) {
75 array[mSampleSize] = 0;
H A DParcel.java75 * read the data into an existing array, or create and return a new array.
452 * Write a byte array into the parcel at the current {@link #dataPosition},
461 * Write a byte array into the parcel at the current {@link #dataPosition},
628 * Flatten an Object array into the parcel at the current dataPosition(),
629 * growing dataCapacity() if needed. The array values are written using
717 throw new RuntimeException("bad array lengths");
753 throw new RuntimeException("bad array lengths");
789 throw new RuntimeException("bad array lengths");
826 throw new RuntimeException("bad array length
[all...]
H A DServiceManagerNative.java179 String[] array = new String[services.size()];
180 services.toArray(array);
181 return array;
/frameworks/base/core/java/android/provider/
H A DContacts.java967 com.android.internal.R.array.phoneTypes);
1404 com.android.internal.R.array.emailAddressTypes);
1421 com.android.internal.R.array.postalAddressTypes);
1768 com.android.internal.R.array.organizationTypes);

Completed in 522 milliseconds

12345678