Home
last modified time | relevance | path

Searched refs:showBadge (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/app/
DBadgePreferenceController.java65 return mAppRow == null ? false : mAppRow.showBadge; in isAvailable()
84 pref.setChecked(mAppRow.showBadge); in updateState()
91 final boolean showBadge = (Boolean) newValue; in onPreferenceChange()
93 mChannel.setShowBadge(showBadge); in onPreferenceChange()
96 mAppRow.showBadge = showBadge; in onPreferenceChange()
97 mBackend.setShowBadge(mAppRow.pkg, mAppRow.uid, showBadge); in onPreferenceChange()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DBadgePreferenceControllerTest.java117 appRow.showBadge = false; in testIsAvailable_channel_notIfAppOff()
148 appRow.showBadge = true; in testIsAvailable_defaultChannel()
161 appRow.showBadge = true; in testIsAvailable_channel()
173 appRow.showBadge = false; in testIsAvailable_channelAppOff()
185 appRow.showBadge = true; in testIsAvailable_filteredOut()
197 appRow.showBadge = true; in testIsAvailable_filteredIn()
256 appRow.showBadge = true; in testUpdateState_app()
263 appRow.showBadge = false; in testUpdateState_app()
273 appRow.showBadge = true; in testOnPreferenceChange_on_channel()
292 appRow.showBadge = true; in testOnPreferenceChange_off_channel()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java91 row.showBadge = canShowBadge(row.pkg, row.uid); in loadAppRow()
222 public boolean setShowBadge(String pkg, int uid, boolean showBadge) { in setShowBadge() argument
224 sINM.setShowBadge(pkg, uid, showBadge); in setShowBadge()
699 public boolean showBadge; field in NotificationBackend.AppRow
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java1101 mAdapter.showBadge(holder, R.drawable.wallpaper_check_circle_24dp, isApplied); in updateAppliedStatus()
1456 showBadge(holder, R.drawable.wallpaper_check_circle_24dp, isWallpaperApplied);
1463 protected void showBadge(ViewHolder holder, @DrawableRes int icon, boolean show) {