Home
last modified time | relevance | path

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

123456

/frameworks/base/graphics/java/android/graphics/
DPixelFormat.java19 public class PixelFormat class
84 public static void getPixelFormatInfo(int format, PixelFormat info) { in getPixelFormatInfo()
124 case PixelFormat.A_8: in formatHasAlpha()
125 case PixelFormat.LA_88: in formatHasAlpha()
126 case PixelFormat.RGBA_4444: in formatHasAlpha()
127 case PixelFormat.RGBA_5551: in formatHasAlpha()
128 case PixelFormat.RGBA_8888: in formatHasAlpha()
129 case PixelFormat.TRANSLUCENT: in formatHasAlpha()
130 case PixelFormat.TRANSPARENT: in formatHasAlpha()
/frameworks/native/include/ui/
DPixelFormat.h70 typedef int32_t PixelFormat; typedef
72 ssize_t bytesPerPixel(PixelFormat format);
73 ssize_t bitsPerPixel(PixelFormat format);
DGraphicBuffer.h75 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage);
78 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage,
91 PixelFormat getPixelFormat() const { return format; } in getPixelFormat()
95 status_t reallocate(uint32_t w, uint32_t h, PixelFormat f, uint32_t usage);
146 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.java32 import android.graphics.PixelFormat;
766 if (op1 == PixelFormat.UNKNOWN || op2 == PixelFormat.UNKNOWN) { in resolveOpacity()
767 return PixelFormat.UNKNOWN; in resolveOpacity()
769 if (op1 == PixelFormat.TRANSLUCENT || op2 == PixelFormat.TRANSLUCENT) { in resolveOpacity()
770 return PixelFormat.TRANSLUCENT; in resolveOpacity()
772 if (op1 == PixelFormat.TRANSPARENT || op2 == PixelFormat.TRANSPARENT) { in resolveOpacity()
773 return PixelFormat.TRANSPARENT; in resolveOpacity()
775 return PixelFormat.OPAQUE; in resolveOpacity()
DPictureDrawable.java23 import android.graphics.PixelFormat;
87 return PixelFormat.TRANSLUCENT; in getOpacity()
DColorDrawable.java210 return PixelFormat.TRANSLUCENT; in getOpacity()
215 return PixelFormat.OPAQUE; in getOpacity()
217 return PixelFormat.TRANSPARENT; in getOpacity()
219 return PixelFormat.TRANSLUCENT; in getOpacity()
/frameworks/native/libs/ui/
DPixelFormat.cpp24 ssize_t bytesPerPixel(PixelFormat format) { in bytesPerPixel()
42 ssize_t bitsPerPixel(PixelFormat format) { in bitsPerPixel()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContainer.java25 import android.graphics.PixelFormat;
397 && mSplitBackground.getOpacity() == PixelFormat.OPAQUE) { in getOpacity()
398 return PixelFormat.OPAQUE; in getOpacity()
402 || mStackedBackground.getOpacity() != PixelFormat.OPAQUE)) { in getOpacity()
403 return PixelFormat.UNKNOWN; in getOpacity()
406 && mBackground.getOpacity() == PixelFormat.OPAQUE) { in getOpacity()
407 return PixelFormat.OPAQUE; in getOpacity()
411 return PixelFormat.UNKNOWN; in getOpacity()
DBackgroundFallback.java21 import android.graphics.PixelFormat;
67 childBg.getOpacity() != PixelFormat.OPAQUE) { in draw()
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java24 import android.graphics.PixelFormat;
300 return PixelFormat.TRANSLUCENT; in getOpacity()
307 ? PixelFormat.TRANSLUCENT : PixelFormat.OPAQUE; in getOpacity()
/frameworks/base/services/core/java/com/android/server/wm/
DEmulatorDisplayOverlay.java23 import android.graphics.PixelFormat;
59 mScreenSize.x, mScreenSize.y, PixelFormat.TRANSLUCENT, in EmulatorDisplayOverlay()
63 mScreenSize.y, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in EmulatorDisplayOverlay()
DCircularDisplayMask.java24 import android.graphics.PixelFormat;
68 mScreenSize.x, mScreenSize.y, PixelFormat.TRANSLUCENT, in CircularDisplayMask()
72 mScreenSize.y, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in CircularDisplayMask()
DFocusedStackFrame.java24 import android.graphics.PixelFormat;
52 1, 1, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in FocusedStackFrame()
55 1, 1, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in FocusedStackFrame()
DStrictModeFlash.java22 import android.graphics.PixelFormat;
45 1, 1, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in StrictModeFlash()
DBlackFrame.java22 import android.graphics.PixelFormat;
50 … w, h, PixelFormat.OPAQUE, SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN); in BlackSurface()
53 … w, h, PixelFormat.OPAQUE, SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN); in BlackSurface()
DDimLayer.java19 import android.graphics.PixelFormat;
78 16, 16, PixelFormat.OPAQUE, in DimLayer()
82 16, 16, PixelFormat.OPAQUE, in DimLayer()
/frameworks/base/media/java/android/media/
DImageReader.java20 import android.graphics.PixelFormat;
476 case PixelFormat.RGB_565: in getNumPlanesFromFormat()
477 case PixelFormat.RGBA_8888: in getNumPlanesFromFormat()
478 case PixelFormat.RGBX_8888: in getNumPlanesFromFormat()
479 case PixelFormat.RGB_888: in getNumPlanesFromFormat()
/frameworks/native/include/gui/
DCpuConsumer.h50 PixelFormat format;
60 PixelFormat flexFormat;
/frameworks/native/services/surfaceflinger/
DClient.cpp111 uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, in createSurface()
128 PixelFormat format; in createSurface()
133 uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, in createSurface()
/frameworks/native/libs/gui/
DIGraphicBufferAlloc.cpp46 PixelFormat format, uint32_t usage, status_t* error) { in createGraphicBuffer()
93 PixelFormat format = data.readInt32(); in onTransact()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherScrim.java24 import android.graphics.PixelFormat;
85 return PixelFormat.TRANSLUCENT; in getOpacity()
/frameworks/support/v7/cardview/api21/android/support/v7/widget/
DRoundRectDrawable.java22 import android.graphics.PixelFormat;
121 return PixelFormat.TRANSLUCENT; in getOpacity()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DErrorSupportFragment.java32 import android.graphics.PixelFormat;
117 mIsBackgroundTranslucent = (opacity == PixelFormat.TRANSLUCENT || in setBackgroundDrawable()
118 opacity == PixelFormat.TRANSPARENT); in setBackgroundDrawable()
DErrorFragment.java30 import android.graphics.PixelFormat;
115 mIsBackgroundTranslucent = (opacity == PixelFormat.TRANSLUCENT || in setBackgroundDrawable()
116 opacity == PixelFormat.TRANSPARENT); in setBackgroundDrawable()

123456