Home
last modified time | relevance | path

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

123

/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/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSchedulerService.java35 .setAction(Intent.ACTION_MAIN) in onStartCommand()
/frameworks/support/v4/java/android/support/v4/app/
DShareCompat.java281 mIntent = new Intent().setAction(Intent.ACTION_SEND); in IntentBuilder()
317 mIntent.setAction(Intent.ACTION_SEND); in getIntent()
329 mIntent.setAction(Intent.ACTION_SEND_MULTIPLE); in getIntent()
468 mIntent.setAction(Intent.ACTION_SEND); in setStream()
/frameworks/base/core/java/com/android/internal/widget/
DWaveView.java481 event.setAction(MotionEvent.ACTION_DOWN); in onHoverEvent()
484 event.setAction(MotionEvent.ACTION_MOVE); in onHoverEvent()
487 event.setAction(MotionEvent.ACTION_UP); in onHoverEvent()
491 event.setAction(action); in onHoverEvent()
DLockPatternView.java699 event.setAction(MotionEvent.ACTION_DOWN); in onHoverEvent()
702 event.setAction(MotionEvent.ACTION_MOVE); in onHoverEvent()
705 event.setAction(MotionEvent.ACTION_UP); in onHoverEvent()
709 event.setAction(action); in onHoverEvent()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DTestApp.java108 intent.setAction(Intent.ACTION_PICK); in loadModel()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModel.java109 intent.setAction(Intent.ACTION_PICK); in loadModel()
/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/phone/
DObservableScrollView.java101 cancel.setAction(MotionEvent.ACTION_CANCEL); in dispatchTouchEvent()
DSecureCameraLaunchManager.java177 intent.setAction(CLOSE_CAMERA_ACTION_NAME); in onSwipingStarted()
DStatusBarWindowView.java184 cancellation.setAction(MotionEvent.ACTION_CANCEL); in onInterceptTouchEvent()
/frameworks/base/docs/html/training/auto/messaging/
Dindex.jd332 .setAction(<em>com.myapp.messagingservice.ACTION_MESSAGE_HEARD</em>)
344 …The value of {@link android.content.Intent#setAction setAction()} is an intent filter identifier f…
359 .setAction(<em>com.myapp.messagingservice.ACTION_MESSAGE_REPLY</em>)
371 …value of {@link android.content.Intent#setAction setAction()} is an intent filter identifier for r…
/frameworks/base/core/java/android/content/
DIntent.java4119 setAction(action); in Intent()
4139 setAction(action); in Intent()
4188 setAction(action); in Intent()
4248 selector.setAction(selectorAction); in makeMainSelectorActivity()
4363 intent.setAction(value); in parseUri()
4462 intent.setAction(ACTION_MAIN); in parseUri()
4488 intent.setAction(ACTION_MAIN); in parseUri()
5586 public Intent setAction(String action) { in setAction() method
7504 setAction(in.readString()); in readFromParcel()
7562 intent.setAction(sa.getString(com.android.internal.R.styleable.Intent_action)); in parseIntent()
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java261 intent.setAction(INTENT_ACTION_CANCEL_PRINTJOB + "_" + printJob.getId().flattenToString()); in createCancelIntent()
268 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/opt/photoviewer/src/com/android/ex/photo/
DIntents.java262 mIntent.setAction(Intent.ACTION_VIEW); in build()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java884 intent.setAction(Intents.SMS_DELIVER_ACTION); in dispatchSmsDeliveryIntent()
907 intent.setAction(Intents.DATA_SMS_RECEIVED_ACTION); in dispatchSmsDeliveryIntent()
1040 intent.setAction(Intents.SMS_RECEIVED_ACTION); in onReceive()
1047 intent.setAction(Intents.WAP_PUSH_RECEIVED_ACTION); in onReceive()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DGlowPadView.java951 event.setAction(MotionEvent.ACTION_DOWN);
954 event.setAction(MotionEvent.ACTION_MOVE);
957 event.setAction(MotionEvent.ACTION_UP);
961 event.setAction(action);
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java185 i.setAction("android.intent.action.UPDATE_PINS"); in sendIntent()

123