Home
last modified time | relevance | path

Searched refs:showIcon (Results 1 – 6 of 6) sorted by relevance

/aosp12/packages/apps/Settings/src/com/android/settings/notification/
H A DRingVolumePreferenceController.java140 mPreference.showIcon(R.drawable.ic_volume_ringer_vibrate); in updatePreferenceIcon()
143 mPreference.showIcon(R.drawable.ic_notifications_off_24dp); in updatePreferenceIcon()
145 mPreference.showIcon(R.drawable.ic_notifications); in updatePreferenceIcon()
H A DVolumeSeekBarPreference.java173 public void showIcon(int resId) { in showIcon() method in VolumeSeekBarPreference
/aosp12/frameworks/base/core/java/com/android/internal/view/menu/
H A DListMenuItemView.java247 final boolean showIcon = mItemData.shouldShowIcon() || mForceShowIcon; in setIcon()
248 if (!showIcon && !mPreserveIconSpacing) { in setIcon()
261 mIconView.setImageDrawable(showIcon ? icon : null); in setIcon()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java522 final boolean showIcon; in updateManagedProfile()
525 showIcon = true; in updateManagedProfile()
530 showIcon = false; in updateManagedProfile()
532 if (mManagedProfileIconVisible != showIcon) { in updateManagedProfile()
533 mIconController.setIconVisibility(mSlotManagedProfile, showIcon); in updateManagedProfile()
534 mManagedProfileIconVisible = showIcon; in updateManagedProfile()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DFloatingToolbar.java1226 final boolean showIcon = isFirstItem && menuItem.getItemId() == R.id.textAssist; in layoutMainPanelItems()
1228 mContext, menuItem, mIconTextSpacing, showIcon); in layoutMainPanelItems()
1229 if (!showIcon && menuItemButton instanceof LinearLayout) { in layoutMainPanelItems()
1753 Context context, MenuItem menuItem, int iconTextSpacing, boolean showIcon) { in createMenuItemButton() argument
1757 updateMenuItemButton(menuItemButton, menuItem, iconTextSpacing, showIcon); in createMenuItemButton()
1766 View menuItemButton, MenuItem menuItem, int iconTextSpacing, boolean showIcon) { in updateMenuItemButton() argument
1778 if (menuItem.getIcon() == null || !showIcon) { in updateMenuItemButton()
H A DActionBarView.java1414 public void setShowIcon(boolean showIcon) { in setShowIcon() argument
1415 mIconView.setVisibility(showIcon ? VISIBLE : GONE); in setShowIcon()