Searched refs:action (Results 126 - 150 of 288) sorted by relevance

1234567891011>>

/frameworks/base/include/androidfw/
H A DInput.h286 // 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 DFwdLockEngine.cpp108 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 DTouchExplorer.java448 // 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 DNumberPicker.java799 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 DZoomButtonsController.java534 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 DDateTimeView.java241 String action = intent.getAction();
242 if (Intent.ACTION_TIME_TICK.equals(action)) {
H A DHorizontalScrollView.java438 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 DScrollView.java461 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 DInput.cpp124 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 DNotificationManagerService.java509 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 DUsbService.java93 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 Drun_layout_tests.py293 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 Dmonkey.c199 #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 DBackupRestoreConfirmation.java135 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 DNotificationCompat.java122 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 DSwipeHelper.java194 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 DVideoEditorPreviewTest.java158 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 DDrmManager.cpp168 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 DInput.java209 * @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 DAccessibilityService.java52 * 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 DIInputMethodSessionWrapper.java202 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 DWallpaperService.java108 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 DIWindowSession.aidl150 * 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 DWebViewInputDispatcher.java162 * 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 DInputConnectionWrapper.java408 public boolean performPrivateCommand(String action, Bundle data) { argument
410 mIInputContext.performPrivateCommand(action, data);

Completed in 2707 milliseconds

1234567891011>>