/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | MetadataMarshalClass.java | 28 * @param nativeType the native type, e.g. 34 int marshal(T value, ByteBuffer buffer, int nativeType, boolean sizeOnly); argument 39 * @param nativeType the native type, e.g. 44 T unmarshal(ByteBuffer buffer, int nativeType); argument 52 * @param nativeType the native type, e.g. 56 boolean isNativeTypeSupported(int nativeType); argument 61 * How many bytes T will take up if marshalled to/from nativeType 62 * @param nativeType the native type, e.g. 66 int getNativeSize(int nativeType); argument
|
H A D | MetadataMarshalRect.java | 26 public int marshal(Rect value, ByteBuffer buffer, int nativeType, boolean sizeOnly) { argument 40 public Rect unmarshal(ByteBuffer buffer, int nativeType) { argument 59 public boolean isNativeTypeSupported(int nativeType) { argument 60 return nativeType == CameraMetadataNative.TYPE_INT32; 64 public int getNativeSize(int nativeType) { argument
|
H A D | MetadataMarshalSize.java | 27 public int marshal(Size value, ByteBuffer buffer, int nativeType, boolean sizeOnly) { argument 39 public Size unmarshal(ByteBuffer buffer, int nativeType) { argument 52 public boolean isNativeTypeSupported(int nativeType) { argument 53 return nativeType == CameraMetadataNative.TYPE_INT32; 57 public int getNativeSize(int nativeType) { argument
|
H A D | MetadataMarshalString.java | 26 public int marshal(String value, ByteBuffer buffer, int nativeType, boolean sizeOnly) { argument 38 public String unmarshal(ByteBuffer buffer, int nativeType) { argument 71 public boolean isNativeTypeSupported(int nativeType) { argument 72 return nativeType == CameraMetadataNative.TYPE_BYTE; 76 public int getNativeSize(int nativeType) { argument
|
H A D | CameraMetadataNative.java | 160 private static int getTypeSize(int nativeType) { argument 161 switch(nativeType) { 174 + nativeType); 177 private static Class<?> getExpectedType(int nativeType) { argument 178 switch(nativeType) { 194 + nativeType); 199 int nativeType, boolean sizeOnly) { 208 if (nativeType == TYPE_BYTE && type == Boolean.TYPE) { 213 } else if (nativeType == TYPE_BYTE && type == Integer.TYPE) { 217 } else if (type != getExpectedType(nativeType)) { 198 packSingleNative(T value, ByteBuffer buffer, Class<T> type, int nativeType, boolean sizeOnly) argument 244 packSingle(T value, ByteBuffer buffer, Class<T> type, int nativeType, boolean sizeOnly) argument 262 packEnum(T value, ByteBuffer buffer, Class<T> type, int nativeType, boolean sizeOnly) argument 270 packClass(T value, ByteBuffer buffer, Class<T> type, int nativeType, boolean sizeOnly) argument 281 packArray(T value, ByteBuffer buffer, Class<T> type, int nativeType, boolean sizeOnly) argument 298 unpackSingleNative(ByteBuffer buffer, Class<T> type, int nativeType) argument 343 unpackSingle(ByteBuffer buffer, Class<T> type, int nativeType) argument 362 unpackEnum(ByteBuffer buffer, Class<T> type, int nativeType) argument 368 unpackClass(ByteBuffer buffer, Class<T> type, int nativeType) argument 379 unpackArray(ByteBuffer buffer, Class<T> type, int nativeType) argument 824 getMarshaler(Class<T> type, int nativeType) argument [all...] |