HomeSort by relevance Sort by last modified time
    Searched full:typereference (Results 1 - 25 of 386) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
CameraUtilsTypeReferenceTest.java 19 import static android.hardware.camera2.utils.TypeReference.*;
21 import android.hardware.camera2.utils.TypeReference;
100 private static <T> TypeReference<T> createTypeRefWithTypeVar() {
101 return new TypeReference<T>() {{ }};
106 TypeReference<Integer> typeRefInt = new TypeReference<Integer>() {{ }};
107 TypeReference<Integer> typeRefInt2 = new TypeReference<Integer>() {{ }};
113 TypeReference<Float> typeRefFloat = new TypeReference<Float>() {{ }}
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/
ImmutableTypeReference.java 36 import org.jf.dexlib2.iface.reference.TypeReference;
51 public static ImmutableTypeReference of(@Nonnull TypeReference typeReference) {
52 if (typeReference instanceof ImmutableTypeReference) {
53 return (ImmutableTypeReference)typeReference;
55 return new ImmutableTypeReference(typeReference.getType());
61 public static ImmutableList<ImmutableTypeReference> immutableListOf(@Nullable List<? extends TypeReference> list) {
65 private static final ImmutableConverter<ImmutableTypeReference, TypeReference> CONVERTER =
66 new ImmutableConverter<ImmutableTypeReference, TypeReference>() {
68 protected boolean isImmutable(@Nonnull TypeReference item)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/reference/
TypeReference.java 40 * When possible, elsewhere in the interface, a type is referenced directly as a String. A TypeReference is only used
47 * calling toString() on a TypeReference yields the type descriptor as a String. This is the same value returned by
50 public interface TypeReference extends Reference, CharSequence, Comparable<CharSequence> {
61 * Returns a hashcode for this TypeReference.
65 * @return The hash code value for this TypeReference
70 * Compares this TypeReference to another TypeReference, or more generally to another CharSequence for equality.
72 * This TypeReference is equal to a CharSequence iff this.getType().equals(other.toString()).
74 * Equivalently, This TypeReference is equal to another TypeReference iff this.getType().equals(other.getType())
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/marshal/impl/
MarshalQueryablePair.java 21 import android.hardware.camera2.utils.TypeReference;
45 protected MarshalerPair(TypeReference<Pair<T1, T2>> typeReference,
47 super(MarshalQueryablePair.this, typeReference, nativeType);
49 mClass = typeReference.getRawType();
57 paramType = (ParameterizedType) typeReference.getType();
66 TypeReference<?> actualTypeArgToken =
67 TypeReference.createSpecializedTypeReference(actualTypeArgument);
76 TypeReference<?> actualTypeArgToken =
77 TypeReference.createSpecializedTypeReference(actualTypeArgument)
    [all...]
MarshalQueryableBoolean.java 23 import android.hardware.camera2.utils.TypeReference;
33 protected MarshalerBoolean(TypeReference<Boolean> typeReference, int nativeType) {
34 super(MarshalQueryableBoolean.this, typeReference, nativeType);
55 public Marshaler<Boolean> createMarshaler(TypeReference<Boolean> managedType,
61 public boolean isTypeMappingSupported(TypeReference<Boolean> managedType, int nativeType) {
MarshalQueryableNativeByteToInteger.java 23 import android.hardware.camera2.utils.TypeReference;
35 protected MarshalerNativeByteToInteger(TypeReference<Integer> typeReference,
37 super(MarshalQueryableNativeByteToInteger.this, typeReference, nativeType);
58 public Marshaler<Integer> createMarshaler(TypeReference<Integer> managedType,
64 public boolean isTypeMappingSupported(TypeReference<Integer> managedType, int nativeType) {
MarshalQueryableSize.java 21 import android.hardware.camera2.utils.TypeReference;
35 protected MarshalerSize(TypeReference<Size> typeReference, int nativeType) {
36 super(MarshalQueryableSize.this, typeReference, nativeType);
60 public Marshaler<Size> createMarshaler(TypeReference<Size> managedType, int nativeType) {
65 public boolean isTypeMappingSupported(TypeReference<Size> managedType, int nativeType) {
MarshalQueryableSizeF.java 20 import android.hardware.camera2.utils.TypeReference;
37 protected MarshalerSizeF(TypeReference<SizeF> typeReference, int nativeType) {
38 super(MarshalQueryableSizeF.this, typeReference, nativeType);
63 TypeReference<SizeF> managedType, int nativeType) {
68 public boolean isTypeMappingSupported(TypeReference<SizeF> managedType, int nativeType) {
MarshalQueryableRange.java 21 import android.hardware.camera2.utils.TypeReference;
44 protected MarshalerRange(TypeReference<Range<T>> typeReference,
46 super(MarshalQueryableRange.this, typeReference, nativeType);
48 mClass = typeReference.getRawType();
56 paramType = (ParameterizedType) typeReference.getType();
62 TypeReference<?> actualTypeArgToken =
63 TypeReference.createSpecializedTypeReference(actualTypeArgument);
126 public Marshaler<Range<T>> createMarshaler(TypeReference<Range<T>> managedType,
132 public boolean isTypeMappingSupported(TypeReference<Range<T>> managedType, int nativeType)
    [all...]
MarshalQueryableBlackLevelPattern.java 21 import android.hardware.camera2.utils.TypeReference;
35 protected MarshalerBlackLevelPattern(TypeReference<BlackLevelPattern> typeReference,
37 super(MarshalQueryableBlackLevelPattern.this, typeReference, nativeType);
66 TypeReference<BlackLevelPattern> managedType, int nativeType) {
72 TypeReference<BlackLevelPattern> managedType, int nativeType) {
MarshalQueryableColorSpaceTransform.java 21 import android.hardware.camera2.utils.TypeReference;
39 protected MarshalerColorSpaceTransform(TypeReference<ColorSpaceTransform> typeReference,
41 super(MarshalQueryableColorSpaceTransform.this, typeReference, nativeType);
73 TypeReference<ColorSpaceTransform> managedType, int nativeType) {
79 TypeReference<ColorSpaceTransform> managedType, int nativeType) {
MarshalQueryableHighSpeedVideoConfiguration.java 21 import android.hardware.camera2.utils.TypeReference;
41 TypeReference<HighSpeedVideoConfiguration> typeReference,
43 super(MarshalQueryableHighSpeedVideoConfiguration.this, typeReference, nativeType);
75 TypeReference<HighSpeedVideoConfiguration> managedType, int nativeType) {
80 public boolean isTypeMappingSupported(TypeReference<HighSpeedVideoConfiguration> managedType,
MarshalQueryableMeteringRectangle.java 21 import android.hardware.camera2.utils.TypeReference;
36 protected MarshalerMeteringRectangle(TypeReference<MeteringRectangle> typeReference,
38 super(MarshalQueryableMeteringRectangle.this, typeReference, nativeType);
78 TypeReference<MeteringRectangle> managedType, int nativeType) {
84 TypeReference<MeteringRectangle> managedType, int nativeType) {
MarshalQueryableRect.java 21 import android.hardware.camera2.utils.TypeReference;
35 protected MarshalerRect(TypeReference<Rect> typeReference,
37 super(MarshalQueryableRect.this, typeReference, nativeType);
68 public Marshaler<Rect> createMarshaler(TypeReference<Rect> managedType, int nativeType) {
73 public boolean isTypeMappingSupported(TypeReference<Rect> managedType, int nativeType) {
MarshalQueryableRggbChannelVector.java 21 import android.hardware.camera2.utils.TypeReference;
35 protected MarshalerRggbChannelVector(TypeReference<RggbChannelVector> typeReference,
37 super(MarshalQueryableRggbChannelVector.this, typeReference, nativeType);
65 TypeReference<RggbChannelVector> managedType, int nativeType) {
71 TypeReference<RggbChannelVector> managedType, int nativeType) {
MarshalQueryableStreamConfiguration.java 21 import android.hardware.camera2.utils.TypeReference;
39 protected MarshalerStreamConfiguration(TypeReference<StreamConfiguration> typeReference,
41 super(MarshalQueryableStreamConfiguration.this, typeReference, nativeType);
71 TypeReference<StreamConfiguration> managedType, int nativeType) {
76 public boolean isTypeMappingSupported(TypeReference<StreamConfiguration> managedType,
MarshalQueryableStreamConfigurationDuration.java 21 import android.hardware.camera2.utils.TypeReference;
49 TypeReference<StreamConfigurationDuration> typeReference, int nativeType) {
50 super(MarshalQueryableStreamConfigurationDuration.this, typeReference, nativeType);
79 TypeReference<StreamConfigurationDuration> managedType, int nativeType) {
84 public boolean isTypeMappingSupported(TypeReference<StreamConfigurationDuration> managedType,
MarshalQueryableReprocessFormatsMap.java 22 import android.hardware.camera2.utils.TypeReference;
39 TypeReference<ReprocessFormatsMap> typeReference, int nativeType) {
40 super(MarshalQueryableReprocessFormatsMap.this, typeReference, nativeType);
122 TypeReference<ReprocessFormatsMap> managedType, int nativeType) {
127 public boolean isTypeMappingSupported(TypeReference<ReprocessFormatsMap> managedType,
MarshalQueryableString.java 20 import android.hardware.camera2.utils.TypeReference;
41 protected MarshalerString(TypeReference<String> typeReference, int nativeType) {
42 super(MarshalQueryableString.this, typeReference, nativeType);
102 TypeReference<String> managedType, int nativeType) {
107 public boolean isTypeMappingSupported(TypeReference<String> managedType, int nativeType) {
MarshalQueryableArray.java 21 import android.hardware.camera2.utils.TypeReference;
50 protected MarshalerArray(TypeReference<T> typeReference, int nativeType) {
51 super(MarshalQueryableArray.this, typeReference, nativeType);
53 mClass = (Class<T>)typeReference.getRawType();
55 TypeReference<?> componentToken = typeReference.getComponentType();
167 public Marshaler<T> createMarshaler(TypeReference<T> managedType, int nativeType) {
172 public boolean isTypeMappingSupported(TypeReference<T> managedType, int nativeType) {
  /frameworks/base/core/java/android/hardware/camera2/marshal/
MarshalRegistry.java 19 import android.hardware.camera2.utils.TypeReference;
58 public static <T> Marshaler<T> getMarshaler(TypeReference<T> typeToken, int nativeType) {
106 public MarshalToken(TypeReference<T> typeReference, int nativeType) {
107 this.typeReference = typeReference;
109 this.hash = typeReference.hashCode() ^ nativeType;
112 final TypeReference<T> typeReference;
120 return typeReference.equals(otherToken.typeReference) &
    [all...]
Marshaler.java 18 import android.hardware.camera2.utils.TypeReference;
36 protected final TypeReference<T> mTypeReference;
46 * @param typeReference the managed type reference
56 MarshalQueryable<T> query, TypeReference<T> typeReference, int nativeType) {
57 mTypeReference = checkNotNull(typeReference, "typeReference must not be null");
60 if (!query.isTypeMappingSupported(typeReference, nativeType)) {
63 + typeReference + " and native type "
140 public TypeReference<T> getTypeReference()
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
BuilderEncodedValues.java 49 @Nonnull final BuilderTypeReference typeReference;
52 BuilderAnnotationEncodedValue(@Nonnull BuilderTypeReference typeReference,
54 this.typeReference = typeReference;
59 return typeReference.getType();
232 @Nonnull final BuilderTypeReference typeReference;
234 BuilderTypeEncodedValue(@Nonnull BuilderTypeReference typeReference) {
235 this.typeReference = typeReference;
239 return typeReference.getType()
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
DebugItemRewriter.java 37 import org.jf.dexlib2.iface.reference.TypeReference;
103 @Override @Nullable public TypeReference getTypeReference() {
104 TypeReference typeReference = debugItem.getTypeReference();
105 if (typeReference == null) {
109 return RewriterUtils.rewriteTypeReference(rewriters.getTypeRewriter(), typeReference);
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/reference/
BaseTypeReference.java 34 import org.jf.dexlib2.iface.reference.TypeReference;
38 public abstract class BaseTypeReference implements TypeReference {
47 if (o instanceof TypeReference) {
48 return getType().equals(((TypeReference)o).getType());

Completed in 354 milliseconds

1 2 3 4 5 6 7 8 91011>>