Home
last modified time | relevance | path

Searched refs:setAction (Results 1 – 25 of 54) 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/tests/DumpRenderTree2/src/com/android/dumprendertree2/scriptsupport/
DStarter.java53 intent.setAction(Intent.ACTION_RUN); in startLayoutTests()
/frameworks/base/services/java/com/android/server/
DBatteryService.java335 statusIntent.setAction(Intent.ACTION_POWER_CONNECTED); in processValues()
339 statusIntent.setAction(Intent.ACTION_POWER_DISCONNECTED); in processValues()
345 statusIntent.setAction(Intent.ACTION_BATTERY_LOW); in processValues()
349 statusIntent.setAction(Intent.ACTION_BATTERY_OKAY); in processValues()
/frameworks/base/core/java/com/android/internal/widget/
DWaveView.java474 event.setAction(MotionEvent.ACTION_DOWN); in onHoverEvent()
477 event.setAction(MotionEvent.ACTION_MOVE); in onHoverEvent()
480 event.setAction(MotionEvent.ACTION_UP); in onHoverEvent()
484 event.setAction(action); in onHoverEvent()
DLockPatternView.java628 event.setAction(MotionEvent.ACTION_DOWN); in onHoverEvent()
631 event.setAction(MotionEvent.ACTION_MOVE); in onHoverEvent()
634 event.setAction(MotionEvent.ACTION_UP); in onHoverEvent()
638 event.setAction(action); in onHoverEvent()
DLockPatternUtils.java436 Intent intent = new Intent().setAction("com.android.facelock.DELETE_GALLERY"); in deleteTempGallery()
446 Intent intent = new Intent().setAction("com.android.facelock.DELETE_GALLERY"); in deleteGallery()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DManagerService.java125 intent.setAction(Intent.ACTION_SHUTDOWN);
201 intent.setAction(Intent.ACTION_REBOOT); in onTestCrashed()
DTestsListActivity.java190 intent.setAction(Intent.ACTION_RUN); in restartExecutor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java74 cancellation.setAction(MotionEvent.ACTION_CANCEL); in onInterceptTouchEvent()
/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);
95 sendIntent.setAction(Intent.ACTION_SEND);
126 shareIntent.setAction(Intent.ACTION_SEND);
186 shareIntent.setAction(Intent.ACTION_SEND_MULTIPLE);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DGlowPadView.java897 event.setAction(MotionEvent.ACTION_DOWN);
900 event.setAction(MotionEvent.ACTION_MOVE);
903 event.setAction(MotionEvent.ACTION_UP);
907 event.setAction(action);
DMultiWaveView.java913 event.setAction(MotionEvent.ACTION_DOWN);
916 event.setAction(MotionEvent.ACTION_MOVE);
919 event.setAction(MotionEvent.ACTION_UP);
923 event.setAction(action);
/frameworks/base/core/java/android/content/
DIntent.java3260 setAction(action); in Intent()
3280 setAction(action); in Intent()
3329 setAction(action); in Intent()
3389 selector.setAction(selectorAction); in makeMainSelectorActivity()
3486 intent.setAction(value); in parseUri()
4605 public Intent setAction(String action) { in setAction() method
6489 setAction(in.readString()); in readFromParcel()
6547 intent.setAction(sa.getString(com.android.internal.R.styleable.Intent_action)); in parseIntent()
/frameworks/base/core/java/android/view/
DViewGroup.java1417 event.setAction(action); // restore action in case it was changed in dispatchHoverEvent()
1485 eventNoHistory.setAction(MotionEvent.ACTION_HOVER_ENTER); in dispatchHoverEvent()
1488 eventNoHistory.setAction(action); in dispatchHoverEvent()
1521 eventNoHistory.setAction(MotionEvent.ACTION_HOVER_EXIT); in dispatchHoverEvent()
1524 eventNoHistory.setAction(action); in dispatchHoverEvent()
1552 eventNoHistory.setAction(MotionEvent.ACTION_HOVER_EXIT); in dispatchHoverEvent()
1554 eventNoHistory.setAction(action); in dispatchHoverEvent()
1568 eventNoHistory.setAction(MotionEvent.ACTION_HOVER_ENTER); in dispatchHoverEvent()
1570 eventNoHistory.setAction(action); in dispatchHoverEvent()
1823 ev.setAction(action); // restore action in case it was changed in dispatchTouchEvent()
[all …]
/frameworks/base/core/java/android/webkit/
DWebViewInputDispatcher.java385 eventToEnqueue.setAction(MotionEvent.ACTION_MOVE); in postLongPress()
1243 event.setAction(MotionEvent.ACTION_CANCEL); in update()

123