/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...] |
/frameworks/native/libs/ui/ |
PixelFormat.cpp | 17 #include <ui/PixelFormat.h> 23 uint32_t bytesPerPixel(PixelFormat format) { 39 uint32_t bitsPerPixel(PixelFormat format) {
|
/external/deqp/framework/common/ |
tcuRenderTarget.hpp | 39 RenderTarget (int width, int height, const PixelFormat& pixelFormat, int depthBits, int stencilBits, int numSamples); 42 const PixelFormat& getPixelFormat (void) const { return m_pixelFormat; } 54 PixelFormat m_pixelFormat;
|
tcuRenderTarget.cpp | 32 , m_pixelFormat (PixelFormat(0, 0, 0, 0)) 39 RenderTarget::RenderTarget (int width, int height, const PixelFormat& format, int depthBits, int stencilBits, int numSamples)
|
tcuPixelFormat.hpp | 35 struct PixelFormat 42 PixelFormat (int red, int green, int blue, int alpha) 50 PixelFormat (void) 99 inline bool operator== (const PixelFormat& other) const 107 inline bool operator!= (const PixelFormat& other) const
|
/frameworks/native/include/ui/ |
PixelFormat.h | 35 // in graphics/PixelFormat.java & pixelflinger/format.h 65 typedef int32_t PixelFormat; 67 uint32_t bytesPerPixel(PixelFormat format); 68 uint32_t bitsPerPixel(PixelFormat format);
|
DisplayInfo.h | 24 #include <ui/PixelFormat.h>
|
GraphicBufferAllocator.h | 31 #include <ui/PixelFormat.h> 62 status_t allocate(uint32_t w, uint32_t h, PixelFormat format, 76 PixelFormat format;
|
GraphicBuffer.h | 24 #include <ui/PixelFormat.h> 76 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, 80 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, 94 PixelFormat getPixelFormat() const { return format; } 104 PixelFormat inFormat, uint32_t inUsage); 107 PixelFormat inFormat, uint32_t inUsage); 162 status_t initSize(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
|
/frameworks/base/graphics/java/android/graphics/ |
PixelFormat.java | 24 public class PixelFormat { 94 public static void getPixelFormatInfo(int format, PixelFormat info) { 134 case PixelFormat.A_8: 135 case PixelFormat.LA_88: 136 case PixelFormat.RGBA_4444: 137 case PixelFormat.RGBA_5551: 138 case PixelFormat.RGBA_8888: 139 case PixelFormat.TRANSLUCENT: 140 case PixelFormat.TRANSPARENT:
|
/frameworks/native/include/gui/ |
GraphicBufferAlloc.h | 24 #include <ui/PixelFormat.h> 37 uint32_t height, PixelFormat format, uint32_t usage,
|
IGraphicBufferAlloc.h | 25 #include <ui/PixelFormat.h> 41 PixelFormat format, uint32_t usage, std::string requestorName, 45 PixelFormat format, uint32_t usage, status_t* error) {
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
PixelFormat.cpp | 18 #include <common/PixelFormat.h> 23 bool PixelFormat::convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp)
|
PixelFormat.h | 22 class PixelFormat
|
SpritePlaneBase.cpp | 18 #include <common/PixelFormat.h>
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdipluspixelformats.h | 30 typedef INT PixelFormat; 95 static __inline__ UINT GetPixelFormatSize(PixelFormat pixfmt) 100 static __inline__ BOOL IsAlphaPixelFormat(PixelFormat pixfmt) 105 static __inline__ BOOL IsCanonicalPixelFormat(PixelFormat pixfmt) 110 static __inline__ BOOL IsExtendedPixelFormat(PixelFormat pixfmt) 115 static __inline__ BOOL IsIndexedPixelFormat(PixelFormat pixfmt)
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
TranslucentGLSurfaceViewActivity.java | 20 import android.graphics.PixelFormat; 45 mGLSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
PixelFormat.cpp | 18 #include <ips/common/PixelFormat.h> 24 bool PixelFormat::convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp)
|
PixelFormat.h | 22 class PixelFormat
|
SpritePlaneBase.cpp | 18 #include <ips/common/PixelFormat.h>
|
/hardware/intel/img/hwcomposer/merrifield/ips/penwell/ |
PnwSpritePlane.cpp | 20 #include <common/PixelFormat.h>
|
/frameworks/base/media/java/android/media/ |
ImageUtils.java | 20 import android.graphics.PixelFormat; 36 * {@link android.graphics.PixelFormat PixelFormat} are supported by 38 * {@link android.graphics.PixelFormat PixelFormat} can be used; when 51 case PixelFormat.RGB_565: 52 case PixelFormat.RGBA_8888: 53 case PixelFormat.RGBX_8888: 54 case PixelFormat.RGB_888: 206 case PixelFormat.RGB_565 [all...] |
/cts/tests/tests/permission/src/android/permission/cts/ |
NoCaptureVideoPermissionTest.java | 20 import android.graphics.PixelFormat; 48 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); 71 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); 92 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1);
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
SurfaceCompositionTest.java | 19 import android.graphics.PixelFormat; 44 PixelFormat.TRANSLUCENT, 45 PixelFormat.OPAQUE, 78 int pixelFormat = TEST_PIXEL_FORMATS[i]; 79 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat); 80 CompositorScore score = getActivity().measureCompositionScore(pixelFormat); 87 if (pixelFormat == PixelFormat.TRANSLUCENT) { 101 int pixelFormat = TEST_PIXEL_FORMATS[i]; 102 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat); [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableContainerStateTest.java | 22 import android.graphics.PixelFormat; 222 assertEquals(PixelFormat.TRANSPARENT, mDrawableContainerState.getOpacity()); 225 dr0.setOpacity(PixelFormat.OPAQUE); 228 assertEquals(PixelFormat.OPAQUE, mDrawableContainerState.getOpacity()); 231 dr1.setOpacity(PixelFormat.TRANSPARENT); 234 assertEquals(PixelFormat.TRANSPARENT, mDrawableContainerState.getOpacity()); 237 dr2.setOpacity(PixelFormat.TRANSLUCENT); 240 assertEquals(PixelFormat.TRANSLUCENT, mDrawableContainerState.getOpacity()); 243 dr3.setOpacity(PixelFormat.UNKNOWN); 246 assertEquals(PixelFormat.UNKNOWN, mDrawableContainerState.getOpacity()) [all...] |