Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25ba1c86 authored by Romain Guy's avatar Romain Guy
Browse files

Update Bitmap.Config.ARGB_4444 documentation

Bug #10510122

ARGB_4444 is deprecated and always replaced with ARGB_8888.

Change-Id: I0da96216af701a7df00ad35913066fbfa997d790
parent 5d923200
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -13238,14 +13238,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                    // Keep the DRAWING_CACHE_QUALITY_LOW flag just in case
                    switch (mViewFlags & DRAWING_CACHE_QUALITY_MASK) {
                        case DRAWING_CACHE_QUALITY_AUTO:
                            quality = Bitmap.Config.ARGB_8888;
                            break;
                        case DRAWING_CACHE_QUALITY_LOW:
                            quality = Bitmap.Config.ARGB_8888;
                            break;
                        case DRAWING_CACHE_QUALITY_HIGH:
                            quality = Bitmap.Config.ARGB_8888;
                            break;
                        default:
                            quality = Bitmap.Config.ARGB_8888;
                            break;
+4 −0
Original line number Diff line number Diff line
@@ -420,6 +420,10 @@ public final class Bitmap implements Parcelable {
         * It is recommended to use {@link #ARGB_8888} instead of this
         * configuration.
         *
         * Note: as of {@link android.os.Build.VERSION_CODES#KEY_LIME_PIE},
         * any bitmap created with this configuration will be created
         * using {@link #ARGB_8888} instead.
         * 
         * @deprecated Because of the poor quality of this configuration,
         *             it is advised to use {@link #ARGB_8888} instead.
         */
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ public class BitmapFactory {
         * function to ensure that you are using the bitmap that was used as the
         * decode destination.</p>
         *
         * @see Bitmap#reconfigure(int,int,Config)
         * @see Bitmap#reconfigure(int,int, android.graphics.Bitmap.Config)
         */
        public Bitmap inBitmap;