Searched refs:action (Results 1 - 25 of 53) sorted by relevance

123

/development/cmds/monkey/src/com/android/commands/monkey/
H A DMonkeyTouchEvent.java26 public MonkeyTouchEvent(int action) { argument
27 super(MonkeyEvent.EVENT_TYPE_TOUCH, InputDevice.SOURCE_TOUCHSCREEN, action);
H A DMonkeyTrackballEvent.java25 public MonkeyTrackballEvent(int action) { argument
26 super(MonkeyEvent.EVENT_TYPE_TRACKBALL, InputDevice.SOURCE_TRACKBALL, action);
H A DMonkeyKeyEvent.java41 public MonkeyKeyEvent(int action, int keyCode) { argument
42 this(-1, -1, action, keyCode, 0, 0, KeyCharacterMap.VIRTUAL_KEYBOARD, 0);
45 public MonkeyKeyEvent(long downTime, long eventTime, int action, argument
51 mAction = action;
H A DMonkeySourceNetwork.java151 // figure out the action
152 int action = -1;
154 action = MotionEvent.ACTION_DOWN;
156 action = MotionEvent.ACTION_UP;
158 action = MotionEvent.ACTION_MOVE;
160 if (action == -1) {
161 Log.e(TAG, "Got a bad action: " + actionName);
165 queue.enqueueEvent(new MonkeyTouchEvent(action)
219 int action = -1;
221 action
[all...]
H A DMonkeyMotionEvent.java46 protected MonkeyMotionEvent(int type, int source, int action) { argument
51 mAction = action;
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
H A DWiFiDirectBroadcastReceiver.java60 String action = intent.getAction();
61 Log.d(WiFiServiceDiscoveryActivity.TAG, action);
62 if (WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION.equals(action)) {
83 .equals(action)) {
/development/tools/axl/
H A Dchewie.py92 thread, action = x[1], x[2]
93 if action == "Q":
96 elif action == "O":
101 elif action == "S":
107 elif action == "T":
111 elif action == "R":
117 elif action == 'U':
124 elif action == "D":
132 elif action == "B":
134 elif action
[all...]
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
H A DWiFiDirectBroadcastReceiver.java58 String action = intent.getAction();
59 if (WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION.equals(action)) {
72 } else if (WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION.equals(action)) {
82 } else if (WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION.equals(action)) {
103 } else if (WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION.equals(action)) {
/development/apps/BluetoothDebug/src/com/android/bluetoothdebug/
H A DDebugReceiver.java58 private static String shorten(String action) { argument
59 return action.replace("android", "a")
62 .replace("action", "a");
/development/samples/ApiDemos/src/com/example/android/apis/nfc/
H A DTechFilter.java39 String action = intent.getAction();
40 if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action)) {
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
H A DExampleBroadcastReceiver.java40 String action = intent.getAction();
41 if (action.equals(Intent.ACTION_TIMEZONE_CHANGED)
42 || action.equals(Intent.ACTION_TIME_CHANGED)) {
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DLauncherShortcuts.java44 * media item, or action.
63 final String action = intent.getAction();
67 if (Intent.ACTION_CREATE_SHORTCUT.equals(action)) {
116 * triggers the desired action within your Activity.
121 // data Uri in order to display a more specific result, or a custom action in order to
/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DDragAndDropDemo.java50 final int action = event.getAction();
51 switch (action) {
/development/samples/NotePad/src/com/example/android/notepad/
H A DNotesLiveFolder.java48 * Gets the incoming Intent and its action. If the incoming Intent was
53 final String action = intent.getAction();
55 if (LiveFolders.ACTION_CREATE_LIVE_FOLDER.equals(action)) {
84 * Adds a base action for items in the live folder list, as an Intent. When the
87 * Its action is ACTION_EDIT, so it triggers the Note Editor activity. Its
105 // If the original action was not ACTION_CREATE_LIVE_FOLDER, creates an
H A DNoteEditor.java69 // This Activity can be started by more than one action. Each action is represented
149 * Sets up for the edit, based on the action specified for the incoming Intent.
152 // Gets the action that triggered the intent filter for this Activity
153 final String action = intent.getAction();
155 // For an edit action:
156 if (Intent.ACTION_EDIT.equals(action)) {
162 // For an insert or paste action:
163 } else if (Intent.ACTION_INSERT.equals(action)
164 || Intent.ACTION_PASTE.equals(action)) {
[all...]
/development/testrunner/
H A Druntest.py104 default=False, action="store_true",
107 action="store_true", help="Skip build - just launch")
112 action="store_true",
115 action="store_true",
118 default=False, action="store_true",
122 action="store_true",
125 default=False, action="store_true",
145 default=False, action="store_true",
153 default=False, action="store_true",
156 default=False, action
[all...]
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
H A DAccessibilityNodeProviderActivity.java134 final int action = event.getAction();
135 switch (action) {
139 event.setAction(action);
144 event.setAction(action);
158 event.setAction(action);
165 event.setAction(action);
272 final int action = event.getAction();
273 switch (action) {
445 public boolean performAction(int virtualViewId, int action, Bundle arguments) { argument
447 // Perform the action o
[all...]
/development/ndk/platforms/android-3/include/
H A Dtermios.h59 static __inline__ int tcflow(int fd, int action) argument
61 return ioctl(fd, TCXONC, (void *)(intptr_t)action);
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
H A DDeviceListActivity.java180 String action = intent.getAction();
183 if (BluetoothDevice.ACTION_FOUND.equals(action)) {
191 } else if (BluetoothAdapter.ACTION_DISCOVERY_FINISHED.equals(action)) {
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DTouchPaint.java307 final int action = event.getActionMasked();
308 if (action == MotionEvent.ACTION_DOWN) {
313 if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_MOVE) {
368 final int action = event.getActionMasked();
369 if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_MOVE
370 || action == MotionEvent.ACTION_HOVER_MOVE) {
/development/samples/BrowserPlugin/jni/video/
H A DVideoPlugin.cpp109 switch (evt->data.lifecycle.action) {
123 if (kDown_ANPTouchAction == evt->data.touch.action) {
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
H A DMusicService.java61 // service can handle are the <action> tags in the <intent-filters> tag for our service in
64 "com.example.android.musicplayer.action.TOGGLE_PLAYBACK";
65 public static final String ACTION_PLAY = "com.example.android.musicplayer.action.PLAY";
66 public static final String ACTION_PAUSE = "com.example.android.musicplayer.action.PAUSE";
67 public static final String ACTION_STOP = "com.example.android.musicplayer.action.STOP";
68 public static final String ACTION_SKIP = "com.example.android.musicplayer.action.SKIP";
69 public static final String ACTION_REWIND = "com.example.android.musicplayer.action.REWIND";
70 public static final String ACTION_URL = "com.example.android.musicplayer.action.URL";
209 * Intent's action, which specifies what is being requested of us.
213 String action
[all...]
/development/samples/BrowserPlugin/jni/animation/
H A DAnimationPlugin.cpp156 if (kDown_ANPTouchAction == evt->data.touch.action) {
159 else if (kDoubleTap_ANPTouchAction == evt->data.touch.action) {
/development/samples/CrossCompatibility/src/com/example/android/touchexample/
H A DVersionedGestureDetector.java112 final int action = ev.getAction();
113 switch (action & MotionEvent.ACTION_MASK) {
/development/ndk/platforms/android-3/include/linux/
H A Dirq.h83 struct irqaction *action; member in struct:irq_desc

Completed in 661 milliseconds

123