Merge "Update Bitmap.Config.ARGB_4444 documentation Bug #10510122" into klp-dev

This commit is contained in:
Romain Guy
2013-09-03 21:41:39 +00:00
committed by Android (Google) Code Review
3 changed files with 5 additions and 7 deletions

View File

@@ -13256,14 +13256,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;

View File

@@ -419,6 +419,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.

View File

@@ -81,7 +81,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;