/frameworks/base/core/java/android/widget/ |
H A D | HorizontalScrollView.java | 449 final int action = ev.getAction(); 450 if ((action == MotionEvent.ACTION_MOVE) && (mIsBeingDragged)) { 454 switch (action & MotionEvent.ACTION_MASK) { 550 final int action = ev.getAction(); 552 switch (action & MotionEvent.ACTION_MASK) { 766 public boolean performAccessibilityAction(int action, Bundle arguments) { argument 767 if (super.performAccessibilityAction(action, arguments)) { 770 switch (action) {
|
H A D | Gallery.java | 166 * down. This is checked before we action on the "invoke" key up, and is 964 int action = event.getAction(); 965 if (action == MotionEvent.ACTION_UP) { 968 } else if (action == MotionEvent.ACTION_CANCEL) { 1075 * Called when a touch event's action is MotionEvent.ACTION_UP. 1087 * Called when a touch event's action is MotionEvent.ACTION_CANCEL. 1398 public boolean performAccessibilityAction(int action, Bundle arguments) { argument 1399 if (super.performAccessibilityAction(action, arguments)) { 1402 switch (action) {
|
H A D | ListPopupWindow.java | 757 * @return true if the click action could be performed, false if not. 1291 * It may be overridden to perform another action, like clicking the 1309 * action. 1440 final int action = srcEvent.getActionMasked(); 1441 final boolean keepForwarding = action != MotionEvent.ACTION_UP 1442 && action != MotionEvent.ACTION_CANCEL; 1785 final int action = event.getAction(); 1789 if (action == MotionEvent.ACTION_DOWN && 1793 } else if (action == MotionEvent.ACTION_UP) {
|
H A D | StackView.java | 621 int action = ev.getAction(); 622 switch(action & MotionEvent.ACTION_MASK) { 713 int action = ev.getAction(); 730 switch (action & MotionEvent.ACTION_MASK) { 1251 public boolean performAccessibilityAction(int action, Bundle arguments) { argument 1252 if (super.performAccessibilityAction(action, arguments)) { 1258 switch (action) {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | VelocityTest.java | 257 private void addMotionEvent(VelocityTracker vt, int x, int y, long time, int action) { argument 258 MotionEvent me = MotionEvent.obtain(time, time, action, x, y, 0);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputManager.aidl | 67 void sendAppPrivateCommand(in IBinder sessionToken, in String action, in Bundle data,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SearchPanelView.java | 271 int action = event.getActionMasked(); 272 switch (action) {
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipWakeupTimer.java | 227 String action = intent.getAction(); 228 if (getAction().equals(action)
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PlaybackControlsPresenter.java | 97 Action action = new PlaybackControlsRow.MoreActions(mMoreActionsDock.getContext()); 99 mPresenter.onBindViewHolder(mMoreActionsViewHolder, action);
|
/frameworks/support/v4/api21/android/support/v4/app/ |
H A D | NotificationCompatApi21.java | 109 public void addAction(NotificationCompatBase.Action action) { argument 110 NotificationCompatApi20.addAction(b, action);
|
/frameworks/support/v4/api21/android/support/v4/media/session/ |
H A D | MediaControllerCompatApi21.java | 170 public static void sendCustomAction(Object controlsObj, String action, Bundle args) { argument 171 ((MediaController.TransportControls) controlsObj).sendCustomAction(action, args);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | AutoScrollHelper.java | 460 final int action = MotionEventCompat.getActionMasked(event); 461 switch (action) {
|
H A D | SlidingPaneLayout.java | 759 final int action = MotionEventCompat.getActionMasked(ev); 762 if (!mCanSlide && action == MotionEvent.ACTION_DOWN && getChildCount() > 1) { 771 if (!mCanSlide || (mIsUnableToDrag && action != MotionEvent.ACTION_DOWN)) { 776 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) { 783 switch (action) { 825 final int action = ev.getAction(); 828 switch (action & MotionEventCompat.ACTION_MASK) {
|
H A D | ViewDragHelper.java | 947 final int action = MotionEventCompat.getActionMasked(ev); 950 if (action == MotionEvent.ACTION_DOWN) { 961 switch (action) { 1077 final int action = MotionEventCompat.getActionMasked(ev); 1080 if (action == MotionEvent.ACTION_DOWN) { 1091 switch (action) {
|
/frameworks/webview/chromium/tools/ |
H A D | merge_to_android.py | 362 default=False, action='store_true', 366 default=False, action='store_true',
|
/frameworks/native/services/inputflinger/ |
H A D | InputDispatcher.h | 472 int32_t action; member in struct:android::InputDispatcher::KeyEntry 492 int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, 506 int32_t action; member in struct:android::InputDispatcher::MotionEntry 521 int32_t action, int32_t flags, 544 // Set to the resolved action and flags when the event is enqueued. 566 // A command entry captures state and behavior for an action to be performed in the 708 bool trackKey(const KeyEntry* entry, int32_t action, int32_t flags); 713 bool trackMotion(const MotionEntry* entry, int32_t action, int32_t flags);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ListPopupWindow.java | 775 * @return true if the click action could be performed, false if not. 1299 * returned by {@link #getPopup()}. It may be overridden to perform another action, like 1314 * returned by {@link #getPopup()}. It may be overridden to perform some other action. 1439 final int action = MotionEventCompat.getActionMasked(srcEvent); 1440 final boolean keepForwarding = action != MotionEvent.ACTION_UP 1441 && action != MotionEvent.ACTION_CANCEL; 1734 final int action = event.getAction(); 1738 if (action == MotionEvent.ACTION_DOWN && 1742 } else if (action == MotionEvent.ACTION_UP) {
|
H A D | Toolbar.java | 67 * <p>A Toolbar is a generalization of {@link ActionBar action bars} for use 68 * within application layouts. While an action bar is traditionally part of an 71 * An application may choose to designate a Toolbar as the action bar for an Activity 95 * <li><em>An {@link ActionMenuView action menu}.</em> The menu of actions will pin to the 514 * Check whether this Toolbar is currently hosting an expanded action view. 516 * <p>An action view may be expanded either directly from the 517 * {@link android.view.MenuItem MenuItem} it belongs to or by user action. If the Toolbar 518 * has an expanded action view it can be collapsed using the {@link #collapseActionView()} 521 * @return true if the Toolbar has an expanded action view 529 * Collapse a currently expanded action vie [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | KeyboardView.java | 1168 final int action = event.getAction(); 1169 switch (action) { 1190 final int action = me.getAction(); 1201 // If it's an up action, then deliver the up as well. 1202 if (action == MotionEvent.ACTION_UP) { 1232 final int action = me.getAction(); 1238 if (action == MotionEvent.ACTION_DOWN) mSwipeTracker.clear(); 1243 && action != MotionEvent.ACTION_DOWN && action != MotionEvent.ACTION_CANCEL) { 1256 if (mMiniKeyboardOnScreen && action ! [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiServiceImpl.java | 1336 String action = intent.getAction(); 1337 if (action.equals(Intent.ACTION_SCREEN_ON)) { 1339 } else if (action.equals(Intent.ACTION_USER_PRESENT)) { 1341 } else if (action.equals(Intent.ACTION_SCREEN_OFF)) { 1343 } else if (action.equals(Intent.ACTION_BATTERY_CHANGED)) { 1346 } else if (action.equals(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED)) { 1350 } else if (action.equals(TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED)) {
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 104 /** The mode that no editing action is done. */ 200 * EditStyledText extends EditText for managing flow of each editing action. 514 * Notify hint messages what action is expected to calling class. 529 * @param mode Mode of the editing action. 811 * Get the mode of the action. 813 * @return The mode of the action. 918 public void addAction(int mode, EditModeActionBase action) { argument 919 mManager.addAction(mode, action); 969 public void addAction(int mode, EditModeActionBase action) { argument 970 mActions.addAction(mode, action); 2853 addAction(int modeId, EditModeActionBase action) argument [all...] |
/frameworks/base/media/java/android/media/session/ |
H A D | MediaSession.java | 563 private void dispatchCustomAction(String action, Bundle args) { argument 564 postToCallback(CallbackMessageHandler.MSG_CUSTOM_ACTION, action, args); 715 * action for it was set. 881 * @param action The action that was originally sent in the 885 public void onCustomAction(@NonNull String action, @Nullable Bundle extras) { argument 1019 public void onCustomAction(String action, Bundle args) { argument 1022 session.dispatchCustomAction(action, args);
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | WifiDisplayController.java | 1056 final String action = intent.getAction(); 1057 if (action.equals(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION)) { 1069 } else if (action.equals(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION)) { 1075 } else if (action.equals(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION)) { 1084 } else if (action.equals(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION)) {
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionService.java | 345 private void enforceStatusBarPermission(String action, int pid, int uid) { argument 348 throw new SecurityException("Only system ui may " + action); 891 int action = keyEvent.getAction(); 893 if (action == KeyEvent.ACTION_DOWN) { 901 } else if (action == KeyEvent.ACTION_UP) { 972 // - screen on and device unlocked: action is ACTION_WEB_SEARCH 973 // - device locked or screen off: action is
|
/frameworks/base/services/core/java/com/android/server/trust/ |
H A D | TrustManagerService.java | 849 String action = intent.getAction(); 850 if (DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED.equals(action)) { 853 } else if (Intent.ACTION_USER_PRESENT.equals(action)) { 855 } else if (Intent.ACTION_USER_ADDED.equals(action)) { 860 } else if (Intent.ACTION_USER_REMOVED.equals(action)) {
|