From 4a1a45ba6cfc2eb13fb422197ddfc2c27695d760 Mon Sep 17 00:00:00 2001 From: Quddus Chong Date: Wed, 8 Feb 2017 10:38:21 -0800 Subject: NDK docs: Fixed in-line comments for A8 and ARGB444 bitmap configurations. Test: Verified changes with romainguy@. Related bugs: b/26922523 Change-Id: Id51445b09896407e808b519f3ee2f4be90f5b7eb --- include/android/bitmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/android/bitmap.h b/include/android/bitmap.h index 261e64fac9..2def64dc90 100644 --- a/include/android/bitmap.h +++ b/include/android/bitmap.h @@ -56,9 +56,9 @@ enum AndroidBitmapFormat { ANDROID_BITMAP_FORMAT_RGBA_8888 = 1, /** Red: 5 bits, Green: 6 bits, Blue: 5 bits. **/ ANDROID_BITMAP_FORMAT_RGB_565 = 4, - /** Red: 4 bits, Green: 4 bits, Blue: 4 bits, Alpha: 4 bits. **/ + /** Deprecated in API level 13. Because of the poor quality of this configuration, it is advised to use ARGB_8888 instead. **/ ANDROID_BITMAP_FORMAT_RGBA_4444 = 7, - /** Deprecated. */ + /** Alpha: 8 bits. */ ANDROID_BITMAP_FORMAT_A_8 = 8, }; -- cgit v1.2.3-59-g8ed1b