Lines Matching defs:format
74 * @param format The format of each pixel as specified in {@link PixelFormat}
79 public static GraphicBuffer create(int width, int height, int format, int usage) {
80 long nativeObject = nCreateGraphicBuffer(width, height, format, usage);
82 return new GraphicBuffer(width, height, format, usage, nativeObject);
90 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) {
93 mFormat = format;
113 * Returns the pixel format of this buffer. The pixel format must be one of
272 int format = in.readInt();
276 return new GraphicBuffer(width, height, format, usage, nativeObject);
286 private static native long nCreateGraphicBuffer(int width, int height, int format, int usage);