/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 | 249 Drawable icon = ((ImageView) mRootView.findViewById(R.id.button1Icon)).getDrawable(); in onBindViewHolder_setButtonIcon_iconMustDisplayAboveText() local 316 Drawable icon = ((ImageView) mRootView.findViewById(R.id.button1Icon)).getDrawable(); in setButtonIcon_iconResourceIdIsZero_shouldNotDisplayIcon() local 327 Drawable icon = ((ImageView) mRootView.findViewById(R.id.button1Icon)).getDrawable(); in setButtonIcon_iconResourceIdNotExisting_shouldNotDisplayIconAndCrash() local
|
/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/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/Car/SystemUI/src/com/android/systemui/car/userswitcher/ |
D | UserIconProvider.java | 54 Bitmap icon = userManager.getUserIcon(userInfo.id); in getRoundedUserIcon() local 65 Bitmap icon = getGuestUserDefaultIcon(resources); in getRoundedGuestDefaultIcon() local 72 private static BitmapDrawable scaleUserIcon(Resources res, Bitmap icon) { in scaleUserIcon()
|
/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/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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/imewidescreen/ |
D | CarUiImeSearchListItem.java | 49 public void setIcon(@Nullable Drawable icon) { in setIcon() 64 public void setSupplementalIcon(@Nullable Drawable icon, in setSupplementalIcon()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | CarControlBar.java | 50 ImageButton createIconButton(Drawable icon); in createIconButton() 56 ImageButton createIconButton(Drawable icon, int viewId); in createIconButton()
|
/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/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryEntry.java | 58 public final Drawable icon; field in BatteryEntry.NameAndIcon 61 public NameAndIcon(String name, Drawable icon, int iconId) { in NameAndIcon() 66 String name, String packageName, Drawable icon, int iconId) { in NameAndIcon() 173 public Drawable icon; field in BatteryEntry 182 Drawable icon; field in BatteryEntry.UidToDetail 352 Drawable icon) { in loadNameAndIcon() 553 Drawable icon = null; in getNameAndIconFromUserId() local 570 Drawable icon = context.getDrawable(R.drawable.ic_power_system); in getNameAndIconFromUid() local
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | LowStorageSlice.java | 71 final IconCompat icon = IconCompat.createWithResource(mContext, R.drawable.ic_storage); in getSlice() local 117 private RowBuilder buildRowBuilder(CharSequence title, String summary, IconCompat icon) { in buildRowBuilder()
|
D | FaceSetupSlice.java | 117 final IconCompat icon = IconCompat.createWithResource(mContext, R.drawable.ic_face_24dp); in getSlice() local 144 IconCompat icon, Context context, Intent intent) { in buildRowBuilder()
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | ProfileIconProvider.java | 52 Bitmap icon = userManager.getUserIcon(userInfo.id); in getRoundedProfileIcon() local 63 Bitmap icon = getGuestProfileDefaultIcon(resources); in getRoundedGuestDefaultIcon() local
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationInfo.java | 75 Icon icon = iconType == Notification.BADGE_ICON_SMALL ? null : notification.getLargeIcon(); in NotificationInfo() local 125 Drawable icon = mIconDrawable.mutate(); in getIconForBackground() local
|
/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 | 68 public String icon; field in StkMenuConfig.Config 70 public Config(int mcc, int mnc, String label, String icon) { in Config() 178 String icon = parser.getAttributeValue(null, XML_ICON_ATTR); in initialize() local
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | CarUiContentListItem.java | 221 public void setIcon(@Nullable Drawable icon) { in setIcon() 238 public void setPrimaryIconType(@NonNull IconType icon) { in setPrimaryIconType() 344 public void setSupplementalIcon(@Nullable Drawable icon) { in setSupplementalIcon() 354 public void setSupplementalIcon(@Nullable Drawable icon, in setSupplementalIcon()
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | WifiSlice.java | 127 final IconCompat icon = IconCompat.createWithResource(mContext, in getHeaderRow() local 197 protected SliceAction getWifiEntryAction(WifiSliceItem wifiSliceItem, IconCompat icon, in getWifiEntryAction() 226 private SliceAction getActivityAction(int requestCode, Intent intent, IconCompat icon, in getActivityAction() 233 private SliceAction getBroadcastAction(int requestCode, Intent intent, IconCompat icon, in getBroadcastAction()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/compat/ |
D | ButtonDrawableSetterCompat.java | 32 public static void setDrawableToButtonStart(Button button, Drawable icon) { in setDrawableToButtonStart()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | IconUtilsTest.java | 76 final int icon = 1234; in testLoadPackageIcon() local 100 final int icon = 1234; in testLoadPackageIcon_maybeShowBadge() local
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
D | FakeAccountType.java | 84 public static FakeAccountType create(String accountType, String label, Drawable icon) { in create() 92 public static AccountType create(AccountWithDataSet account, String label, Drawable icon) { in create()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | UtilsTest.java | 208 final IconCompat icon = Utils.createIconWithDrawable(drawable); in createIconWithDrawable_BitmapDrawable() local 217 final IconCompat icon = Utils.createIconWithDrawable(drawable); in createIconWithDrawable_ColorDrawable() local 227 final IconCompat icon = Utils.createIconWithDrawable(drawable); in createIconWithDrawable_VectorDrawable() local
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | FactoryResetAccountsPreferenceController.java | 118 Drawable icon = null; in getAccountIcon() local 137 private Preference createPreference(String title, @Nullable Drawable icon) { in createPreference()
|