HomeSort by relevance Sort by last modified time
    Searched full:menuaction (Results 1 - 17 of 17) sorted by null

  /packages/apps/TV/src/com/android/tv/menu/
MenuAction.java 30 public class MenuAction {
32 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 PIP_IN_APP_ACTION =
40 new MenuAction(R.string.options_item_pip, TvOptionsManager.OPTION_IN_APP_PIP,
42 public static final MenuAction SYSTEMWIDE_PIP_ACTION =
43 new MenuAction(R.string.options_item_pip, TvOptionsManager.OPTION_SYSTEMWIDE_PIP,
45 public static final MenuAction SELECT_AUDIO_LANGUAGE_ACTION
    [all...]
TvOptionsRowAdapter.java 53 protected List<MenuAction> createBaseActions() {
54 List<MenuAction> actionList = new ArrayList<>();
55 actionList.add(MenuAction.SELECT_CLOSED_CAPTION_ACTION);
56 setOptionChangedListener(MenuAction.SELECT_CLOSED_CAPTION_ACTION);
57 actionList.add(MenuAction.SELECT_DISPLAY_MODE_ACTION);
58 setOptionChangedListener(MenuAction.SELECT_DISPLAY_MODE_ACTION);
59 actionList.add(MenuAction.PIP_IN_APP_ACTION);
60 setOptionChangedListener(MenuAction.PIP_IN_APP_ACTION);
62 actionList.add(MenuAction.SELECT_AUDIO_LANGUAGE_ACTION);
63 setOptionChangedListener(MenuAction.SELECT_AUDIO_LANGUAGE_ACTION)
    [all...]
CustomizableOptionsRowAdapter.java 37 // Subclass should implement this and return list of {@link MenuAction}.
39 // Note that {@link MenuAction} should have non-negative type
41 protected abstract List<MenuAction> createBaseActions();
44 // for {@link MenuAction} with the given type returned by {@link createBaseActions}.
48 protected List<MenuAction> createActions() {
49 List<MenuAction> actions = new ArrayList<>(createBaseActions());
54 // Type of MenuAction should be unique in the Adapter.
57 MenuAction action = new MenuAction(
PipOptionsRowAdapter.java 54 protected List<MenuAction> createActions() {
55 List<MenuAction> actionList = new ArrayList<>();
56 actionList.add(MenuAction.PIP_SELECT_INPUT_ACTION);
57 actionList.add(MenuAction.PIP_SWAP_ACTION);
58 actionList.add(MenuAction.PIP_SOUND_ACTION);
59 actionList.add(MenuAction.PIP_LAYOUT_ACTION);
60 actionList.add(MenuAction.PIP_SIZE_ACTION);
61 for (MenuAction action : actionList) {
97 return MenuAction.PIP_LAYOUT_ACTION.setDrawableResId(
102 boolean oldEnabled = MenuAction.PIP_SIZE_ACTION.isEnabled()
    [all...]
OptionsRowAdapter.java 33 public abstract class OptionsRowAdapter extends ItemListRowView.ItemListAdapter<MenuAction> {
36 private List<MenuAction> mActionList;
41 final MenuAction action = (MenuAction) view.getTag();
83 protected abstract List<MenuAction> createActions();
92 protected MenuAction getAction(int position) {
101 protected void setAction(int position, MenuAction action) {
110 protected void addAction(int position, MenuAction action) {
137 // This makes 1:1 mapping from MenuAction to ActionCardView. That is, an ActionCardView will
138 // not be used(recycled) by other type of MenuAction. So the selection state of the view ca
    [all...]
ActionCardView.java 31 public class ActionCardView extends FrameLayout implements ItemListRowView.CardView<MenuAction> {
63 public void onBind(MenuAction action, boolean selected) {
PartnerOptionsRowAdapter.java 32 protected List<MenuAction> createBaseActions() {
  /packages/apps/TV/tests/unit/src/com/android/tv/menu/
TvOptionsRowAdapterTest.java 66 MenuAction.SELECT_AUDIO_LANGUAGE_ACTION.isEnabled());
79 MenuAction.SELECT_AUDIO_LANGUAGE_ACTION.isEnabled());
91 MenuAction.SELECT_AUDIO_LANGUAGE_ACTION.isEnabled());
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
LayoutActionBar.java 360 private void addPlainAction(RuleAction menuAction) {
363 URL iconUrl = menuAction.getIconUrl();
364 String title = menuAction.getTitle();
371 button.setData(menuAction);
376 RuleAction menuAction = (RuleAction) button.getData();
377 menuAction.getCallback().action(menuAction, getSelectedNodes(), menuAction.getId(),
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
EditTextRule.java 73 @NonNull RuleAction menuAction,
  /external/skia/debugger/QT/
SkDebuggerGUI.cpp 627 fMenuBar.addAction(fMenuFile.menuAction());
628 fMenuBar.addAction(fMenuEdit.menuAction());
629 fMenuBar.addAction(fMenuView.menuAction());
630 fMenuBar.addAction(fMenuNavigate.menuAction());
631 fMenuBar.addAction(fMenuWindows.menuAction());
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
LinearLayoutRuleTest.java 157 RuleAction menuAction = contextMenu.get(2);
158 assertTrue(menuAction instanceof RuleAction.Choices);
159 RuleAction.Choices choices = (RuleAction.Choices) menuAction;
  /packages/apps/TV/src/com/android/tv/
TvOptionsManager.java 33 * captions and display mode. Can be also used to create MenuAction items to control such options.
  /prebuilts/devtools/tools/lib/
sdkuilib.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdkuilib/24.5.0/
sdkuilib-24.5.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdkuilib/25.0.0-alpha1/
sdkuilib-25.0.0-alpha1.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdkuilib/24.4.0-beta6/
sdkuilib-24.4.0-beta6.jar 

Completed in 277 milliseconds