Searched refs:iconSize (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 77 int iconSize; field in SaveImageInBackgroundData 85 iconSize = 0; in clearImage() 137 int iconSize = data.iconSize; in SaveImageInBackgroundTask() local 157 float scale = (float) iconSize / Math.min(mImageWidth, mImageHeight); in SaveImageInBackgroundTask() 158 Bitmap icon = Bitmap.createBitmap(iconSize, iconSize, data.image.getConfig()); in SaveImageInBackgroundTask() 160 matrix.postTranslate((iconSize - (scale * mImageWidth)) / 2, in SaveImageInBackgroundTask() 161 (iconSize - (scale * mImageHeight)) / 2); in SaveImageInBackgroundTask() 508 data.iconSize = mNotificationIconSize; in saveScreenshotInWorkerThread()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DemoStatusIcons.java | 39 public DemoStatusIcons(LinearLayout statusIcons, int iconSize) { in DemoStatusIcons() argument 42 mIconSize = iconSize; in DemoStatusIcons()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 606 final int iconSize = am.getLauncherLargeIconSize(); in createSessionInternal() local 607 if ((params.appIcon.getWidth() > iconSize * 2) in createSessionInternal() 608 || (params.appIcon.getHeight() > iconSize * 2)) { in createSessionInternal() 609 params.appIcon = Bitmap.createScaledBitmap(params.appIcon, iconSize, iconSize, in createSessionInternal() 705 final int iconSize = am.getLauncherLargeIconSize(); in updateSessionAppIcon() local 706 if ((appIcon.getWidth() > iconSize * 2) in updateSessionAppIcon() 707 || (appIcon.getHeight() > iconSize * 2)) { in updateSessionAppIcon() 708 appIcon = Bitmap.createScaledBitmap(appIcon, iconSize, iconSize, true); in updateSessionAppIcon()
|