Home
last modified time | relevance | path

Searched refs:MenuAction (Results 1 – 19 of 19) sorted by relevance

/packages/apps/TV/src/com/android/tv/menu/
DTvOptionsRowAdapter.java70 protected List<MenuAction> createBaseActions() { in createBaseActions()
71 List<MenuAction> actionList = new ArrayList<>(); in createBaseActions()
72 actionList.add(MenuAction.SELECT_CLOSED_CAPTION_ACTION); in createBaseActions()
73 actionList.add(MenuAction.SELECT_DISPLAY_MODE_ACTION); in createBaseActions()
75 actionList.add(MenuAction.SYSTEMWIDE_PIP_ACTION); in createBaseActions()
77 actionList.add(MenuAction.SELECT_AUDIO_LANGUAGE_ACTION); in createBaseActions()
79 actionList.add(MenuAction.MORE_CHANNELS_ACTION); in createBaseActions()
82 actionList.add(MenuAction.DEV_ACTION); in createBaseActions()
84 actionList.add(MenuAction.SETTINGS_ACTION); in createBaseActions()
96 notifyItemChanged(getItemPosition(MenuAction.SELECT_CLOSED_CAPTION_ACTION)); in updateActions()
[all …]
DMenuAction.java27 public class MenuAction { class
29 public static final MenuAction SELECT_CLOSED_CAPTION_ACTION =
30 new MenuAction(
34 public static final MenuAction SELECT_DISPLAY_MODE_ACTION =
35 new MenuAction(
39 public static final MenuAction SYSTEMWIDE_PIP_ACTION =
40 new MenuAction(
44 public static final MenuAction SELECT_AUDIO_LANGUAGE_ACTION =
45 new MenuAction(
49 public static final MenuAction MORE_CHANNELS_ACTION =
[all …]
DOptionsRowAdapter.java29 public abstract class OptionsRowAdapter extends ItemListRowView.ItemListAdapter<MenuAction> {
32 private List<MenuAction> mActionList;
38 final MenuAction action = (MenuAction) view.getTag();
73 protected abstract List<MenuAction> createActions(); in createActions()
83 protected MenuAction getAction(int position) { in getAction()
DCustomizableOptionsRowAdapter.java37 protected abstract List<MenuAction> createBaseActions(); in createBaseActions()
44 protected List<MenuAction> createActions() { in createActions()
45 List<MenuAction> actions = new ArrayList<>(createBaseActions()); in createActions()
53 MenuAction action = in createActions()
54 new MenuAction( in createActions()
DActionCardView.java29 public class ActionCardView extends RelativeLayout implements ItemListRowView.CardView<MenuAction> {
61 public void onBind(MenuAction action, boolean selected) { in onBind()
DPartnerOptionsRowAdapter.java30 protected List<MenuAction> createBaseActions() { in createBaseActions()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/menu/
DMenuAction.kt27 internal interface MenuAction : Action interface
34 object ReloadMenuAction : MenuAction
39 object NavigateUpAction : MenuAction
48 ) : MenuAction
53 internal interface ToggleMenuAction : MenuAction {
DMenu.kt58 val action: MenuAction = NavigateUpAction
72 val action: MenuAction = OpenSubMenuAction(displayTextRes)
117 val action: MenuAction,
DMenuActionReducer.kt35 fun reduce(menu: Menu, action: MenuAction): Menu
DMenuController.kt51 fun handleAction(menu: Menu, action: MenuAction): Menu = when (action) { in handleAction()
DMenuUtils.kt101 action: MenuAction, in modifyDropDown()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/cutouts/
DDisplayCutoutsReducer.kt24 import com.android.car.customization.tool.domain.menu.MenuAction in <lambda>()
32 ) : MenuAction in <lambda>()
39 override fun reduce(menu: Menu, action: MenuAction): Menu { in <lambda>()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/systembarpresets/
DSystemBarPresetsReducer.kt24 import com.android.car.customization.tool.domain.menu.MenuAction in <lambda>()
32 ) : MenuAction in <lambda>()
39 override fun reduce(menu: Menu, action: MenuAction): Menu { in <lambda>()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/themepresets/
DThemePresetsReducer.kt25 import com.android.car.customization.tool.domain.menu.MenuAction in <lambda>()
33 ) : MenuAction in <lambda>()
40 override fun reduce(menu: Menu, action: MenuAction): Menu { in <lambda>()
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/
DTestData.kt21 import com.android.car.customization.tool.domain.menu.MenuAction in <lambda>()
32 internal class FakeMenuAction : MenuAction in <lambda>()
44 override fun reduce(menu: Menu, action: MenuAction): Menu { in reduce()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/plugins/plugintoggle/
DPluginToggleReducer.kt22 import com.android.car.customization.tool.domain.menu.MenuAction
40 override fun reduce(menu: Menu, action: MenuAction): Menu { in clone()
/packages/apps/TV/tests/unit/src/com/android/tv/menu/
DTvOptionsRowAdapterTest.java91 .that(MenuAction.SELECT_AUDIO_LANGUAGE_ACTION.isEnabled()) in testUpdateAudioAction_2tracks()
109 .that(MenuAction.SELECT_AUDIO_LANGUAGE_ACTION.isEnabled()) in testUpdateAudioAction_1track()
128 .that(MenuAction.SELECT_AUDIO_LANGUAGE_ACTION.isEnabled()) in testUpdateAudioAction_noTracks()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/oemtokens/oemtokenstoggle/
DOemTokensToggleReducer.kt24 import com.android.car.customization.tool.domain.menu.MenuAction
43 override fun reduce(menu: Menu, action: MenuAction): Menu { in clone()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/
DCustomizationToolStateMachine.kt19 import com.android.car.customization.tool.domain.menu.MenuAction
58 is MenuAction -> { in reducer()