/packages/apps/Settings/src/com/android/settings/shortcut/ |
D | CreateShortcutPreferenceController.java | 245 Drawable iconDrawable; in createIcon() local 247 iconDrawable = context.getPackageManager().getResourcesForApplication(app) in createIcon() 249 if (iconDrawable instanceof LayerDrawable) { in createIcon() 250 iconDrawable = ((LayerDrawable) iconDrawable).getDrawable(1); in createIcon() 252 ((ImageView) view.findViewById(android.R.id.icon)).setImageDrawable(iconDrawable); in createIcon()
|
/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/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/Settings/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImpl.java | 404 Drawable iconDrawable = icon.loadDrawable(preference.getContext()); 406 iconDrawable.setTint(Utils.getHomepageIconColor(preference.getContext())); 408 iconDrawable = new AdaptiveIcon(mContext, iconDrawable, 410 ((AdaptiveIcon) iconDrawable).setBackgroundColor(mContext, tile); 412 preference.setIcon(iconDrawable);
|
/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/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | BaseContentFragment.java | 269 public void setIcon(Drawable iconDrawable) { in setIcon() argument 274 if (iconDrawable != null) { in setIcon() 275 iconImageView.setImageDrawable(iconDrawable); in setIcon()
|
D | ContentFragment.java | 176 public void setIcon(Drawable iconDrawable) { in setIcon() argument 177 mBase.setIcon(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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/watchdog/ |
D | CarWatchdogTestFragment.java | 214 private void showAlert(String title, String message, int iconDrawable) { in showAlert() argument 227 .setIcon(iconDrawable) in showAlert()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AdvancedBluetoothDetailsHeaderControllerTest.java | 110 final BatteryMeterView.BatteryMeterDrawable iconDrawable = in createBatteryIcon_hasCorrectInfo() local 112 assertThat(iconDrawable.getBatteryLevel()).isEqualTo(BATTERY_LEVEL_MAIN); in createBatteryIcon_hasCorrectInfo() 113 assertThat(iconDrawable.getCharging()).isTrue(); in createBatteryIcon_hasCorrectInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 325 FastBitmapDrawable iconDrawable = info.newIcon(getContext(), useTheme); in applyIconAndLabel() local 326 mDotParams.color = IconPalette.getMutedColor(iconDrawable.getIconColor(), 0.54f); in applyIconAndLabel() 328 setIcon(iconDrawable); in applyIconAndLabel()
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/ |
D | SlicePreferencesUtil.java | 187 Drawable iconDrawable = icon.loadDrawable(contextThemeWrapper); in getPreference() local 189 preference.setIcon(IconUtil.getCompoundIcon(contextThemeWrapper, iconDrawable)); in getPreference() 191 preference.setIcon(iconDrawable); in getPreference()
|
/packages/apps/Dialer/java/com/android/bubble/ |
D | BubbleInfo.java | 114 public abstract Builder setIconDrawable(Drawable iconDrawable); in setIconDrawable() argument
|