Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 131) sorted by relevance

123456

/development/tools/axl/
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 == "HR":
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/receiver/
DMessagingReceiver.java36 String action = intent == null ? null : intent.getAction(); in onReceive() local
40 if (Intents.SMS_DELIVER_ACTION.equals(action)) { in onReceive()
42 } else if (Intents.WAP_PUSH_DELIVER_ACTION.equals(action)) { in onReceive()
46 if (Intents.SMS_RECEIVED_ACTION.equals(action)) { in onReceive()
48 } else if (Intents.WAP_PUSH_RECEIVED_ACTION.equals(action)) { in onReceive()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/
DBootBroadcastReceiver.java47 String action = intent.getAction(); in onReceive() local
48 Log.i(TAG, "Received action: " + action + ", user unlocked: " + UserManagerCompat in onReceive()
51 bootCompleted = Intent.ACTION_LOCKED_BOOT_COMPLETED.equals(action); in onReceive()
53 bootCompleted = Intent.ACTION_BOOT_COMPLETED.equals(action); in onReceive()
/development/tools/repo_pull/
Drepo_review.py91 parser.add_argument('-l', '--label', nargs=2, action='append',
95 parser.add_argument('--submit', action='store_true', help='Submit a CL')
98 parser.add_argument('--restore', action='store_true', help='Restore a CL')
99 parser.add_argument('--delete', action='store_true', help='Delete a CL')
101 parser.add_argument('--add-hashtag', action='append', help='Add hashtag')
102 parser.add_argument('--remove-hashtag', action='append',
104 parser.add_argument('--delete-hashtag', action='append',
108 parser.add_argument('--delete-topic', action='store_true',
110 parser.add_argument('--remove-topic', action='store_true',
112 parser.add_argument('--add-reviewer', action='append', default=[],
[all …]
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DWiFiDirectBroadcastReceiver.java58 String action = intent.getAction(); in onReceive() local
59 if (WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION.equals(action)) { in onReceive()
72 } else if (WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION.equals(action)) { in onReceive()
82 } else if (WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION.equals(action)) { in onReceive()
103 } else if (WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION.equals(action)) { in onReceive()
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/
DStylusFragment.java95 int action = getVirtualStylusEventAction(e.getAction()); in sendMotionEvent() local
97 if (action < 0 || !displaySize.isPresent()) { in sendMotionEvent()
110 .setAction(action) in sendMotionEvent()
116 private void sendButtonEvent(int action, int button) { in sendButtonEvent() argument
118 .setAction(action) in sendButtonEvent()
124 private static int getVirtualStylusEventAction(int action) { in getVirtualStylusEventAction() argument
125 return switch (action) { in getVirtualStylusEventAction()
/development/samples/browseable/ActionBarCompat-Basic/
D_index.jd9 displays action items. It covers inflating items from a menu resource, as well as adding
10 an item in code. Items that are not shown as action items on the Action Bar are
11 displayed in the action bar overflow.
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiDirectBroadcastReceiver.java60 String action = intent.getAction(); in onReceive() local
61 Log.d(WiFiServiceDiscoveryActivity.TAG, action); in onReceive()
62 if (WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION.equals(action)) { in onReceive()
83 .equals(action)) { in onReceive()
/development/tools/winscope/src/abt_chrome_extension/
Dmessages.ts39 action: MessageType; property
44 action: MessageType.OPEN_REQUEST; property
49 action: MessageType.OPEN_BUGANIZER_RESPONSE; property
/development/samples/browseable/DoneBar/
D_index.jd9 action bar that are well-suited for simple data entry scenarios.
11 In this presentation, a done bar replaces the action
14 action bar.
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/
DTimerNotificationService.java51 String action = intent.getAction(); in onHandleIntent() local
52 if (Constants.ACTION_SHOW_ALARM.equals(action)) { in onHandleIntent()
54 } else if (Constants.ACTION_DELETE_ALARM.equals(action)) { in onHandleIntent()
56 } else if (Constants.ACTION_RESTART_ALARM.equals(action)) { in onHandleIntent()
59 throw new IllegalStateException("Undefined constant used: " + action); in onHandleIntent()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCard.java289 for (CardAction action : mCardActions) { in setActionVisibility()
290 if (action.id == actionId && action.actionView != null) { in setActionVisibility()
291 action.actionView.setVisibility(visibilityFlag); in setActionVisibility()
354 for (CardAction action : mCardActions) { in createShallowClone()
355 cloneCard.mCardActions.add(action.createShallowClone()); in createShallowClone()
368 for (CardAction action : mCardActions) { in prepareForConfigurationChange()
369 action.actionView = null; in prepareForConfigurationChange()
550 for (final CardAction action : mCard.mCardActions) { in initializeActionViews()
553 switch (action.type) { in initializeActionViews()
566 action.actionView = inflater.inflate(useActionLayout, actionArea, false); in initializeActionViews()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
DExampleBroadcastReceiver.java40 String action = intent.getAction(); in onReceive() local
41 if (action.equals(Intent.ACTION_TIMEZONE_CHANGED) in onReceive()
42 || action.equals(Intent.ACTION_TIME_CHANGED)) { in onReceive()
/development/samples/VirtualDeviceManager/common/src/com/example/android/vdmdemo/common/
DDpadFragment.java60 int action; in onDpadButtonClick() local
62 action = KeyEvent.ACTION_DOWN; in onDpadButtonClick()
64 action = KeyEvent.ACTION_UP; in onDpadButtonClick()
91 action, in onDpadButtonClick()
/development/vndk/snapshot/
Dmulti_update.py52 action='store_true',
56 action='store_true',
66 action='count',
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyTouchEvent.java26 public MonkeyTouchEvent(int action) { in MonkeyTouchEvent() argument
27 super(MonkeyEvent.EVENT_TYPE_TOUCH, InputDevice.SOURCE_TOUCHSCREEN, action); in MonkeyTouchEvent()
DMonkeyTrackballEvent.java25 public MonkeyTrackballEvent(int action) { in MonkeyTrackballEvent() argument
26 super(MonkeyEvent.EVENT_TYPE_TRACKBALL, InputDevice.SOURCE_TRACKBALL, action); in MonkeyTrackballEvent()
DMonkeyKeyEvent.java42 public MonkeyKeyEvent(int action, int keyCode) { in MonkeyKeyEvent() argument
43 this(-1, -1, action, keyCode, 0, 0, KeyCharacterMap.VIRTUAL_KEYBOARD, 0); in MonkeyKeyEvent()
46 public MonkeyKeyEvent(long downTime, long eventTime, int action, in MonkeyKeyEvent() argument
52 mAction = action; in MonkeyKeyEvent()
DMonkeySourceNetwork.java153 int action = -1; in translateCommand() local
155 action = MotionEvent.ACTION_DOWN; in translateCommand()
157 action = MotionEvent.ACTION_UP; in translateCommand()
159 action = MotionEvent.ACTION_MOVE; in translateCommand()
161 if (action == -1) { in translateCommand()
166 queue.enqueueEvent(new MonkeyTouchEvent(action) in translateCommand()
220 int action = -1; in translateCommand() local
222 action = KeyEvent.ACTION_DOWN; in translateCommand()
224 action = KeyEvent.ACTION_UP; in translateCommand()
226 if (action == -1) { in translateCommand()
[all …]
/development/tools/logblame/
Dconnectivity_log_test15 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
27 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
33 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
Dapp_switch_test32 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
45 adb shell am start -a android.intent.action.MAIN $intent
66 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
/development/samples/training/notify-user/src/com/example/android/pingme/
DPingService.java53 String action = intent.getAction(); in onHandleIntent() local
56 if(action.equals(CommonConstants.ACTION_PING)) { in onHandleIntent()
58 } else if (action.equals(CommonConstants.ACTION_SNOOZE)) { in onHandleIntent()
64 } else if (action.equals(CommonConstants.ACTION_DISMISS)) { in onHandleIntent()
/development/samples/browseable/ElizaChat/
D_index.jd9 … messages with a quick voice response. New messages create a notification with a "Reply" action.
10 … The notification is bridged from phone to wearable, and selecting the "Reply" action on the
/development/samples/ApiDemos/src/com/example/android/apis/nfc/
DTechFilter.java39 String action = intent.getAction(); in onCreate() local
40 if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action)) { in onCreate()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/provider/
DUpdateComplicationDataService.java32 final String action = intent.getAction(); in onHandleIntent() local
34 if (ACTION_UPDATE_COMPLICATION.equals(action)) { in onHandleIntent()

123456