Home
last modified time | relevance | path

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

12345

/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()
DRemoteReceiver.java36 newIntent.setAction(LaunchpadActivity.BROADCAST_REMOTE); in onReceive()
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()
DLocalReceiver.java63 newIntent.setAction(LaunchpadActivity.BROADCAST_LOCAL); in onReceive()
/frameworks/support/compat/java/android/support/v4/view/accessibility/
DAccessibilityEventCompat.java36 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/
DSnackbarUsage.java53 .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/
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/support/compat/jellybean/android/support/v4/view/accessibility/
DAccessibilityEventCompatJellyBean.java30 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/
DSendResult.java65 setResult(RESULT_OK, (new Intent()).setAction("Corky!"));
76 setResult(RESULT_OK, (new Intent()).setAction("Violet!"));
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistProxyActivity.java30 intent.setAction(Intent.ACTION_ASSIST); in onCreate()
/frameworks/support/compat/java/android/support/v4/app/
DShareCompat.java287 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/
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/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.java287 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/
DMediaButtonReceiver.java93 queryIntent.setAction(MediaBrowserServiceCompat.SERVICE_INTERFACE); in onReceive()
/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);

12345