/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 | 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 | RemoteReceiver.java | 36 newIntent.setAction(LaunchpadActivity.BROADCAST_REMOTE); in onReceive()
|
D | LocalReceiver.java | 63 newIntent.setAction(LaunchpadActivity.BROADCAST_LOCAL); in onReceive()
|
/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/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | AssistProxyActivity.java | 30 intent.setAction(Intent.ACTION_ASSIST); in onCreate()
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | ShareCompat.java | 283 mIntent = new Intent().setAction(Intent.ACTION_SEND); in IntentBuilder() 319 mIntent.setAction(Intent.ACTION_SEND); in getIntent() 331 mIntent.setAction(Intent.ACTION_SEND_MULTIPLE); in getIntent() 470 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/support/v4/java/android/support/v4/media/session/ |
D | MediaButtonReceiver.java | 90 queryIntent.setAction(MediaBrowserServiceCompat.SERVICE_INTERFACE); in onReceive()
|
/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 | 280 public Snackbar setAction(@StringRes int resId, View.OnClickListener listener) { in setAction() method in Snackbar 281 return setAction(mContext.getText(resId), listener); in setAction() 291 public Snackbar setAction(CharSequence text, final View.OnClickListener listener) { in setAction() method in Snackbar
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | EmergencyButton.java | 47 .setAction("com.android.phone.EmergencyDialer.DIAL")
|
/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);
|
/frameworks/base/core/java/android/content/ |
D | Intent.java | 4827 setAction(action); in Intent() 4847 setAction(action); in Intent() 4896 setAction(action); in Intent() 4956 selector.setAction(selectorAction); in makeMainSelectorActivity() 5071 intent.setAction(value); in parseUri() 5170 intent.setAction(ACTION_MAIN); in parseUri() 5196 intent.setAction(ACTION_MAIN); in parseUri() 5408 intent.setAction(cmd.getNextArgRequired()); in parseCommandArgs() 6747 public Intent setAction(String action) { in setAction() method 8674 setAction(in.readString()); in readFromParcel() [all …]
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | Intents.java | 283 mIntent.setAction(Intent.ACTION_VIEW); in build()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
D | SensorLoggerSession.java | 133 proto.setAction(ev.getActionMasked()); in motionEventToProto()
|