/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityScreen.java | 52 res.setAction("test"); in onCreate() 85 setResult(RESULT_CANCELED, (new Intent()).setAction("Interrupted!")); in onResume() 97 res.setAction("test"); in onResume() 122 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 129 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 132 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 135 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 138 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 144 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
|
D | ClearTop.java | 34 Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK) in onCreate() 45 setResult(RESULT_CANCELED, new Intent().setAction( in onNewIntent()
|
D | ActivityTestsBase.java | 109 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad() 133 mIntent.setAction(action); in runLaunchpad() 209 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(msg)); in onTimeout()
|
D | TestedScreen.java | 44 intent.setAction(DELIVER_RESULT); in onCreate() 51 setResult(RESULT_OK, (new Intent()).setAction( in onCreate()
|
D | RemoteReceiver.java | 36 newIntent.setAction(LaunchpadActivity.BROADCAST_REMOTE); in onReceive()
|
D | LaunchpadActivity.java | 144 private Intent mData = (new Intent()).setAction("No result received"); 351 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 357 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 449 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad()
|
D | LocalReceiver.java | 63 newIntent.setAction(LaunchpadActivity.BROADCAST_LOCAL); in onReceive()
|
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
D | AccessibilityEventCompat.java | 36 public void setAction(AccessibilityEvent event, int action); in setAction() method 77 public void setAction(AccessibilityEvent event, int action) { in setAction() method in AccessibilityEventCompat.AccessibilityEventStubImpl 116 public void setAction(AccessibilityEvent event, int action) { in setAction() method in AccessibilityEventCompat.AccessibilityEventJellyBeanImpl 117 AccessibilityEventCompatJellyBean.setAction(event, action); in setAction() 414 public void setAction(AccessibilityEvent event, int action) { in setAction() method in AccessibilityEventCompat 415 IMPL.setAction(event, action); in setAction()
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
D | SnackbarUsage.java | 53 .setAction("Action", new View.OnClickListener() { in showAction() 70 .setAction("Action", new View.OnClickListener() { in showLongAction() 82 .setAction("Action which wraps", new View.OnClickListener() { in showLongLongAction()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | CoordinatorSnackbarWithFabTest.java | 107 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testBuiltInSliding() 126 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testBuiltInSlidingFromHiddenFab() 147 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testBehaviorBasedSlidingFromLayoutAttribute() 164 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testBehaviorBasedSlidingFromClassAnnotation() 187 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)); in testBehaviorBasedSlidingFromRuntimeApiCall()
|
D | SnackbarTest.java | 109 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)), in testBasicContent() 115 .setAction(ACTION_ID, mock(View.OnClickListener.class)), in testBasicContent() 121 .setAction(ACTION_ID, mock(View.OnClickListener.class)), in testBasicContent() 130 .setAction(ACTION_TEXT, mock(View.OnClickListener.class)) in verifyDismissCallback() 259 .setAction(ACTION_TEXT, mockClickListener); in testActionClickListener()
|
/frameworks/support/compat/jellybean/android/support/v4/view/accessibility/ |
D | AccessibilityEventCompatJellyBean.java | 30 public static void setAction(AccessibilityEvent event, int action) { in setAction() method in AccessibilityEventCompatJellyBean 31 event.setAction(action); in setAction()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | SendResult.java | 65 setResult(RESULT_OK, (new Intent()).setAction("Corky!")); 76 setResult(RESULT_OK, (new Intent()).setAction("Violet!"));
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | AssistProxyActivity.java | 30 intent.setAction(Intent.ACTION_ASSIST); in onCreate()
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | ShareCompat.java | 287 mIntent = new Intent().setAction(Intent.ACTION_SEND); in IntentBuilder() 323 mIntent.setAction(Intent.ACTION_SEND); in getIntent() 335 mIntent.setAction(Intent.ACTION_SEND_MULTIPLE); in getIntent() 474 mIntent.setAction(Intent.ACTION_SEND); in setStream()
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | SchedulerService.java | 36 .setAction(Intent.ACTION_MAIN) in onStartCommand()
|
/frameworks/base/docs/html/training/snackbar/ |
D | action.jd | 76 {@link android.support.design.widget.Snackbar#setAction(int, android.view.View.OnClickListener) 85 <strong>mySnackbar.setAction(R.string.undo_string, new MyUndoListener());</strong>
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverTargetActionsDialogFragment.java | 90 Intent in = new Intent().setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS) in onClick()
|
/frameworks/base/docs/html/training/sharing/ |
D | send.jd | 69 sendIntent.setAction(Intent.ACTION_SEND); 97 sendIntent.setAction(Intent.ACTION_SEND); 126 shareIntent.setAction(Intent.ACTION_SEND); 178 shareIntent.setAction(Intent.ACTION_SEND_MULTIPLE);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
D | CarNavigationBarController.java | 185 intent.setAction(Intent.ACTION_MAIN); in getPackageCategory() 226 intent.setAction(Intent.ACTION_MAIN); in facetHasMultiplePackages()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ObservableScrollView.java | 101 cancel.setAction(MotionEvent.ACTION_CANCEL); in dispatchTouchEvent()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | Snackbar.java | 287 public Snackbar setAction(@StringRes int resId, View.OnClickListener listener) { in setAction() method in Snackbar 288 return setAction(mContext.getText(resId), listener); in setAction() 298 public Snackbar setAction(CharSequence text, final View.OnClickListener listener) { in setAction() method in Snackbar
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
D | MediaButtonReceiver.java | 93 queryIntent.setAction(MediaBrowserServiceCompat.SERVICE_INTERFACE); in onReceive()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 320 intent.setAction(INTENT_ACTION_CANCEL_PRINTJOB + "_" + printJob.getId().flattenToString()); in createCancelIntent() 327 intent.setAction(INTENT_ACTION_RESTART_PRINTJOB + "_" + printJobId.flattenToString()); in createRestartIntent()
|
/frameworks/base/docs/html/training/notify-user/ |
D | expanded.jd | 125 dismissIntent.setAction(CommonConstants.ACTION_DISMISS); 129 snoozeIntent.setAction(CommonConstants.ACTION_SNOOZE);
|