/packages/apps/TV/src/com/android/tv/menu/ |
D | TvOptionsRowAdapter.java | 70 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 …]
|
D | MenuAction.java | 27 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 …]
|
D | OptionsRowAdapter.java | 29 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()
|
D | CustomizableOptionsRowAdapter.java | 37 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()
|
D | ActionCardView.java | 29 public class ActionCardView extends RelativeLayout implements ItemListRowView.CardView<MenuAction> { 61 public void onBind(MenuAction action, boolean selected) { in onBind()
|
D | PartnerOptionsRowAdapter.java | 30 protected List<MenuAction> createBaseActions() { in createBaseActions()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/menu/ |
D | MenuAction.kt | 27 internal interface MenuAction : Action interface 34 object ReloadMenuAction : MenuAction 39 object NavigateUpAction : MenuAction 48 ) : MenuAction 53 internal interface ToggleMenuAction : MenuAction {
|
D | Menu.kt | 58 val action: MenuAction = NavigateUpAction 72 val action: MenuAction = OpenSubMenuAction(displayTextRes) 117 val action: MenuAction,
|
D | MenuActionReducer.kt | 35 fun reduce(menu: Menu, action: MenuAction): Menu
|
D | MenuController.kt | 51 fun handleAction(menu: Menu, action: MenuAction): Menu = when (action) { in handleAction()
|
D | MenuUtils.kt | 101 action: MenuAction, in modifyDropDown()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/cutouts/ |
D | DisplayCutoutsReducer.kt | 24 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/ |
D | SystemBarPresetsReducer.kt | 24 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/ |
D | ThemePresetsReducer.kt | 25 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/ |
D | TestData.kt | 21 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/ |
D | PluginToggleReducer.kt | 22 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/ |
D | TvOptionsRowAdapterTest.java | 91 .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/ |
D | OemTokensToggleReducer.kt | 24 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/ |
D | CustomizationToolStateMachine.kt | 19 import com.android.car.customization.tool.domain.menu.MenuAction 58 is MenuAction -> { in reducer()
|