Searched refs:channelPref (Results 1 – 2 of 2) sorted by relevance
177 MasterSwitchPreference channelPref = new MasterSwitchPreference(mContext); in populateSingleChannelPrefs() local178 channelPref.setSwitchEnabled(mAdmin == null in populateSingleChannelPrefs()182 channelPref.setIcon(null); in populateSingleChannelPrefs()184 channelPref.setIcon(getAlertingIcon()); in populateSingleChannelPrefs()186 channelPref.setIconSize(MasterSwitchPreference.ICON_SIZE_SMALL); in populateSingleChannelPrefs()187 channelPref.setKey(channel.getId()); in populateSingleChannelPrefs()188 channelPref.setTitle(channel.getName()); in populateSingleChannelPrefs()189 channelPref.setSummary(NotificationBackend.getSentSummary( in populateSingleChannelPrefs()191 channelPref.setChecked(channel.getImportance() != IMPORTANCE_NONE); in populateSingleChannelPrefs()197 channelPref.setIntent(new SubSettingLauncher(mContext) in populateSingleChannelPrefs()[all …]
275 ChannelSummaryPreference channelPref = new ChannelSummaryPreference(getPrefContext()); in populateSingleChannelPrefs() local276 channelPref.setCheckBoxEnabled(mSuspendedAppsAdmin == null in populateSingleChannelPrefs()280 channelPref.setKey(channel.getId()); in populateSingleChannelPrefs()281 channelPref.setTitle(channel.getName()); in populateSingleChannelPrefs()282 channelPref.setSummary(NotificationBackend.getSentSummary( in populateSingleChannelPrefs()284 channelPref.setChecked(channel.getImportance() != IMPORTANCE_NONE); in populateSingleChannelPrefs()290 channelPref.setIntent(new SubSettingLauncher(getActivity()) in populateSingleChannelPrefs()297 channelPref.setOnPreferenceChangeListener( in populateSingleChannelPrefs()312 if (parent.findPreference(channelPref.getKey()) == null) { in populateSingleChannelPrefs()313 parent.addPreference(channelPref); in populateSingleChannelPrefs()[all …]