/frameworks/base/graphics/java/android/graphics/ |
D | PixelFormat.java | 24 public class PixelFormat { class 94 public static void getPixelFormatInfo(int format, PixelFormat info) { in getPixelFormatInfo() 134 case PixelFormat.A_8: in formatHasAlpha() 135 case PixelFormat.LA_88: in formatHasAlpha() 136 case PixelFormat.RGBA_4444: in formatHasAlpha() 137 case PixelFormat.RGBA_5551: in formatHasAlpha() 138 case PixelFormat.RGBA_8888: in formatHasAlpha() 139 case PixelFormat.TRANSLUCENT: in formatHasAlpha() 140 case PixelFormat.TRANSPARENT: in formatHasAlpha()
|
/frameworks/base/media/java/android/media/ |
D | ImageUtils.java | 20 import android.graphics.PixelFormat; 51 case PixelFormat.RGB_565: in getNumPlanesForFormat() 52 case PixelFormat.RGBA_8888: in getNumPlanesForFormat() 53 case PixelFormat.RGBX_8888: in getNumPlanesForFormat() 54 case PixelFormat.RGB_888: in getNumPlanesForFormat() 206 case PixelFormat.RGB_565: in getEstimatedNativeAllocBytes() 214 case PixelFormat.RGB_888: in getEstimatedNativeAllocBytes() 217 case PixelFormat.RGBA_8888: in getEstimatedNativeAllocBytes() 218 case PixelFormat.RGBX_8888: in getEstimatedNativeAllocBytes() 245 case PixelFormat.RGB_565: in getEffectivePlaneSizeForImage() [all …]
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionMeasuringActivity.java | 29 import android.graphics.PixelFormat; 79 PixelFormat.TRANSLUCENT, 80 PixelFormat.TRANSPARENT, 81 PixelFormat.OPAQUE, 82 PixelFormat.RGBA_8888, 83 PixelFormat.RGBX_8888, 84 PixelFormat.RGB_888, 85 PixelFormat.RGB_565, 376 updateSystemInfo(PixelFormat.UNKNOWN); in onResume() 553 case PixelFormat.TRANSLUCENT: in getPixelFormatInfo() [all …]
|
D | SurfaceCompositionTest.java | 19 import android.graphics.PixelFormat; 44 PixelFormat.TRANSLUCENT, 45 PixelFormat.OPAQUE, 87 if (pixelFormat == PixelFormat.TRANSLUCENT) { in testSurfaceCompositionPerformance() 111 if (pixelFormat == PixelFormat.TRANSLUCENT) { in testSurfaceAllocationPerformance()
|
/frameworks/native/include/ui/ |
D | GraphicBuffer.h | 75 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, 79 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, 93 PixelFormat getPixelFormat() const { return format; } in getPixelFormat() 103 PixelFormat inFormat, uint32_t inUsage); 106 PixelFormat inFormat, uint32_t inUsage); 161 status_t initSize(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
|
D | PixelFormat.h | 65 typedef int32_t PixelFormat; typedef 67 uint32_t bytesPerPixel(PixelFormat format); 68 uint32_t bitsPerPixel(PixelFormat format);
|
D | GraphicBufferAllocator.h | 64 status_t alloc(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, 77 PixelFormat format;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Drawable.java | 42 import android.graphics.PixelFormat; 891 public abstract @PixelFormat.Opacity int getOpacity(); in getOpacity() 908 public static @PixelFormat.Opacity int resolveOpacity(@PixelFormat.Opacity int op1, in resolveOpacity() 909 @PixelFormat.Opacity int op2) { in resolveOpacity() 913 if (op1 == PixelFormat.UNKNOWN || op2 == PixelFormat.UNKNOWN) { in resolveOpacity() 914 return PixelFormat.UNKNOWN; in resolveOpacity() 916 if (op1 == PixelFormat.TRANSLUCENT || op2 == PixelFormat.TRANSLUCENT) { in resolveOpacity() 917 return PixelFormat.TRANSLUCENT; in resolveOpacity() 919 if (op1 == PixelFormat.TRANSPARENT || op2 == PixelFormat.TRANSPARENT) { in resolveOpacity() 920 return PixelFormat.TRANSPARENT; in resolveOpacity() [all …]
|
D | PictureDrawable.java | 23 import android.graphics.PixelFormat; 87 return PixelFormat.TRANSLUCENT; in getOpacity()
|
D | ScaleDrawable.java | 30 import android.graphics.PixelFormat; 201 return PixelFormat.TRANSPARENT; in getOpacity() 205 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) { in getOpacity() 206 return PixelFormat.TRANSLUCENT; in getOpacity()
|
D | ColorDrawable.java | 213 return PixelFormat.TRANSLUCENT; in getOpacity() 218 return PixelFormat.OPAQUE; in getOpacity() 220 return PixelFormat.TRANSPARENT; in getOpacity() 222 return PixelFormat.TRANSLUCENT; in getOpacity()
|
D | ClipDrawable.java | 160 if (opacity == PixelFormat.TRANSPARENT || dr.getLevel() == 0) { in getOpacity() 161 return PixelFormat.TRANSPARENT; in getOpacity() 170 return PixelFormat.TRANSLUCENT; in getOpacity()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarContainer.java | 25 import android.graphics.PixelFormat; 410 && mSplitBackground.getOpacity() == PixelFormat.OPAQUE) { in getOpacity() 411 return PixelFormat.OPAQUE; in getOpacity() 415 || mStackedBackground.getOpacity() != PixelFormat.OPAQUE)) { in getOpacity() 416 return PixelFormat.UNKNOWN; in getOpacity() 419 && mBackground.getOpacity() == PixelFormat.OPAQUE) { in getOpacity() 420 return PixelFormat.OPAQUE; in getOpacity() 424 return PixelFormat.UNKNOWN; in getOpacity()
|
/frameworks/native/libs/ui/ |
D | PixelFormat.cpp | 23 uint32_t bytesPerPixel(PixelFormat format) { in bytesPerPixel() 39 uint32_t bitsPerPixel(PixelFormat format) { in bitsPerPixel()
|
/frameworks/native/libs/gui/ |
D | IGraphicBufferAlloc.cpp | 48 uint32_t height, PixelFormat format, uint32_t usage, in createGraphicBuffer() 102 PixelFormat format = static_cast<PixelFormat>(data.readInt32()); in onTransact()
|
D | ISurfaceComposerClient.cpp | 57 uint32_t height, PixelFormat format, uint32_t flags, in createSurface() 116 PixelFormat format = static_cast<PixelFormat>(data.readInt32()); in onTransact()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | EmulatorDisplayOverlay.java | 27 import android.graphics.PixelFormat; 62 mScreenSize.x, mScreenSize.y, PixelFormat.TRANSLUCENT, in EmulatorDisplayOverlay() 66 mScreenSize.y, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in EmulatorDisplayOverlay()
|
D | CircularDisplayMask.java | 27 import android.graphics.PixelFormat; 72 mScreenSize.x, mScreenSize.y, PixelFormat.TRANSLUCENT, in CircularDisplayMask() 76 mScreenSize.y, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in CircularDisplayMask()
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable.java | 25 import android.graphics.PixelFormat; 365 return PixelFormat.TRANSLUCENT; in getOpacity() 372 ? PixelFormat.TRANSLUCENT : PixelFormat.OPAQUE; in getOpacity()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | FullscreenOverdrawActivity.java | 23 import android.graphics.PixelFormat; 66 return PixelFormat.OPAQUE; in getOpacity()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.h | 107 uint32_t h, PixelFormat format, uint32_t usage); 121 PixelFormat format, uint32_t usage); 137 status_t dequeueBuffer(Source source, PixelFormat format, uint32_t usage,
|
/frameworks/support/design/base/android/support/design/widget/ |
D | CircularBorderDrawable.java | 24 import android.graphics.PixelFormat; 142 return mBorderWidth > 0 ? PixelFormat.TRANSLUCENT : PixelFormat.TRANSPARENT; in getOpacity()
|
/frameworks/native/include/gui/ |
D | CpuConsumer.h | 50 PixelFormat format; 61 PixelFormat flexFormat;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/ |
D | PipRecentsOverlayManager.java | 20 import android.graphics.PixelFormat; 107 PixelFormat.TRANSLUCENT); in initViews() 113 PixelFormat.TRANSLUCENT); in initViews()
|
/frameworks/native/services/surfaceflinger/ |
D | Client.cpp | 111 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()
|