Searched refs:mIcons (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsBackgroundDrawable.java | 95 protected final TransformedImageDrawable[] mIcons; field in AllAppsBackgroundDrawable 112 mIcons = new TransformedImageDrawable[4]; in AllAppsBackgroundDrawable() 113 mIcons[0] = new TransformedImageDrawable(context, R.drawable.ic_all_apps_bg_icon_1, in AllAppsBackgroundDrawable() 115 mIcons[1] = new TransformedImageDrawable(context, R.drawable.ic_all_apps_bg_icon_2, in AllAppsBackgroundDrawable() 117 mIcons[2] = new TransformedImageDrawable(context, R.drawable.ic_all_apps_bg_icon_3, in AllAppsBackgroundDrawable() 119 mIcons[3] = new TransformedImageDrawable(context, R.drawable.ic_all_apps_bg_icon_4, in AllAppsBackgroundDrawable() 161 for (int i = 0; i < mIcons.length; i++) { in draw() 162 mIcons[i].draw(canvas); in draw() 170 for (int i = 0; i < mIcons.length; i++) { in onBoundsChange() 171 mIcons[i].updateBounds(bounds); in onBoundsChange() [all …]
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | ThemeComponentOption.java | 179 private List<Drawable> mIcons = new ArrayList<>(); field in ThemeComponentOption.IconOption 185 Drawable icon = mIcons.get(THUMBNAIL_ICON_POSITION) in bindThumbnailTile() 227 for (int i = 0; i < mIconIds.length && i < mIcons.size(); i++) { in bindPreview() 229 mIcons.get(i)); in bindPreview() 234 mIcons.add(previewIcon); in addIcon() 251 for (Drawable icon : mIcons) { in buildStep() 290 private List<Drawable> mIcons = new ArrayList<>(); field in ThemeComponentOption.ColorOption 376 if (!mIcons.isEmpty() && mShapeDrawable != null) { in bindPreview() 378 Drawable icon = mIcons.get(COLOR_TILES_ICON_IDS[i][1]).getConstantState() in bindPreview() 393 mIcons.addAll(icons); in setPreviewIcons()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/ |
D | ThemePreviewPage.java | 90 private final List<Drawable> mIcons; field in ThemePreviewPage.ThemeCoverPage 115 mIcons = icons; in ThemeCoverPage() 164 for (int i = 0; i < 3 && i < mIcons.size(); i++) { in bindBody() 165 Drawable icon = mIcons.get(mColorTileIconIds[i][1]).getConstantState() in bindBody() 200 if (iconIndex < mIcons.size()) { in bindPreviewContent() 202 .setImageDrawable(mIcons.get(iconIndex).getConstantState() in bindPreviewContent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardIconsSet.java | 94 private final Drawable[] mIcons = new Drawable[NUM_ICONS]; field in KeyboardIconsSet 119 mIcons[iconId] = icon; in loadIcons() 157 return mIcons[iconId]; in getIconDrawable()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/ |
D | ThemeBundle.java | 321 private List<Drawable> mIcons = new ArrayList<>(); field in ThemeBundle.Builder 362 mColorAccentDark, mIcons, shapeDrawable, mCornerRadius, in createPreviewInfo() 400 mIcons.add(icon); in addIcon()
|