Searched defs:format (Results 76 - 100 of 246) sorted by last modified time

12345678910

/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/
H A DFountainView.java52 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
53 super.surfaceChanged(holder, format, w, h);
/frameworks/base/native/android/
H A Dnative_activity.cpp28 void ANativeActivity_setWindowFormat(ANativeActivity* activity, int32_t format) { argument
29 android_NativeActivity_setWindowFormat(activity, format);
H A Dnative_window.cpp62 int32_t height, int32_t format) {
63 int32_t err = native_window_set_buffers_format(window, format);
61 ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format) argument
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java427 // C function void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
436 int format,
1055 // C function void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
1062 int format,
1237 // C function void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
1246 int format,
1267 // C function void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
1276 int format,
429 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument
1057 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
1239 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
1269 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
H A DGLES20.java498 // C function void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
507 int format,
1355 // C function void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
1362 int format,
1487 // C function void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
1496 int format,
1551 // C function void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
1560 int format,
500 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument
1357 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
1489 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
1553 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
H A DGLErrorWrapper.java177 int yoffset, int width, int height, int format, int imageSize,
181 height, format, imageSize, data);
663 public void glReadPixels(int x, int y, int width, int height, int format, argument
666 mgl.glReadPixels(x, y, width, height, format, type, pixels);
780 int width, int height, int border, int format, int type,
784 format, type, pixels);
813 int yoffset, int width, int height, int format, int type,
817 format, type, pixels);
176 glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data) argument
779 glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) argument
812 glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) argument
H A DGLLogWrapper.java130 private void formattedAppend(StringBuilder buf, int value, int format) { argument
131 switch (format) {
144 private String toString(int n, int format, int[] arr, int offset) { argument
154 formattedAppend(buf, arr[index], format);
208 private String toString(int n, int format, IntBuffer buf) { argument
213 formattedAppend(builder, buf.get(i), format);
1358 int yoffset, int width, int height, int format, int imageSize,
1367 arg("format", format);
1373 height, format, imageSiz
1357 glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data) argument
2251 glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels) argument
2463 glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) argument
2527 glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) argument
[all...]
H A DGLSurfaceView.java86 * By default GLSurfaceView will create a PixelFormat.RGB_888 format surface. If a translucent
88 * The exact format of a TRANSLUCENT surface is device dependent, but it will be
97 * By default GLSurfaceView chooses a EGLConfig that has an RGB_888 pixel format,
539 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
H A DGLUtils.java44 * return the internal format as defined by OpenGL ES of the supplied bitmap.
46 * @return the internal format of the bitmap.
64 * is one. If the bitmap is stored in a compressed format, it may not have
115 throw new IllegalArgumentException("invalid Bitmap format");
141 throw new IllegalArgumentException("invalid Bitmap format");
163 throw new IllegalArgumentException("invalid Bitmap format");
199 throw new IllegalArgumentException("invalid Bitmap format");
215 Bitmap bitmap, int format, int type) {
222 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap, format, type)!=0) {
223 throw new IllegalArgumentException("invalid Bitmap format");
214 texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument
286 native_texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java78 Log.e("OpenGLES", String.format(
241 // C function void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
250 int format,
864 // C function void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
871 int format,
1046 // C function void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
1055 int format,
1076 // C function void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
1085 int format,
243 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument
866 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
1048 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
1078 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java365 int format,
797 int format,
917 int format,
941 int format,
358 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument
792 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
910 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
934 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java277 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
282 super.onSurfaceChanged(holder, format, width, height);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java2530 public void setSurfaceFormat(int format) { argument
2531 PhoneWindow.this.setFormat(format);
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java396 * to whatever the bitmap's native format is.</p>
858 * @param format The format of the compressed image
866 public boolean compress(CompressFormat format, int quality, OutputStream stream) { argument
875 return nativeCompress(mNativeBitmap, format.nativeInt, quality,
1401 private static native boolean nativeCompress(int nativeBitmap, int format, argument
H A DImageFormat.java28 * RGB format used for pictures encoded as RGB_565. See
34 * <p>Android YUV format.</p>
36 * <p>This format is exposed to software decoders and applications.</p>
38 * <p>YV12 is a 4:2:0 YCrCb planar format comprised of a WxH Y plane followed
41 * <p>This format assumes
57 * <p>This format is guaranteed to be supported for camera preview images since
76 * YCbCr format, used for video. Whether this format is supported by the
83 * YCrCb format used for images, which uses the NV21 encoding format
120 getBitsPerPixel(int format) argument
[all...]
H A DPixelFormat.java25 /** System chooses a format that supports translucency (many alpha bits) */
29 * System chooses a format that supports transparency
34 /** System chooses an opaque format (no alpha bits required) */
89 public static native void getPixelFormatInfo(int format, PixelFormat info); argument
90 public static boolean formatHasAlpha(int format) { argument
91 switch (format) {
H A DYuvImage.java39 * The YUV format as defined in {@link ImageFormat}.
70 * @param format The YUV data format as defined in {@link ImageFormat}.
75 * padding and derives the row bytes by format and width itself.
76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is
79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { argument
80 if (format != ImageFormat.NV21 &&
81 format != ImageFormat.YUY2) {
97 mStrides = calculateStrides(width, format);
103 mFormat = format;
199 calculateStrides(int width, int format) argument
237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DProgramFragmentFixedFunction.java125 * Format describes the pixel format of textures in the fixed
155 Format format; field in class:ProgramFragmentFixedFunction.Builder.Slot
158 format = _fmt;
186 switch (mSlots[i].format) {
202 switch (mSlots[i].format) {
246 * @param fmt specifies the format of the texture and how its
H A DRSSurfaceView.java105 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
/frameworks/base/libs/androidfw/
H A DKeyCharacterMap.cpp108 Format format, sp<KeyCharacterMap>* outMap) {
116 status = load(tokenizer, format, outMap);
123 Format format, sp<KeyCharacterMap>* outMap) {
131 status = load(tokenizer, format, outMap);
138 Format format, sp<KeyCharacterMap>* outMap) {
148 Parser parser(map.get(), tokenizer, format);
668 KeyCharacterMap::Parser::Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format) : argument
669 mMap(map), mTokenizer(tokenizer), mFormat(format), mState(STATE_TOP) {
107 load(const String8& filename, Format format, sp<KeyCharacterMap>* outMap) argument
122 loadContents(const String8& filename, const char* contents, Format format, sp<KeyCharacterMap>* outMap) argument
137 load(Tokenizer* tokenizer, Format format, sp<KeyCharacterMap>* outMap) argument
/frameworks/base/libs/hwui/
H A DLayer.h219 inline void allocateTexture(GLenum format, GLenum storage) { argument
223 glTexImage2D(renderTarget, 0, format, getWidth(), getHeight(), 0, format, storage, NULL);
H A DLayerRenderer.cpp376 GLenum format; local
384 format = GL_ALPHA;
388 format = GL_RGB;
392 format = GL_RGBA;
397 format = GL_RGBA;
427 glTexImage2D(GL_TEXTURE_2D, 0, format, bitmap->width(), bitmap->height(),
428 0, format, type, NULL);
459 glReadPixels(0, 0, bitmap->width(), bitmap->height(), format,
H A DTextureCache.cpp300 void TextureCache::uploadToTexture(bool resize, GLenum format, GLsizei width, GLsizei height, argument
303 glTexImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, type, data);
305 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, format, type, data);
/frameworks/base/media/java/android/media/
H A DAudioTrack.java251 * @param audioFormat the format in which the audio data is represented.
291 * @param audioFormat the format in which the audio data is represented.
417 // audio format
548 * Returns the configured audio data format. See {@link AudioFormat#ENCODING_PCM_16BIT}
652 * @param audioFormat the format in which the audio data is represented.
683 loge("getMinBufferSize(): Invalid audio format.");
1223 int offsetInBytes, int sizeInBytes, int format);
1226 int offsetInShorts, int sizeInShorts, int format);
1222 native_write_byte(byte[] audioData, int offsetInBytes, int sizeInBytes, int format) argument
1225 native_write_short(short[] audioData, int offsetInShorts, int sizeInShorts, int format) argument
H A DMediaCodec.java32 * codec.configure(format, ...);
52 * // Subsequent data will conform to new format.
53 * MediaFormat format = codec.getOutputFormat();
83 * encoded data according to the format's type. For video types this data
96 * Codec specific data included in the format passed to {@link #configure}
113 * Note that the format of the data submitted after a flush must not change,
114 * flush does not support format discontinuities,
227 * @param format The format of the input data (decoder) or the desired
228 * format o
236 configure( MediaFormat format, Surface surface, MediaCrypto crypto, int flags) argument
[all...]

Completed in 7337 milliseconds

12345678910