Home
last modified time | relevance | path

Searched refs:icons (Results 1 – 25 of 110) sorted by relevance

12345

/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionHeaderContextualCardRenderer.java61 view.icons.removeAllViews(); in bindView()
64 R.layout.conditional_card_header_icon, view.icons, false); in bindView()
66 view.icons.addView(icon); in bindView()
83 public final LinearLayout icons; field in ConditionHeaderContextualCardRenderer.ConditionHeaderCardHolder
88 icons = itemView.findViewById(R.id.header_icons_container); in ConditionHeaderCardHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DConditionHeaderContextualCardRenderer.java61 view.icons.removeAllViews(); in bindView()
64 R.layout.conditional_card_header_icon, view.icons, false); in bindView()
66 view.icons.addView(icon); in bindView()
83 public final LinearLayout icons; field in ConditionHeaderContextualCardRenderer.ConditionHeaderCardHolder
88 icons = itemView.findViewById(R.id.header_icons_container); in ConditionHeaderCardHolder()
/packages/services/Telephony/src/com/android/phone/
DNetworkOperatorPreference.java129 LayerDrawable icons = new LayerDrawable(layers); in updateIcon() local
131 icons.setLayerGravity(0 /* index of networkDrawable */, Gravity.TOP | Gravity.LEFT); in updateIcon()
133 icons.setLayerGravity(1 /* index of SignalDrawable */, Gravity.BOTTOM | Gravity.RIGHT); in updateIcon()
134 icons.setLayerSize(1 /* index of SignalDrawable */, iconSize, iconSize); in updateIcon()
135 setIcon(icons); in updateIcon()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DNetworkOperatorPreference.java136 LayerDrawable icons = new LayerDrawable(layers); in updateIcon() local
138 icons.setLayerGravity(0 /* index of networkDrawable */, Gravity.TOP | Gravity.LEFT); in updateIcon()
140 icons.setLayerGravity(1 /* index of SignalDrawable */, Gravity.BOTTOM | Gravity.RIGHT); in updateIcon()
141 icons.setLayerSize(1 /* index of SignalDrawable */, iconSize, iconSize); in updateIcon()
142 setIcon(icons); in updateIcon()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DSecondaryUserControllerTest.java201 final SparseArray<Drawable> icons = new SparseArray<>(); in iconCallbackChangesPreferenceIcon() local
206 icons.put(mPrimaryUser.id, drawable); in iconCallbackChangesPreferenceIcon()
209 mController.handleUserIcons(icons); in iconCallbackChangesPreferenceIcon()
219 final SparseArray<Drawable> icons = new SparseArray<>(); in setIcon_doesntNpeOnNullPreference() local
223 icons.put(mPrimaryUser.id, drawable); in setIcon_doesntNpeOnNullPreference()
225 mController.handleUserIcons(icons); in setIcon_doesntNpeOnNullPreference()
DUserProfileControllerTest.java126 final SparseArray<Drawable> icons = new SparseArray<>(); in iconCallbackChangesPreferenceIcon() local
129 icons.put(mPrimaryProfile.id, drawable); in iconCallbackChangesPreferenceIcon()
131 mController.handleUserIcons(icons); in iconCallbackChangesPreferenceIcon()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionControlPreference.java172 private void setIcons(PreferenceViewHolder holder, @Nullable List<Integer> icons, int frameId) { in setIcons() argument
174 if (icons != null && !icons.isEmpty()) { in setIcons()
177 int numIcons = icons.size(); in setIcons()
183 imageView.setImageResource(icons.get(i)); in setIcons()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java16 package com.android.launcher3.icons.cache;
18 import static com.android.launcher3.icons.BaseIconFactory.getFullResDefaultActivityIcon;
19 import static com.android.launcher3.icons.BitmapInfo.LOW_RES_ICON;
20 import static com.android.launcher3.icons.GraphicsUtils.setColorAlphaBound;
45 import com.android.launcher3.icons.BaseIconFactory;
46 import com.android.launcher3.icons.BitmapInfo;
47 import com.android.launcher3.icons.BitmapRenderer;
48 import com.android.launcher3.icons.GraphicsUtils;
DCachingLogic.java16 package com.android.launcher3.icons.cache;
22 import com.android.launcher3.icons.BitmapInfo;
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java17 package com.android.launcher3.icons;
43 import com.android.launcher3.icons.ComponentWithLabel.ComponentCachingLogic;
44 import com.android.launcher3.icons.cache.BaseIconCache;
45 import com.android.launcher3.icons.cache.CachingLogic;
46 import com.android.launcher3.icons.cache.HandlerRunnable;
DComponentWithLabel.java16 package com.android.launcher3.icons;
23 import com.android.launcher3.icons.cache.CachingLogic;
DLauncherActivtiyCachingLogic.java16 package com.android.launcher3.icons;
23 import com.android.launcher3.icons.cache.CachingLogic;
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundle.java120 if (!mPreviewInfo.icons.isEmpty()) { in bindThumbnailTile()
121 Drawable icon = mPreviewInfo.icons.get(0).getConstantState().newDrawable().mutate(); in bindThumbnailTile()
281 public final List<Drawable> icons; field in ThemeBundle.PreviewInfo
288 int colorAccentLight, int colorAccentDark, List<Drawable> icons, in PreviewInfo() argument
295 this.icons = icons; in PreviewInfo()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkUtils.java529 LayerDrawable icons = new LayerDrawable(layers); in getSignalStrengthIcon() local
531 icons.setLayerGravity(0 /* index of networkDrawable */, Gravity.TOP | Gravity.LEFT); in getSignalStrengthIcon()
533 icons.setLayerGravity(1 /* index of SignalDrawable */, Gravity.BOTTOM | Gravity.RIGHT); in getSignalStrengthIcon()
534 icons.setLayerSize(1 /* index of SignalDrawable */, iconSize, iconSize); in getSignalStrengthIcon()
535 icons.setTintList(Utils.getColorAttr(context, android.R.attr.colorControlNormal)); in getSignalStrengthIcon()
536 return icons; in getSignalStrengthIcon()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DShapeOptionsProvider.java106 List<Drawable> icons = new ArrayList<>(); in getShapedIcons() local
112 icons.add(new DynamicAdaptiveIconDrawable(adaptiveIcon.getBackground(), in getShapedIcons()
120 return icons; in getShapedIcons()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemeFragment.java388 previewInfo.resolveAccentColor(res), previewInfo.icons, in ThemePreviewAdapter()
405 if (previewInfo.icons.size() >= mIconIds.length) { in ThemePreviewAdapter()
411 for (int i = 0; i < mIconIds.length && i < previewInfo.icons.size(); i++) { in ThemePreviewAdapter()
413 .setImageDrawable(previewInfo.icons.get(i) in ThemePreviewAdapter()
456 for (int i = 0; i < mColorTileIds.length && i < previewInfo.icons.size(); in ThemePreviewAdapter()
458 Drawable icon = previewInfo.icons.get(mColorTileIconIds[i][1]) in ThemePreviewAdapter()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DActivityPicker.java152 ArrayList<ShortcutIconResource> icons = in getItems() local
155 if (labels != null && icons != null && labels.size() == icons.size()) { in getItems()
162 ShortcutIconResource iconResource = icons.get(i); in getItems()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java152 ArrayList<ShortcutIconResource> icons = in getItems() local
155 if (labels != null && icons != null && labels.size() == icons.size()) { in getItems()
162 ShortcutIconResource iconResource = icons.get(i); in getItems()
/packages/apps/Launcher3/src/com/android/launcher3/
DItemInfoWithIcon.java19 import static com.android.launcher3.icons.BitmapInfo.LOW_RES_ICON;
23 import com.android.launcher3.icons.BitmapInfo;
DBubbleTextView.java19 import static com.android.launcher3.icons.GraphicsUtils.setColorAlphaBound;
53 import com.android.launcher3.icons.DotRenderer;
54 import com.android.launcher3.icons.IconCache.IconLoadRequest;
55 import com.android.launcher3.icons.IconCache.ItemInfoUpdateReceiver;
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java61 import com.android.launcher3.icons.ComponentWithLabel;
62 import com.android.launcher3.icons.ComponentWithLabel.ComponentCachingLogic;
63 import com.android.launcher3.icons.IconCache;
64 import com.android.launcher3.icons.LauncherActivtiyCachingLogic;
65 import com.android.launcher3.icons.LauncherIcons;
66 import com.android.launcher3.icons.cache.IconCacheUpdateHandler;
/packages/apps/Launcher3/iconloaderlib/src_full_lib/com/android/launcher3/icons/
DSimpleIconCache.java16 package com.android.launcher3.icons;
35 import com.android.launcher3.icons.cache.BaseIconCache;
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DNormalizedIconLoader.java31 import com.android.launcher3.icons.BitmapInfo;
33 import com.android.launcher3.icons.LauncherIcons;
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java58 import com.android.launcher3.icons.BaseIconFactory;
59 import com.android.launcher3.icons.BitmapInfo;
60 import com.android.launcher3.icons.BitmapRenderer;
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DShortcutConfigActivityInfo.java36 import com.android.launcher3.icons.ComponentWithLabel;
37 import com.android.launcher3.icons.IconCache;

12345