/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableBoolean.java | 55 public Marshaler<Boolean> createMarshaler(TypeReference<Boolean> managedType, in createMarshaler() argument 57 return new MarshalerBoolean(managedType, nativeType); in createMarshaler() 61 public boolean isTypeMappingSupported(TypeReference<Boolean> managedType, int nativeType) { in isTypeMappingSupported() argument 62 return (Boolean.class.equals(managedType.getType()) in isTypeMappingSupported() 63 || boolean.class.equals(managedType.getType())) && nativeType == TYPE_BYTE; in isTypeMappingSupported()
|
D | MarshalQueryableNativeByteToInteger.java | 58 public Marshaler<Integer> createMarshaler(TypeReference<Integer> managedType, in createMarshaler() argument 60 return new MarshalerNativeByteToInteger(managedType, nativeType); in createMarshaler() 64 public boolean isTypeMappingSupported(TypeReference<Integer> managedType, int nativeType) { in isTypeMappingSupported() argument 65 return (Integer.class.equals(managedType.getType()) in isTypeMappingSupported() 66 || int.class.equals(managedType.getType())) && nativeType == TYPE_BYTE; in isTypeMappingSupported()
|
D | MarshalQueryableSize.java | 60 public Marshaler<Size> createMarshaler(TypeReference<Size> managedType, int nativeType) { in createMarshaler() argument 61 return new MarshalerSize(managedType, nativeType); in createMarshaler() 65 public boolean isTypeMappingSupported(TypeReference<Size> managedType, int nativeType) { in isTypeMappingSupported() argument 66 return nativeType == TYPE_INT32 && (Size.class.equals(managedType.getType())); in isTypeMappingSupported()
|
D | MarshalQueryableSizeF.java | 63 TypeReference<SizeF> managedType, int nativeType) { in createMarshaler() argument 64 return new MarshalerSizeF(managedType, nativeType); in createMarshaler() 68 public boolean isTypeMappingSupported(TypeReference<SizeF> managedType, int nativeType) { in isTypeMappingSupported() argument 69 return nativeType == TYPE_FLOAT && (SizeF.class.equals(managedType.getType())); in isTypeMappingSupported()
|
D | MarshalQueryableStreamConfigurationDuration.java | 79 TypeReference<StreamConfigurationDuration> managedType, int nativeType) { in createMarshaler() argument 80 return new MarshalerStreamConfigurationDuration(managedType, nativeType); in createMarshaler() 84 public boolean isTypeMappingSupported(TypeReference<StreamConfigurationDuration> managedType, in isTypeMappingSupported() argument 87 (StreamConfigurationDuration.class.equals(managedType.getType())); in isTypeMappingSupported()
|
D | MarshalQueryableColorSpaceTransform.java | 73 TypeReference<ColorSpaceTransform> managedType, int nativeType) { in createMarshaler() argument 74 return new MarshalerColorSpaceTransform(managedType, nativeType); in createMarshaler() 79 TypeReference<ColorSpaceTransform> managedType, int nativeType) { in isTypeMappingSupported() argument 81 ColorSpaceTransform.class.equals(managedType.getType()); in isTypeMappingSupported()
|
D | MarshalQueryableStreamConfiguration.java | 71 TypeReference<StreamConfiguration> managedType, int nativeType) { in createMarshaler() argument 72 return new MarshalerStreamConfiguration(managedType, nativeType); in createMarshaler() 76 public boolean isTypeMappingSupported(TypeReference<StreamConfiguration> managedType, in isTypeMappingSupported() argument 78 return nativeType == TYPE_INT32 && managedType.getType().equals(StreamConfiguration.class); in isTypeMappingSupported()
|
D | MarshalQueryableRggbChannelVector.java | 65 TypeReference<RggbChannelVector> managedType, int nativeType) { in createMarshaler() argument 66 return new MarshalerRggbChannelVector(managedType, nativeType); in createMarshaler() 71 TypeReference<RggbChannelVector> managedType, int nativeType) { in isTypeMappingSupported() argument 72 return nativeType == TYPE_FLOAT && (RggbChannelVector.class.equals(managedType.getType())); in isTypeMappingSupported()
|
D | MarshalQueryableBlackLevelPattern.java | 66 TypeReference<BlackLevelPattern> managedType, int nativeType) { in createMarshaler() argument 67 return new MarshalerBlackLevelPattern(managedType, nativeType); in createMarshaler() 72 TypeReference<BlackLevelPattern> managedType, int nativeType) { in isTypeMappingSupported() argument 74 (BlackLevelPattern.class.equals(managedType.getType())); in isTypeMappingSupported()
|
D | MarshalQueryableHighSpeedVideoConfiguration.java | 75 TypeReference<HighSpeedVideoConfiguration> managedType, int nativeType) { in createMarshaler() argument 76 return new MarshalerHighSpeedVideoConfiguration(managedType, nativeType); in createMarshaler() 80 public boolean isTypeMappingSupported(TypeReference<HighSpeedVideoConfiguration> managedType, in isTypeMappingSupported() argument 83 managedType.getType().equals(HighSpeedVideoConfiguration.class); in isTypeMappingSupported()
|
D | MarshalQueryableRect.java | 68 public Marshaler<Rect> createMarshaler(TypeReference<Rect> managedType, int nativeType) { in createMarshaler() argument 69 return new MarshalerRect(managedType, nativeType); in createMarshaler() 73 public boolean isTypeMappingSupported(TypeReference<Rect> managedType, int nativeType) { in isTypeMappingSupported() argument 74 return nativeType == TYPE_INT32 && (Rect.class.equals(managedType.getType())); in isTypeMappingSupported()
|
D | MarshalQueryableRecommendedStreamConfiguration.java | 74 TypeReference<RecommendedStreamConfiguration> managedType, int nativeType) { in createMarshaler() argument 75 return new MarshalerRecommendedStreamConfiguration(managedType, nativeType); in createMarshaler() 79 public boolean isTypeMappingSupported(TypeReference<RecommendedStreamConfiguration> managedType, in isTypeMappingSupported() argument 82 TYPE_INT32 && managedType.getType().equals(RecommendedStreamConfiguration.class); in isTypeMappingSupported()
|
D | MarshalQueryableString.java | 104 TypeReference<String> managedType, int nativeType) { in createMarshaler() argument 105 return new MarshalerString(managedType, nativeType); in createMarshaler() 109 public boolean isTypeMappingSupported(TypeReference<String> managedType, int nativeType) { in isTypeMappingSupported() argument 110 return nativeType == TYPE_BYTE && String.class.equals(managedType.getType()); in isTypeMappingSupported()
|
D | MarshalQueryableMeteringRectangle.java | 78 TypeReference<MeteringRectangle> managedType, int nativeType) { in createMarshaler() argument 79 return new MarshalerMeteringRectangle(managedType, nativeType); in createMarshaler() 84 TypeReference<MeteringRectangle> managedType, int nativeType) { in isTypeMappingSupported() argument 85 return nativeType == TYPE_INT32 && MeteringRectangle.class.equals(managedType.getType()); in isTypeMappingSupported()
|
D | MarshalQueryableReprocessFormatsMap.java | 122 TypeReference<ReprocessFormatsMap> managedType, int nativeType) { in createMarshaler() argument 123 return new MarshalerReprocessFormatsMap(managedType, nativeType); in createMarshaler() 127 public boolean isTypeMappingSupported(TypeReference<ReprocessFormatsMap> managedType, in isTypeMappingSupported() argument 129 return nativeType == TYPE_INT32 && managedType.getType().equals(ReprocessFormatsMap.class); in isTypeMappingSupported()
|
D | MarshalQueryableEnum.java | 102 public Marshaler<T> createMarshaler(TypeReference<T> managedType, int nativeType) { in createMarshaler() argument 103 return new MarshalerEnum(managedType, nativeType); in createMarshaler() 107 public boolean isTypeMappingSupported(TypeReference<T> managedType, int nativeType) { in isTypeMappingSupported() argument 109 if (managedType.getType() instanceof Class<?>) { in isTypeMappingSupported() 110 Class<?> typeClass = (Class<?>)managedType.getType(); in isTypeMappingSupported()
|
D | MarshalQueryablePrimitive.java | 158 public Marshaler<T> createMarshaler(TypeReference<T> managedType, int nativeType) { in createMarshaler() argument 159 return new MarshalerPrimitive(managedType, nativeType); in createMarshaler() 163 public boolean isTypeMappingSupported(TypeReference<T> managedType, int nativeType) { in isTypeMappingSupported() argument 164 if (managedType.getType() instanceof Class<?>) { in isTypeMappingSupported() 165 Class<?> klass = (Class<?>)managedType.getType(); in isTypeMappingSupported()
|
D | MarshalQueryableRange.java | 126 public Marshaler<Range<T>> createMarshaler(TypeReference<Range<T>> managedType, in createMarshaler() argument 128 return new MarshalerRange(managedType, nativeType); in createMarshaler() 132 public boolean isTypeMappingSupported(TypeReference<Range<T>> managedType, int nativeType) { in isTypeMappingSupported() argument 133 return (Range.class.equals(managedType.getRawType())); in isTypeMappingSupported()
|
D | MarshalQueryableParcelable.java | 181 public Marshaler<T> createMarshaler(TypeReference<T> managedType, int nativeType) { in createMarshaler() argument 182 return new MarshalerParcelable(managedType, nativeType); in createMarshaler() 186 public boolean isTypeMappingSupported(TypeReference<T> managedType, int nativeType) { in isTypeMappingSupported() argument 187 return Parcelable.class.isAssignableFrom(managedType.getRawType()); in isTypeMappingSupported()
|
D | MarshalQueryablePair.java | 148 public Marshaler<Pair<T1, T2>> createMarshaler(TypeReference<Pair<T1, T2>> managedType, in createMarshaler() argument 150 return new MarshalerPair(managedType, nativeType); in createMarshaler() 154 public boolean isTypeMappingSupported(TypeReference<Pair<T1, T2>> managedType, int nativeType) { in isTypeMappingSupported() argument 155 return (Pair.class.equals(managedType.getRawType())); in isTypeMappingSupported()
|
D | MarshalQueryableArray.java | 167 public Marshaler<T> createMarshaler(TypeReference<T> managedType, int nativeType) { in createMarshaler() argument 168 return new MarshalerArray(managedType, nativeType); in createMarshaler() 172 public boolean isTypeMappingSupported(TypeReference<T> managedType, int nativeType) { in isTypeMappingSupported() argument 174 return managedType.getRawType().isArray(); in isTypeMappingSupported()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/ |
D | MarshalQueryable.java | 50 TypeReference<T> managedType, int nativeType); in createMarshaler() argument 62 public boolean isTypeMappingSupported(TypeReference<T> managedType, int nativeType); in isTypeMappingSupported() argument
|