Home
last modified time | relevance | path

Searched refs:HasSliceAction (Results 1 – 10 of 10) sorted by relevance

/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DSliceFragment.java404 if ((oldPref instanceof HasSliceAction) in updatePreferenceScreen()
405 && (newPref instanceof HasSliceAction)) { in updatePreferenceScreen()
406 ((HasSliceAction) oldPref) in updatePreferenceScreen()
407 .setSliceAction(((HasSliceAction) newPref).getSliceAction()); in updatePreferenceScreen()
458 firePendingIntent((HasSliceAction) preference, fillInIntent); in onSeekbarPreferenceChanged()
485 && preference instanceof HasSliceAction) { in onPreferenceTreeClick()
496 if (firePendingIntent((HasSliceAction) preference, fillInIntent)) { in onPreferenceTreeClick()
508 if (firePendingIntent((HasSliceAction) preference, fillInIntent)) { in onPreferenceTreeClick()
516 private boolean firePendingIntent(@NonNull HasSliceAction preference, Intent fillInIntent) { in firePendingIntent()
696 if (preference instanceof HasSliceAction) { in getPreferenceActionId()
[all …]
DEmbeddedSlicePreference.java65 if (mHelper.mNewPref instanceof HasSliceAction in update()
66 && ((HasSliceAction) mHelper.mNewPref).getSliceAction() != null) { in update()
67 setIntent(((HasSliceAction) mHelper.mNewPref).getSliceAction().getAction().getIntent()); in update()
DEmbeddedSliceSwitchPreference.java100 if (mHelper.mNewPref instanceof HasSliceAction) { in update()
101 setSliceAction(((HasSliceAction) mHelper.mNewPref).getSliceAction()); in update()
DSlicePreferencesUtil.java130 if (preference instanceof HasSliceAction) { in getPreference()
131 ((HasSliceAction) preference).setActionId(getActionId(item)); in getPreference()
136 ((HasSliceAction) preference).setFollowupSliceAction(followUpAction); in getPreference()
158 if (preference instanceof HasSliceAction) { in getPreference()
159 ((HasSliceAction) preference).setActionId(getActionId(item)); in getPreference()
DHasSliceAction.java24 public interface HasSliceAction { interface
DSliceRadioPreference.java26 public class SliceRadioPreference extends RadioPreference implements HasSliceAction, HasSliceUri {
DSliceCheckboxPreference.java28 public class SliceCheckboxPreference extends CheckBoxPreference implements HasSliceAction {
DSliceSeekbarPreference.java12 public class SliceSeekbarPreference extends SeekBarPreference implements HasSliceAction {
DSliceSwitchPreference.java31 public class SliceSwitchPreference extends SwitchPreference implements HasSliceAction,
DSlicePreference.java34 public class SlicePreference extends Preference implements HasSliceAction, HasSliceUri,