/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | TopLevelIconTest.java | 51 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in createIcon_shouldSetBackgroundAndInset() local 59 TopLevelIcon icon = spy(new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK))); in setBackgroundColor_shouldUpdateTintList() local 71 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in injectedPreferenceWithBackgroundColorRawValue_shouldSetColor() local 80 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in injectedPreferenceWithoutBackgroundColor_shouldSetDefaultBackgroundColor() local 91 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in injectedPreferenceWithBackgroundColorHintValue_shouldSetColor() local 100 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in getConstantState_returnCorrectState() local
|
D | ActionButtonsPreferenceTest.java | 259 Drawable icon = ((ImageView) mRootView.findViewById(R.id.button1Icon)).getDrawable(); in onBindViewHolder_setButtonIcon_iconMustDisplayAboveText() local 326 Drawable icon = ((ImageView) mRootView.findViewById(R.id.button1Icon)).getDrawable(); in setButtonIcon_iconResourceIdIsZero_shouldNotDisplayIcon() local 337 Drawable icon = ((ImageView) mRootView.findViewById(R.id.button1Icon)).getDrawable(); in setButtonIcon_iconResourceIdNotExisting_shouldNotDisplayIconAndCrash() local
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/workspace/ |
D | TaplThemeIconsTest.java | 67 HomeAppIcon icon = allApps.getAppIcon(APP_NAME); in testIconWithoutTheme() local 85 HomeAppIcon icon = allApps.getAppIcon(TEST_APP_NAME); in testShortcutIconWithoutTheme() local 104 HomeAppIcon icon = allApps.getAppIcon(APP_NAME); in testIconWithTheme() local 122 HomeAppIcon icon = allApps.getAppIcon(TEST_APP_NAME); in testShortcutIconWithTheme() local 143 BubbleTextView icon = null; in verifyIconTheme() local
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | BaseIconFactory.java | 147 Bitmap icon = createIconBitmap(drawable, 1f); in createIconBitmap() local 151 public BitmapInfo createIconBitmap(Bitmap icon) { in createIconBitmap() 162 public BitmapInfo createShapedIconBitmap(Bitmap icon, UserHandle user) { in createShapedIconBitmap() 173 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap() 178 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap() 183 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap() 188 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap() 195 public Bitmap createScaledBitmapWithoutShadow(Drawable icon, int iconAppTargetSdk) { in createScaledBitmapWithoutShadow() 212 public BitmapInfo createBadgedIconBitmap(@NonNull Drawable icon, UserHandle user, in createBadgedIconBitmap() 260 public Bitmap createScaledBitmapWithoutShadow(Drawable icon, boolean shrinkNonAdaptiveIcons) { in createScaledBitmapWithoutShadow() [all …]
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/util/ |
D | UriFiltersTest.kt | 62 val icon = Icon.createWithBitmap(it) in chooserAction_hasValidIcon_bitmap() constant 69 val icon = Icon.createWithContentUri("content://provider/content/12345") in chooserAction_hasValidIcon_uri() constant 75 val icon = Icon.createWithContentUri("content://${userId}@provider/content/12345") in chooserAction_hasValidIcon_uri_unowned() constant
|
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/ |
D | WearableDialogHelper.java | 89 public WearableDialogHelper setPositiveIcon(@Nullable Drawable icon) { in setPositiveIcon() 103 public WearableDialogHelper setNegativeIcon(@Nullable Drawable icon) { in setNegativeIcon() 117 public WearableDialogHelper setNeutralIcon(@Nullable Drawable icon) { in setNeutralIcon() 178 public DialogBuilder setPositiveIcon(@Nullable Drawable icon) { in setPositiveIcon() 188 public DialogBuilder setNegativeIcon(@Nullable Drawable icon) { in setNegativeIcon() 198 public DialogBuilder setNeutralIcon(@Nullable Drawable icon) { in setNeutralIcon()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/ |
D | CustomActionsInteractorTest.kt | 45 val icon = Icon.createWithBitmap(bitmap) in <lambda>() constant 75 val icon = Icon.createWithBitmap(bitmap) in <lambda>() constant 93 val icon = Icon.createWithBitmap(bitmap) in <lambda>() constant
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAppUtilsTest.java | 44 Drawable icon = DefaultAppUtils.getSafeIcon(drawable, testMaxDimensions); in setSafeIcon_smallerThanLimit() local 59 Drawable icon = DefaultAppUtils.getSafeIcon(drawable, testMaxDimensions); in setSafeIcon_largerThanLimit() local 74 Drawable icon = DefaultAppUtils.getSafeIcon(drawable, testMaxDimensions); in setSafeIcon_noChangeForVectorDrawable() local
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListFilter.java | 69 public final Drawable icon; field in ContactListFilter 73 Drawable icon) { in ContactListFilter() 86 String dataSet, Drawable icon) { in createAccountFilter() 97 public static ContactListFilter createDeviceContactsFilter(Drawable icon) { in createDeviceContactsFilter() 102 public static ContactListFilter createDeviceContactsFilter(Drawable icon, in createDeviceContactsFilter() 108 public static ContactListFilter createSimContactsFilter(Drawable icon, in createSimContactsFilter()
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintJobPreferenceController.java | 99 Drawable icon = mContext.getDrawable(com.android.internal.R.drawable.ic_print); in updateUi() local 107 Drawable icon = mContext.getDrawable( in updateUi() local
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | IconUtils.java | 29 int icon, boolean maybeShowBadge) { in loadPackageIcon() 68 final Drawable icon = context.getDrawable(drawableId); in applyTintColor() local 72 public static Drawable applyTintColor(Context context, Drawable icon, int tintColorId) { in applyTintColor()
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/view/ |
D | BaseTaskViewHolder.java | 46 public void bind(@Nullable Drawable icon, @Nullable Bitmap thumbnail) { in bind() 61 public void updateIcon(@Nullable Drawable icon) { in updateIcon()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
D | AppGridButton.java | 53 protected void updateImage(AlphaOptimizedImageView icon) { in updateImage() 58 protected void refreshIconAlpha(AlphaOptimizedImageView icon) { in refreshIconAlpha()
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | IconUtil.java | 35 static Drawable applyTint(@NonNull Context context, @NonNull Drawable icon) { in applyTint() 46 static Drawable makeIconCircle(@NonNull Context context, @NonNull Drawable icon) { in makeIconCircle()
|
/packages/apps/Settings/src/com/android/settings/emergency/ |
D | MoreSettingsPreferenceController.java | 89 final Drawable icon = getIcon(); in displayPreference() local 154 private static Drawable getScaledDrawable(Context context, Drawable icon, int width, in getScaledDrawable() 167 private static Bitmap convertToBitmap(Drawable icon, int width, int height) { in convertToBitmap()
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | ProfileIconProvider.java | 48 Bitmap icon = userManager.getUserIcon(userInfo.id); in getRoundedProfileIcon() local 59 Bitmap icon = UserHelper.getGuestDefaultIcon(context); in getRoundedGuestDefaultIcon() local
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilitySettingsForSetupWizard.java | 98 final Drawable icon = getContext().getDrawable(R.drawable.ic_accessibility_visibility); in onViewCreated() local 100 description, icon); in onViewCreated() local 216 final Drawable icon = info.getResolveInfo().loadIcon(getPackageManager()); in updateAccessibilityServicePreference() local 217 preference.setIcon(getAdaptiveIcon(getContext(), icon, Color.WHITE)); in updateAccessibilityServicePreference() local
|
D | AutoBrightnessPreferenceFragmentForSetupWizard.java | 52 final Drawable icon = getContext().getDrawable(R.drawable.ic_accessibility_visibility); in onViewCreated() local 55 /* description= */ null, icon); in onViewCreated() local
|
D | ToggleScreenReaderPreferenceFragmentForSetupWizard.java | 48 final Drawable icon = getContext().getDrawable(R.drawable.ic_accessibility_visibility); in onViewCreated() local 50 description, icon); in onViewCreated() local
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | AppInfo.java | 52 public Builder(@NonNull String packageName, @Nullable String name, @Nullable Bitmap icon) { in Builder() 69 private AppInfo(@NonNull String packageName, @Nullable String name, @Nullable Bitmap icon) { in AppInfo()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/settings/ |
D | CloudMediaProviderOption.java | 66 final Drawable icon = providerInfo.loadIcon(packageManager); in fromCloudProviderInfo() local 76 @NonNull Drawable icon) { in CloudMediaProviderOption()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | SimpleIconFactory.java | 209 Bitmap createUserBadgedIconBitmap(@Nullable Drawable icon, @Nullable UserHandle user) { in createUserBadgedIconBitmap() 253 public Bitmap createAppBadgedIconBitmap(@Nullable Drawable icon, Bitmap renderedAppIcon) { in createAppBadgedIconBitmap() 327 private Bitmap createIconBitmap(Drawable icon, float scale) { in createIconBitmap() 331 private Bitmap createIconBitmapNoInsetOrMask(Drawable icon, float scale) { in createIconBitmapNoInsetOrMask() 341 private Bitmap createIconBitmap(Drawable icon, float scale, int size, boolean insetAdiForShadow, in createIconBitmap() 420 private Drawable normalizeAndWrapToAdaptiveIcon(Drawable icon, RectF outIconBounds, in normalizeAndWrapToAdaptiveIcon() 672 private synchronized void recreateIcon(Bitmap icon, Canvas out) { in recreateIcon() 676 private synchronized void recreateIcon(Bitmap icon, BlurMaskFilter blurMaskFilter, in recreateIcon()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/icons/ |
D | LoadDirectShareIconTask.java | 63 final Icon icon = mTargetInfo.getChooserTargetIcon(); in doInBackground() local 94 @Nullable Icon icon, in getChooserTargetIconDrawable()
|
/packages/apps/Dialer/java/com/android/incallui/contactgrid/ |
D | TopRow.java | 55 @Nullable public final Drawable icon; field in TopRow.Info 58 public Info(@Nullable CharSequence label, @Nullable Drawable icon, boolean labelIsSingleLine) { in Info() 69 Drawable icon = state.connectionIcon(); in getInfo() local
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkMenuConfig.java | 67 public String icon; field in StkMenuConfig.Config 69 public Config(int mcc, int mnc, String label, String icon) { in Config() 177 String icon = parser.getAttributeValue(null, XML_ICON_ATTR); in initialize() local
|