/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 108 String action; field in class:WallpaperService.WallpaperCommand 301 public void dispatchWallpaperCommand(String action, int x, int y, 306 cmd.action = action; 452 * @param action The name of the command to perform. This tells you 463 public Bundle onCommand(String action, int x, int y, int z, argument 871 result = onCommand(cmd.action, cmd.x, cmd.y, cmd.z, 1001 public void dispatchWallpaperCommand(String action, int x, int y, argument 1004 mEngine.mWindow.dispatchWallpaperCommand(action, x, y, z, extras, false);
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeech.java | 261 "android.intent.action.TTS_SERVICE"; 556 private <R> R runActionNoReconnect(Action<R> action, R errorResult, String method) { argument 557 return runAction(action, errorResult, method, false); 560 private <R> R runAction(Action<R> action, R errorResult, String method) { argument 561 return runAction(action, errorResult, method, true); 564 private <R> R runAction(Action<R> action, R errorResult, String method, boolean reconnect) { argument 570 return mServiceConnection.runAction(action, errorResult, method, reconnect); 1333 public <R> R runAction(Action<R> action, R errorResult, String method, boolean reconnect) { argument 1340 return action.run(mService); 1384 * {@code android.intent.action [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Gallery.java | 166 * down. This is checked before we action on the "invoke" key up, and is 960 int action = event.getAction(); 961 if (action == MotionEvent.ACTION_UP) { 964 } else if (action == MotionEvent.ACTION_CANCEL) { 1071 * Called when a touch event's action is MotionEvent.ACTION_UP. 1083 * Called when a touch event's action is MotionEvent.ACTION_CANCEL. 1401 public boolean performAccessibilityAction(int action, Bundle arguments) { argument 1402 if (super.performAccessibilityAction(action, arguments)) { 1405 switch (action) {
|
H A D | HorizontalScrollView.java | 438 final int action = ev.getAction(); 439 if ((action == MotionEvent.ACTION_MOVE) && (mIsBeingDragged)) { 443 switch (action & MotionEvent.ACTION_MASK) { 539 final int action = ev.getAction(); 541 switch (action & MotionEvent.ACTION_MASK) { 749 public boolean performAccessibilityAction(int action, Bundle arguments) { argument 750 if (super.performAccessibilityAction(action, arguments)) { 753 switch (action) {
|
H A D | ScrollView.java | 461 final int action = ev.getAction(); 462 if ((action == MotionEvent.ACTION_MOVE) && (mIsBeingDragged)) { 473 switch (action & MotionEvent.ACTION_MASK) { 571 final int action = ev.getAction(); 573 switch (action & MotionEvent.ACTION_MASK) { 770 public boolean performAccessibilityAction(int action, Bundle arguments) { argument 771 if (super.performAccessibilityAction(action, arguments)) { 777 switch (action) {
|
H A D | SearchView.java | 71 * When the SearchView is used in an ActionBar as an action view for a collapsible menu item, it 188 * SearchView perform the default action. 197 * @return false if the SearchView should perform the default action of showing any 198 * suggestions if available, true if the action was handled by the listener. 870 * Handles the key down event for dealing with action keys. 884 // if it's an action specified by the searchable activity, launch the 885 // entered query with the action key 913 // If a suggestion is selected, handle enter, search key, and action keys 920 // If there is text in the query box, handle enter, and action keys 948 * action key 1457 createIntent(String action, Uri data, String extraData, String query, int actionKey, String actionMsg) argument [all...] |
H A D | StackView.java | 614 int action = ev.getAction(); 615 switch(action & MotionEvent.ACTION_MASK) { 706 int action = ev.getAction(); 723 switch (action & MotionEvent.ACTION_MASK) { 1244 public boolean performAccessibilityAction(int action, Bundle arguments) { argument 1245 if (super.performAccessibilityAction(action, arguments)) { 1251 switch (action) {
|
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 340 jint deviceId, jint source, jint action, jint flags, jint edgeFlags, 377 event->initialize(deviceId, source, action, flags, edgeFlags, metaState, buttonState, 458 jint nativePtr, jint action) { 460 event->setAction(action); 338 android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz, jint nativePtr, jint deviceId, jint source, jint action, jint flags, jint edgeFlags, jint metaState, jint buttonState, jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, jlong downTimeNanos, jlong eventTimeNanos, jint pointerCount, jobjectArray pointerPropertiesObjArray, jobjectArray pointerCoordsObjArray) argument 457 android_view_MotionEvent_nativeSetAction(JNIEnv* env, jclass clazz, jint nativePtr, jint action) argument
|
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 606 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) { 610 ->checkRightsStatus(uniqueId, Utility::getStringValue(env, path), action); 605 android_drm_DrmManagerClient_checkRightsStatus( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) argument
|
/frameworks/base/include/androidfw/ |
H A D | Input.h | 286 // Return true if this event may have a default action implementation. 297 int32_t action, 336 inline void setAction(int32_t action) { mAction = action; } argument 504 int32_t action, 536 static bool isTouchEvent(int32_t source, int32_t action);
|
/frameworks/base/libs/androidfw/ |
H A D | InputTransport.cpp | 236 int32_t action, 246 "action=0x%x, flags=0x%x, keyCode=%d, scanCode=%d, metaState=0x%x, repeatCount=%d," 249 deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount, 263 msg.body.key.action = action; 278 int32_t action, 294 "action=0x%x, flags=0x%x, edgeFlags=0x%x, metaState=0x%x, buttonState=0x%x, " 299 deviceId, source, action, flags, edgeFlags, metaState, buttonState, 319 msg.body.motion.action = action; 232 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 274 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, 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, size_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardHostView.java | 402 public void setOnDismissAction(OnDismissAction action) { 403 KeyguardHostView.this.setOnDismissAction(action); 677 public void setOnDismissAction(OnDismissAction action) { 712 * Sets an action to perform when keyguard is dismissed. 713 * @param action 715 protected void setOnDismissAction(OnDismissAction action) { argument 716 mDismissAction = action;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmMmiCode.java | 117 String action; // One of ACTION_* field in class:GsmMmiCode 142 2 = action (activation/interrogation/registration/erasure) 189 ret.action = makeEmptyNull(m.group(MATCH_GROUP_ACTION)); 604 return action != null && action.equals(ACTION_ACTIVATE); 608 return action != null && action.equals(ACTION_DEACTIVATE); 612 return action != null && action.equals(ACTION_INTERROGATE); 616 return action ! [all...] |
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 49 public void addAction(Object info, int action); argument 50 public boolean performAction(Object info, int action); argument 51 public boolean performAction(Object info, int action, Bundle arguments); argument 119 public void addAction(Object info, int action) { argument 254 public boolean performAction(Object info, int action) { argument 259 public boolean performAction(Object info, int action, Bundle arguments) { argument 416 public void addAction(Object info, int action) { argument 417 AccessibilityNodeInfoCompatIcs.addAction(info, action); 536 public boolean performAction(Object info, int action) { argument 537 return AccessibilityNodeInfoCompatIcs.performAction(info, action); 683 performAction(Object info, int action, Bundle arguments) argument 1144 addAction(int action) argument 1160 performAction(int action) argument 1177 performAction(int action, Bundle arguments) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 443 * Structure to encapsulate an "action", including title and icon, that can be attached to a Notification. 890 sb.append(" action"); 1382 * Add an action to this notification. Actions are typically displayed by 1385 * @param icon Resource ID of a drawable that represents the action. 1386 * @param title Text describing the action. 1387 * @param intent PendingIntent to be fired when the action is invoked. 1529 //Log.d("Notification", "adding action " + i + ": " + mActions.get(i).title); 1564 private RemoteViews generateActionButton(Action action) { argument 1565 final boolean tombstone = (action.actionIntent == null); 1569 button.setTextViewCompoundDrawables(R.id.action0, action [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 517 public void appPrivateCommand(String action, Bundle data) { argument 521 InputMethodService.this.onAppPrivateCommand(action, data); 1835 public void onAppPrivateCommand(String action, Bundle data) { argument 1961 * Ask the input target to execute its default action via 1968 * EditorInfo.IME_FLAG_NO_ENTER_ACTION}. If false, the action will be 1971 * @return Returns a boolean indicating whether an action has been sent. 1972 * If false, either the editor did not specify a default action or it 1973 * does not want an action from the enter key. If true, the action was 1984 // action associate [all...] |
/frameworks/base/core/java/android/view/ |
H A D | HardwareRenderer.java | 271 * before executing the specified action. 276 * @return true if the action was run 278 abstract boolean safelyRun(Runnable action); argument 1529 boolean safelyRun(Runnable action) { argument 1541 action.run();
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 596 * Adds an action that can be performed on the node. 603 * @param action The action. 607 public void addAction(int action) { argument 609 mActions |= action; 639 * Performs an action on the node. 641 * <strong>Note:</strong> An action can be performed only if the request is made 645 * @param action The action to perform. 646 * @return True if the action wa 650 performAction(int action) argument 673 performAction(int action, Bundle arguments) argument 1719 getActionSymbolicName(int action) argument [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 1469 * @param action Name of the command to be performed. This <em>must</em> 1474 public void sendAppPrivateCommand(View view, String action, Bundle data) { argument 1483 if (DEBUG) Log.v(TAG, "APP PRIVATE COMMAND " + action + ": " + data); 1484 mCurMethod.appPrivateCommand(action, data);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 280 public boolean performAccessibilityAction(int action, Bundle arguments); argument
|
/frameworks/base/services/input/ |
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, 543 // Set to the resolved action and flags when the event is enqueued. 565 // A command entry captures state and behavior for an action to be performed in the 706 bool trackKey(const KeyEntry* entry, int32_t action, int32_t flags); 711 bool trackMotion(const MotionEntry* entry, int32_t action, int32_t flags);
|
/frameworks/base/services/java/com/android/server/ |
H A D | DevicePolicyManagerService.java | 144 final String action = intent.getAction(); 147 if (Intent.ACTION_BOOT_COMPLETED.equals(action) 148 || ACTION_EXPIRED_PASSWORD_NOTIFICATION.equals(action)) { 149 Slog.v(TAG, "Sending password expiration notifications for action " + action 156 } else if (Intent.ACTION_USER_REMOVED.equals(action)) { 158 } else if (Intent.ACTION_USER_STARTED.equals(action) 159 || Intent.ACTION_PACKAGE_CHANGED.equals(action) 160 || Intent.ACTION_PACKAGE_REMOVED.equals(action) 161 || Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) { 648 sendAdminCommandLocked(ActiveAdmin admin, String action) argument 652 sendAdminCommandLocked(ActiveAdmin admin, String action, BroadcastReceiver result) argument 666 sendAdminCommandLocked(String action, int reqPolicy, int userHandle) argument [all...] |
H A D | MountService.java | 142 * 100 series - Requestion action was initiated; expect another reply 150 * 200 series - Requestion action has been successfully completed. 157 * 400 series - Command was accepted, but the requested action 266 ObbAction action = new UnmountObbAction(this, true); 267 mObbActionHandler.sendMessage(mObbActionHandler.obtainMessage(OBB_RUN_ACTION, action)); 296 // OBB action handler messages 570 final String action = intent.getAction(); 571 if (Intent.ACTION_USER_ADDED.equals(action)) { 576 } else if (Intent.ACTION_USER_REMOVED.equals(action)) { 784 String action 1112 sendStorageIntent(String action, StorageVolume volume, UserHandle user) argument [all...] |
H A D | NetworkManagementService.java | 632 private void modifyRoute(String interfaceName, String action, RouteInfo route, String type) { argument 633 final Command cmd = new Command("interface", "route", action, interfaceName, type); 927 private void modifyNat(String action, String internalInterface, String externalInterface) argument 929 final Command cmd = new Command("nat", action, internalInterface, externalInterface);
|
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | AccessibilityManagerService.java | 304 String action = intent.getAction(); 305 if (Intent.ACTION_USER_SWITCHED.equals(action)) { 307 } else if (Intent.ACTION_USER_REMOVED.equals(action)) { 309 } else if (Intent.ACTION_USER_PRESENT.equals(action)) { 1821 long accessibilityNodeId, int action, Bundle arguments, int interactionId, 1836 resolvedWindowId, action, arguments); 1851 connection.performAccessibilityAction(accessibilityNodeId, action, arguments, 1863 public boolean performGlobalAction(int action) { argument 1874 switch (action) { 2250 public boolean canPerformActionLocked(Service service, int windowId, int action, argument 1820 performAccessibilityAction(int accessibilityWindowId, long accessibilityNodeId, int action, Bundle arguments, int interactionId, IAccessibilityInteractionConnectionCallback callback, long interrogatingTid) argument 2306 isActionPermitted(int action) argument [all...] |