Searched defs:action (Results 151 - 175 of 213) sorted by relevance

123456789

/frameworks/base/core/java/android/widget/
H A DScrollView.java477 final int action = ev.getAction();
478 if ((action == MotionEvent.ACTION_MOVE) && (mIsBeingDragged)) {
489 switch (action & MotionEvent.ACTION_MASK) {
813 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
814 if (super.performAccessibilityAction(action, arguments)) {
820 switch (action) {
H A DSearchView.java70 * When the SearchView is used in an ActionBar as an action view for a collapsible menu item, it
197 * SearchView perform the default action.
206 * @return false if the SearchView should perform the default action of showing any
207 * suggestions if available, true if the action was handled by the listener.
931 * Handles the key down event for dealing with action keys.
945 // if it's an action specified by the searchable activity, launch the
946 // entered query with the action key
974 // If a suggestion is selected, handle enter, search key, and action keys
981 // If there is text in the query box, handle enter, and action keys
1009 * action key
1510 createIntent(String action, Uri data, String extraData, String query, int actionKey, String actionMsg) argument
[all...]
H A DStackView.java621 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/media/java/android/media/session/
H A DMediaSession.java563 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/media/java/android/media/tv/
H A DTvInputManager.java112 * Broadcast intent action when the user blocked content ratings change. For use with the
116 "android.media.tv.action.BLOCKED_RATINGS_CHANGED";
119 * Broadcast intent action when the parental controls enabled state changes. For use with the
123 "android.media.tv.action.PARENTAL_CONTROLS_ENABLED_CHANGED";
126 * Broadcast intent action used to query available content rating systems.
129 * receivers that are registered for this action. An application can offer additional content
140 * <action android:name=
141 * "android.media.tv.action.QUERY_CONTENT_RATING_SYSTEMS" />
157 "android.media.tv.action.QUERY_CONTENT_RATING_SYSTEMS";
1534 * @param action Nam
1541 sendAppPrivateCommand(String action, Bundle data) argument
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java916 private void ensureErrorUiShown(CharSequence message, int action) { argument
923 Fragment fragment = PrintErrorFragment.newInstance(message, action);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DBaseStatusBar.java370 String action = intent.getAction();
371 if (Intent.ACTION_USER_SWITCHED.equals(action)) {
379 } else if (Intent.ACTION_USER_ADDED.equals(action)) {
382 action)) {
386 } else if (BANNER_ACTION_CANCEL.equals(action) || BANNER_ACTION_SETUP.equals(action)) {
393 if (BANNER_ACTION_SETUP.equals(action)) {
702 * @param action A dismiss action that is called if it's safe to start the activity.
703 * @param afterKeyguardGone Whether the action shoul
705 dismissKeyguardThenExecute(OnDismissAction action, boolean afterKeyguardGone) argument
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DScreenMagnifier.java578 final int action = event.getActionMasked();
579 switch (action) {
662 final int action = event.getActionMasked();
663 switch (action) {
1130 String action = (String) message.obj;
1131 handleOnScreenStateChange(action);
1154 private void handleOnScreenStateChange(String action) { argument
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java173 public String action; field in class:AlarmManagerService.WakeupEvent
178 action = theAction;
1042 pw.print('|'); pw.print(event.action);
1942 String action = intent.getAction();
1944 if (Intent.ACTION_QUERY_PACKAGE_RESTART.equals(action)) {
1953 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
1955 } else if (Intent.ACTION_USER_STOPPED.equals(action)) {
1961 if (Intent.ACTION_PACKAGE_REMOVED.equals(action)
H A DNetworkManagementService.java593 private void notifyRouteChange(String action, RouteInfo route) { argument
598 if (action.equals("updated")) {
963 private void modifyRoute(String action, String netId, RouteInfo route) { argument
966 final Command cmd = new Command("network", "route", action, netId);
1262 private void modifyNat(String action, String internalInterface, String externalInterface) argument
1264 final Command cmd = new Command("nat", action, internalInterface, externalInterface);
2023 private void modifyInterfaceInNetwork(String action, String netId, String iface) { argument
2026 mConnector.execute("network", "interface", action, netId, iface);
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionRecord.java902 public void sendCustomAction(String action, Bundle args) { argument
904 mCb.onCustomAction(action, args);
1196 public void sendCustomAction(String action, Bundle args) argument
1198 mSessionCb.sendCustomAction(action, args);
/frameworks/native/services/inputflinger/
H A DInputDispatcher.h472 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/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMAPhone.java1131 * if action is CANCEL_ECM_TIMER, cancel Ecm timer and notify apps the timer is canceled;
1134 void handleTimerInEmergencyCallbackMode(int action) { argument
1135 switch(action) {
1147 Rlog.e(LOG_TAG, "handleTimerInEmergencyCallbackMode, unsupported action " + action);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java1148 protected boolean isCfEnable(int action) { argument
1149 return (action == CF_ACTION_ENABLE) || (action == CF_ACTION_REGISTRATION);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhone.java598 private boolean isCfEnable(int action) { argument
599 return (action == CF_ACTION_ENABLE) || (action == CF_ACTION_REGISTRATION);
632 private int getActionFromCFAction(int action) { argument
633 switch(action) {
671 if (DBG) Rlog.d(LOG_TAG, "setCallForwardingOption action=" + commandInterfaceCFAction
1200 * Handle to cancel or restart Ecm timer in emergency call back mode if action is
1204 void handleTimerInEmergencyCallbackMode(int action) { argument
1205 switch (action) {
1225 Rlog.e(LOG_TAG, "handleTimerInEmergencyCallbackMode, unsupported action "
[all...]
H A DImsPhoneCommandInterface.java334 public void setCallForward(int action, int cfReason, int serviceClass, argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java335 public void setCallForward(int action, int cfReason, int serviceClass, argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java421 public void setCallForward(int action, int cfReason, int serviceClass, String number, argument
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentManager.java201 * request to pop, but the action will not be performed until the application
218 * request to pop, but the action will not be performed until the application
240 * request to pop, but the action will not be performed until the application
1376 "Can not perform this action after onSaveInstanceState");
1380 "Can not perform this action inside of " + mNoTransactionsBecause);
1385 * Adds an action to the queue of pending actions.
1387 * @param action the action to add
1391 public void enqueueAction(Runnable action, boolean allowStateLoss) { argument
1402 mPendingActions.add(action);
[all...]
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaSessionCompat.java569 * @param action The action that was originally sent in the
574 public void onCustomAction(String action, Bundle extras) { argument
650 public void onCustomAction(String action, Bundle extras) { argument
651 Callback.this.onCustomAction(action, extras);
1627 public void sendCustomAction(String action, Bundle args) argument
1629 mHandler.post(MessageHandler.MSG_CUSTOM_ACTION, action, args);
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java271 public void postOnAnimation(View view, Runnable action); argument
272 public void postOnAnimationDelayed(View view, Runnable action, long delayMillis); argument
276 public boolean performAccessibilityAction(View view, int action, Bundle arguments); argument
392 public void postOnAnimation(View view, Runnable action) { argument
393 view.postDelayed(action, getFrameTime());
395 public void postOnAnimationDelayed(View view, Runnable action, long delayMillis) { argument
396 view.postDelayed(action, getFrameTime() + delayMillis);
410 public boolean performAccessibilityAction(View view, int action, Bundle arguments) { argument
1022 public void postOnAnimation(View view, Runnable action) { argument
1023 ViewCompatJB.postOnAnimation(view, action);
1026 postOnAnimationDelayed(View view, Runnable action, long delayMillis) argument
1044 performAccessibilityAction(View view, int action, Bundle arguments) argument
1465 postOnAnimation(View view, Runnable action) argument
1482 postOnAnimationDelayed(View view, Runnable action, long delayMillis) argument
1542 performAccessibilityAction(View view, int action, Bundle arguments) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java42 * @param actionId The action id.
43 * @param label The action label.
49 private AccessibilityActionCompat(Object action) { argument
50 mAction = action;
54 * Gets the id for this action.
56 * @return The action id.
63 * Gets the label for this action. Its purpose is to describe the
64 * action to user.
204 public void addAction(Object info, int action); argument
205 public void addAction(Object info, Object action); argument
206 getAccessibilityActionId(Object action) argument
207 getAccessibilityActionLabel(Object action) argument
208 performAction(Object info, int action) argument
209 performAction(Object info, int action, Bundle arguments) argument
311 addAction(Object info, int action) argument
316 addAction(Object info, Object action) argument
321 getAccessibilityActionId(Object action) argument
326 getAccessibilityActionLabel(Object action) argument
461 performAction(Object info, int action) argument
466 performAction(Object info, int action, Bundle arguments) argument
754 addAction(Object info, int action) argument
874 performAction(Object info, int action) argument
1021 performAction(Object info, int action, Bundle arguments) argument
1164 addAction(Object info, Object action) argument
1169 getAccessibilityActionId(Object action) argument
1174 getAccessibilityActionLabel(Object action) argument
1804 addAction(int action) argument
1819 addAction(AccessibilityActionCompat action) argument
1835 performAction(int action) argument
1852 performAction(int action, Bundle arguments) argument
2606 getActionSymbolicName(int action) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java88 * as an action view, it's collapsed by default, so you must provide an icon for the action.
99 * Additional information about action views is also available in the <<a
212 * SearchView perform the default action.
221 * @return false if the SearchView should perform the default action of showing any
222 * suggestions if available, true if the action was handled by the listener.
941 // If a suggestion is selected, handle enter, search key, and action keys
948 // If there is text in the query box, handle enter, and action keys
968 * action keys. If not handled, try refocusing regular characters into the
1067 // own candidates, and the spell checker should not be in action
1412 createIntent(String action, Uri data, String extraData, String query, int actionKey, String actionMsg) argument
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouter.java1001 * {@link MediaControlIntent media control} category and action.
1012 * @param action A {@link MediaControlIntent media control} action
1014 * @return True if the route supports the specified intent action.
1019 public boolean supportsControlAction(@NonNull String category, @NonNull String action) { argument
1023 if (action == null) {
1024 throw new IllegalArgumentException("action must not be null");
1031 if (filter.hasCategory(category) && filter.hasAction(action)) {
1559 * Contents depend on the {@link MediaControlIntent media control action}.
1570 * Contents depend on the {@link MediaControlIntent media control action}
[all...]
/frameworks/base/core/java/android/view/
H A DMotionEvent.java32 * Motion events describe movements in terms of an action code and a set of axis values.
33 * The action code specifies the state change that occurred such as a pointer going
37 * event to the appropriate {@link View} with the action code {@link #ACTION_DOWN}
73 * of a touch event. The application may choose to perform some different action
182 * Bit mask of the parts of the action code that are the action itself.
215 * an up event, but not perform any action that you normally would.
232 * unmasked action returned by {@link #getAction}.
243 * unmasked action returned by {@link #getAction}.
254 * This action i
1336 nativeInitialize(long nativePtr, int deviceId, int source, int action, int flags, int edgeFlags, int metaState, int buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, long downTimeNanos, long eventTimeNanos, int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords) argument
1352 nativeSetAction(long nativePtr, int action) argument
1357 nativeSetEdgeFlags(long nativePtr, int action) argument
1451 obtain(long downTime, long eventTime, int action, int pointerCount, PointerProperties[] pointerProperties, PointerCoords[] pointerCoords, int metaState, int buttonState, float xPrecision, float yPrecision, int deviceId, int edgeFlags, int source, int flags) argument
1495 obtain(long downTime, long eventTime, int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags, int source, int flags) argument
1541 obtain(long downTime, long eventTime, int action, float x, float y, float pressure, float size, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags) argument
1601 obtain(long downTime, long eventTime, int action, int pointerCount, float x, float y, float pressure, float size, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags) argument
1623 obtain(long downTime, long eventTime, int action, float x, float y, int metaState) argument
2711 setAction(int action) argument
3049 actionToString(int action) argument
[all...]

Completed in 682 milliseconds

123456789