Home | History | Annotate | Download | only in impl

Lines Matching defs:SIZE

18 import android.hardware.camera2.Size;
22 public class MetadataMarshalSize implements MetadataMarshalClass<Size> {
24 private static final int SIZE = 8;
27 public int marshal(Size value, ByteBuffer buffer, int nativeType, boolean sizeOnly) {
29 return SIZE;
35 return SIZE;
39 public Size unmarshal(ByteBuffer buffer, int nativeType) {
43 return new Size(width, height);
47 public Class<Size> getMarshalingClass() {
48 return Size.class;
58 return SIZE;