/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | GestureRecorder.java | 51 String actionName(int action) { argument 52 switch (action) { 62 return String.valueOf(action); 67 ("{\"type\":\"motion\", \"time\":%d, \"action\":\"%s\", "
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | EnableAccessibilityController.java | 170 final int action = event.getActionMasked(); 172 if (action == MotionEvent.ACTION_UP) { 177 switch (action) {
|
/frameworks/native/cmds/service/ |
H A D | service.cpp | 152 char* action = NULL; local 172 if (strcmp(key, "action") == 0) 174 action = value; 208 writeString16(data, action); 269 // " action=STR data=STR type=STR launchFlags=INT component=STR categories=STR[,STR,...]\n";
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NavUtils.java | 72 String action = activity.getIntent().getAction(); 73 return action != null && !action.equals(Intent.ACTION_MAIN);
|
H A D | NotificationCompat.java | 122 for (Action action: b.mActions) { 123 jbBuilder.addAction(action.icon, action.title, action.actionIntent); 172 * For example, action buttons won't appear on platforms prior to Android 4.1. Action 544 * Add an action to this notification. Actions are typically displayed by 549 * and later. To ensure that an action button's functionality is always available, first 555 * @param icon Resource ID of a drawable that represents the action. 556 * @param title Text describing the action. 557 * @param intent {@link android.app.PendingIntent} to be fired when the action i [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 220 final int action = ev.getAction(); 221 if (action != MotionEvent.ACTION_DOWN && mIgnoreTap) { 229 switch (action) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkController.java | 390 final String action = intent.getAction(); 391 if (action.equals(WifiManager.RSSI_CHANGED_ACTION) 392 || action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION) 393 || action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) { 396 } else if (action.equals(TelephonyIntents.ACTION_SIM_STATE_CHANGED)) { 400 } else if (action.equals(TelephonyIntents.SPN_STRINGS_UPDATED_ACTION)) { 406 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION) || 407 action.equals(ConnectivityManager.INET_CONDITION_ACTION)) { 410 } else if (action.equals(Intent.ACTION_CONFIGURATION_CHANGED)) { 413 } else if (action [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcTrackerBase.java | 273 String action = intent.getAction(); 274 if (DBG) log("onReceive: action=" + action); 275 if (action.equals(Intent.ACTION_SCREEN_ON)) { 280 } else if (action.equals(Intent.ACTION_SCREEN_OFF)) { 285 } else if (action.startsWith(INTENT_RECONNECT_ALARM)) { 288 } else if (action.startsWith(INTENT_RESTART_TRYSETUP_ALARM)) { 291 } else if (action.equals(INTENT_DATA_STALL_ALARM)) { 293 } else if (action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) { 298 } else if (action 1298 putRecoveryAction(int action) argument [all...] |
/frameworks/base/include/androidfw/ |
H A D | Input.h | 289 // Return true if this event may have a default action implementation. 300 int32_t action, 339 inline void setAction(int32_t action) { mAction = action; } argument 507 int32_t action, 539 static bool isTouchEvent(int32_t source, int32_t action);
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 250 * Action to set the selection. Performing this action with no arguments 722 * Adds an action that can be performed on the node. 729 * @param action The action. 733 public void addAction(int action) { argument 735 mActions |= action; 765 * Performs an action on the node. 767 * <strong>Note:</strong> An action can be performed only if the request is made 771 * @param action The action t 776 performAction(int action) argument 799 performAction(int action, Bundle arguments) argument 1964 getActionSymbolicName(int action) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | QuickSettings.java | 264 private void startSettingsActivity(String action) { argument 265 Intent intent = new Intent(action); 789 final String action = intent.getAction(); 790 if (DisplayManager.ACTION_WIFI_DISPLAY_STATUS_CHANGED.equals(action)) { 795 } else if (BluetoothAdapter.ACTION_STATE_CHANGED.equals(action)) { 800 } else if (BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED.equals(action)) { 805 } else if (Intent.ACTION_USER_SWITCHED.equals(action)) { 807 } else if (Intent.ACTION_CONFIGURATION_CHANGED.equals(action)) { 818 final String action = intent.getAction(); 819 if (ContactsContract.Intents.ACTION_PROFILE_CHANGED.equals(action) || [all...] |
/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 | 804 final int action = event.getActionMasked(); 805 switch (action) { 861 int action = event.getActionMasked(); 862 switch (action) { 926 final int action = event.getActionMasked(); 927 switch (action) { 975 final int action = event.getActionMasked(); 976 switch (action) { 1000 final int action = event.getActionMasked(); 1003 switch (action) { 2231 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.
|
/frameworks/base/libs/androidfw/ |
H A D | Input.cpp | 128 int32_t action, 137 mAction = action; 289 int32_t action, 304 mAction = action; 565 bool MotionEvent::isTouchEvent(int32_t source, int32_t action) { argument 568 switch (action & AMOTION_EVENT_ACTION_MASK) { 125 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 286 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/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/base/services/java/com/android/server/usb/ |
H A D | UsbService.java | 94 final String action = intent.getAction(); 95 if (Intent.ACTION_USER_SWITCHED.equals(action)) { 97 } 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/SystemUI/src/com/android/systemui/ |
H A D | SwipeHelper.java | 207 final int action = ev.getAction(); 209 switch (action) { 344 final int action = ev.getAction(); 345 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 | 158 DrmConstraints* DrmManager::getConstraints(int uniqueId, const String8* path, const int action) { argument 163 return rDrmEngine.getConstraints(uniqueId, path, action); 279 int DrmManager::checkRightsStatus(int uniqueId, const String8& path, int action) { argument 284 return rDrmEngine.checkRightsStatus(uniqueId, path, action); 290 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { 295 result = drmEngine->consumeRights(uniqueId, decryptHandle, action, reserve); 312 int uniqueId, const String8& path, int action, const ActionDescription& description) { 317 return rDrmEngine.validateAction(uniqueId, path, action, description); 289 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument 311 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 | 223 * @param action the MotionEvent.ACTION_* for the event 229 private void injectMotionEvent(int inputSource, int action, long when, float x, float y, float pressure) { argument 236 MotionEvent event = MotionEvent.obtain(when, when, action, x, y, pressure, DEFAULT_SIZE,
|
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityService.java | 53 * accessibility service is triggered exclusively by an explicit user action through 72 * <action android:name="android.accessibilityservice.AccessibilityService" /> 91 * <action android:name="android.accessibilityservice.AccessibilityService" /> 456 * Performs a global action. Such an action can be performed 461 * @param action The action to perform. 462 * @return Whether the action was successfully performed. 469 public final boolean performGlobalAction(int action) { argument 474 return connection.performGlobalAction(action); [all...] |