Home
last modified time | relevance | path

Searched refs:iconSize (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/apppreference/
DAppPreferenceTest.java61 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/
DTwoTargetPreference.java81 public void setIconSize(@IconSize int iconSize) { in setIconSize() argument
82 mIconSize = iconSize; in setIconSize()
DUtils.java133 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()
DRestrictedLockUtilsInternal.java63 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/
DCircleFramedDrawable.java52 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/
DGlobalScreenshot.java109 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/
DBluetoothUtils.java140 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/
DCarUserSwitchingDialog.java102 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/
DPackageInstallerService.java538 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/
Ddumpsys_expected.txt104 "iconSize": 128
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDemoStatusIcons.java54 public DemoStatusIcons(LinearLayout statusIcons, int iconSize) { in DemoStatusIcons() argument
57 mIconSize = iconSize; in DemoStatusIcons()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java270 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/
DSimpleIconFactory.java96 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/
DNotificationShelf.java720 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/
DNotification.java4922 int iconSize = mContext.getResources().getDimensionPixelSize( in calculateMarginEnd() local
4926 marginEnd += iconSize; in calculateMarginEnd()
4936 marginEnd += iconSize; in calculateMarginEnd()