/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/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 108 DrmConstraints* FwdLockEngine::onGetConstraints(int uniqueId, const String8* path, int action) { argument 114 (RightsStatus::RIGHTS_VALID == onCheckRightsStatus(uniqueId, *path, action))) { 265 int action) { 270 // Only Transfer action is not allowed for forward Lock files. 272 switch(action) { 295 int action, 304 int action, 309 return (onCheckRightsStatus(uniqueId, path, action) == RightsStatus::RIGHTS_VALID); 263 onCheckRightsStatus(int uniqueId, const String8& path, int action) argument 293 onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument 302 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument
|
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | TouchExplorer.java | 448 // We got a tap now post a long press action. 924 final int action = computeInjectionAction(MotionEvent.ACTION_DOWN, i); 925 sendMotionEvent(prototype, action, pointerIdBits, policyFlags); 979 final int action = computeInjectionAction(MotionEvent.ACTION_UP, i); 980 sendMotionEvent(prototype, action, pointerIdBits, policyFlags); 1006 // If the action pointer going up/down is not active we have nothing to do. 1047 * @param action The action of the event. 1051 private void sendMotionEvent(MotionEvent prototype, int action, int pointerIdBits, argument 1053 prototype.setAction(action); [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | NumberPicker.java | 799 final int action = event.getActionMasked(); 800 switch (action) { 856 int action = event.getActionMasked(); 857 switch (action) { 921 final int action = event.getActionMasked(); 922 switch (action) { 945 final int action = event.getActionMasked(); 946 switch (action) { 970 final int action = event.getActionMasked(); 973 switch (action) { 2190 performAction(int virtualViewId, int action, Bundle arguments) argument [all...] |
H A D | ZoomButtonsController.java | 534 int action = event.getAction(); 543 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { 557 switch (action) { 666 * triggers some action, for example zooming.
|
H A D | DateTimeView.java | 241 String action = intent.getAction(); 242 if (Intent.ACTION_TIME_TICK.equals(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) {
|
/frameworks/base/libs/androidfw/ |
H A D | Input.cpp | 124 int32_t action, 133 mAction = action; 285 int32_t action, 300 mAction = action; 561 bool MotionEvent::isTouchEvent(int32_t source, int32_t action) { argument 564 switch (action & AMOTION_EVENT_ACTION_MASK) { 121 initialize( 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 282 initialize( 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
|
/frameworks/base/services/java/com/android/server/ |
H A D | NotificationManagerService.java | 509 String action = intent.getAction(); 514 if (action.equals(Intent.ACTION_PACKAGE_REMOVED) 515 || action.equals(Intent.ACTION_PACKAGE_RESTARTED) 516 || (packageChanged=action.equals(Intent.ACTION_PACKAGE_CHANGED)) 517 || (queryRestart=action.equals(Intent.ACTION_QUERY_PACKAGE_RESTART)) 518 || action.equals(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE)) { 520 if (action.equals(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE)) { 550 } else if (action.equals(Intent.ACTION_SCREEN_ON)) { 554 } else if (action.equals(Intent.ACTION_SCREEN_OFF)) { 556 } else if (action [all...] |
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbService.java | 93 final String action = intent.getAction(); 94 if (Intent.ACTION_USER_SWITCHED.equals(action)) { 96 } else if (Intent.ACTION_USER_STOPPED.equals(action)) {
|
/frameworks/base/tests/DumpRenderTree/assets/ |
H A D | run_layout_tests.py | 293 option_parser.add_option("", "--rebaseline", action="store_true", 299 option_parser.add_option("", "--verbose", action="store_true", 302 option_parser.add_option("", "--refresh-test-list", action="store_true",
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | monkey.c | 199 #define _(entryState, action, probability) {entryState, action, probability, #action, 0}, 296 printf("state %d action %s count %u\n",
|
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
H A D | BackupRestoreConfirmation.java | 135 final String action = intent.getAction(); 139 if (action.equals(FullBackup.FULL_BACKUP_INTENT_ACTION)) { 142 } else if (action.equals(FullBackup.FULL_RESTORE_INTENT_ACTION)) { 146 Slog.w(TAG, "Backup/restore confirmation activity launched with invalid action!");
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 122 for (Action action: b.mActions) { 123 jbBuilder.addAction(action.icon, action.title, action.actionIntent); 522 * Add an action to this notification. Actions are typically displayed by 525 * @param icon Resource ID of a drawable that represents the action. 526 * @param title Text describing the action. 527 * @param intent PendingIntent to be fired when the action is invoked.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SwipeHelper.java | 194 final int action = ev.getAction(); 196 switch (action) { 332 final int action = ev.getAction(); 333 switch (action) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
H A D | VideoEditorPreviewTest.java | 158 public void onProgress(Object item, int action, int progress) { 458 public void onProgress(Object item, int action, int progress) { 462 assertEquals("Action", action, 467 assertEquals("Action", action, 472 assertEquals("Action", action, 696 public void onProgress(Object item, int action, int progress) { 845 public void onProgress(Object item, int action, int progress) { 1004 public void onProgress(Object item, int action, int progress) { 1092 public void onProgress(Object item, int action, int progress) {
|
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 168 DrmConstraints* DrmManager::getConstraints(int uniqueId, const String8* path, const int action) { argument 173 return rDrmEngine.getConstraints(uniqueId, path, action); 289 int DrmManager::checkRightsStatus(int uniqueId, const String8& path, int action) { argument 294 return rDrmEngine.checkRightsStatus(uniqueId, path, action); 300 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { 305 result = drmEngine->consumeRights(uniqueId, decryptHandle, action, reserve); 322 int uniqueId, const String8& path, int action, const ActionDescription& description) { 327 return rDrmEngine.validateAction(uniqueId, path, action, description); 299 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument 321 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 209 * @param action the MotionEvent.ACTION_* for the event 215 private void injectMotionEvent(int inputSource, int action, long when, float x, float y, float pressure) { argument 222 MotionEvent event = MotionEvent.obtain(when, when, action, x, y, pressure, DEFAULT_SIZE,
|
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityService.java | 52 * accessibility service is triggered exclusively by an explicit user action through 71 * <action android:name="android.accessibilityservice.AccessibilityService" /> 90 * <action android:name="android.accessibilityservice.AccessibilityService" /> 423 * Performs a global action. Such an action can be performed 428 * @param action The action to perform. 429 * @return Whether the action was successfully performed. 436 public final boolean performGlobalAction(int action) { argument 441 return connection.performGlobalAction(action); [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | IInputMethodSessionWrapper.java | 202 public void appPrivateCommand(String action, Bundle data) { argument 203 mCaller.executeOrSendMessage(mCaller.obtainMessageOO(DO_APP_PRIVATE_COMMAND, action, data));
|
/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/view/ |
H A D | IWindowSession.aidl | 150 * Report the result of a drop action targeted to the given window. 176 Bundle sendWallpaperCommand(IBinder window, String action, int x, int y,
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewInputDispatcher.java | 162 * This event is delivered together with a {@link MotionEvent} with action 171 * It includes a {@link MotionEvent} with action {@link MotionEvent#ACTION_MOVE} 184 * It includes a {@link MotionEvent} with action {@link MotionEvent#ACTION_UP} 197 * It includes a {@link MotionEvent} with action {@link MotionEvent#ACTION_UP} 287 final int action = event.getActionMasked(); 289 switch (action) { 325 if (action == MotionEvent.ACTION_DOWN && mPostSendTouchEventsToWebKit) { 537 int action = event != null ? event.getAction() : MotionEvent.ACTION_CANCEL; 542 if (action == MotionEvent.ACTION_CANCEL 550 } else if (action [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | InputConnectionWrapper.java | 408 public boolean performPrivateCommand(String action, Bundle data) { argument 410 mIInputContext.performPrivateCommand(action, data);
|