/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | PermissionMonitor.java | 82 String action = intent.getAction(); 88 if (Intent.ACTION_USER_ADDED.equals(action)) { 90 } else if (Intent.ACTION_USER_REMOVED.equals(action)) { 92 } else if (Intent.ACTION_PACKAGE_ADDED.equals(action)) { 94 } else if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
H A D | DemoModeController.java | 93 final int action = event.getAction(); 94 if (action == MotionEvent.ACTION_DOWN) { 106 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) { 111 if (action != MotionEvent.ACTION_MOVE) return false;
|
/frameworks/native/include/input/ |
H A D | InputTransport.h | 68 int32_t action; member in struct:android::InputMessage::Body::Key 86 int32_t action; member in struct:android::InputMessage::Body::Motion 105 uint32_t index = (action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) 214 int32_t action, 235 int32_t action,
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | NewDetailsFragment.java | 102 public void onActionClicked(Action action) { 103 Toast.makeText(getActivity(), action.toString(), Toast.LENGTH_SHORT).show(); 106 if (action.getId() == ACTION_BUY) { 115 } else if (action.getId() == ACTION_RENT) { 122 } else if (action.getId() == ACTION_PLAY) {
|
H A D | NewDetailsSupportFragment.java | 104 public void onActionClicked(Action action) { 105 Toast.makeText(getActivity(), action.toString(), Toast.LENGTH_SHORT).show(); 108 if (action.getId() == ACTION_BUY) { 117 } else if (action.getId() == ACTION_RENT) { 124 } else if (action.getId() == ACTION_PLAY) {
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | NewDetailsFragment.java | 102 public void onActionClicked(Action action) { 103 Toast.makeText(getActivity(), action.toString(), Toast.LENGTH_SHORT).show(); 106 if (action.getId() == ACTION_BUY) { 115 } else if (action.getId() == ACTION_RENT) { 122 } else if (action.getId() == ACTION_PLAY) {
|
H A D | NewDetailsSupportFragment.java | 104 public void onActionClicked(Action action) { 105 Toast.makeText(getActivity(), action.toString(), Toast.LENGTH_SHORT).show(); 108 if (action.getId() == ACTION_BUY) { 117 } else if (action.getId() == ACTION_RENT) { 124 } else if (action.getId() == ACTION_PLAY) {
|
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 247 int32_t action, 257 "action=0x%x, flags=0x%x, keyCode=%d, scanCode=%d, metaState=0x%x, repeatCount=%d," 260 deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount, 274 msg.body.key.action = action; 289 int32_t action, 306 "action=0x%x, actionButton=0x%08x, flags=0x%x, edgeFlags=0x%x, " 311 deviceId, source, action, actionButton, flags, edgeFlags, metaState, buttonState, 331 msg.body.motion.action = action; 243 publishKeyEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime, nsecs_t eventTime) argument 285 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t actionButton, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | GestureDescription.java | 576 int action = (lastTouchPointsSize == 1) ? MotionEvent.ACTION_UP 578 action |= indexOfUpEvent << MotionEvent.ACTION_POINTER_INDEX_SHIFT; 579 motionEvents.add(obtainMotionEvent(downTime, currentTime, action, 599 int action = (lastTouchPointsSize == 1) ? MotionEvent.ACTION_DOWN 601 long downTime = (action == MotionEvent.ACTION_DOWN) ? currentTime : 603 action |= i << MotionEvent.ACTION_POINTER_INDEX_SHIFT; 604 motionEvents.add(obtainMotionEvent(downTime, currentTime, action, 611 private static MotionEvent obtainMotionEvent(long downTime, long eventTime, int action, argument 624 return MotionEvent.obtain(downTime, eventTime, action, touchPointsSize,
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | ConnectionUtil.java | 151 String action = intent.getAction(); 152 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) { 185 String action = intent.getAction(); 187 if (action.equals(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)) { 190 } else if (action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) { 198 } else if (action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) { 202 } else if (action.equals(WifiManager.WIFI_AP_STATE_CHANGED_ACTION)) { 219 String action = intent.getAction(); 222 if (action.equals(DownloadManager.ACTION_DOWNLOAD_COMPLETE)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 259 final int action = ev.getAction(); 260 if (DEBUG_SCALE) Log.d(TAG, "intercept: act=" + MotionEvent.actionToString(action) + 281 if ((action == MotionEvent.ACTION_MOVE) && 0 != (mExpansionStyle & BLINDS)) { 285 switch (action & MotionEvent.ACTION_MASK) { 340 int action = event.getActionMasked(); 341 switch(action) { 397 final int action = ev.getActionMasked(); 398 if (DEBUG_SCALE) Log.d(TAG, "touch: act=" + MotionEvent.actionToString(action) + 412 switch (action) {
|
H A D | GuestResumeSessionReceiver.java | 56 String action = intent.getAction(); 58 if (Intent.ACTION_USER_SWITCHED.equals(action)) {
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | RemotePlaybackClient.java | 330 final ItemActionCallback callback, String action) { 335 if (action.equals(MediaControlIntent.ACTION_ENQUEUE)) { 339 Intent intent = new Intent(action); 799 private boolean routeSupportsAction(String action) { argument 800 return mRoute.supportsControlAction(MediaControlIntent.CATEGORY_REMOTE_PLAYBACK, action); 892 String action = intent.getAction(); 893 if (action.equals(ACTION_ITEM_STATUS_CHANGED)) { 918 } else if (action.equals(ACTION_SESSION_STATUS_CHANGED)) { 934 } else if (action.equals(ACTION_MESSAGE_RECEIVED)) { 328 playOrEnqueue(Uri contentUri, String mimeType, Bundle metadata, long positionMillis, Bundle extras, final ItemActionCallback callback, String action) argument
|
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 51 * <em>action</em>, <em>data</em>, and <em>categories</em>. For each of these 85 * the <strong>action</strong> and <strong>category</strong> must match, and 92 * Intent action; if the filter specifies no actions, then it will only match 93 * Intents that do not contain an action. 137 * that unlike the action, an IntentFilter with no categories 153 private static final String ACTION_STR = "action"; 357 * Create a new IntentFilter instance with a specified action and MIME 362 * @param action The action to match, such as Intent.ACTION_VIEW. 365 * @return A new IntentFilter for the given action an 369 create(String action, String dataType) argument 392 IntentFilter(String action) argument 414 IntentFilter(String action, String dataType) argument 657 addAction(String action) argument 685 hasAction(String action) argument 697 matchAction(String action) argument 1495 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument [all...] |
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | SampleMediaRouteProvider.java | 65 * A custom media control intent action to take a snapshot. 71 "com.example.android.supportv7.media.action.TAKE_SNAPSHOT"; 290 String action = intent.getAction(); 293 if (action.equals(MediaControlIntent.ACTION_PLAY)) { 295 } else if (action.equals(MediaControlIntent.ACTION_ENQUEUE)) { 297 } else if (action.equals(MediaControlIntent.ACTION_REMOVE)) { 299 } else if (action.equals(MediaControlIntent.ACTION_SEEK)) { 301 } else if (action.equals(MediaControlIntent.ACTION_GET_STATUS)) { 303 } else if (action.equals(MediaControlIntent.ACTION_PAUSE)) { 305 } else if (action [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | SampleMediaRouteProvider.java | 65 * A custom media control intent action to take a snapshot. 71 "com.example.android.supportv7.media.action.TAKE_SNAPSHOT"; 290 String action = intent.getAction(); 293 if (action.equals(MediaControlIntent.ACTION_PLAY)) { 295 } else if (action.equals(MediaControlIntent.ACTION_ENQUEUE)) { 297 } else if (action.equals(MediaControlIntent.ACTION_REMOVE)) { 299 } else if (action.equals(MediaControlIntent.ACTION_SEEK)) { 301 } else if (action.equals(MediaControlIntent.ACTION_GET_STATUS)) { 303 } else if (action.equals(MediaControlIntent.ACTION_PAUSE)) { 305 } else if (action [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputContext.aidl | 72 void performPrivateCommand(String action, in Bundle data);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | EditableInputConnection.java | 166 public boolean performPrivateCommand(String action, Bundle data) { argument 167 mTextView.onPrivateIMECommand(action, data);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ActivityTestsBase.java | 129 public int runLaunchpad(String action) { argument 133 mIntent.setAction(action);
|
/frameworks/base/media/java/android/media/session/ |
H A D | ISessionController.aidl | 70 void sendCustomAction(String action, in Bundle args);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | PickFragment.java | 99 * @param action Which action defined in State is the picker shown for. 102 int action, @OpType int copyOperationSubType, DocumentInfo pickTarget) { 105 mAction = action; 101 setPickTarget( int action, @OpType int copyOperationSubType, DocumentInfo pickTarget) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | AnglesClassifier.java | 63 int action = event.getActionMasked(); 65 if (action == MotionEvent.ACTION_DOWN) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | LocationTile.java | 82 MetricsLogger.action(mContext, getMetricsCategory(), !wasEnabled); 89 MetricsLogger.action(mContext, getMetricsCategory(), !wasEnabled);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | touch_analytics.proto | 53 optional Action action = 2;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbDebuggingActivity.java | 92 String action = intent.getAction(); 93 if (!UsbManager.ACTION_USB_STATE.equals(action)) {
|