Home
last modified time | relevance | path

Searched refs:getComponentType (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraUtilsTypeReferenceTest.java197 assertNull(intToken.getComponentType()); in testComponentType()
200 assertNull(listToken.getComponentType()); in testComponentType()
204 assertNull(listListToken.getComponentType()); in testComponentType()
208 assertTypeReferenceEquals(intArrayToken.getComponentType(), int.class); in testComponentType()
211 assertTypeReferenceEquals(integerArrayToken.getComponentType(), Integer.class); in testComponentType()
213 assertEquals(new IntArrayToken1().getComponentType(), in testComponentType()
214 new IntArrayToken2().getComponentType()); in testComponentType()
216 assertEquals(new IntListArrayToken1().getComponentType(), in testComponentType()
217 new IntListArrayToken2().getComponentType()); in testComponentType()
221 assertEquals(listToken, listArrayToken.getComponentType()); in testComponentType()
DByteArrayHelpers.java119 Class<?> componentClass = klass.getComponentType(); in toByteArray()
/frameworks/base/core/java/android/hardware/camera2/utils/
DTypeReference.java208 public TypeReference<?> getComponentType() { in getComponentType() method in TypeReference
209 Type componentType = getComponentType(mType); in getComponentType()
216 private static Type getComponentType(Type type) { in getComponentType() method in TypeReference
220 return ((Class<?>) type).getComponentType(); in getComponentType()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
DJavaClass.java39 Class component = aClass.getComponentType(); in toJavaCode()
52 public ModelClass getComponentType() { in getComponentType() method in JavaClass
54 return new JavaClass(mClass.getComponentType()); in getComponentType()
DJavaTypeUtil.java80 return ARRAY + getDescription(klass.getComponentType()); in getDescription()
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
DGrowingArrayUtils.java44 T[] newArray = (T[]) Array.newInstance(array.getClass().getComponentType(), in append()
118 T[] newArray = (T[]) Array.newInstance(array.getClass().getComponentType(), in insert()
/frameworks/base/core/java/com/android/internal/util/
DGrowingArrayUtils.java46 (Class<T>) array.getClass().getComponentType(), growSize(currentSize)); in append()
135 T[] newArray = ArrayUtils.newUnpaddedArray((Class<T>)array.getClass().getComponentType(), in insert()
DArrayUtils.java119 if (cache == null || cache.getClass().getComponentType() != kind) { in emptyArray()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationTypeUtil.java78 final String componentType = getDescription(arrayType.getComponentType()); in getDescription()
DAnnotationClass.java70 public AnnotationClass getComponentType() { in getComponentType() method in AnnotationClass
73 component = ((ArrayType) mTypeMirror).getComponentType(); in getComponentType()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DBracketExpr.java53 return targetType.getComponentType(); in resolveType()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DModelMethod.java107 return parameterTypes[parameterTypes.length - 1].getComponentType(); in getParameter()
DModelClass.java45 public abstract ModelClass getComponentType(); in getComponentType() method in ModelClass
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableArray.java55 TypeReference<?> componentToken = typeReference.getComponentType(); in MarshalerArray()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java198 theClass = theClass.getComponentType(); in getMethodName()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutLibTestCallback.java83 if (type.isArray() && type.getComponentType() == int.class) { in initResources()
/frameworks/support/compat/java/android/support/v4/util/
DMapCollections.java498 = (T[]) Array.newInstance(array.getClass().getComponentType(), N); in toArrayHelper()
/frameworks/base/core/java/android/util/
DMapCollections.java499 = (T[]) Array.newInstance(array.getClass().getComponentType(), N); in toArrayHelper()
DArraySet.java567 = (T[]) Array.newInstance(array.getClass().getComponentType(), mSize); in toArray()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java335 original.getClass().getComponentType(), original.length + extraElements.length); in expandFieldArray()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java280 return hasTypeVar(((ArrayType) typeMirror).getComponentType()); in hasTypeVar()
302 return hasTypeVar(type.getComponentType()); in hasTypeVar()
348 return getQualifiedName(((ArrayType) type).getComponentType()) + "[]"; in getQualifiedName()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java323 (type.isArray() && type.getComponentType() == int.class); in isValidRField()
/frameworks/base/core/java/android/widget/
DGridLayout.java621 T[] result = (T[]) Array.newInstance(a.getClass().getComponentType(), a.length + b.length); in append()
2338 Class<?> componentType = a.getClass().getComponentType();
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java608 T[] result = (T[]) Array.newInstance(a.getClass().getComponentType(), a.length + b.length); in append()
2231 Class<?> componentType = a.getClass().getComponentType();
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DAllocation.java89 final Class cmp = c.getComponentType(); in validateObjectIsPrimitiveArray()

12