Home
last modified time | relevance | path

Searched refs:setAction (Results 1 – 25 of 52) 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.java280 mIntent = new Intent().setAction(Intent.ACTION_SEND); in IntentBuilder()
316 mIntent.setAction(Intent.ACTION_SEND); in getIntent()
328 mIntent.setAction(Intent.ACTION_SEND_MULTIPLE); in getIntent()
467 mIntent.setAction(Intent.ACTION_SEND); in setStream()
/frameworks/base/core/java/com/android/internal/widget/
DWaveView.java476 event.setAction(MotionEvent.ACTION_DOWN); in onHoverEvent()
479 event.setAction(MotionEvent.ACTION_MOVE); in onHoverEvent()
482 event.setAction(MotionEvent.ACTION_UP); in onHoverEvent()
486 event.setAction(action); in onHoverEvent()
DLockPatternView.java627 event.setAction(MotionEvent.ACTION_DOWN); in onHoverEvent()
630 event.setAction(MotionEvent.ACTION_MOVE); in onHoverEvent()
633 event.setAction(MotionEvent.ACTION_UP); in onHoverEvent()
637 event.setAction(action); in onHoverEvent()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModel.java109 intent.setAction(Intent.ACTION_PICK); in loadModel()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DTestApp.java108 intent.setAction(Intent.ACTION_PICK); in loadModel()
/frameworks/base/docs/html/training/sharing/
Dsend.jd69 sendIntent.setAction(Intent.ACTION_SEND);
95 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/
DStatusBarWindowView.java99 cancellation.setAction(MotionEvent.ACTION_CANCEL); in onInterceptTouchEvent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DIntents.java221 mIntent.setAction(Intent.ACTION_VIEW); in build()
/frameworks/base/docs/html/training/notify-user/
Dexpanded.jd127 dismissIntent.setAction(CommonConstants.ACTION_DISMISS);
131 snoozeIntent.setAction(CommonConstants.ACTION_SNOOZE);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DNotificationController.java251 intent.setAction(INTENT_ACTION_CANCEL_PRINTJOB + "_" + printJob.getId().flattenToString()); in createCancelIntent()
260 intent.setAction(INTENT_ACTION_RESTART_PRINTJOB + "_" + printJobId.flattenToString()); in createRestartIntent()
/frameworks/base/core/java/android/content/
DIntent.java3772 setAction(action); in Intent()
3792 setAction(action); in Intent()
3841 setAction(action); in Intent()
3901 selector.setAction(selectorAction); in makeMainSelectorActivity()
3998 intent.setAction(value); in parseUri()
5150 public Intent setAction(String action) { in setAction() method
7032 setAction(in.readString()); in readFromParcel()
7090 intent.setAction(sa.getString(com.android.internal.R.styleable.Intent_action)); in parseIntent()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DMultiWaveView.java917 event.setAction(MotionEvent.ACTION_DOWN);
920 event.setAction(MotionEvent.ACTION_MOVE);
923 event.setAction(MotionEvent.ACTION_UP);
927 event.setAction(action);
DGlowPadView.java945 event.setAction(MotionEvent.ACTION_DOWN);
948 event.setAction(MotionEvent.ACTION_MOVE);
951 event.setAction(MotionEvent.ACTION_UP);
955 event.setAction(action);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java827 intent.setAction(Intents.SMS_RECEIVED_ACTION); in onReceive()
833 intent.setAction(Intents.WAP_PUSH_RECEIVED_ACTION); in onReceive()
/frameworks/base/core/java/android/view/
DViewGroup.java1471 event.setAction(action); // restore action in case it was changed in dispatchHoverEvent()
1542 eventNoHistory.setAction(MotionEvent.ACTION_HOVER_ENTER); in dispatchHoverEvent()
1545 eventNoHistory.setAction(action); in dispatchHoverEvent()
1578 eventNoHistory.setAction(MotionEvent.ACTION_HOVER_EXIT); in dispatchHoverEvent()
1581 eventNoHistory.setAction(action); in dispatchHoverEvent()
1609 eventNoHistory.setAction(MotionEvent.ACTION_HOVER_EXIT); in dispatchHoverEvent()
1611 eventNoHistory.setAction(action); in dispatchHoverEvent()
1625 eventNoHistory.setAction(MotionEvent.ACTION_HOVER_ENTER); in dispatchHoverEvent()
1627 eventNoHistory.setAction(action); in dispatchHoverEvent()
1860 ev.setAction(action); // restore action in case it was changed in dispatchTouchEvent()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java185 i.setAction("android.intent.action.UPDATE_PINS"); in sendIntent()
/frameworks/base/core/java/android/text/style/
DSuggestionSpan.java365 intent.setAction(SuggestionSpan.ACTION_SUGGESTION_PICKED); in notifySelection()

123