Home
last modified time | relevance | path

Searched refs:mSelections (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DLeanbackListPreferenceDialogFragmentCompat.java244 private final Set<String> mSelections; field in LeanbackListPreferenceDialogFragmentCompat.AdapterMulti
250 this.mSelections = new HashSet(initialSelections); in AdapterMulti()
263 this.mSelections.contains(this.mEntryValues[position].toString())); in onBindViewHolder()
275 if (this.mSelections.contains(entry)) { in onItemClick()
276 this.mSelections.remove(entry); in onItemClick()
278 this.mSelections.add(entry); in onItemClick()
283 if (multiSelectListPreference.callChangeListener(new HashSet(this.mSelections))) { in onItemClick()
284 multiSelectListPreference.setValues(new HashSet(this.mSelections)); in onItemClick()
286 this.mSelections; in onItemClick()
287 } else if (this.mSelections.contains(entry)) { in onItemClick()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmSelectionActivity.kt33 private val mSelections: MutableList<AlarmSelection> = ArrayList() constant in com.android.deskclock.AlarmSelectionActivity
62 mSelections.add(AlarmSelection(label, alarm)) in onCreate()
65 listAdapter = AlarmSelectionAdapter(this, R.layout.alarm_row, mSelections) in onCreate()
71 val selection = mSelections[id.toInt()] in onListItemClick()