Searched refs:scaleDownIfNecessary (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 875 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/ |
D | IconTest.java | 117 ic.scaleDownIfNecessary(40, 20); in testScaleDownIfNecessary()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 6146 mLargeIcon.scaleDownIfNecessary(maxWidth, maxHeight); 6149 largeIcon = Icon.scaleDownIfNecessary(largeIcon, maxWidth, maxHeight); 6648 mPicture = Icon.scaleDownIfNecessary(mPicture, maxPictureWidth, maxPictureHeight); 6654 mBigLargeIcon.scaleDownIfNecessary(rightIconSize, rightIconSize);
|