Searched refs:MenuAction (Results 1 – 7 of 7) sorted by relevance
46 protected List<MenuAction> createBaseActions() { in createBaseActions()47 List<MenuAction> actionList = new ArrayList<>(); in createBaseActions()48 actionList.add(MenuAction.SELECT_CLOSED_CAPTION_ACTION); in createBaseActions()49 actionList.add(MenuAction.SELECT_DISPLAY_MODE_ACTION); in createBaseActions()51 actionList.add(MenuAction.SYSTEMWIDE_PIP_ACTION); in createBaseActions()53 actionList.add(MenuAction.SELECT_AUDIO_LANGUAGE_ACTION); in createBaseActions()54 actionList.add(MenuAction.MORE_CHANNELS_ACTION); in createBaseActions()56 actionList.add(MenuAction.DEV_ACTION); in createBaseActions()58 actionList.add(MenuAction.SETTINGS_ACTION); in createBaseActions()70 notifyItemChanged(getItemPosition(MenuAction.SELECT_CLOSED_CAPTION_ACTION)); in updateActions()[all …]
30 public class MenuAction { class32 public static final MenuAction SELECT_CLOSED_CAPTION_ACTION =33 new MenuAction(R.string.options_item_closed_caption,36 public static final MenuAction SELECT_DISPLAY_MODE_ACTION =37 new MenuAction(R.string.options_item_display_mode, TvOptionsManager.OPTION_DISPLAY_MODE,39 public static final MenuAction SYSTEMWIDE_PIP_ACTION =40 new MenuAction(R.string.options_item_pip, TvOptionsManager.OPTION_SYSTEMWIDE_PIP,42 public static final MenuAction SELECT_AUDIO_LANGUAGE_ACTION =43 new MenuAction(R.string.options_item_multi_audio, TvOptionsManager.OPTION_MULTI_AUDIO,45 public static final MenuAction MORE_CHANNELS_ACTION =[all …]
31 public abstract class OptionsRowAdapter extends ItemListRowView.ItemListAdapter<MenuAction> {34 private List<MenuAction> mActionList;39 final MenuAction action = (MenuAction) view.getTag();78 protected abstract List<MenuAction> createActions(); in createActions()87 protected MenuAction getAction(int position) { in getAction()
41 protected abstract List<MenuAction> createBaseActions(); in createBaseActions()48 protected List<MenuAction> createActions() { in createActions()49 List<MenuAction> actions = new ArrayList<>(createBaseActions()); in createActions()57 MenuAction action = new MenuAction( in createActions()
31 public class ActionCardView extends RelativeLayout implements ItemListRowView.CardView<MenuAction> {63 public void onBind(MenuAction action, boolean selected) { in onBind()
32 protected List<MenuAction> createBaseActions() { in createBaseActions()
78 MenuAction.SELECT_AUDIO_LANGUAGE_ACTION.isEnabled()); in testUpdateAudioAction_2tracks()95 MenuAction.SELECT_AUDIO_LANGUAGE_ACTION.isEnabled()); in testUpdateAudioAction_1track()113 MenuAction.SELECT_AUDIO_LANGUAGE_ACTION.isEnabled()); in testUpdateAudioAction_noTracks()