Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/statusbar/ui/
DAmbientStatusBarViewControllerTest.java169 verify(mView).showIcon( in testWifiIconShownWhenWifiUnavailable()
178 verify(mView).showIcon( in testWifiIconHiddenWhenWifiAvailable()
188 verify(mView).showIcon( in testOnViewAttachedShowsAlarmIconWhenAlarmExists()
196 verify(mView).showIcon( in testOnViewAttachedHidesAlarmIconWhenNoAlarmExists()
207 verify(mView).showIcon( in testOnViewAttachedShowsMicIconWhenDisabled()
218 verify(mView).showIcon( in testOnViewAttachedShowsCameraIconWhenDisabled()
229 verify(mView).showIcon( in testOnViewAttachedShowsMicCameraIconWhenDisabled()
242 verify(mView).showIcon( in testOnViewAttachedShowsNotificationsIconWhenNotificationsExist()
255 verify(mView).showIcon( in testOnViewAttachedHidesNotificationsIconWhenNoNotificationsExist()
279 verify(mView, never()).showIcon( in testNotificationsIconNotShownWhenCountProviderAbsent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/statusbar/ui/
DAmbientStatusBarViewController.java120 notificationCount -> showIcon(
257 showIcon(AmbientStatusBarView.STATUS_ICON_WIFI_UNAVAILABLE, !available, in updateWifiUnavailableStatusIcon()
265 showIcon( in updateAlarmStatusIcon()
272 showIcon(AmbientStatusBarView.STATUS_ICON_ASSISTANT_ATTENTION_ACTIVE, in updateAssistantAttentionIcon()
302 showIcon( in updateMicCameraBlockedStatusIcon()
306 showIcon( in updateMicCameraBlockedStatusIcon()
310 showIcon( in updateMicCameraBlockedStatusIcon()
324 showIcon( in updatePriorityModeStatusIcon()
330 private void showIcon(@AmbientStatusBarView.StatusIconType int iconType, boolean show, in showIcon() method in AmbientStatusBarViewController
332 showIcon(iconType, show, mResources.getString(contentDescriptionResId)); in showIcon()
[all …]
DAmbientStatusBarView.java158 void showIcon(@StatusIconType int iconType, boolean show, @Nullable String contentDescription) { in showIcon() method
/frameworks/base/core/java/com/android/internal/view/menu/
DListMenuItemView.java254 final boolean showIcon = mItemData.shouldShowIcon() || mForceShowIcon; in setIcon()
255 if (!showIcon && !mPreserveIconSpacing) { in setIcon()
268 mIconView.setImageDrawable(showIcon ? icon : null); in setIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java553 final boolean showIcon; in updateProfileIcon()
569 showIcon = true; in updateProfileIcon()
574 showIcon = false; in updateProfileIcon()
576 if (mProfileIconVisible != showIcon) { in updateProfileIcon()
577 mIconController.setIconVisibility(mSlotManagedProfile, showIcon); in updateProfileIcon()
578 mProfileIconVisible = showIcon; in updateProfileIcon()
/frameworks/base/core/java/com/android/internal/widget/floatingtoolbar/
DLocalFloatingToolbarPopup.java981 final boolean showIcon = isFirstItem && menuItem.getItemId() == R.id.textAssist; in layoutMainPanelItems()
983 mContext, menuItem, mIconTextSpacing, showIcon); in layoutMainPanelItems()
984 if (!showIcon && menuItemButton instanceof LinearLayout) { in layoutMainPanelItems()
1427 Context context, MenuItem menuItem, int iconTextSpacing, boolean showIcon) { in createMenuItemButton() argument
1431 updateMenuItemButton(menuItemButton, menuItem, iconTextSpacing, showIcon); in createMenuItemButton()
1440 View menuItemButton, MenuItem menuItem, int iconTextSpacing, boolean showIcon) { in updateMenuItemButton() argument
1452 if (menuItem.getIcon() == null || !showIcon) { in updateMenuItemButton()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java1414 public void setShowIcon(boolean showIcon) { in setShowIcon() argument
1415 mIconView.setVisibility(showIcon ? VISIBLE : GONE); in setShowIcon()