Home
last modified time | relevance | path

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

1234

/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/SmsSample/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/ndk/sources/android/ndk_helper/
DgestureDetector.cpp53 int32_t action = AMotionEvent_getAction( motion_event ); in Detect() local
54 unsigned int flags = action & AMOTION_EVENT_ACTION_MASK; in Detect()
98 int32_t action = AMotionEvent_getAction( motion_event ); in Detect() local
99 unsigned int flags = action & AMOTION_EVENT_ACTION_MASK; in Detect()
153 int32_t action = AMotionEvent_getAction( event ); in Detect() local
154 uint32_t flags = action & AMOTION_EVENT_ACTION_MASK; in Detect()
165 int32_t iIndex = (action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) in Detect()
180 int32_t index = (action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) in Detect()
268 int32_t action = AMotionEvent_getAction( event ); in Detect() local
269 int32_t index = (action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) in Detect()
[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/browseable/ActionBarCompat-Basic/
D_index.jd8 displays action items. It covers inflating items from a menu resource, as well as adding
9 an item in code. Items that are not shown as action items on the Action Bar are
10 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/samples/browseable/DoneBar/
D_index.jd8 action bar that are well-suited for simple data entry scenarios.
10 In this presentation, a done bar replaces the action
13 action bar.
/development/samples/browseable/Timer/Wearable/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/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/cmds/monkey/src/com/android/commands/monkey/
DMonkeyTrackballEvent.java25 public MonkeyTrackballEvent(int action) { in MonkeyTrackballEvent() argument
26 super(MonkeyEvent.EVENT_TYPE_TRACKBALL, InputDevice.SOURCE_TRACKBALL, action); in MonkeyTrackballEvent()
DMonkeyTouchEvent.java26 public MonkeyTouchEvent(int action) { in MonkeyTouchEvent() argument
27 super(MonkeyEvent.EVENT_TYPE_TOUCH, InputDevice.SOURCE_TOUCHSCREEN, action); in MonkeyTouchEvent()
DMonkeyKeyEvent.java41 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()
DMonkeySourceNetwork.java152 int action = -1; in translateCommand() local
154 action = MotionEvent.ACTION_DOWN; in translateCommand()
156 action = MotionEvent.ACTION_UP; in translateCommand()
158 action = MotionEvent.ACTION_MOVE; in translateCommand()
160 if (action == -1) { in translateCommand()
165 queue.enqueueEvent(new MonkeyTouchEvent(action) in translateCommand()
219 int action = -1; in translateCommand() local
221 action = KeyEvent.ACTION_DOWN; in translateCommand()
223 action = KeyEvent.ACTION_UP; in translateCommand()
225 if (action == -1) { in translateCommand()
[all …]
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCard.java288 for (CardAction action : mCardActions) { in setActionVisibility()
289 if (action.id == actionId && action.actionView != null) { in setActionVisibility()
290 action.actionView.setVisibility(visibilityFlag); in setActionVisibility()
353 for (CardAction action : mCardActions) { in createShallowClone()
354 cloneCard.mCardActions.add(action.createShallowClone()); in createShallowClone()
367 for (CardAction action : mCardActions) { in prepareForConfigurationChange()
368 action.actionView = null; in prepareForConfigurationChange()
549 for (final CardAction action : mCard.mCardActions) { in initializeActionViews()
552 switch (action.type) { in initializeActionViews()
565 action.actionView = inflater.inflate(useActionLayout, actionArea, false); in initializeActionViews()
[all …]
/development/samples/ActionBarCompat/
D_index.jd5 <p>This sample shows how to use the action bar design pattern on pre-API 11 devices and the built-in
7 11 or greater. The example 'compatible' action bar, instantiated on pre-Android 3.0 devices,
9 action item definition mechanism as the new framework API, even supporting the
/development/testrunner/
Druntest.py107 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",
159 default=False, action="store_true",
[all …]
/development/samples/browseable/ElizaChat/
D_index.jd8 … messages with a quick voice response. New messages create a notification with a "Reply" action.
9 … 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/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/AgendaData/
D_index.jd9 … deleted individually via an action on the event notifications, or all at once via a button on the
10 … companion. When deleted using the notification action, a ConfirmationActivity is used to indicate
/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/
DDragFrameLayout.java106 final int action = ev.getActionMasked(); in onInterceptTouchEvent() local
107 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) { in onInterceptTouchEvent()
/development/apps/BluetoothDebug/src/com/android/bluetoothdebug/
DDebugReceiver.java58 private static String shorten(String action) { in shorten() argument
59 return action.replace("android", "a") in shorten()
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPlaybackOverlayFragment.java365 private void onActionClicked(Action action) { in onActionClicked() argument
366 Log.v(TAG, "onActionClicked " + action); in onActionClicked()
367 Toast.makeText(getActivity(), action.toString(), Toast.LENGTH_SHORT).show(); in onActionClicked()
368 if (action instanceof PlaybackControlsRow.MultiAction) { in onActionClicked()
369 PlaybackControlsRow.MultiAction multiAction = (PlaybackControlsRow.MultiAction) action; in onActionClicked()
383 private void notifyActionChanged(PlaybackControlsRow.MultiAction action) { in notifyActionChanged() argument
385 index = getPrimaryActionsAdapter().indexOf(action); in notifyActionChanged()
389 index = getSecondaryActionsAdapter().indexOf(action); in notifyActionChanged()
/development/samples/NotePad/src/com/example/android/notepad/
DNotesLiveFolder.java53 final String action = intent.getAction(); in onCreate() local
55 if (LiveFolders.ACTION_CREATE_LIVE_FOLDER.equals(action)) { in onCreate()
/development/samples/browseable/ElevationBasic/src/com.example.android.elevationbasic/
DElevationBasicFragment.java56 int action = motionEvent.getActionMasked(); in onCreateView()
58 switch (action) { in onCreateView()

1234