Home
last modified time | relevance | path

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

12

/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/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/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/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModel.java109 intent.setAction(Intent.ACTION_PICK); in loadModel()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DMultiWaveView.java763 event.setAction(MotionEvent.ACTION_DOWN); in onHoverEvent()
766 event.setAction(MotionEvent.ACTION_MOVE); in onHoverEvent()
769 event.setAction(MotionEvent.ACTION_UP); in onHoverEvent()
773 event.setAction(action); in onHoverEvent()
/frameworks/base/core/java/com/android/internal/widget/
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()
/frameworks/base/core/java/android/view/
DViewGroup.java1307 event.setAction(action); // restore action in case it was changed in dispatchHoverEvent()
1375 eventNoHistory.setAction(MotionEvent.ACTION_HOVER_ENTER); in dispatchHoverEvent()
1378 eventNoHistory.setAction(action); in dispatchHoverEvent()
1411 eventNoHistory.setAction(MotionEvent.ACTION_HOVER_EXIT); in dispatchHoverEvent()
1414 eventNoHistory.setAction(action); in dispatchHoverEvent()
1442 eventNoHistory.setAction(MotionEvent.ACTION_HOVER_EXIT); in dispatchHoverEvent()
1444 eventNoHistory.setAction(action); in dispatchHoverEvent()
1458 eventNoHistory.setAction(MotionEvent.ACTION_HOVER_ENTER); in dispatchHoverEvent()
1460 eventNoHistory.setAction(action); in dispatchHoverEvent()
1632 ev.setAction(action); // restore action in case it was changed in dispatchTouchEvent()
[all …]
/frameworks/base/core/java/android/content/
DIntent.java2963 setAction(action); in Intent()
2983 setAction(action); in Intent()
3032 setAction(action); in Intent()
3154 intent.setAction(value); in parseUri()
4242 public Intent setAction(String action) { in setAction() method in Intent
5865 setAction(in.readString()); in readFromParcel()
5915 intent.setAction(sa.getString(com.android.internal.R.styleable.Intent_action)); in parseIntent()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java1157 event.setAction(MotionEvent.ACTION_DOWN);
1160 event.setAction(MotionEvent.ACTION_MOVE);
1163 event.setAction(MotionEvent.ACTION_UP);
1167 event.setAction(action);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/
DDirListActivity.java233 intent.setAction(Intent.ACTION_RUN); in runAllTestsUnder()
/frameworks/base/docs/html/resources/articles/
Dtts.jd36 checkIntent.setAction(TextToSpeech.Engine.ACTION_CHECK_TTS_DATA);
61 installIntent.setAction(
/frameworks/base/include/ui/
DInput.h357 inline void setAction(int32_t action) { mAction = action; } in setAction() function
/frameworks/base/core/java/android/widget/
DSwitch.java472 cancel.setAction(MotionEvent.ACTION_CANCEL); in cancelSuperTouch()
/frameworks/base/docs/html/guide/developing/tools/
DMonkeyDevice.jd491 (see {@link android.content.Intent#setAction(java.lang.String) Intent.setAction()}).
972 (see {@link android.content.Intent#setAction(java.lang.String) Intent.setAction()}).
/frameworks/base/core/java/android/gesture/
DGestureOverlayView.java502 event.setAction(MotionEvent.ACTION_CANCEL); in dispatchTouchEvent()
/frameworks/base/libs/ui/tests/
DInputEvent_test.cpp439 event.setAction(AMOTION_EVENT_ACTION_CANCEL); in TEST_F()
/frameworks/base/docs/html/guide/topics/network/
Dsip.jd244 intent.setAction("android.SipDemo.INCOMING_CALL");
437 intent.setAction("android.SipDemo.INCOMING_CALL");

12