Home
last modified time | relevance | path

Searched refs:Array (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableArray.java24 import java.lang.reflect.Array;
62 int length = Array.getLength(value); in marshal()
91 array = Array.newInstance(mComponentClass, arraySize); in unmarshal()
94 Array.set(array, i, elem); in unmarshal()
107 array = copyListToArray(arrayList, Array.newInstance(mComponentClass, arraySize)); in unmarshal()
126 int arrayLength = Array.getLength(value); in calculateMarshalSize()
149 marshaler.marshal((TElem)Array.get(array, index), buffer); in marshalArrayElement()
160 Object elem = Array.get(array, index); in calculateElementMarshalSize()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameValues.java19 import java.lang.reflect.Array;
35 return Array.getLength(super.getValue()); in getCount()
54 Object[] array = (Object[])Array.newInstance(value.getClass(), 1); in getValues()
78 return Array.get(value, index); in getValueAtIndex()
128 Array.set(curValue, index, value); in setValueAtIndex()
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect126 throw new RSIllegalArgumentException("Array \"in1\" is null!");
133 throw new RSIllegalArgumentException("Array \"in2\" is null!");
137 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
190 throw new RSIllegalArgumentException("Array \"in1\" is null!");
197 throw new RSIllegalArgumentException("Array \"in2\" is null!");
201 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
254 throw new RSIllegalArgumentException("Array \"in1\" is null!");
261 throw new RSIllegalArgumentException("Array \"in2\" is null!");
265 throw new RSIllegalArgumentException("Array \"in2\" is not a multiple of 2 in length!");
269 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptC_reduce_general_input.java.expect153 throw new RSIllegalArgumentException("Array \"in1\" is null!");
186 throw new RSIllegalArgumentException("Array \"in1\" is null!");
219 throw new RSIllegalArgumentException("Array \"in1\" is null!");
252 throw new RSIllegalArgumentException("Array \"in1\" is null!");
285 throw new RSIllegalArgumentException("Array \"in1\" is null!");
318 throw new RSIllegalArgumentException("Array \"in1\" is null!");
351 throw new RSIllegalArgumentException("Array \"in1\" is null!");
384 throw new RSIllegalArgumentException("Array \"in1\" is null!");
417 throw new RSIllegalArgumentException("Array \"in1\" is null!");
450 throw new RSIllegalArgumentException("Array \"in1\" is null!");
[all …]
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
DScriptC_reduce_general_accumulator.java.expect85 throw new RSIllegalArgumentException("Array \"in1\" is null!");
118 throw new RSIllegalArgumentException("Array \"in1\" is null!");
151 throw new RSIllegalArgumentException("Array \"in1\" is null!");
184 throw new RSIllegalArgumentException("Array \"in1\" is null!");
217 throw new RSIllegalArgumentException("Array \"in1\" is null!");
250 throw new RSIllegalArgumentException("Array \"in1\" is null!");
283 throw new RSIllegalArgumentException("Array \"in1\" is null!");
316 throw new RSIllegalArgumentException("Array \"in1\" is null!");
349 throw new RSIllegalArgumentException("Array \"in1\" is null!");
382 throw new RSIllegalArgumentException("Array \"in1\" is null!");
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect2720 throw new RSIllegalArgumentException("Array \"in1\" is null!");
2753 throw new RSIllegalArgumentException("Array \"in1\" is null!");
2757 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!");
2790 throw new RSIllegalArgumentException("Array \"in1\" is null!");
2794 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!");
2827 throw new RSIllegalArgumentException("Array \"in1\" is null!");
2860 throw new RSIllegalArgumentException("Array \"in1\" is null!");
2864 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!");
2897 throw new RSIllegalArgumentException("Array \"in1\" is null!");
2901 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!");
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java52 import java.lang.reflect.Array;
258 int len = Array.getLength(array); in formatArray()
261 Object elem = Array.get(array, i); in formatArray()
293 Array.getLength(expected), Array.getLength(actual)); in assertArrayEquals()
295 int len = Array.getLength(expected); in assertArrayEquals()
298 Object expectedElement = Array.get(expected, i); in assertArrayEquals()
299 Object actualElement = Array.get(actual, i); in assertArrayEquals()
317 int len = Array.getLength(array); in assertArrayContains()
320 Object actualElement = Array.get(array, i); in assertArrayContains()
1405 int readValuesLength = Array.getLength(expectedReadValues); in validateArrayMetadataReadWriteOverride()
[all …]
DByteArrayHelpers.java21 import java.lang.reflect.Array;
222 int byteLength = Array.getLength(array) * sizeOfT; in toByteArray()
/frameworks/base/tools/aapt2/
DValueVisitor.h43 virtual void visit(Array* value) {} in visit()
79 void visitSubValues(Array* array) { in visitSubValues()
101 DECL_VISIT_COMPOUND_VALUE(Array);
DResourceValues.cpp574 bool Array::equals(const Value* value) const { in equals()
575 const Array* other = valueCast<Array>(value); in equals()
586 Array* Array::clone(StringPool* newPool) const { in clone()
587 Array* array = new Array(); in clone()
596 void Array::print(std::ostream* out) const { in print()
DResourceValues.h305 struct Array : public BaseValue<Array> { struct
309 Array* clone(StringPool* newPool) const override; argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DFloatArrayToSizeFilter.java28 import java.lang.reflect.Array;
60 int size = Array.getLength(array); in onProcess()
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
DGrowingArrayUtils.java19 import java.lang.reflect.Array;
44 T[] newArray = (T[]) Array.newInstance(array.getClass().getComponentType(), in append()
118 T[] newArray = (T[]) Array.newInstance(array.getClass().getComponentType(), in insert()
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DSortedList.java19 import java.lang.reflect.Array;
94 mData = (T[]) Array.newInstance(klass, initialCapacity); in SortedList()
158 T[] copy = (T[]) Array.newInstance(mTClass, items.length); in addAll()
184 T[] copy = (T[]) Array.newInstance(mTClass, items.size()); in addAll()
280 mData = (T[]) Array.newInstance(mTClass, mergedCapacity); in merge()
649 T[] newData = (T[]) Array.newInstance(mTClass, mData.length + CAPACITY_GROWTH); in addToData()
DTileList.java21 import java.lang.reflect.Array;
94 mItems = (T[]) Array.newInstance(klass, size); in Tile()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
DJavaTypeUtil.java21 import java.lang.reflect.Array;
79 if (Array.class.isAssignableFrom(klass)) { in getDescription()
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect206 throw new RSIllegalArgumentException("Array \"in1\" is null!");
239 throw new RSIllegalArgumentException("Array \"in1\" is null!");
273 throw new RSIllegalArgumentException("Array \"in1\" is null!");
280 throw new RSIllegalArgumentException("Array \"in2\" is null!");
284 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
336 throw new RSIllegalArgumentException("Array \"in1\" is null!");
369 throw new RSIllegalArgumentException("Array \"in1\" is null!");
402 throw new RSIllegalArgumentException("Array \"in1\" is null!");
435 throw new RSIllegalArgumentException("Array \"in1\" is null!");
468 throw new RSIllegalArgumentException("Array \"in1\" is null!");
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect206 throw new RSIllegalArgumentException("Array \"in1\" is null!");
239 throw new RSIllegalArgumentException("Array \"in1\" is null!");
273 throw new RSIllegalArgumentException("Array \"in1\" is null!");
280 throw new RSIllegalArgumentException("Array \"in2\" is null!");
284 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
336 throw new RSIllegalArgumentException("Array \"in1\" is null!");
369 throw new RSIllegalArgumentException("Array \"in1\" is null!");
402 throw new RSIllegalArgumentException("Array \"in1\" is null!");
435 throw new RSIllegalArgumentException("Array \"in1\" is null!");
468 throw new RSIllegalArgumentException("Array \"in1\" is null!");
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect168 throw new RSIllegalArgumentException("Array \"in1\" is null!");
201 throw new RSIllegalArgumentException("Array \"in1\" is null!");
234 throw new RSIllegalArgumentException("Array \"in1\" is null!");
268 throw new RSIllegalArgumentException("Array \"in1\" is null!");
275 throw new RSIllegalArgumentException("Array \"in2\" is null!");
279 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
331 throw new RSIllegalArgumentException("Array \"in1\" is null!");
/frameworks/base/core/java/android/text/
DSpanSet.java19 import java.lang.reflect.Array;
52 spans = (E[]) Array.newInstance(classType, length); in init()
DSpannableStringInternal.java24 import java.lang.reflect.Array;
322 ret = (Object[]) Array.newInstance(kind, spanCount - i + 1); in getSpans()
351 ret = (Object[]) Array.newInstance(kind, 1); in getSpans()
359 Object[] nret = (Object[]) Array.newInstance(kind, count); in getSpans()
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java27 import java.lang.reflect.Array;
120 cache = Array.newInstance(kind, 0); in emptyArray()
268 result = (T[])Array.newInstance(kind, end + 1); in appendElement()
272 result = (T[])Array.newInstance(kind, 1); in appendElement()
291 T[] result = (T[])Array.newInstance(kind, length - 1); in removeElement()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DMergedBinding.java27 import java.lang.reflect.Array;
122 return result.toArray((T[]) Array.newInstance(klass, result.size())); in concat()
/frameworks/base/core/java/android/hardware/camera2/utils/
DTypeReference.java19 import java.lang.reflect.Array;
200 return Array.newInstance(componentType, 0).getClass(); in getArrayClass()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DAllocation.java707 java.lang.reflect.Array.getLength(array)); in copyFromUnchecked()
835 java.lang.reflect.Array.getLength(array)); in copyFrom()
1157 java.lang.reflect.Array.getLength(array)); in copy1DRangeFromUnchecked()
1292 java.lang.reflect.Array.getLength(array)); in copy1DRangeFrom()
1497 java.lang.reflect.Array.getLength(array)); in copy2DRangeFrom()
1756 java.lang.reflect.Array.getLength(array)); in copy3DRangeFrom()
1840 java.lang.reflect.Array.getLength(array)); in copyTo()
2031 java.lang.reflect.Array.getLength(array)); in copy1DRangeToUnchecked()
2166 java.lang.reflect.Array.getLength(array)); in copy1DRangeTo()
2338 java.lang.reflect.Array.getLength(array)); in copy2DRangeTo()

1234