Home
last modified time | relevance | path

Searched refs:actions (Results 1 – 25 of 38) sorted by relevance

12

/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DMainActivity.java61 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
62 addAction(actions, BrowseActivity.class, R.string.browse, R.string.browse_description); in onCreateActions()
63 addAction(actions, BrowseSupportActivity.class, R.string.browse_support, in onCreateActions()
65 addAction(actions, SearchActivity.class, R.string.search, R.string.search_description); in onCreateActions()
66 …addAction(actions, SearchSupportActivity.class, R.string.search_support, R.string.search_support_d… in onCreateActions()
67 … addAction(actions, DetailsActivity.class, R.string.details, R.string.details_description); in onCreateActions()
68 actions.get(actions.size()-1).getIntent().putExtra(DetailsActivity.EXTRA_ITEM, in onCreateActions()
70 …addAction(actions, DetailsSupportActivity.class, R.string.details_support, R.string.details_suppor… in onCreateActions()
71 actions.get(actions.size()-1).getIntent().putExtra(DetailsSupportActivity.EXTRA_ITEM, in onCreateActions()
73 addAction(actions, SearchDetailsActivity.class, R.string.search_details, in onCreateActions()
[all …]
DGuidedStepActivity.java97 private static void addAction(List<GuidedAction> actions, long id, String title, String desc) { in addAction() argument
98 actions.add(new GuidedAction.Builder() in addAction()
105 private static void addAction(List<GuidedAction> actions, long id, String title, String desc, in addAction() argument
107 actions.add(new GuidedAction.Builder() in addAction()
115 private static void addEditableAction(Context context, List<GuidedAction> actions, in addEditableAction() argument
117 actions.add(new GuidedAction.Builder(context) in addEditableAction()
126 private static void addEditableAction(List<GuidedAction> actions, long id, String title, in addEditableAction() argument
128 actions.add(new GuidedAction.Builder() in addEditableAction()
137 private static void addEditableAction(List<GuidedAction> actions, long id, String title, in addEditableAction() argument
139 actions.add(new GuidedAction.Builder() in addEditableAction()
[all …]
DGuidedStepSupportActivity.java99 private static void addAction(List<GuidedAction> actions, long id, String title, String desc) { in addAction() argument
100 actions.add(new GuidedAction.Builder() in addAction()
107 private static void addAction(List<GuidedAction> actions, long id, String title, String desc, in addAction() argument
109 actions.add(new GuidedAction.Builder() in addAction()
117 private static void addEditableAction(Context context, List<GuidedAction> actions, in addEditableAction() argument
119 actions.add(new GuidedAction.Builder(context) in addEditableAction()
128 private static void addEditableAction(List<GuidedAction> actions, long id, String title, in addEditableAction() argument
130 actions.add(new GuidedAction.Builder() in addEditableAction()
139 private static void addEditableAction(List<GuidedAction> actions, long id, String title, in addEditableAction() argument
141 actions.add(new GuidedAction.Builder() in addEditableAction()
[all …]
DGuidedStepHalfScreenActivity.java60 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
62 actions.add(new GuidedAction.Builder(context) in onCreateActions()
66 actions.add(new GuidedAction.Builder(context) in onCreateActions()
115 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
117 actions.add(new GuidedAction.Builder(context) in onCreateActions()
121 actions.add(new GuidedAction.Builder(context) in onCreateActions()
128 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateButtonActions() argument
129 actions.add(new GuidedAction.Builder(getActivity()) in onCreateButtonActions()
DGuidedStepSupportHalfScreenActivity.java62 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
64 actions.add(new GuidedAction.Builder(context) in onCreateActions()
68 actions.add(new GuidedAction.Builder(context) in onCreateActions()
117 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
119 actions.add(new GuidedAction.Builder(context) in onCreateActions()
123 actions.add(new GuidedAction.Builder(context) in onCreateActions()
130 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateButtonActions() argument
131 actions.add(new GuidedAction.Builder(getActivity()) in onCreateButtonActions()
DDetailsPresenterSelectionActivity.java56 private static void addAction(List<GuidedAction> actions, long id, String title, String desc) { in addAction() argument
57 actions.add(new GuidedAction.Builder() in addAction()
64 private static void addCheckedAction(List<GuidedAction> actions, Context context, in addCheckedAction() argument
66 actions.add(new GuidedAction.Builder() in addCheckedAction()
97 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
109 addCheckedAction(actions, getActivity(), OPTION_IDS[i], OPTION_NAMES[i], in onCreateActions()
DDetailsSupportFragment.java97 SparseArrayObjectAdapter actions = (SparseArrayObjectAdapter) in onCreate()
99 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
100 actions.clear(ACTION_RENT); in onCreate()
101 actions.clear(ACTION_BUY); in onCreate()
106 SparseArrayObjectAdapter actions = (SparseArrayObjectAdapter) in onCreate()
108 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
109 actions.clear(ACTION_RENT); in onCreate()
DDetailsFragment.java95 SparseArrayObjectAdapter actions = (SparseArrayObjectAdapter) in onCreate()
97 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
98 actions.clear(ACTION_RENT); in onCreate()
99 actions.clear(ACTION_BUY); in onCreate()
104 SparseArrayObjectAdapter actions = (SparseArrayObjectAdapter) in onCreate()
106 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
107 actions.clear(ACTION_RENT); in onCreate()
DNewDetailsSupportFragment.java110 SparseArrayObjectAdapter actions = (SparseArrayObjectAdapter) in onCreate()
112 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
113 actions.clear(ACTION_RENT); in onCreate()
114 actions.clear(ACTION_BUY); in onCreate()
119 SparseArrayObjectAdapter actions = (SparseArrayObjectAdapter) in onCreate()
121 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
122 actions.clear(ACTION_RENT); in onCreate()
DNewDetailsFragment.java108 SparseArrayObjectAdapter actions = (SparseArrayObjectAdapter) in onCreate()
110 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
111 actions.clear(ACTION_RENT); in onCreate()
112 actions.clear(ACTION_BUY); in onCreate()
117 SparseArrayObjectAdapter actions = (SparseArrayObjectAdapter) in onCreate()
119 actions.set(ACTION_PLAY, mActionPlay); in onCreate()
120 actions.clear(ACTION_RENT); in onCreate()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/
DWizardNewPaymentStepFragment.java50 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
51 actions.add(new GuidedAction.Builder(getActivity()) in onCreateActions()
61 actions.add(new GuidedDatePickerAction.Builder(getActivity()) in onCreateActions()
70 public void onCreateButtonActions(@NonNull List<GuidedAction> actions, in onCreateButtonActions() argument
72 actions.add(new GuidedAction.Builder(getActivity()) in onCreateButtonActions()
76 actions.get(actions.size() - 1).setEnabled(false); in onCreateButtonActions()
DWizardExample1stStepFragment.java45 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
53 actions.add(action); in onCreateActions()
61 actions.add(action); in onCreateActions()
DWizardExample4thStepFragment.java49 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
55 actions.add(action); in onCreateActions()
61 actions.add(action); in onCreateActions()
DWizardExample3rdStepFragment.java81 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
87 actions.add(action); in onCreateActions()
DWizardExample2ndStepFragment.java71 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
81 actions.add(action); in onCreateActions()
90 actions.add(action); in onCreateActions()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/dialog/
DDialogExampleFragment.java45 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
49 actions.add(action); in onCreateActions()
53 actions.add(action); in onCreateActions()
/development/samples/browseable/DoneBar/
D_index.jd12 bar entirely, providing two direct actions to persist or dismiss changes. This is
13 suitable for cases where no additional view details or actions are needed in the
/development/samples/browseable/FingerprintDialog/
D_index.jd9 before proceeding some actions such as purchasing an item.
/development/samples/browseable/AsymmetricFingerprintDialog/
D_index.jd9 before proceeding some actions such as purchasing an item. This version uses asymmetric keys.
/development/samples/browseable/ConfirmCredential/
D_index.jd9 to authenticate the user before they are trying to complete some actions.
/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DActionBarPreferences.java40 getMenuInflater().inflate(R.menu.actions, menu); in onCreateOptionsMenu()
DToolbarUsage.java49 inflater.inflate(R.menu.actions, menu); in onCreateOptionsMenu()
/development/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaBrowserServiceSupport.java657 long actions = PlaybackStateCompat.ACTION_PLAY in getAvailableActions() local
661 return actions; in getAvailableActions()
664 actions |= PlaybackStateCompat.ACTION_PAUSE; in getAvailableActions()
667 actions |= PlaybackStateCompat.ACTION_SKIP_TO_PREVIOUS; in getAvailableActions()
670 actions |= PlaybackStateCompat.ACTION_SKIP_TO_NEXT; in getAvailableActions()
672 return actions; in getAvailableActions()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicService.java656 long actions = PlaybackState.ACTION_PLAY | PlaybackState.ACTION_PLAY_FROM_MEDIA_ID | in getAvailableActions() local
659 return actions; in getAvailableActions()
662 actions |= PlaybackState.ACTION_PAUSE; in getAvailableActions()
665 actions |= PlaybackState.ACTION_SKIP_TO_PREVIOUS; in getAvailableActions()
668 actions |= PlaybackState.ACTION_SKIP_TO_NEXT; in getAvailableActions()
670 return actions; in getAvailableActions()
/development/samples/browseable/XYZTouristAttractions/
D_index.jd18 summary information and provides quick actions for nearby tourist

12