diff options
author | Mathias Agopian <mathias@google.com> | 2012-02-24 14:58:36 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-02-24 14:58:36 -0800 |
commit | e9d4c71f47f74ee9a4a490f62769ad010a17d19b (patch) | |
tree | 8227f4727eb45324bf96bb18e4290f206f19108f /graphics | |
parent | 2d77b5332ac4ef5b252fbd8f56a195e0fce03292 (diff) | |
download | frameworks_base-e9d4c71f47f74ee9a4a490f62769ad010a17d19b.zip frameworks_base-e9d4c71f47f74ee9a4a490f62769ad010a17d19b.tar.gz frameworks_base-e9d4c71f47f74ee9a4a490f62769ad010a17d19b.tar.bz2 |
deprecate L_8, LA_88 and RGB_332 in sdk
re-add support for pixelformats L_8, LA_88 and RGB_332 in libui
for backward compatibility.
This may or may not fix 6058926
Bug: 6049685
Change-Id: Ic1b8b4cc994522f7fe664da64c0ef76b98bc6d53
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/graphics/PixelFormat.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/PixelFormat.java b/graphics/java/android/graphics/PixelFormat.java index 182f14d..f7c202f 100644 --- a/graphics/java/android/graphics/PixelFormat.java +++ b/graphics/java/android/graphics/PixelFormat.java @@ -39,11 +39,15 @@ public class PixelFormat public static final int RGB_888 = 3; public static final int RGB_565 = 4; + @Deprecated public static final int RGBA_5551 = 6; + @Deprecated public static final int RGBA_4444 = 7; public static final int A_8 = 8; public static final int L_8 = 9; + @Deprecated public static final int LA_88 = 0xA; + @Deprecated public static final int RGB_332 = 0xB; |