/development/tools/axl/ |
D | chewie.py | 92 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/ |
D | MessagingReceiver.java | 36 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/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | Card.java | 289 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/tools/repo_pull/ |
D | repo_review.py | 99 parser.add_argument('-l', '--label', nargs=2, action='append', 103 parser.add_argument('--submit', action='store_true', help='Submit a CL') 107 parser.add_argument('--add-hashtag', action='append', help='Add hashtag') 108 parser.add_argument('--remove-hashtag', action='append', 110 parser.add_argument('--delete-hashtag', action='append', 114 parser.add_argument('--delete-topic', action='store_true', 116 parser.add_argument('--remove-topic', action='store_true', 118 parser.add_argument('--add-reviewer', action='append', default=[], 120 parser.add_argument('--delete-reviewer', action='append', default=[],
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
D | WiFiDirectBroadcastReceiver.java | 58 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/testrunner/ |
D | runtest.py | 107 default=False, action="store_true", 110 action="store_true", help="Skip build - just launch") 115 action="store_true", 118 action="store_true", 121 action="store_true", 124 default=False, action="store_true", 128 action="store_true", 131 default=False, action="store_true", 151 default=False, action="store_true", 157 default=False, action="store_true", [all …]
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/ |
D | BootBroadcastReceiver.java | 47 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/samples/browseable/Timer/src/com.example.android.wearable.timer/ |
D | TimerNotificationService.java | 51 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/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
D | WiFiDirectBroadcastReceiver.java | 60 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/samples/browseable/ActionBarCompat-Basic/ |
D | _index.jd | 9 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/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceNetwork.java | 153 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 …]
|
D | MonkeyKeyEvent.java | 41 public MonkeyKeyEvent(int action, int keyCode) { in MonkeyKeyEvent() argument 42 this(-1, -1, action, keyCode, 0, 0, KeyCharacterMap.VIRTUAL_KEYBOARD, 0); in MonkeyKeyEvent() 45 public MonkeyKeyEvent(long downTime, long eventTime, int action, in MonkeyKeyEvent() argument 51 mAction = action; in MonkeyKeyEvent()
|
D | MonkeyTrackballEvent.java | 25 public MonkeyTrackballEvent(int action) { in MonkeyTrackballEvent() argument 26 super(MonkeyEvent.EVENT_TYPE_TRACKBALL, InputDevice.SOURCE_TRACKBALL, action); in MonkeyTrackballEvent()
|
D | MonkeyTouchEvent.java | 26 public MonkeyTouchEvent(int action) { in MonkeyTouchEvent() argument 27 super(MonkeyEvent.EVENT_TYPE_TOUCH, InputDevice.SOURCE_TOUCHSCREEN, action); in MonkeyTouchEvent()
|
/development/samples/browseable/DoneBar/ |
D | _index.jd | 9 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/ApiDemos/src/com/example/android/apis/appwidget/ |
D | ExampleBroadcastReceiver.java | 40 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/browseable/MediaRouter/src/com.example.android.mediarouter/provider/ |
D | SampleMediaRouteProvider.java | 287 String action = intent.getAction(); in onControlRequest() local 290 if (action.equals(MediaControlIntent.ACTION_PLAY)) { in onControlRequest() 292 } else if (action.equals(MediaControlIntent.ACTION_ENQUEUE)) { in onControlRequest() 294 } else if (action.equals(MediaControlIntent.ACTION_REMOVE)) { in onControlRequest() 296 } else if (action.equals(MediaControlIntent.ACTION_SEEK)) { in onControlRequest() 298 } else if (action.equals(MediaControlIntent.ACTION_GET_STATUS)) { in onControlRequest() 300 } else if (action.equals(MediaControlIntent.ACTION_PAUSE)) { in onControlRequest() 302 } else if (action.equals(MediaControlIntent.ACTION_RESUME)) { in onControlRequest() 304 } else if (action.equals(MediaControlIntent.ACTION_STOP)) { in onControlRequest() 306 } else if (action.equals(MediaControlIntent.ACTION_START_SESSION)) { in onControlRequest() [all …]
|
/development/vndk/tools/header-checker/utils/ |
D | create_reference_dumps.py | 173 parser.add_argument('--no-make-lib', action='store_true', 175 parser.add_argument('--llndk', action='store_true', 177 parser.add_argument('-libs', action='append', 179 parser.add_argument('-products', action='append', 183 parser.add_argument('--compress', action='store_true',
|
/development/tools/logblame/ |
D | app_switch_test | 32 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
|
D | connectivity_log_test | 15 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
|
/development/samples/training/notify-user/src/com/example/android/pingme/ |
D | PingService.java | 53 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/ApiDemos/src/com/example/android/apis/graphics/ |
D | TouchPaint.java | 340 final int action = event.getActionMasked(); in onTrackballEvent() local 341 if (action == MotionEvent.ACTION_DOWN) { in onTrackballEvent() 346 if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_MOVE) { in onTrackballEvent() 401 final int action = event.getActionMasked(); in onTouchOrHoverEvent() local 402 if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_MOVE in onTouchOrHoverEvent() 403 || action == MotionEvent.ACTION_HOVER_MOVE) { in onTouchOrHoverEvent()
|
/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/ |
D | DragFrameLayout.java | 106 final int action = ev.getActionMasked(); in onInterceptTouchEvent() local 107 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) { in onInterceptTouchEvent()
|
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
D | ActionsPresets.java | 93 NotificationCompat.Action action = new NotificationCompat.Action.Builder( in apply() local 100 builder.addAction(action); in apply() 117 NotificationCompat.Action action = new NotificationCompat.Action.Builder( in apply() local 124 wearableOptions.addAction(action); in apply()
|
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/ |
D | UtilityService.java | 97 String action = intent != null ? intent.getAction() : null; in onHandleIntent() local 98 if (ACTION_CLEAR_NOTIFICATION.equals(action)) { in onHandleIntent() 100 } else if (ACTION_CLEAR_REMOTE_NOTIFICATIONS.equals(action)) { in onHandleIntent() 102 } else if (ACTION_START_DEVICE_ACTIVITY.equals(action)) { in onHandleIntent()
|