Home
last modified time | relevance | path

Searched refs:PixelFormat (Results 1 – 25 of 86) sorted by relevance

1234

/frameworks/base/graphics/java/android/graphics/
DPixelFormat.java19 public class PixelFormat class
89 public static native void getPixelFormatInfo(int format, PixelFormat info); in getPixelFormatInfo()
92 case PixelFormat.A_8: in formatHasAlpha()
93 case PixelFormat.LA_88: in formatHasAlpha()
94 case PixelFormat.RGBA_4444: in formatHasAlpha()
95 case PixelFormat.RGBA_5551: in formatHasAlpha()
96 case PixelFormat.RGBA_8888: in formatHasAlpha()
97 case PixelFormat.TRANSLUCENT: in formatHasAlpha()
98 case PixelFormat.TRANSPARENT: in formatHasAlpha()
/frameworks/native/include/ui/
DPixelFormat.h69 typedef int32_t PixelFormat; typedef
99 PixelFormat format;
122 ssize_t bytesPerPixel(PixelFormat format);
123 ssize_t bitsPerPixel(PixelFormat format);
124 status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info);
DGraphicBuffer.h73 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage);
76 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage,
89 PixelFormat getPixelFormat() const { return format; } in getPixelFormat()
92 status_t reallocate(uint32_t w, uint32_t h, PixelFormat f, uint32_t usage);
133 status_t initSize(uint32_t w, uint32_t h, PixelFormat format,
DGraphicBufferAllocator.h65 status_t alloc(uint32_t w, uint32_t h, PixelFormat format, int usage,
78 PixelFormat format;
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java30 import android.graphics.PixelFormat;
600 if (op1 == PixelFormat.UNKNOWN || op2 == PixelFormat.UNKNOWN) { in resolveOpacity()
601 return PixelFormat.UNKNOWN; in resolveOpacity()
603 if (op1 == PixelFormat.TRANSLUCENT || op2 == PixelFormat.TRANSLUCENT) { in resolveOpacity()
604 return PixelFormat.TRANSLUCENT; in resolveOpacity()
606 if (op1 == PixelFormat.TRANSPARENT || op2 == PixelFormat.TRANSPARENT) { in resolveOpacity()
607 return PixelFormat.TRANSPARENT; in resolveOpacity()
609 return PixelFormat.OPAQUE; in resolveOpacity()
DColorDrawable.java132 return PixelFormat.OPAQUE; in getOpacity()
134 return PixelFormat.TRANSPARENT; in getOpacity()
136 return PixelFormat.TRANSLUCENT; in getOpacity()
DPictureDrawable.java26 import android.graphics.PixelFormat;
91 return PixelFormat.TRANSLUCENT; in getOpacity()
DBitmapDrawable.java27 import android.graphics.PixelFormat;
494 return PixelFormat.TRANSLUCENT; in getOpacity()
498 PixelFormat.TRANSLUCENT : PixelFormat.OPAQUE; in getOpacity()
DShapeDrawable.java266 return PixelFormat.TRANSPARENT; in getOpacity()
269 return PixelFormat.OPAQUE; in getOpacity()
274 return PixelFormat.TRANSLUCENT; in getOpacity()
/frameworks/native/include/gui/
DSurfaceComposerClient.h71 PixelFormat format, // pixel-format desired
79 PixelFormat format, // pixel-format desired
150 PixelFormat mFormat;
169 PixelFormat getFormat() const;
DIGraphicBufferAlloc.h40 PixelFormat format, uint32_t usage, status_t* error) = 0;
/frameworks/native/libs/ui/
DPixelFormat.cpp78 ssize_t bytesPerPixel(PixelFormat format) in bytesPerPixel()
85 ssize_t bitsPerPixel(PixelFormat format) in bitsPerPixel()
92 status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info) in getPixelFormatInfo()
DGraphicBuffer.cpp50 PixelFormat reqFormat, uint32_t reqUsage) in GraphicBuffer()
64 PixelFormat inFormat, uint32_t inUsage, in GraphicBuffer()
126 status_t GraphicBuffer::reallocate(uint32_t w, uint32_t h, PixelFormat f, in reallocate()
143 status_t GraphicBuffer::initSize(uint32_t w, uint32_t h, PixelFormat format, in initSize()
DAndroid.mk23 PixelFormat.cpp \
/frameworks/base/services/java/com/android/server/wm/
DDimSurface.java19 import android.graphics.PixelFormat;
39 -1, 16, 16, PixelFormat.OPAQUE, in DimSurface()
44 -1, 16, 16, PixelFormat.OPAQUE, in DimSurface()
DDimAnimator.java20 import android.graphics.PixelFormat;
48 -1, 16, 16, PixelFormat.OPAQUE, in DimAnimator()
53 -1, 16, 16, PixelFormat.OPAQUE, in DimAnimator()
DStrictModeFlash.java22 import android.graphics.PixelFormat;
42 … mSurface = new Surface(session, 0, "StrictModeFlash", -1, 1, 1, PixelFormat.TRANSLUCENT, 0); in StrictModeFlash()
DBlackFrame.java22 import android.graphics.PixelFormat;
48 -1, w, h, PixelFormat.OPAQUE, Surface.FX_SURFACE_DIM); in BlackSurface()
51 -1, w, h, PixelFormat.OPAQUE, Surface.FX_SURFACE_DIM); in BlackSurface()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h77 DisplayID display, uint32_t w, uint32_t h,PixelFormat format,
100 PixelFormat format, uint32_t usage, status_t* error);
179 PixelFormat* format, uint32_t reqWidth, uint32_t reqHeight,
246 DisplayID display, uint32_t w, uint32_t h, PixelFormat format,
252 PixelFormat& format);
342 uint32_t* width, uint32_t* height, PixelFormat* format,
DLayer.h62 PixelFormat format, uint32_t flags=0);
137 PixelFormat mFormat;
/frameworks/native/libs/gui/
DIGraphicBufferAlloc.cpp46 PixelFormat format, uint32_t usage, status_t* error) { in createGraphicBuffer()
93 PixelFormat format = data.readInt32(); in onTransact()
DISurfaceComposerClient.cpp58 PixelFormat format, in createSurface()
99 PixelFormat format = data.readInt32(); in onTransact()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayHardware.h79 PixelFormat getFormat() const;
128 PixelFormat mFormat;
/frameworks/base/core/java/com/android/internal/view/
DBaseSurfaceHolder.java20 import android.graphics.PixelFormat;
45 protected int mRequestedFormat = PixelFormat.OPAQUE;
/frameworks/base/policy/src/com/android/internal/policy/impl/
DKeyguardViewBase.java23 import android.graphics.PixelFormat;
76 return PixelFormat.TRANSLUCENT;

1234