Home
last modified time | relevance | path

Searched refs:Marshaler (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableArray.java18 import android.hardware.camera2.marshal.Marshaler;
44 private class MarshalerArray extends Marshaler<T> {
46 private final Marshaler<?> mComponentMarshaler;
74 if (elementSize != Marshaler.NATIVE_SIZE_DYNAMIC) { in unmarshal()
128 if (elementSize != Marshaler.NATIVE_SIZE_DYNAMIC) { in calculateMarshalSize()
147 private <TElem> void marshalArrayElement(Marshaler<TElem> marshaler, in marshalArrayElement()
158 private <TElem> int calculateElementMarshalSize(Marshaler<TElem> marshaler, in calculateElementMarshalSize()
167 public Marshaler<T> createMarshaler(TypeReference<T> managedType, int nativeType) { in createMarshaler()
DMarshalQueryablePair.java18 import android.hardware.camera2.marshal.Marshaler;
36 private class MarshalerPair extends Marshaler<Pair<T1, T2>> {
40 private final Marshaler<T1> mNestedTypeMarshalerFirst;
42 private final Marshaler<T2> mNestedTypeMarshalerSecond;
69 mNestedTypeMarshalerFirst = (Marshaler<T1>)MarshalRegistry.getMarshaler( in MarshalerPair()
79 mNestedTypeMarshalerSecond = (Marshaler<T2>)MarshalRegistry.getMarshaler( in MarshalerPair()
148 public Marshaler<Pair<T1, T2>> createMarshaler(TypeReference<Pair<T1, T2>> managedType, in createMarshaler()
DMarshalQueryableRange.java18 import android.hardware.camera2.marshal.Marshaler;
37 private class MarshalerRange extends Marshaler<Range<T>> {
41 private final Marshaler<T> mNestedTypeMarshaler;
65 mNestedTypeMarshaler = (Marshaler<T>)MarshalRegistry.getMarshaler( in MarshalerRange()
126 public Marshaler<Range<T>> createMarshaler(TypeReference<Range<T>> managedType, in createMarshaler()
DMarshalQueryableBoolean.java21 import android.hardware.camera2.marshal.Marshaler;
32 private class MarshalerBoolean extends Marshaler<Boolean> {
55 public Marshaler<Boolean> createMarshaler(TypeReference<Boolean> managedType, in createMarshaler()
DMarshalQueryableNativeByteToInteger.java21 import android.hardware.camera2.marshal.Marshaler;
34 private class MarshalerNativeByteToInteger extends Marshaler<Integer> {
58 public Marshaler<Integer> createMarshaler(TypeReference<Integer> managedType, in createMarshaler()
DMarshalQueryableSize.java19 import android.hardware.camera2.marshal.Marshaler;
34 private class MarshalerSize extends Marshaler<Size> {
60 public Marshaler<Size> createMarshaler(TypeReference<Size> managedType, int nativeType) { in createMarshaler()
DMarshalQueryableSizeF.java18 import android.hardware.camera2.marshal.Marshaler;
35 private class MarshalerSizeF extends Marshaler<SizeF> {
62 public Marshaler<SizeF> createMarshaler( in createMarshaler()
DMarshalQueryableStreamConfigurationDuration.java18 import android.hardware.camera2.marshal.Marshaler;
46 extends Marshaler<StreamConfigurationDuration> {
78 public Marshaler<StreamConfigurationDuration> createMarshaler( in createMarshaler()
DMarshalQueryableBlackLevelPattern.java19 import android.hardware.camera2.marshal.Marshaler;
34 private class MarshalerBlackLevelPattern extends Marshaler<BlackLevelPattern> {
65 public Marshaler<BlackLevelPattern> createMarshaler( in createMarshaler()
DMarshalQueryableRggbChannelVector.java18 import android.hardware.camera2.marshal.Marshaler;
34 private class MarshalerRggbChannelVector extends Marshaler<RggbChannelVector> {
64 public Marshaler<RggbChannelVector> createMarshaler( in createMarshaler()
DMarshalQueryableColorSpaceTransform.java18 import android.hardware.camera2.marshal.Marshaler;
38 private class MarshalerColorSpaceTransform extends Marshaler<ColorSpaceTransform> {
72 public Marshaler<ColorSpaceTransform> createMarshaler( in createMarshaler()
DMarshalQueryableStreamConfiguration.java18 import android.hardware.camera2.marshal.Marshaler;
38 private class MarshalerStreamConfiguration extends Marshaler<StreamConfiguration> {
70 public Marshaler<StreamConfiguration> createMarshaler( in createMarshaler()
DMarshalQueryableRecommendedStreamConfiguration.java18 import android.hardware.camera2.marshal.Marshaler;
39 extends Marshaler<RecommendedStreamConfiguration> {
73 public Marshaler<RecommendedStreamConfiguration> createMarshaler( in createMarshaler()
DMarshalQueryableHighSpeedVideoConfiguration.java18 import android.hardware.camera2.marshal.Marshaler;
39 extends Marshaler<HighSpeedVideoConfiguration> {
74 public Marshaler<HighSpeedVideoConfiguration> createMarshaler( in createMarshaler()
DMarshalQueryableRect.java19 import android.hardware.camera2.marshal.Marshaler;
34 private class MarshalerRect extends Marshaler<Rect> {
68 public Marshaler<Rect> createMarshaler(TypeReference<Rect> managedType, int nativeType) { in createMarshaler()
DMarshalQueryableString.java18 import android.hardware.camera2.marshal.Marshaler;
41 private class MarshalerString extends Marshaler<String> {
103 public Marshaler<String> createMarshaler( in createMarshaler()
DMarshalQueryableMeteringRectangle.java18 import android.hardware.camera2.marshal.Marshaler;
35 private class MarshalerMeteringRectangle extends Marshaler<MeteringRectangle> {
77 public Marshaler<MeteringRectangle> createMarshaler( in createMarshaler()
DMarshalQueryableReprocessFormatsMap.java18 import android.hardware.camera2.marshal.Marshaler;
37 private class MarshalerReprocessFormatsMap extends Marshaler<ReprocessFormatsMap> {
121 public Marshaler<ReprocessFormatsMap> createMarshaler( in createMarshaler()
DMarshalQueryableParcelable.java18 import android.hardware.camera2.marshal.Marshaler;
41 private class MarshalerParcelable extends Marshaler<T> {
181 public Marshaler<T> createMarshaler(TypeReference<T> managedType, int nativeType) { in createMarshaler()
DMarshalQueryableEnum.java18 import android.hardware.camera2.marshal.Marshaler;
47 private class MarshalerEnum extends Marshaler<T> {
102 public Marshaler<T> createMarshaler(TypeReference<T> managedType, int nativeType) { in createMarshaler()
DMarshalQueryablePrimitive.java19 import android.hardware.camera2.marshal.Marshaler;
51 private class MarshalerPrimitive extends Marshaler<T> {
158 public Marshaler<T> createMarshaler(TypeReference<T> managedType, int nativeType) { in createMarshaler()
/frameworks/base/core/java/android/hardware/camera2/marshal/
DMarshalRegistry.java58 public static <T> Marshaler<T> getMarshaler(TypeReference<T> typeToken, int nativeType) { in getMarshaler()
68 Marshaler<T> marshaler = in getMarshaler()
69 (Marshaler<T>) sMarshalerMap.get(marshalToken); in getMarshaler()
138 private static final HashMap<MarshalToken<?>, Marshaler<?>> sMarshalerMap =
139 new HashMap<MarshalToken<?>, Marshaler<?>>();
DMarshaler.java34 public abstract class Marshaler<T> { class
55 protected Marshaler( in Marshaler() method in Marshaler
DMarshalQueryable.java49 public Marshaler<T> createMarshaler( in createMarshaler()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java29 import android.hardware.camera2.marshal.Marshaler;
539 Marshaler<T> marshaler = getMarshalerForKey(key, nativeType); in getBase()
1397 Marshaler<T> marshaler = getMarshalerForKey(key, nativeType); in setBase()
1716 private static <T> Marshaler<T> getMarshalerForKey(Key<T> key, int nativeType) { in getMarshalerForKey()

12