Home
last modified time | relevance | path

Searched refs:setAction (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityScreen.java52 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()
DClearTop.java34 Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK) in onCreate()
45 setResult(RESULT_CANCELED, new Intent().setAction( in onNewIntent()
DActivityTestsBase.java109 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()
DTestedScreen.java44 intent.setAction(DELIVER_RESULT); in onCreate()
51 setResult(RESULT_OK, (new Intent()).setAction( in onCreate()
DLaunchpadActivity.java144 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()
DRemoteReceiver.java36 newIntent.setAction(LaunchpadActivity.BROADCAST_REMOTE); in onReceive()
DLocalReceiver.java63 newIntent.setAction(LaunchpadActivity.BROADCAST_LOCAL); in onReceive()
/frameworks/support/design/tests/src/android/support/design/widget/
DCoordinatorSnackbarWithFabTest.java107 .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()
DSnackbarTest.java109 .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/
DAssistProxyActivity.java30 intent.setAction(Intent.ACTION_ASSIST); in onCreate()
/frameworks/support/v4/java/android/support/v4/app/
DShareCompat.java283 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/
DSchedulerService.java36 .setAction(Intent.ACTION_MAIN) in onStartCommand()
/frameworks/base/docs/html/training/snackbar/
Daction.jd76 {@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/
DResolverTargetActionsDialogFragment.java90 Intent in = new Intent().setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS) in onClick()
/frameworks/support/v4/java/android/support/v4/media/session/
DMediaButtonReceiver.java90 queryIntent.setAction(MediaBrowserServiceCompat.SERVICE_INTERFACE); in onReceive()
/frameworks/base/docs/html/training/sharing/
Dsend.jd69 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/
DCarNavigationBarController.java185 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/
DObservableScrollView.java101 cancel.setAction(MotionEvent.ACTION_CANCEL); in dispatchTouchEvent()
/frameworks/support/design/src/android/support/design/widget/
DSnackbar.java280 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/
DEmergencyButton.java47 .setAction("com.android.phone.EmergencyDialer.DIAL")
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java320 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/
Dexpanded.jd125 dismissIntent.setAction(CommonConstants.ACTION_DISMISS);
129 snoozeIntent.setAction(CommonConstants.ACTION_SNOOZE);
/frameworks/base/core/java/android/content/
DIntent.java4827 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/
DIntents.java283 mIntent.setAction(Intent.ACTION_VIEW); in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DSensorLoggerSession.java133 proto.setAction(ev.getActionMasked()); in motionEventToProto()

1234