HomeSort by relevance Sort by last modified time
    Searched full:pixelformat (Results 1 - 25 of 367) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/graphics/src/android/graphics/cts/
PixelFormatTest.java 20 import android.graphics.PixelFormat;
24 private PixelFormat mPixelFormat;
34 // new the PixelFormat instance
35 mPixelFormat = new PixelFormat();
40 // new the PixelFormat instance
41 mPixelFormat = new PixelFormat();
43 PixelFormat.getPixelFormatInfo(PixelFormat.RGBA_8888, mPixelFormat);
47 PixelFormat.getPixelFormatInfo(PixelFormat.RGBX_8888, mPixelFormat)
    [all...]
  /external/skia/src/utils/
SkBitmapTransformer.h 16 * into the appropriate PixelFormat.
22 * - use existing SkCanvas::Config8888 enum instead of new PixelFormat enum
35 enum PixelFormat {
46 * the given bitmap and a pixel buffer with given pixelFormat.
49 * bitmap/pixelFormat combination is supported!
51 SkBitmapTransformer(const SkBitmap& bitmap, PixelFormat pixelFormat) :
52 fBitmap(bitmap), fPixelFormat(pixelFormat) {}
66 * bitmap's pixels if converted to pixelFormat.
69 // This is hard-coded for the single supported PixelFormat
    [all...]
  /frameworks/base/graphics/java/android/graphics/
PixelFormat.java 19 public class PixelFormat
89 public static native void getPixelFormatInfo(int format, PixelFormat info);
92 case PixelFormat.A_8:
93 case PixelFormat.LA_88:
94 case PixelFormat.RGBA_4444:
95 case PixelFormat.RGBA_5551:
96 case PixelFormat.RGBA_8888:
97 case PixelFormat.TRANSLUCENT:
98 case PixelFormat.TRANSPARENT:
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDisplay.java 3 import android.graphics.PixelFormat;
26 private int pixelFormat = PixelFormat.RGBA_4444;
66 return pixelFormat;
129 public void setPixelFormat(int pixelFormat) {
130 this.pixelFormat = pixelFormat;
  /frameworks/base/core/jni/android/graphics/
YuvToJpegEncoder.h 15 * @param pixelFormat The yuv pixel format as defined in ui/PixelFormat.h.
17 * @return an encoder based on the pixelFormat.
19 static YuvToJpegEncoder* create(int pixelFormat, int* strides);
  /external/jmonkeyengine/engine/src/android/com/jme3/system/android/
AndroidConfigChooser.java 3 import android.graphics.PixelFormat;
24 protected int pixelFormat;
96 pixelFormat = getPixelFormat(choosenConfig, display, egl);
102 pixelFormat = PixelFormat.UNKNOWN;
109 int result = PixelFormat.RGB_565;
113 result = PixelFormat.RGBA_8888;
118 result = PixelFormat.RGBA_8888;
122 result = PixelFormat.RGB_888;
127 logger.log(Level.INFO, "Using PixelFormat {0}", result)
    [all...]
  /frameworks/native/include/ui/
GraphicBuffer.h 24 #include <ui/PixelFormat.h>
72 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage);
75 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage,
88 PixelFormat getPixelFormat() const { return format; }
91 status_t reallocate(uint32_t w, uint32_t h, PixelFormat f, uint32_t usage);
134 status_t initSize(uint32_t w, uint32_t h, PixelFormat format,
PixelFormat.h 38 // in graphics/PixelFormat.java & pixelflinger/format.h
69 typedef int32_t PixelFormat;
99 PixelFormat format;
122 ssize_t bytesPerPixel(PixelFormat format);
123 ssize_t bitsPerPixel(PixelFormat format);
124 status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info);
GraphicBufferAllocator.h 30 #include <ui/PixelFormat.h>
65 status_t alloc(uint32_t w, uint32_t h, PixelFormat format, int usage,
78 PixelFormat format;
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DrawableContainerStateTest.java 22 import android.graphics.PixelFormat;
206 assertEquals(PixelFormat.TRANSPARENT, mDrawableContainerState.getOpacity());
209 dr0.setOpacity(PixelFormat.OPAQUE);
212 assertEquals(PixelFormat.OPAQUE, mDrawableContainerState.getOpacity());
215 dr1.setOpacity(PixelFormat.TRANSPARENT);
218 assertEquals(PixelFormat.TRANSPARENT, mDrawableContainerState.getOpacity());
221 dr2.setOpacity(PixelFormat.TRANSLUCENT);
224 assertEquals(PixelFormat.TRANSLUCENT, mDrawableContainerState.getOpacity());
227 dr3.setOpacity(PixelFormat.UNKNOWN);
230 assertEquals(PixelFormat.UNKNOWN, mDrawableContainerState.getOpacity())
    [all...]
ColorDrawableTest.java 29 import android.graphics.PixelFormat;
87 assertEquals(PixelFormat.TRANSPARENT, colorDrawable.getOpacity());
90 assertEquals(PixelFormat.OPAQUE, colorDrawable.getOpacity());
93 assertEquals(PixelFormat.TRANSLUCENT, colorDrawable.getOpacity());
DrawableTest.java 37 import android.graphics.PixelFormat;
502 assertEquals(PixelFormat.TRANSLUCENT,
503 Drawable.resolveOpacity(PixelFormat.TRANSLUCENT, PixelFormat.TRANSLUCENT));
504 assertEquals(PixelFormat.UNKNOWN,
505 Drawable.resolveOpacity(PixelFormat.UNKNOWN, PixelFormat.TRANSLUCENT));
506 assertEquals(PixelFormat.TRANSLUCENT,
507 Drawable.resolveOpacity(PixelFormat.OPAQUE, PixelFormat.TRANSLUCENT))
    [all...]
  /external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/
LwjglDisplay.java 51 private PixelFormat pixelFormat;
88 PixelFormat pf = new PixelFormat(settings.getBitsPerPixel(),
98 if (created.get() && (pixelFormat.getBitsPerPixel() != pf.getBitsPerPixel()
99 ||pixelFormat.getDepthBits() != pf.getDepthBits()
100 ||pixelFormat.getStencilBits() != pf.getStencilBits()
101 ||pixelFormat.getSamples() != pf.getSamples())){
106 pixelFormat = pf;
135 Display.create(pixelFormat, attr);
    [all...]
LwjglOffscreenBuffer.java 55 private PixelFormat pixelFormat;
67 pixelFormat = new PixelFormat(settings.getBitsPerPixel(),
82 pbuffer = new Pbuffer(width, height, pixelFormat, null, null, createContextAttribs());
116 pbuffer = new Pbuffer(width, height, pixelFormat, null);
  /external/skia/src/gpu/gl/win/
SkNativeGLContext_win.cpp 99 int pixelFormat = 0;
100 if (!(pixelFormat = ChoosePixelFormat(fDeviceContext, &pfd))) {
106 if (!SetPixelFormat(fDeviceContext, pixelFormat, &pfd)) {
107 SkDebugf("Could not set the pixel format %d.\n", pixelFormat);
  /frameworks/base/docs/html/sdk/api_diff/16/changes/
android.graphics.PixelFormat.html 10 android.graphics.PixelFormat
74 Class android.graphics.<A HREF="../../../../reference/android/graphics/PixelFormat.html" target="_top"><font size="+2"><code>PixelFormat</code></font></A>
87 <A NAME="android.graphics.PixelFormat.LA_88"></A>
88 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/graphics/PixelFormat.html#LA_88" target="_top"><code>LA_88</code></font></A></nobr> </TD>
96 <A NAME="android.graphics.PixelFormat.RGBA_4444"></A>
97 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/graphics/PixelFormat.html#RGBA_4444" target="_top"><code>RGBA_4444</code></font></A></nobr> </TD>
105 <A NAME="android.graphics.PixelFormat.RGBA_5551"></A>
106 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/graphics/PixelFormat.html#RGBA_5551" target="_top"><code>RGBA_5551</code></font></A></nobr> </TD>
114 <A NAME="android.graphics.PixelFormat.RGB_332"></A
    [all...]
  /frameworks/base/docs/html/sdk/api_diff/8/changes/
android.graphics.PixelFormat.html 10 android.graphics.PixelFormat
74 Class android.graphics.<A HREF="../../../../reference/android/graphics/PixelFormat.html" target="_top"><font size="+2"><code>PixelFormat</code></font></A>
87 <A NAME="android.graphics.PixelFormat.JPEG"></A>
88 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/graphics/PixelFormat.html#JPEG" target="_top"><code>JPEG</code></font></A></nobr> </TD>
96 <A NAME="android.graphics.PixelFormat.YCbCr_420_SP"></A>
97 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/graphics/PixelFormat.html#YCbCr_420_SP" target="_top"><code>YCbCr_420_SP</code></font></A></nobr> </TD>
105 <A NAME="android.graphics.PixelFormat.YCbCr_422_I"></A>
106 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/graphics/PixelFormat.html#YCbCr_422_I" target="_top"><code>YCbCr_422_I</code></font></A></nobr> </TD>
114 <A NAME="android.graphics.PixelFormat.YCbCr_422_SP"></A
    [all...]
  /external/skia/src/utils/win/
SkWGL_win.cpp 79 struct PixelFormat {
86 int compare_pf(const PixelFormat* a, const PixelFormat* b) {
108 PixelFormat desiredFormat = {
114 SkTDArray<PixelFormat> rankedFormats;
141 sizeof(PixelFormat),
143 int idx = SkTSearch<PixelFormat>(rankedFormats.begin(),
146 sizeof(PixelFormat),
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DDSLoader.java 110 private Format pixelFormat;
135 return new Image(pixelFormat, width, height, depth, data, sizes);
147 return new Image(pixelFormat, width, height, depth, data, sizes);
156 pixelFormat = Format.LATC;
196 pixelFormat = null;
245 * Reads the PixelFormat structure in a DDS file
266 pixelFormat = Image.Format.DXT1A;
268 pixelFormat = Image.Format.DXT1;
273 pixelFormat = Image.Format.DXT3;
277 pixelFormat = Image.Format.DXT5
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
WindowManager_LayoutParamsTest.java 20 import android.graphics.PixelFormat;
60 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG);
64 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG);
68 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG);
104 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG);
112 assertEquals(PixelFormat.JPEG, mLayoutParams.format);
193 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG);
201 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ProxyDrawable.java 21 import android.graphics.PixelFormat;
62 return mProxy != null ? mProxy.getOpacity() : PixelFormat.TRANSPARENT;
TranslucentGLSurfaceViewActivity.java 20 import android.graphics.PixelFormat;
45 mGLSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT);
  /external/webkit/Source/WebCore/platform/graphics/win/
QTDecompressionSession.h 44 static PassOwnPtr<QTDecompressionSession> create(unsigned long pixelFormat, size_t width, size_t height);
54 QTDecompressionSession(unsigned long pixelFormat, size_t width, size_t height);
  /frameworks/native/include/gui/
GraphicBufferAlloc.h 24 #include <ui/PixelFormat.h>
37 PixelFormat format, uint32_t usage, status_t* error);
  /external/webkit/Source/WebCore/platform/graphics/mac/
WebGLLayer.mm 63 -(CGLContextObj)copyCGLContextForPixelFormat:(CGLPixelFormatObj)pixelFormat
66 CGLCreateContext(pixelFormat, m_context->platformGraphicsContext3D(), &contextObj);
70 -(void)drawInCGLContext:(CGLContextObj)glContext pixelFormat:(CGLPixelFormatObj)pixelFormat forLayerTime:(CFTimeInterval)timeInterval displayTime:(const CVTimeStamp *)timeStamp
104 [super drawInCGLContext:glContext pixelFormat:pixelFormat forLayerTime:timeInterval displayTime:timeStamp];

Completed in 416 milliseconds

1 2 3 4 5 6 7 8 91011>>