Searched refs:Array (Results 1 - 25 of 44) sorted by relevance

12

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameValues.java19 import java.lang.reflect.Array;
35 return Array.getLength(super.getValue());
54 Object[] array = (Object[])Array.newInstance(value.getClass(), 1);
78 return Array.get(value, index);
128 Array.set(curValue, index, value);
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableArray.java24 import java.lang.reflect.Array;
62 int length = Array.getLength(value);
91 array = Array.newInstance(mComponentClass, arraySize);
94 Array.set(array, i, elem);
107 array = copyListToArray(arrayList, Array.newInstance(mComponentClass, arraySize));
126 int arrayLength = Array.getLength(value);
149 marshaler.marshal((TElem)Array.get(array, index), buffer);
160 Object elem = Array.get(array, index);
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/ext/
H A Dlist_ext.kt34 public fun Array<String>.joinToCamelCase(): String = when(size()) {
40 public fun Array<String>.joinToCamelCaseAsVar(): String = when(size()) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DFloatArrayToSizeFilter.java28 import java.lang.reflect.Array;
60 int size = Array.getLength(array);
H A DFloatArrayToStrFilter.java28 import java.lang.reflect.Array;
/frameworks/base/core/java/android/text/
H A DSpanSet.java19 import java.lang.reflect.Array;
52 spans = (E[]) Array.newInstance(classType, length);
H A DSpannableStringInternal.java24 import java.lang.reflect.Array;
246 ret = (Object[]) Array.newInstance(kind, spanCount - i + 1);
275 ret = (Object[]) Array.newInstance(kind, 1);
283 Object[] nret = (Object[]) Array.newInstance(kind, count);
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
H A DJavaTypeUtil.java21 import java.lang.reflect.Array;
79 if (Array.class.isAssignableFrom(klass)) {
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DTileList.java21 import java.lang.reflect.Array;
94 mItems = (T[]) Array.newInstance(klass, size);
H A DSortedList.java19 import java.lang.reflect.Array;
94 mData = (T[]) Array.newInstance(klass, initialCapacity);
146 * @param items Array of items to be added into the list.
158 T[] copy = (T[]) Array.newInstance(mTClass, items.length);
170 * @param items Array of items to be added into the list.
184 T[] copy = (T[]) Array.newInstance(mTClass, items.size());
280 mData = (T[]) Array.newInstance(mTClass, mergedCapacity);
649 T[] newData = (T[]) Array.newInstance(mTClass, mData.length + CAPACITY_GROWTH);
/frameworks/base/tools/layoutlib/bridge/src/dalvik/system/
H A DVMRuntime_Delegate.java37 return java.lang.reflect.Array.newInstance(componentType, size);
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java27 import java.lang.reflect.Array;
116 cache = Array.newInstance(kind, 0);
220 result = (T[])Array.newInstance(kind, end + 1);
224 result = (T[])Array.newInstance(kind, 1);
243 T[] result = (T[])Array.newInstance(kind, length - 1);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DByteArrayHelpers.java21 import java.lang.reflect.Array;
222 int byteLength = Array.getLength(array) * sizeOfT;
H A DCameraMetadataTest.java52 import java.lang.reflect.Array;
258 int len = Array.getLength(array);
261 Object elem = Array.get(array, i);
292 assertEquals("Array lengths must be equal",
293 Array.getLength(expected), Array.getLength(actual));
295 int len = Array.getLength(expected);
298 Object expectedElement = Array.get(expected, i);
299 Object actualElement = Array.get(actual, i);
317 int len = Array
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
H A DMergedBinding.java28 import java.lang.reflect.Array;
122 return result.toArray((T[]) Array.newInstance(klass, result.size()));
/frameworks/base/tools/aapt2/
H A DLinker.h108 void visit(Array& array, ValueVisitorArgs& args) override;
H A DResourceValues.cpp374 Array* Array::clone(StringPool* newPool) const {
375 Array* array = new Array();
382 void Array::print(std::ostream& out) const {
H A DResourceValues.h249 struct Array : public BaseValue<Array> { struct in namespace:aapt
252 Array* clone(StringPool* newPool) const override;
334 virtual void visit(Array& array, ValueVisitorArgs& args) {}
375 virtual void visit(const Array& array, ValueVisitorArgs& args) {}
H A DBinaryResourceParser.h86 std::unique_ptr<Array> parseArray(const ResourceNameRef& name,
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java32 import java.lang.reflect.Array;
174 final int N = Array.getLength(val);
180 prefix, j, String.valueOf(Array.get(val, j))));
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DTypeReference.java19 import java.lang.reflect.Array;
200 return Array.newInstance(componentType, 0).getClass();
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java91 throw new RSIllegalArgumentException("Object passed is not an Array of primitives.");
493 throw new RSIllegalArgumentException("Array size mismatch, allocation sizeX = " +
587 java.lang.reflect.Array.getLength(array));
645 java.lang.reflect.Array.getLength(array));
846 throw new RSIllegalArgumentException("Array too small for allocation type.");
850 throw new RSIllegalArgumentException("Array too small for allocation type.");
893 java.lang.reflect.Array.getLength(array));
957 java.lang.reflect.Array.getLength(array));
1059 throw new RSIllegalArgumentException("Array too small for allocation type.");
1065 throw new RSIllegalArgumentException("Array to
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java89 throw new RSIllegalArgumentException("Object passed is not an Array of primitives.");
537 throw new RSIllegalArgumentException("Array size mismatch, allocation sizeX = " +
641 java.lang.reflect.Array.getLength(array));
704 java.lang.reflect.Array.getLength(array));
896 throw new RSIllegalArgumentException("Array too small for allocation type.");
900 throw new RSIllegalArgumentException("Array too small for allocation type.");
948 java.lang.reflect.Array.getLength(array));
1012 java.lang.reflect.Array.getLength(array));
1118 throw new RSIllegalArgumentException("Array too small for allocation type.");
1124 throw new RSIllegalArgumentException("Array to
[all...]
/frameworks/compile/slang/BitWriter_2_9_func/
H A DBitcodeWriter.cpp204 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
212 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
219 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
227 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
611 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
638 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
783 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
790 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
796 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
802 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
[all...]
/frameworks/compile/slang/BitWriter_3_2/
H A DBitcodeWriter.cpp203 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
212 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
220 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
228 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
640 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
667 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
819 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
826 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
832 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
838 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
[all...]

Completed in 644 milliseconds

12