/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/view/ |
D | QCViewUtils.java | 53 Drawable iconDrawable = icon.loadDrawable(context); in getToggleIcon() local 54 if (iconDrawable == null) { in getToggleIcon() 60 iconDrawable.setTint(unavailableToggleIconTint); in getToggleIcon() 64 iconDrawable.setTintList(defaultToggleIconTint); in getToggleIcon() 67 Drawable[] layers = {background, iconDrawable}; in getToggleIcon()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeTransitionView.java | 454 Drawable iconDrawable = getResources().getDrawable(modeIconResourceId); in updateIconDrawableByResourceId() local 455 if (iconDrawable == null) { in updateIconDrawableByResourceId() 463 setIconDrawable(iconDrawable.mutate()); in updateIconDrawableByResourceId() 473 private void setIconDrawable(Drawable iconDrawable) { in setIconDrawable() argument 474 if (iconDrawable == null) { in setIconDrawable() 477 mIconDrawable = iconDrawable; in setIconDrawable()
|
D | BottomBar.java | 493 Drawable iconDrawable = getResources().getDrawable(resId); in setShutterButtonIcon() local 494 if (iconDrawable != null) { in setShutterButtonIcon() 495 iconDrawable = iconDrawable.mutate(); in setShutterButtonIcon() 497 mShutterButton.setImageDrawable(iconDrawable); in setShutterButtonIcon()
|
/packages/apps/Settings/src/com/android/settings/shortcut/ |
D | CreateShortcutPreferenceController.java | 286 Drawable iconDrawable; in createIcon() local 288 iconDrawable = context.getPackageManager().getResourcesForApplication(app) in createIcon() 290 if (iconDrawable instanceof LayerDrawable) { in createIcon() 291 iconDrawable = ((LayerDrawable) iconDrawable).getDrawable(1); in createIcon() 293 ((ImageView) view.findViewById(android.R.id.icon)).setImageDrawable(iconDrawable); in createIcon()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/suggestions/ |
D | SuggestionPreferenceTest.java | 79 Drawable iconDrawable = new ShapeDrawable(); in updateSuggestion_updatesPreference() local 80 when(icon.loadDrawable(any(Context.class))).thenReturn(iconDrawable); in updateSuggestion_updatesPreference() 89 assertThat(mPref.getIcon()).isEqualTo(iconDrawable); in updateSuggestion_updatesPreference()
|
/packages/apps/TV/common/src/com/android/tv/common/customization/ |
D | CustomAction.java | 32 public CustomAction(int positionPriority, String title, Drawable iconDrawable, Intent intent) { in CustomAction() argument 35 mIconDrawable = iconDrawable; in CustomAction()
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/ |
D | SplitAnimationControllerTest.kt | 117 splitAnimInitProps.iconDrawable in getFirstAnimInitViews_nullTaskViewIcon_useSplitSourceIcon() 133 splitAnimInitProps.iconDrawable in getFirstAnimInitViews_validTaskViewIcon_useTaskViewIcon() 152 splitAnimInitProps.iconDrawable in getFirstAnimInitViews_validTaskViewNullSplitSource_useTaskViewIcon() 168 splitAnimInitProps.iconDrawable in getFirstAnimInitViews_nullTaskViewValidSplitSource_noTaskDismissal() 197 splitAnimInitProps.iconDrawable in getFirstAnimInitViews_nullTaskViewValidSplitSource_groupedTaskView()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImpl.java | 439 Drawable iconDrawable = icon.loadDrawable(preference.getContext()); 440 if (iconDrawable == null) { 446 iconDrawable.setTint(Utils.getHomepageIconColor(preference.getContext())); 450 iconDrawable = new AdaptiveIcon(mContext, iconDrawable, 452 ((AdaptiveIcon) iconDrawable).setBackgroundColor(mContext, tile); 454 preference.setIcon(iconDrawable);
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/dialog/ |
D | AlertDialogBuilder.kt | 88 val iconDrawable = AttributeResolver.getNullableDrawable(context, iconId) in <lambda>() constant 89 iconDrawable?.let { in <lambda>() 99 val iconDrawable = AttributeResolver.getNullableDrawable(context, iconId) in <lambda>() constant 100 iconDrawable?.let { in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/selectabledeletion/ |
D | NewDeletionConfirmationDialogFragment.kt | 38 val iconDrawable = AttributeResolver.getNullableDrawable(view.context, R.attr.deleteIcon) in <lambda>() constant 42 iconDrawable?.let { in <lambda>()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/qc/ |
D | CarUiPortraitProfileSwitcher.java | 93 private QCRow createUserProfileRowForCurrentProfile(String title, Drawable iconDrawable, in createUserProfileRowForCurrentProfile() argument 95 Icon icon = Icon.createWithBitmap(drawableToBitmap(iconDrawable)); in createUserProfileRowForCurrentProfile()
|
/packages/apps/TvSystemUI/src/com/android/systemui/tv/sensorprivacy/ |
D | TvSensorPrivacyChangedActivity.java | 141 Drawable iconDrawable = mIcon.getDrawable(); in updateUI() local 142 if (iconDrawable instanceof Animatable) { in updateUI() 143 ((Animatable) iconDrawable).start(); in updateUI()
|
D | TvUnblockSensorActivity.java | 218 Drawable iconDrawable = mIcon.getDrawable(); in updateUiForHardwareToggle() local 219 if (iconDrawable instanceof Animatable) { in updateUiForHardwareToggle() 220 ((Animatable) iconDrawable).start(); in updateUiForHardwareToggle()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/ |
D | DeletionAppDataConfirmationDialogFragment.kt | 53 val iconDrawable = AttributeResolver.getNullableDrawable(view.context, R.attr.deleteIcon) in <lambda>() constant 54 iconDrawable?.let { in <lambda>()
|
D | TimeRangeDialogFragment.kt | 54 val iconDrawable = in <lambda>() constant 56 iconDrawable?.let { in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/shared/ |
D | DisconnectDialogFragment.kt | 96 val iconDrawable = in <lambda>() constant 98 iconDrawable?.let { in <lambda>()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | ContentFragment.java | 176 public void setIcon(Drawable iconDrawable) { in setIcon() argument 177 mBase.setIcon(iconDrawable); in setIcon()
|
D | BaseContentFragment.java | 269 public void setIcon(Drawable iconDrawable) { in setIcon() argument 274 if (iconDrawable != null) { in setIcon() 275 iconImageView.setImageDrawable(iconDrawable); in setIcon()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCard.java | 284 public Builder setIconDrawable(Drawable iconDrawable) { in setIconDrawable() argument 285 mIconDrawable = iconDrawable; in setIconDrawable()
|
/packages/apps/Dialer/java/com/android/bubble/ |
D | BubbleInfo.java | 114 public abstract Builder setIconDrawable(Drawable iconDrawable); in setIconDrawable() argument
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AdvancedBluetoothDetailsHeaderControllerTest.java | 115 final BatteryMeterView.BatteryMeterDrawable iconDrawable = in createBatteryIcon_hasCorrectInfo() local 117 assertThat(iconDrawable.getBatteryLevel()).isEqualTo(BATTERY_LEVEL_MAIN); in createBatteryIcon_hasCorrectInfo() 118 assertThat(iconDrawable.getCharging()).isTrue(); in createBatteryIcon_hasCorrectInfo()
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/ |
D | SlicePreferencesUtil.java | 190 Drawable iconDrawable = icon.loadDrawable(contextThemeWrapper); in getPreference() local 192 preference.setIcon(IconUtil.getCompoundIcon(contextThemeWrapper, iconDrawable)); in getPreference() 194 preference.setIcon(iconDrawable); in getPreference()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/ |
D | BubbleBarController.java | 610 Drawable iconDrawable = AppCompatResources.getDrawable(mContext, in createOverflowBitmap() local 622 iconDrawable.setTint(overflowIconColor); in createOverflowBitmap() 625 Drawable foreground = new InsetDrawable(iconDrawable, inset); in createOverflowBitmap()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/watchdog/ |
D | CarWatchdogTestFragment.java | 438 private void showAlert(String title, String message, int iconDrawable) { in showAlert() argument 447 .setIcon(iconDrawable) in showAlert()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/ |
D | ProfileSwitcher.java | 270 private QCRow createProfileRow(String title, Drawable iconDrawable, in createProfileRow() argument 272 Icon icon = Icon.createWithBitmap(drawableToBitmap(iconDrawable)); in createProfileRow()
|