/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
GuidedStepSupportActivity.java | 101 private static GuidedAction addAction(List<GuidedAction> actions, long id, String title, 104 actions.add(action = new GuidedAction.Builder(null) 112 private static GuidedAction addAction(List<GuidedAction> actions, long id, String title, 115 actions.add(action = new GuidedAction.Builder(null) 124 private static GuidedAction addEditableAction(Context context, List<GuidedAction> actions, 127 actions.add(action = new GuidedAction.Builder(context) 137 private static GuidedAction addEditableAction(List<GuidedAction> actions, long id, String title, 140 actions.add(action = new GuidedAction.Builder(null) 150 private static GuidedAction addEditableAction(List<GuidedAction> actions, long id, String title, 153 actions.add(action = new GuidedAction.Builder(null [all...] |
/external/toolchain-utils/crosperf/ |
generate_report_unittest.py | 126 actions = [(None, 'json'), (None, 'html'), (None, 'text'), (None, 'email')] 128 ok = generate_report.RunActions(actions, {}, output_prefix, overwrite=False, 131 self.assertEqual(mock_write_file.call_count, len(actions)) 132 self.assertEqual(mock_print_exc.call_count, len(actions)) 136 actions = [(None, 'json'), (None, 'html'), (None, 'text')] 138 ok = generate_report.RunActions(actions, {}, output_prefix, overwrite=False, 140 self.assertEqual(mock_write_file.call_count, len(actions))
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/ |
WizardNewPaymentStepFragment.java | 50 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { 51 actions.add(new GuidedAction.Builder(getActivity()) 61 actions.add(new GuidedDatePickerAction.Builder(getActivity()) 70 public void onCreateButtonActions(@NonNull List<GuidedAction> actions, 72 actions.add(new GuidedAction.Builder(getActivity()) 76 actions.get(actions.size() - 1).setEnabled(false);
|
WizardExample1stStepFragment.java | 45 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { 53 actions.add(action); 61 actions.add(action);
|
WizardExample4thStepFragment.java | 49 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { 55 actions.add(action); 61 actions.add(action);
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
ASTParser.stg | 53 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 65 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 105 <super.matchSet(postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>ADAPTOR->addChild(ADAPTOR, root_0, <createNodeFromToken(...)>);},...)> 121 <super.matchSet(postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)(ADAPTOR->becomeRoot(ADAPTOR, <createNodeFromToken(...)>, root_0));},...)> 129 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>ADAPTOR->addChild(ADAPTOR, root_0, <label>.tree); 138 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)(ADAPTOR->becomeRoot(ADAPTOR, <label>.tree, root_0)); 163 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 173 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 190 if ( <actions.(actionScope).synpredgate> )
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
ASTParser.stg | 52 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 65 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 107 <super.matchSet(postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 126 <super.matchSet(postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 136 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 147 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 177 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 187 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 206 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<\n><endif>
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
TableLayoutRule.java | 75 public void addContextMenuActions(@NonNull List<RuleAction> actions, 77 super.addContextMenuActions(actions, selectedNode); 91 actions.add(RuleAction.createAction("_addrow", "Add Row", addTab, null, 5, false)); //$NON-NLS-1$ 96 @NonNull List<RuleAction> actions, 99 super.addLayoutActions(actions, parentNode, children); 100 addTableLayoutActions(mRulesEngine, actions, parentNode, children); 104 * Adds layout actions to add and remove toolbar items 107 List<RuleAction> actions, final INode parentNode, 174 actions.add(RuleAction.createSeparator(150)); 175 actions.add(RuleAction.createAction(ACTION_ADD_ROW, "Add Table Row", actionCallback [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/ |
MultiPagedForm.java | 294 * @param actions the actions the ActionFragment should display. 295 * @param selectedAction the action in actions that is currently selected, 297 * @return an ActionFragment displaying the given actions. 299 protected ActionFragment getActionFragment(FormPage formPage, ArrayList<Action> actions, 301 ActionFragment actionFragment = ActionFragment.newInstance(actions); 303 int indexOfSelection = actions.indexOf(selectedAction); 316 * @param actions the actions the ActionFragment should display. 319 protected ActionFragment getResultActionFragment(ArrayList<Action> actions) { 474 ArrayList<Action> actions = new ArrayList<Action>(); local 482 ArrayList<Action> actions = new ArrayList<Action>(); local 504 ArrayList<Action> actions = getActions(formPage); local [all...] |
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/players/ |
MediaPlayerAdapter.java | 208 @PlaybackStateCompat.Actions 210 long actions = PlaybackStateCompat.ACTION_PLAY_FROM_MEDIA_ID local 216 actions |= PlaybackStateCompat.ACTION_PLAY 220 actions |= PlaybackStateCompat.ACTION_STOP 225 actions |= PlaybackStateCompat.ACTION_PLAY 229 actions |= PlaybackStateCompat.ACTION_PLAY 234 return actions;
|
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/players/ |
MediaPlayerAdapter.java | 208 @PlaybackStateCompat.Actions 210 long actions = PlaybackStateCompat.ACTION_PLAY_FROM_MEDIA_ID local 216 actions |= PlaybackStateCompat.ACTION_PLAY 220 actions |= PlaybackStateCompat.ACTION_STOP 225 actions |= PlaybackStateCompat.ACTION_PLAY 229 actions |= PlaybackStateCompat.ACTION_PLAY 234 return actions;
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
ASTTreeParser.stg | 53 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 63 * add tree construction actions. 76 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 117 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 126 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 142 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 164 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 169 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 180 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 206 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
ASTTreeParser.stg | 52 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 62 * add tree construction actions. 75 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 116 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 125 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 141 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 163 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 168 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 179 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 205 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif [all...] |
/frameworks/compile/mclinker/unittests/ |
InputTreeTest.cpp | 55 std::vector<InputAction*> actions; local 58 actions.push_back(new StartGroupAction(position++)); 59 actions.push_back(new InputFileAction(position++, "path1")); 60 actions.push_back(new EndGroupAction(position++)); 63 for (action = actions.begin(); action != actions.end(); ++action) {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/ |
MediaControllerGlue.java | 176 long actions = mMediaController.getPlaybackState().getActions(); local 177 if ((actions & PlaybackStateCompat.ACTION_PLAY_PAUSE) != 0) { 180 if ((actions & PlaybackStateCompat.ACTION_SKIP_TO_NEXT) != 0) { 183 if ((actions & PlaybackStateCompat.ACTION_SKIP_TO_PREVIOUS) != 0) { 186 if ((actions & PlaybackStateCompat.ACTION_FAST_FORWARD) != 0) { 189 if ((actions & PlaybackStateCompat.ACTION_REWIND) != 0) {
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
GuidedStepTestFragment.java | 54 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { 57 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { 165 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { 166 mProvider.onCreateActions(actions, savedInstanceState); 170 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { 171 mProvider.onCreateButtonActions(actions, savedInstanceState);
|
GuidedStepTestSupportFragment.java | 57 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { 60 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { 168 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { 169 mProvider.onCreateActions(actions, savedInstanceState); 173 public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) { 174 mProvider.onCreateButtonActions(actions, savedInstanceState);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
ResetActivity.java | 76 public void onCreateActions(@NonNull List<GuidedAction> actions, 78 actions.add(new GuidedAction.Builder(getContext()) 81 actions.add(new GuidedAction.Builder(getContext()) 121 public void onCreateActions(@NonNull List<GuidedAction> actions, 123 actions.add(new GuidedAction.Builder(getContext()) 126 actions.add(new GuidedAction.Builder(getContext())
|
ConfirmClearCacheFragment.java | 45 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { 46 actions.add(new GuidedAction.Builder(getContext()) 49 actions.add(new GuidedAction.Builder(getContext())
|
ForgetPrivateConfirmFragment.java | 48 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { 49 actions.add(new GuidedAction.Builder(getContext()) 52 actions.add(new GuidedAction.Builder(getContext())
|
FormatAsPrivateStepFragment.java | 57 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { 58 actions.add(new GuidedAction.Builder(getContext()) 61 actions.add(new GuidedAction.Builder(getContext()) 66 /* actions.add(new GuidedAction.Builder()
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/dialog/ |
DialogExampleFragment.java | 45 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { 49 actions.add(action); 53 actions.add(action);
|
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
CustomActionsPopup.java | 37 * Handles showing a popup menu with available custom actions for a launcher icon. 38 * This allows exposing various custom actions using keyboard shortcuts. 74 List<AccessibilityAction> actions = getActionList(); local 75 if (actions.isEmpty()) { 82 for (AccessibilityAction action : actions) {
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
DvrMissingStorageErrorFragment.java | 53 public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) { 55 actions.add(new GuidedAction.Builder(activity) 59 actions.add(new GuidedAction.Builder(activity)
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
DialogActivity.java | 81 * Dialog Action Fragment actions starting index. 86 * Dialog Action Fragment actions. 113 ArrayList<Action> actions) { 115 Color.TRANSPARENT, actions); 120 int imageBackground, ArrayList<Action> actions) { 127 intent.putParcelableArrayListExtra(EXTRA_PARCELABLE_ACTIONS, actions); 134 ArrayList<Action> actions, Class<? extends DialogActivity> activityClass) { 136 actions, activityClass); 141 ArrayList<Action> actions, Class<? extends DialogActivity> activityClass) { 148 intent.putParcelableArrayListExtra(EXTRA_PARCELABLE_ACTIONS, actions); 209 ArrayList<Action> actions = local [all...] |