/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/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 109 int iconSize; field in SaveImageInBackgroundData 117 iconSize = 0; in clearImage() 155 int iconSize = data.iconSize; in SaveImageInBackgroundTask() local 171 float scale = (float) iconSize / Math.min(mImageWidth, mImageHeight); in SaveImageInBackgroundTask() 173 matrix.postTranslate((iconSize - (scale * mImageWidth)) / 2, in SaveImageInBackgroundTask() 174 (iconSize - (scale * mImageHeight)) / 2); in SaveImageInBackgroundTask() 175 Bitmap icon = generateAdjustedHwBitmap(data.image, iconSize, iconSize, matrix, paint, in SaveImageInBackgroundTask() 573 data.iconSize = mNotificationIconSize; in saveScreenshotInWorkerThread()
|
/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/am/ |
D | CarUserSwitchingDialog.java | 102 public static CircleFramedDrawable getInstance(Bitmap icon, float iconSize) { in getInstance() argument 103 CircleFramedDrawable instance = new CircleFramedDrawable(icon, (int) iconSize); in getInstance()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 538 final int iconSize = am.getLauncherLargeIconSize(); in createSessionInternal() local 539 if ((params.appIcon.getWidth() > iconSize * 2) in createSessionInternal() 540 || (params.appIcon.getHeight() > iconSize * 2)) { in createSessionInternal() 541 params.appIcon = Bitmap.createScaledBitmap(params.appIcon, iconSize, iconSize, in createSessionInternal() 644 final int iconSize = am.getLauncherLargeIconSize(); in updateSessionAppIcon() local 645 if ((appIcon.getWidth() > iconSize * 2) in updateSessionAppIcon() 646 || (appIcon.getHeight() > iconSize * 2)) { in updateSessionAppIcon() 647 appIcon = Bitmap.createScaledBitmap(appIcon, iconSize, iconSize, true); in updateSessionAppIcon()
|
/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 | 720 float iconSize = mDark ? mDarkShelfIconSize : mIconSize; 721 shelfIconPosition += (icon.getHeight() - icon.getIconScale() * iconSize) / 2.0f; 726 float shelfIconSize = iconSize * icon.getIconScale();
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 4922 int iconSize = mContext.getResources().getDimensionPixelSize( in calculateMarginEnd() local 4926 marginEnd += iconSize; in calculateMarginEnd() 4936 marginEnd += iconSize; in calculateMarginEnd()
|