Searched defs:format (Results 151 - 175 of 246) sorted by path

12345678910

/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A Dpackage-info.java4 package android.filterfw.format;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DCropFilter.java33 import android.filterfw.format.ImageFormat;
34 import android.filterfw.format.ObjectFormat;
93 protected void createProgram(FilterContext context, FrameFormat format) { argument
95 if (mLastFormat != null && mLastFormat.getTarget() == format.getTarget()) return;
96 mLastFormat = format;
98 switch (format.getTarget()) {
123 // Create output format
H A DImageStitcher.java29 import android.filterfw.format.ImageFormat;
75 private FrameFormat calcOutputFormatForInput(FrameFormat format) { argument
76 MutableFrameFormat outputFormat = format.mutableCopy();
78 mInputWidth = format.getWidth();
79 mInputHeight = format.getHeight();
95 FrameFormat format = input.getFormat();
99 mOutputFrame = context.getFrameManager().newFrame(calcOutputFormatForInput(format));
101 if ((format.getWidth() != mInputWidth) ||
102 (format.getHeight() != mInputHeight)) {
103 // CHECK input format her
[all...]
H A DResizeFilter.java32 import android.filterfw.format.ImageFormat;
71 protected void createProgram(FilterContext context, FrameFormat format) { argument
72 if (mLastFormat != null && mLastFormat.getTarget() == format.getTarget()) return;
73 mLastFormat = format;
74 switch (format.getTarget()) {
H A DToRGBAFilter.java30 import android.filterfw.format.ImageFormat;
61 public FrameFormat getConvertedFormat(FrameFormat format) { argument
62 MutableFrameFormat result = format.mutableCopy();
68 public void createProgram(FilterContext context, FrameFormat format) { argument
69 mInputBPP = format.getBytesPerSample();
71 mLastFormat = format;
H A DToRGBFilter.java30 import android.filterfw.format.ImageFormat;
61 public FrameFormat getConvertedFormat(FrameFormat format) { argument
62 MutableFrameFormat result = format.mutableCopy();
68 public void createProgram(FilterContext context, FrameFormat format) { argument
69 mInputBPP = format.getBytesPerSample();
71 mLastFormat = format;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceRenderFilter.java35 import android.filterfw.format.ImageFormat;
175 if (mLogVerbose) Log.v("SurfaceRenderFilter", "Got input format: " + input.getFormat());
223 int format,
222 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaFrameworkTest.java113 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
/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/services/java/com/android/server/input/
H A DInputManagerService.java871 String descriptor = KeyboardLayoutDescriptor.format(
1563 public static String format(String packageName, method in class:InputManagerService.KeyboardLayoutDescriptor
/frameworks/base/services/java/com/android/server/wm/
H A DWindowStateAnimator.java491 String name, int w, int h, int format, int flags)
493 super(s, name, w, h, format, flags);
644 + " h=" + mWin.mCompatFrame.height() + " format="
645 + attrs.format + " flags=" + flags);
672 final int format = isHwAccelerated ? PixelFormat.TRANSLUCENT : attrs.format;
673 if (!PixelFormat.formatHasAlpha(attrs.format)) {
680 w, h, format, flags);
685 w, h, format, flags);
692 + ": pid=" + mSession.mPid + " format
490 SurfaceTrace(SurfaceSession s, String name, int w, int h, int format, int flags) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DJapanesePhoneNumberFormatter.java157 public static void format(Editable text) { method in class:JapanesePhoneNumberFormatter
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLoadTestsAutoTest.java81 return String.format("http://127.0.0.1:%d/%s/%s/start.html?auto=1&iterations=%s",
156 private void printRow(PrintStream ps, String format, Object...objs) { argument
157 ps.println(String.format(format, objs));
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/
H A DBallsView.java52 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
53 super.surfaceChanged(holder, format, w, h);

Completed in 338 milliseconds

12345678910