Home
last modified time | relevance | path

Searched refs:scaleDownIfNecessary (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java875 public static Bitmap scaleDownIfNecessary(Bitmap bitmap, int maxWidth, int maxHeight) { in scaleDownIfNecessary() method in Icon
897 public void scaleDownIfNecessary(int maxWidth, int maxHeight) { in scaleDownIfNecessary() method in Icon
902 setBitmap(scaleDownIfNecessary(bitmap, maxWidth, maxHeight)); in scaleDownIfNecessary()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java117 ic.scaleDownIfNecessary(40, 20); in testScaleDownIfNecessary()
/frameworks/base/core/java/android/app/
DNotification.java6146 mLargeIcon.scaleDownIfNecessary(maxWidth, maxHeight);
6149 largeIcon = Icon.scaleDownIfNecessary(largeIcon, maxWidth, maxHeight);
6648 mPicture = Icon.scaleDownIfNecessary(mPicture, maxPictureWidth, maxPictureHeight);
6654 mBigLargeIcon.scaleDownIfNecessary(rightIconSize, rightIconSize);