Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DOngoingPrivacyChip.kt34 private var iconSize = 0 in <lambda>() variable
64 iconsContainer.addView(image, iconSize, iconSize) in <lambda>()
91 iconSize = context.resources in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDismissCircleView.java58 final int iconSize = res.getDimensionPixelSize(R.dimen.dismiss_target_x_size); in setViewSizes() local
60 new FrameLayout.LayoutParams(iconSize, iconSize, Gravity.CENTER)); in setViewSizes()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenIconDrawableFactory.java58 @NonNull Drawable foregroundDrawable, int srcIconSize, int iconSize, in makeIconDrawable() argument
71 srcIconSize, iconSize, splashscreenWorkerHandler); in makeIconDrawable()
77 srcIconSize, iconSize, splashscreenWorkerHandler); in makeIconDrawable()
88 int iconSize, Handler splashscreenWorkerHandler) { in makeLegacyIconDrawable() argument
89 return new Drawable[]{new ImmobileIconDrawable(iconDrawable, srcIconSize, iconSize, in makeLegacyIconDrawable()
103 ImmobileIconDrawable(Drawable drawable, int srcIconSize, int iconSize, in ImmobileIconDrawable() argument
105 final float scale = (float) iconSize / srcIconSize; in ImmobileIconDrawable()
/frameworks/base/core/java/com/android/internal/widget/
DEmphasizedNotificationButton.java103 int iconSize = mContext.getResources().getDimensionPixelSize( in setImageDrawable() local
105 drawable.setBounds(0, 0, iconSize, iconSize); in setImageDrawable()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DAppPreferenceTest.java59 float iconSize = mContext.getResources().getDimension(R.dimen.secondary_app_icon_size); in foobar_testName() local
60 assertThat(Float.floatToIntBits(iconSize)).isEqualTo(Float.floatToIntBits(32)); in foobar_testName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileViewImpl.kt139 val iconSize = resources.getDimensionPixelSize(R.dimen.qs_icon_size) in <lambda>() constant
140 addView(_icon, LayoutParams(iconSize, iconSize)) in <lambda>()
155 val iconSize = context.resources.getDimensionPixelSize(R.dimen.qs_icon_size) in <lambda>() constant
157 height = iconSize in <lambda>()
158 width = iconSize in <lambda>()
174 height = iconSize in <lambda>()
175 width = iconSize in <lambda>()
180 height = iconSize in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java185 final int iconSize = context.getResources().getDimensionPixelSize( in getBtDrawableWithDescription() local
204 final Bitmap resizedBitmap = Bitmap.createScaledBitmap(bitmap, iconSize, in getBtDrawableWithDescription()
205 iconSize, false); in getBtDrawableWithDescription()
271 final int iconSize = context.getResources().getDimensionPixelSize( in buildAdvancedDrawable() local
287 final Bitmap resizedBitmap = Bitmap.createScaledBitmap(bitmap, iconSize, in buildAdvancedDrawable()
288 iconSize, false); in buildAdvancedDrawable()
/frameworks/base/packages/SettingsLib/TwoTargetPreference/src/com/android/settingslib/widget/
DTwoTargetPreference.java84 public void setIconSize(@IconSize int iconSize) { in setIconSize() argument
85 mIconSize = iconSize; in setIconSize()
/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/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DShadowGenerator.java53 public ShadowGenerator(int iconSize) { in ShadowGenerator() argument
54 mIconSize = iconSize; in ShadowGenerator()
DBaseIconFactory.java441 public static int getBadgeSizeForIconSize(int iconSize) { in getBadgeSizeForIconSize() argument
442 return (int) (ICON_BADGE_SCALE * iconSize); in getBadgeSizeForIconSize()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DConversationIconFactory.java147 int iconSize, in ConversationIconDrawable() argument
152 mIconSize = iconSize; in ConversationIconDrawable()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedSwitchPreference.java93 public void setIconSize(int iconSize) { in setIconSize() argument
94 mIconSize = iconSize; in setIconSize()
DUtils.java143 final int iconSize = UserIconDrawable.getSizeForList(context); in getUserIcon() local
146 drawable.setBounds(0, 0, iconSize, iconSize); in getUserIcon()
152 return new UserIconDrawable(iconSize).setIcon(icon).bake(); in getUserIcon()
155 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/SystemUI/src/com/android/systemui/people/
DPeopleStoryIconFactory.java113 int iconSize, in PeopleStoryIconDrawable() argument
120 mIconSize = iconSize; in PeopleStoryIconDrawable()
DPeopleTileViewHelper.java608 int iconSize = in createDndRemoteViews() local
613 int heightWithoutIcon = mHeight - 2 * outerPadding - iconSize; in createDndRemoteViews()
640 views.setViewLayoutWidth(R.id.predefined_icon, iconSize, COMPLEX_UNIT_DIP); in createDndRemoteViews()
641 views.setViewLayoutHeight(R.id.predefined_icon, iconSize, COMPLEX_UNIT_DIP); in createDndRemoteViews()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java701 final int iconSize = am.getLauncherLargeIconSize(); in createSessionInternal() local
702 if ((params.appIcon.getWidth() > iconSize * 2) in createSessionInternal()
703 || (params.appIcon.getHeight() > iconSize * 2)) { in createSessionInternal()
704 params.appIcon = Bitmap.createScaledBitmap(params.appIcon, iconSize, iconSize, in createSessionInternal()
823 final int iconSize = am.getLauncherLargeIconSize(); in updateSessionAppIcon() local
824 if ((appIcon.getWidth() > iconSize * 2) in updateSessionAppIcon()
825 || (appIcon.getHeight() > iconSize * 2)) { in updateSessionAppIcon()
826 appIcon = Bitmap.createScaledBitmap(appIcon, iconSize, iconSize, true); in updateSessionAppIcon()
/frameworks/base/services/tests/servicestests/assets/shortcut/
Ddumpsys_expected.txt104 "iconSize": 128
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePositioner.java132 public void updateForTaskbar(int iconSize, in updateForTaskbar() argument
135 mTaskbarIconSize = iconSize; in updateForTaskbar()
DBubbleController.java444 int iconSize = b.getInt(EXTRA_TASKBAR_ICON_SIZE); in onTaskbarChanged() local
450 + " iconSize: " + iconSize); in onTaskbarChanged()
453 mBubblePositioner.updateForTaskbar(iconSize, taskbarPosition, isVisible, taskbarSize); in onTaskbarChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDemoStatusIcons.java60 int iconSize, in DemoStatusIcons() argument
65 mIconSize = iconSize; in DemoStatusIcons()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java224 final int iconSize = mHasHeader ? mIconSizeWithHeader : mIconSize; in showSlice() local
234 / (float) iconDrawable.getIntrinsicHeight() * iconSize); in showSlice()
235 iconDrawable.setBounds(0, 0, Math.max(width, 1), iconSize); in showSlice()
/frameworks/base/core/java/android/window/
DSplashScreenView.java189 public Builder setIconSize(int iconSize) { in setIconSize() argument
190 mIconSize = iconSize; in setIconSize()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java100 final int iconSize = getIconSizeFromContext(ctx); in obtain() local
102 instance = new SimpleIconFactory(ctx, iconDpi, iconSize, badgeSize); in obtain()

12