/frameworks/base/core/java/android/widget/ |
H A D | NumberPicker.java | 838 final int action = event.getActionMasked(); 839 switch (action) { 895 int action = event.getActionMasked(); 896 switch (action) { 960 final int action = event.getActionMasked(); 961 switch (action) { 1009 final int action = event.getActionMasked(); 1010 switch (action) { 1034 final int action = event.getActionMasked(); 1037 switch (action) { 2312 performAction(int virtualViewId, int action, Bundle arguments) argument [all...] |
H A D | AbsListView.java | 559 * Delayed action for touch mode. 1526 public boolean performAccessibilityAction(int action, Bundle arguments) { argument 1527 if (super.performAccessibilityAction(action, arguments)) { 1530 switch (action) { 2423 public boolean performAccessibilityAction(View host, int action, Bundle arguments) { argument 2424 if (super.performAccessibilityAction(host, action, arguments)) { 2443 switch (action) { 3040 // The data has changed since we posted this action in the event queue, 5591 int action = event.getAction(); 5592 switch (action) { 5761 performPrivateCommand(String action, Bundle data) argument [all...] |
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
H A D | AppWidgetServiceImpl.java | 134 String action = intent.getAction(); 137 Slog.i(TAG, "Received broadcast: " + action); 140 if (Intent.ACTION_CONFIGURATION_CHANGED.equals(action)) { 142 } else if (Intent.ACTION_USER_STARTED.equals(action)) { 145 } else if (Intent.ACTION_USER_STOPPED.equals(action)) { 317 final String action = intent.getAction(); 323 if (Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action)) { 326 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) { 339 added = Intent.ACTION_PACKAGE_ADDED.equals(action); 340 changed = Intent.ACTION_PACKAGE_CHANGED.equals(action); 3949 sendWidgetRestoreBroadcastLocked(String action, Provider provider, Host host, int[] oldIds, int[] newIds, UserHandle userHandle) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | MountService.java | 163 * 100 series - Requestion action was initiated; expect another reply 172 * 200 series - Requestion action has been successfully completed. 179 * 400 series - Command was accepted, but the requested action 303 ObbAction action = new UnmountObbAction(this, true); 304 mObbActionHandler.sendMessage(mObbActionHandler.obtainMessage(OBB_RUN_ACTION, action)); 333 // OBB action handler messages 668 final String action = intent.getAction(); 669 if (Intent.ACTION_USER_ADDED.equals(action)) { 674 } else if (Intent.ACTION_USER_REMOVED.equals(action)) { 957 String action 1292 sendStorageIntent(String action, StorageVolume volume, UserHandle user) argument [all...] |
H A D | ConnectivityService.java | 176 "android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED"; 751 String action = intent.getAction(); 752 if (action.equals(ACTION_PKT_CNT_SAMPLE_INTERVAL_ELAPSED)) { 1515 log("sendStickyBroadcast: action=" + intent.getAction()); 3120 private void setProvNotificationVisible(boolean visible, int networkType, String action) { argument 3123 + " action=" + action); 3125 Intent intent = new Intent(action); 3332 String action) { 3336 setProvNotificationVisible(visible, networkType, action); 3331 setProvisioningNotificationVisible(boolean visible, int networkType, String action) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 1706 String8 action; local 1707 if (tag == "action") { 1708 action = AaptXml::getAttribute(tree, NAME_ATTR, &error); 1716 if (action == "android.intent.action.MAIN") { 1719 } else if (action == "android.media.action.STILL_IMAGE_CAMERA" || 1720 action == "android.media.action.VIDEO_CAMERA") { 1722 } else if (action [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 338 public boolean onEditorAction(TextView view, int action, KeyEvent keyEvent) { argument 339 if (action == EditorInfo.IME_ACTION_DONE) { 358 // clear the existing action 360 // set the DONE action 503 // Desired position shows at least 1 line of chips below the action 1610 int action = event.getAction(); 1615 if (mCopyAddress == null && action == MotionEvent.ACTION_UP) { 1621 if (action == MotionEvent.ACTION_UP) { 1639 if (action == MotionEvent.ACTION_UP && !chipWasSelected) { 2854 // No action require [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcTrackerBase.java | 325 String action = intent.getAction(); 326 if (DBG) log("onReceive: action=" + action); 327 if (action.equals(Intent.ACTION_SCREEN_ON)) { 332 } else if (action.equals(Intent.ACTION_SCREEN_OFF)) { 337 } else if (action.startsWith(INTENT_RECONNECT_ALARM)) { 340 } else if (action.startsWith(INTENT_RESTART_TRYSETUP_ALARM)) { 343 } else if (action.equals(INTENT_DATA_STALL_ALARM)) { 345 } else if (action.equals(INTENT_PROVISIONING_APN_ALARM)) { 347 } else if (action 1627 putRecoveryAction(int action) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 1213 * @param action is one of CF_ACTION_* 1218 public void setCallForward(int action, int cfReason, int serviceClass, argument
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 1792 final int action = ev.getAction() & MotionEventCompat.ACTION_MASK; 1795 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) { 1810 if (action != MotionEvent.ACTION_DOWN) { 1821 switch (action) { 1953 final int action = ev.getAction(); 1956 switch (action & MotionEventCompat.ACTION_MASK) { 2795 public boolean performAccessibilityAction(View host, int action, Bundle args) { argument 2796 if (super.performAccessibilityAction(host, action, args)) { 2799 switch (action) { [all...] |
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewChromium.java | 1605 public boolean performAccessibilityAction(final int action, final Bundle arguments) { argument 1611 return performAccessibilityAction(action, arguments); 1616 if (mAwContents.supportsAccessibilityAction(action)) { 1617 return mAwContents.performAccessibilityAction(action, arguments); 1619 return mWebViewPrivate.super_performAccessibilityAction(action, arguments);
|
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 1692 // Do this last; the action bar will need to access 2092 * a traditional window decor action bar. The toolbar's menu will be populated with the 2094 * {@link android.R.id#home home} menu select action.</p> 2099 * @param toolbar Toolbar to set as the Activity's action bar 2103 throw new IllegalStateException("This Activity already has an action bar supplied " + 2352 * it will set up the dispatch to call {@link #onKeyUp} where the action 2354 * action immediately in on-down, as those versions of the platform 2580 * <p>Note that this callback will be invoked for the touch down action 2694 // Let action bars open menus in response to the menu key prioritized over 2859 Log.e(TAG, "Tried to open action ba 5289 runOnUiThread(Runnable action) argument [all...] |
H A D | Notification.java | 261 * opportunity to add action buttons to contentView. At its discretion, the system UI may 879 * Structure to encapsulate a named action that can be shown as part of this notification. 880 * It must include an icon, a label, and a {@link PendingIntent} to be fired when the action is 892 * Small icon representing the action. 897 * Title of the action. 902 * Intent to send when the user invokes this action. May be null, in which case the action 941 * Get the list of inputs to be collected from the user when this action is sent. 960 * @param icon icon to show for this action 961 * @param title the title of the action 973 Builder(Action action) argument 1146 WearableExtender(Action action) argument 2644 addAction(Action action) argument 3015 generateActionButton(Action action) argument 3038 processLegacyAction(Action action, RemoteViews button) argument 4241 generateMediaActionButton(Action action) argument 4631 addAction(Action action) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | KeyEvent.java | 68 * with the special action {@link #ACTION_MULTIPLE} that either specifies 1077 * for old applications, but still do the appropriate action when 1087 * event and should not perform the action normally associated with the 1089 * action for a key until it receives an up or the long press timeout has 1109 * press action was executed while it was down. 1258 * @param action Action code: either {@link #ACTION_DOWN}, 1262 public KeyEvent(int action, int code) { argument 1263 mAction = action; 1276 * @param action Action code: either {@link #ACTION_DOWN}, 1282 public KeyEvent(long downTime, long eventTime, int action, argument 1306 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState) argument 1333 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode) argument 1363 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags) argument 1395 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source) argument 1497 obtain(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source, String characters) argument 1609 KeyEvent(KeyEvent origEvent, int action) argument 1631 changeAction(KeyEvent event, int action) argument 2787 actionToString(int action) argument [all...] |
H A D | ViewGroup.java | 1109 * action. 1310 final int action = event.mAction; 1328 event.mAction = action; // restore the event's original state 1554 final int action = event.getAction(); 1558 event.setAction(action); // restore action in case it was changed 1567 if (!interceptHover && action != MotionEvent.ACTION_HOVER_EXIT) { 1621 if (action == MotionEvent.ACTION_HOVER_ENTER) { 1627 } else if (action == MotionEvent.ACTION_HOVER_MOVE) { 1634 eventNoHistory.setAction(action); 2802 onNestedPrePerformAccessibilityAction(View target, int action, Bundle args) argument [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 264 * Action to set the selection. Performing this action with no arguments 299 * Action that sets the text of the node. Performing the action without argument, using <code> 300 * null</code> or empty {@link CharSequence} will clear the text. This action will also put the 944 * Adds an action that can be performed on the node. 946 * To add a standard action use the static constants on {@link AccessibilityAction}. 947 * To add a custom action create a new {@link AccessibilityAction} by passing in a 948 * resource id from your application as the action id and an optional label that 949 * describes the action. To override one of the standard actions use as the action 950 * id of a standard action i 963 addAction(AccessibilityAction action) argument 994 addAction(int action) argument 1020 removeAction(int action) argument 1040 removeAction(AccessibilityAction action) argument 1238 performAction(int action) argument 1261 performAction(int action, Bundle arguments) argument 2882 isDefaultLegacyStandardAction(AccessibilityAction action) argument 2915 getActionSymbolicName(int action) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 2045 public boolean super_performAccessibilityAction(int action, Bundle arguments) { argument 2046 return WebView.super.performAccessibilityAction(action, arguments); 2369 public boolean performAccessibilityAction(int action, Bundle arguments) { argument 2370 return mProvider.getViewDelegate().performAccessibilityAction(action, arguments);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | PagedView.java | 1099 final int action = ev.getAction(); 1100 if ((action == MotionEvent.ACTION_MOVE) && 1105 switch (action & MotionEvent.ACTION_MASK) { 1397 final int action = ev.getAction(); 1399 switch (action & MotionEvent.ACTION_MASK) { 2675 public boolean performAccessibilityAction(int action, Bundle arguments) { argument 2676 if (super.performAccessibilityAction(action, arguments)) { 2679 switch (action) {
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AccessibilityManagerService.java | 359 String action = intent.getAction(); 360 if (Intent.ACTION_USER_SWITCHED.equals(action)) { 362 } else if (Intent.ACTION_USER_REMOVED.equals(action)) { 364 } else if (Intent.ACTION_USER_PRESENT.equals(action)) { 2454 long accessibilityNodeId, int action, Bundle arguments, int interactionId, 2484 connection.performAccessibilityAction(accessibilityNodeId, action, arguments, 2497 public boolean performGlobalAction(int action) { argument 2511 switch (action) { 2453 performAccessibilityAction(int accessibilityWindowId, long accessibilityNodeId, int action, Bundle arguments, int interactionId, IAccessibilityInteractionConnectionCallback callback, long interrogatingTid) argument
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 288 final String action = intent.getAction(); 291 if (Intent.ACTION_BOOT_COMPLETED.equals(action) 292 || ACTION_EXPIRED_PASSWORD_NOTIFICATION.equals(action)) { 293 if (DBG) Slog.v(LOG_TAG, "Sending password expiration notifications for action " 294 + action + " for user " + userHandle); 301 if (Intent.ACTION_BOOT_COMPLETED.equals(action) 302 || KeyChain.ACTION_STORAGE_CHANGED.equals(action)) { 305 if (Intent.ACTION_USER_REMOVED.equals(action)) { 307 } else if (Intent.ACTION_USER_STARTED.equals(action) 308 || Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) { 1175 sendAdminCommandLocked(ActiveAdmin admin, String action) argument 1179 sendAdminCommandLocked(ActiveAdmin admin, String action, BroadcastReceiver result) argument 1186 sendAdminCommandLocked(ActiveAdmin admin, String action, Bundle adminExtras, BroadcastReceiver result) argument 1207 sendAdminCommandLocked(String action, int reqPolicy, int userHandle) argument 1224 sendAdminCommandToSelfAndProfilesLocked(String action, int reqPolicy, int userHandle) argument [all...] |
/frameworks/native/services/inputflinger/ |
H A D | InputDispatcher.cpp | 99 static inline int32_t getMotionEventActionPointerIndex(int32_t action) { argument 100 return (action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) 104 static bool isValidKeyAction(int32_t action) { argument 105 switch (action) { 114 static bool validateKeyEvent(int32_t action) { argument 115 if (! isValidKeyAction(action)) { 116 ALOGE("Key event has invalid action code 0x%x", action); 122 static bool isValidMotionAction(int32_t action, size_t pointerCount) { argument 123 switch (action 144 validateMotionEvent(int32_t action, size_t pointerCount, const PointerProperties* pointerProperties) argument 1129 int32_t action = entry->action; local 2267 int32_t action = originalMotionEntry->action; local 2563 int32_t action = keyEvent->getAction(); local 2589 int32_t action = motionEvent->getAction(); local 3887 KeyEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime) argument 3922 MotionEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, float xPrecision, float yPrecision, nsecs_t downTime, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xOffset, float yOffset) argument 4017 trackKey(const KeyEntry* entry, int32_t action, int32_t flags) argument 4068 trackMotion(const MotionEntry* entry, int32_t action, int32_t flags) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CommandsInterface.java | 1244 * @param action is one of CF_ACTION_* 1248 void setCallForward(int action, int cfReason, int serviceClass, argument
|
H A D | RIL.java | 1746 setCallForward(int action, int cfReason, int serviceClass, argument 1751 rr.mParcel.writeInt(action); 1759 + " " + action + " " + cfReason + " " + serviceClass 1772 rr.mParcel.writeInt(2); // 2 is for query action, not in used anyway
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 779 for (Action action : actions) { 780 builder.addAction(action); 842 * For example, action buttons won't appear on platforms prior to Android 4.1. Action 1416 * Add an action to this notification. Actions are typically displayed by 1421 * and later. To ensure that an action button's functionality is always available, first 1427 * @param icon Resource ID of a drawable that represents the action. 1428 * @param title Text describing the action. 1429 * @param intent {@link android.app.PendingIntent} to be fired when the action is invoked. 1437 * Add an action to this notification. Actions are typically displayed by 1442 * and later. To ensure that an action butto 1450 addAction(Action action) argument 1860 Builder(Action action) argument 1992 WearableExtender(Action action) argument 2440 addAction(Action action) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | Intent.java | 81 * holding an abstract description of an action to be performed.</p> 95 * <li> <p><b>action</b> -- The general action to be performed, such as 105 * <p>Some examples of action/data pairs are:</p> 116 * VIEW action does what what is considered the most reasonable thing for 138 * <li> <p><b>category</b> -- Gives additional information about the action 149 * at the other information in the intent (the action, data/type, and 156 * For example, if we have a action to send an e-mail message, we could 185 * <p>There are a variety of standard Intent action and category constants 189 * "android.intent.action 4118 Intent(String action) argument 4138 Intent(String action, Uri uri) argument 4186 Intent(String action, Uri uri, Context packageContext, Class<?> cls) argument 5586 setAction(String action) argument [all...] |