/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/apppreference/ |
D | AppPreferenceTest.java | 61 float iconSize = mContext.getResources().getDimension(R.dimen.secondary_app_icon_size); in foobar_testName() local 62 assertThat(Float.floatToIntBits(iconSize)).isEqualTo(Float.floatToIntBits(32)); in foobar_testName()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | TwoTargetPreference.java | 81 public void setIconSize(@IconSize int iconSize) { in setIconSize() argument 82 mIconSize = iconSize; in setIconSize()
|
D | Utils.java | 133 final int iconSize = UserIconDrawable.getSizeForList(context); in getUserIcon() local 136 drawable.setBounds(0, 0, iconSize, iconSize); in getUserIcon() 142 return new UserIconDrawable(iconSize).setIcon(icon).bake(); in getUserIcon() 145 return new UserIconDrawable(iconSize).setIconDrawable( in getUserIcon()
|
D | RestrictedLockUtilsInternal.java | 63 final int iconSize = context.getResources().getDimensionPixelSize( in getRestrictedPadlock() local 71 restrictedPadlock.setBounds(0, 0, iconSize, iconSize); in getRestrictedPadlock()
|
/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/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothUtils.java | 140 final int iconSize = context.getResources().getDimensionPixelSize( in getBtRainbowDrawableWithDescription() local 159 final Bitmap resizedBitmap = Bitmap.createScaledBitmap(bitmap, iconSize, in getBtRainbowDrawableWithDescription() 160 iconSize, false); in getBtRainbowDrawableWithDescription()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 550 final int iconSize = am.getLauncherLargeIconSize(); in createSessionInternal() local 551 if ((params.appIcon.getWidth() > iconSize * 2) in createSessionInternal() 552 || (params.appIcon.getHeight() > iconSize * 2)) { in createSessionInternal() 553 params.appIcon = Bitmap.createScaledBitmap(params.appIcon, iconSize, iconSize, in createSessionInternal() 656 final int iconSize = am.getLauncherLargeIconSize(); in updateSessionAppIcon() local 657 if ((appIcon.getWidth() > iconSize * 2) in updateSessionAppIcon() 658 || (appIcon.getHeight() > iconSize * 2)) { in updateSessionAppIcon() 659 appIcon = Bitmap.createScaledBitmap(appIcon, iconSize, iconSize, true); in updateSessionAppIcon()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CarUserSwitchingDialog.java | 112 public static CircleFramedDrawable getInstance(Bitmap icon, float iconSize) { in getInstance() argument 113 CircleFramedDrawable instance = new CircleFramedDrawable(icon, (int) iconSize); in getInstance()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 128 int iconSize; field in SaveImageInBackgroundData 136 iconSize = 0; in clearImage() 193 int iconSize = data.iconSize; in SaveImageInBackgroundTask() local 209 float scale = (float) iconSize / Math.min(mImageWidth, mImageHeight); in SaveImageInBackgroundTask() 211 matrix.postTranslate((iconSize - (scale * mImageWidth)) / 2, in SaveImageInBackgroundTask() 212 (iconSize - (scale * mImageHeight)) / 2); in SaveImageInBackgroundTask() 213 Bitmap icon = generateAdjustedHwBitmap(data.image, iconSize, iconSize, matrix, paint, in SaveImageInBackgroundTask() 702 data.iconSize = mNotificationIconSize; in saveScreenshotInWorkerThread()
|
/frameworks/base/services/tests/servicestests/assets/shortcut/ |
D | dumpsys_expected.txt | 104 "iconSize": 128
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DemoStatusIcons.java | 54 public DemoStatusIcons(LinearLayout statusIcons, int iconSize) { in DemoStatusIcons() argument 57 mIconSize = iconSize; in DemoStatusIcons()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSliceView.java | 270 final int iconSize = mHasHeader ? mIconSizeWithHeader : mIconSize; in showSlice() local 274 / (float) iconDrawable.getIntrinsicHeight() * iconSize); in showSlice() 275 iconDrawable.setBounds(0, 0, Math.max(width, 1), iconSize); in showSlice()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 96 final int iconSize = r.getDimensionPixelSize(R.dimen.resolver_icon_size); in obtain() local 99 instance = new SimpleIconFactory(ctx, iconDpi, iconSize, badgeSize); in obtain()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationShelf.java | 706 float iconSize = mAmbientState.isFullyHidden() ? mHiddenShelfIconSize : mIconSize; 707 shelfIconPosition += (icon.getHeight() - icon.getIconScale() * iconSize) / 2.0f; 712 float shelfIconSize = iconSize * icon.getIconScale();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotNotificationSmartActionsTest.java | 173 data.iconSize = 10; in testNotificationActionExtras()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 4930 int iconSize = mContext.getResources().getDimensionPixelSize( in calculateMarginEnd() local 4934 marginEnd += iconSize; in calculateMarginEnd() 4944 marginEnd += iconSize; in calculateMarginEnd()
|