Home
last modified time | relevance | path

Searched refs:sliceAction (Results 1 – 9 of 9) sorted by relevance

/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DSliceSeekbarPreference.java55 public void setSliceAction(SliceActionImpl sliceAction) { in setSliceAction() argument
56 mAction = sliceAction; in setSliceAction()
65 public void setFollowupSliceAction(SliceActionImpl sliceAction) { in setFollowupSliceAction() argument
66 mFollowupSliceAction = sliceAction; in setFollowupSliceAction()
DSliceCheckboxPreference.java75 public void setSliceAction(SliceActionImpl sliceAction) { in setSliceAction() argument
76 mAction = sliceAction; in setSliceAction()
85 public void setFollowupSliceAction(SliceActionImpl sliceAction) { in setFollowupSliceAction() argument
86 mFollowupSliceAction = sliceAction; in setFollowupSliceAction()
DSliceRadioPreference.java68 public void setSliceAction(SliceActionImpl sliceAction) { in setSliceAction() argument
69 mSliceAction = sliceAction; in setSliceAction()
78 public void setFollowupSliceAction(SliceActionImpl sliceAction) { in setFollowupSliceAction() argument
79 mFollowupSliceAction = sliceAction; in setFollowupSliceAction()
DSliceSwitchPreference.java86 public void setSliceAction(SliceActionImpl sliceAction) { in setSliceAction() argument
87 mAction = sliceAction; in setSliceAction()
96 public void setFollowupSliceAction(SliceActionImpl sliceAction) { in setFollowupSliceAction() argument
97 mFollowupSliceAction = sliceAction; in setFollowupSliceAction()
DHasSliceAction.java30 void setSliceAction(SliceActionImpl sliceAction); in setSliceAction() argument
32 void setFollowupSliceAction(SliceActionImpl sliceAction); in setFollowupSliceAction() argument
DSlicePreference.java111 public void setFollowupSliceAction(SliceActionImpl sliceAction) { in setFollowupSliceAction() argument
112 mFollowUpAction = sliceAction; in setFollowupSliceAction()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DMediaVolumePreferenceControllerTest.java186 final SliceAction sliceAction = mController.getSliceEndItem(mContext); in getSliceEndItem_flagOff_getsNullSliceAction() local
188 assertThat(sliceAction).isNull(); in getSliceEndItem_flagOff_getsNullSliceAction()
198 final SliceAction sliceAction = mController.getSliceEndItem(mContext); in getSliceEndItem_NotSupportEndItem_getsNullSliceAction() local
200 assertThat(sliceAction).isNull(); in getSliceEndItem_NotSupportEndItem_getsNullSliceAction()
213 final SliceAction sliceAction = mController.getSliceEndItem(mContext); in getSliceEndItem_deviceIsBroadcasting_getsBroadcastIntent() local
215 final PendingIntent endItemPendingIntent = sliceAction.getAction(); in getSliceEndItem_deviceIsBroadcasting_getsBroadcastIntent()
236 final SliceAction sliceAction = mController.getSliceEndItem(mContext); in getSliceEndItem_deviceIsNotBroadcasting_getsActivityIntent() local
238 final PendingIntent endItemPendingIntent = sliceAction.getAction(); in getSliceEndItem_deviceIsNotBroadcasting_getsActivityIntent()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBlockingPrefWithSliceController.java188 Optional<CharSequence> subtitle, Optional<SliceAction> sliceAction, int orderLevel) { in createPreferenceItem() argument
191 + ", Action: " + sliceAction.orElse(null)); in createPreferenceItem()
207 if (sliceAction.isPresent()) { in createPreferenceItem()
212 preference.setIcon(sliceAction.get().getIcon().loadDrawable(mContext)); in createPreferenceItem()
213 Intent intentFromSliceAction = sliceAction.get().getAction().getIntent(); in createPreferenceItem()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceBuilderUtils.java265 final SliceAction sliceAction = getToggleAction(context, sliceData, in buildToggleSlice() local
273 .addEndItem(sliceAction); in buildToggleSlice()