Searched refs:iconSize (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 81 final int iconSize = UserIconDrawable.getSizeForList(context); in getUserIcon() local 86 return new UserIconDrawable(iconSize).setIcon(b).bake(); in getUserIcon() 91 return new UserIconDrawable(iconSize).setIcon(icon).bake(); in getUserIcon() 94 return new UserIconDrawable(iconSize).setIconDrawable( in getUserIcon()
|
D | RestrictedLockUtils.java | 52 final int iconSize = context.getResources().getDimensionPixelSize( in getRestrictedPadlock() local 54 restrictedPadlock.setBounds(0, 0, iconSize, iconSize); in getRestrictedPadlock()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 80 int iconSize; field in SaveImageInBackgroundData 88 iconSize = 0; in clearImage() 139 int iconSize = data.iconSize; in SaveImageInBackgroundTask() local 159 float scale = (float) iconSize / Math.min(mImageWidth, mImageHeight); in SaveImageInBackgroundTask() 160 Bitmap icon = Bitmap.createBitmap(iconSize, iconSize, data.image.getConfig()); in SaveImageInBackgroundTask() 162 matrix.postTranslate((iconSize - (scale * mImageWidth)) / 2, in SaveImageInBackgroundTask() 163 (iconSize - (scale * mImageHeight)) / 2); in SaveImageInBackgroundTask() 515 data.iconSize = mNotificationIconSize; in saveScreenshotInWorkerThread()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
D | CircleFramedDrawable.java | 52 float iconSize = res.getDimension(R.dimen.circle_avatar_size); in getInstance() local 54 CircleFramedDrawable instance = new CircleFramedDrawable(icon, (int) iconSize); in getInstance()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | NavigationViewTest.java | 263 final int iconSize = res.getDimensionPixelSize(R.dimen.drawable_small_size); in testIconTinting() local 265 new TestDrawable(redFill, iconSize, iconSize))); in testIconTinting() 267 new TestDrawable(greenFill, iconSize, iconSize))); in testIconTinting() 269 new TestDrawable(blueFill, iconSize, iconSize))); in testIconTinting()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 605 final int iconSize = am.getLauncherLargeIconSize(); in createSessionInternal() local 606 if ((params.appIcon.getWidth() > iconSize * 2) in createSessionInternal() 607 || (params.appIcon.getHeight() > iconSize * 2)) { in createSessionInternal() 608 params.appIcon = Bitmap.createScaledBitmap(params.appIcon, iconSize, iconSize, in createSessionInternal() 706 final int iconSize = am.getLauncherLargeIconSize(); in updateSessionAppIcon() local 707 if ((appIcon.getWidth() > iconSize * 2) in updateSessionAppIcon() 708 || (appIcon.getHeight() > iconSize * 2)) { in updateSessionAppIcon() 709 appIcon = Bitmap.createScaledBitmap(appIcon, iconSize, iconSize, true); in updateSessionAppIcon()
|
/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()
|