Searched refs:MenuAction (Results 1 – 7 of 7) sorted by relevance
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 …]
27 public class MenuAction { class29 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 …]
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()
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()
29 public class ActionCardView extends RelativeLayout implements ItemListRowView.CardView<MenuAction> {61 public void onBind(MenuAction action, boolean selected) { in onBind()
30 protected List<MenuAction> createBaseActions() { in createBaseActions()
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()