/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOSyncView.java | 87 final int action = ev.getAction(); 89 switch (action & MotionEvent.ACTION_MASK) {
|
H A D | FBOTestView.java | 87 final int action = ev.getAction(); 89 switch (action & MotionEvent.ACTION_MASK) {
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
H A D | ShadersTestView.java | 81 final int action = ev.getAction(); 83 switch (action & MotionEvent.ACTION_MASK) {
|
/frameworks/ex/common/java/com/android/common/ |
H A D | NetworkConnectivityListener.java | 65 String action = intent.getAction(); 67 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION) ||
|
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | CarrierLabel.java | 81 String action = intent.getAction(); 82 if (TelephonyIntents.SPN_STRINGS_UPDATED_ACTION.equals(action)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | BatteryController.java | 68 final String action = intent.getAction(); 69 if (action.equals(Intent.ACTION_BATTERY_CHANGED)) {
|
/frameworks/base/services/input/ |
H A D | InputDispatcher.cpp | 96 static inline int32_t getMotionEventActionPointerIndex(int32_t action) { argument 97 return (action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) 101 static bool isValidKeyAction(int32_t action) { argument 102 switch (action) { 111 static bool validateKeyEvent(int32_t action) { argument 112 if (! isValidKeyAction(action)) { 113 ALOGE("Key event has invalid action code 0x%x", action); 119 static bool isValidMotionAction(int32_t action, size_t pointerCount) { argument 120 switch (action 141 validateMotionEvent(int32_t action, size_t pointerCount, const PointerProperties* pointerProperties) argument 1142 int32_t action = entry->action; local 2276 int32_t action = originalMotionEntry->action; local 2559 int32_t action = keyEvent->getAction(); local 2590 int32_t action = motionEvent->getAction(); local 3831 KeyEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime) argument 3863 MotionEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, float xPrecision, float yPrecision, nsecs_t downTime, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument 3943 trackKey(const KeyEntry* entry, int32_t action, int32_t flags) argument 3994 trackMotion(const MotionEntry* entry, int32_t action, int32_t flags) argument [all...] |
/frameworks/base/drm/java/android/drm/ |
H A D | DrmManagerClient.java | 351 * @param action Action defined in {@link DrmStore.Action}. 357 public ContentValues getConstraints(String path, int action) { argument 358 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) { 361 return _getConstraints(mUniqueId, path, action); 383 * @param action Action defined in {@link DrmStore.Action}. 388 public ContentValues getConstraints(Uri uri, int action) { argument 392 return getConstraints(convertUriToPath(uri), action); 656 * @param action The {@link DrmStore.Action} to perform. 660 public int checkRightsStatus(String path, int action) { argument 661 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) { 676 checkRightsStatus(Uri uri, int action) argument 877 _checkRightsStatus(int uniqueId, String path, int action) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | UiModeManagerService.java | 110 Slog.v(TAG, "Handling broadcast result for action " + intent.getAction() 348 String action = null; 365 action = UiModeManager.ACTION_ENTER_CAR_MODE; 373 action = UiModeManager.ACTION_ENTER_DESK_MODE; 377 action = oldAction; 380 if (action != null) { 383 "updateLocked: preparing broadcast: action=%s enable=0x%08x disable=0x%08x", 384 action, enableFlags, disableFlags)); 393 Intent intent = new Intent(action); 423 Slog.v(TAG, "updateLocked: null action, mDockStat 443 updateAfterBroadcastLocked(String action, int enableFlags, int disableFlags) 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...] |
/frameworks/base/core/java/android/view/ |
H A D | KeyEvent.java | 69 * with the special action {@link #ACTION_MULTIPLE} that either specifies 1173 * for old applications, but still do the appropriate action when 1183 * event and should not perform the action normally associated with the 1185 * action for a key until it receives an up or the long press timeout has 1205 * press action was executed while it was down. 1349 * @param action Action code: either {@link #ACTION_DOWN}, 1353 public KeyEvent(int action, int code) { argument 1354 mAction = action; 1367 * @param action Action code: either {@link #ACTION_DOWN}, 1373 public KeyEvent(long downTime, long eventTime, int action, argument 1397 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState) argument 1424 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode) argument 1454 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags) argument 1486 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source) argument 1588 obtain(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source, String characters) argument 1700 KeyEvent(KeyEvent origEvent, int action) argument 1722 changeAction(KeyEvent event, int action) argument 2777 actionToString(int action) argument [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | UiTestAutomationBridge.java | 444 * Performs an accessibility action on an {@link AccessibilityNodeInfo} 448 * @param action The action to perform. 449 * @param arguments Optional action arguments. 450 * @return Whether the action was performed. 452 public boolean performAccessibilityActionInActiveWindow(long accessibilityNodeId, int action, argument 454 return performAccessibilityAction(ACTIVE_WINDOW_ID, accessibilityNodeId, action, arguments); 458 * Performs an accessibility action on an {@link AccessibilityNodeInfo}. 463 * @param action The action t 467 performAccessibilityAction(int accessibilityWindowId, long accessibilityNodeId, int action, Bundle arguments) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseIWindow.java | 96 public void dispatchWallpaperCommand(String action, int x, int y, argument
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | LocationProviderProxy.java | 57 public static LocationProviderProxy createAndBind(Context context, String name, String action, argument 59 LocationProviderProxy proxy = new LocationProviderProxy(context, name, action, 68 private LocationProviderProxy(Context context, String name, String action, argument 72 mServiceWatcher = new ServiceWatcher(mContext, TAG, action, initialPackageNames,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindow.java | 77 public void dispatchWallpaperCommand(String action, int x, int y, argument
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | StaticResolver.cpp | 67 LinkAction action; local 70 action = link_action[row][col]; 72 switch(action) { 79 case NOACT: { /* no action. */ 187 error(diag::undefined_situation) << action << old->name() << pNew.name(); 190 } // end of the big switch (action)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaMmiCode.java | 58 String action; // ACTION_REGISTER field in class:CdmaMmiCode 75 2 = action 111 ret.action = makeEmptyNull(m.group(MATCH_GROUP_ACTION)); 182 return action != null && action.equals(ACTION_REGISTER);
|
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompatIcs.java | 42 public static void addAction(Object info, int action) { argument 43 ((AccessibilityNodeInfo) info).addAction(action); 140 public static boolean performAction(Object info, int action) { argument 141 return ((AccessibilityNodeInfo) info).performAction(action);
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | MtpClient.java | 51 "android.mtp.MtpClient.action.USB_PERMISSION"; 66 String action = intent.getAction(); 73 if (UsbManager.ACTION_USB_DEVICE_ATTACHED.equals(action)) { 82 } else if (UsbManager.ACTION_USB_DEVICE_DETACHED.equals(action)) { 89 } else if (ACTION_USB_PERMISSION.equals(action)) {
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 435 final Action action = mItems.get(i); 437 if (mKeyguardShowing && !action.showDuringKeyguard()) { 440 if (!mDeviceProvisioned && !action.showBeforeProvisioning()) { 462 final Action action = mItems.get(i); 463 if (mKeyguardShowing && !action.showDuringKeyguard()) { 466 if (!mDeviceProvisioned && !action.showBeforeProvisioning()) { 470 return action; 488 Action action = getItem(position); 489 return action.create(mContext, convertView, parent, LayoutInflater.from(mContext)); 510 * @return whether this action shoul [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | ArrowKeyMovementMethod.java | 228 final int action = event.getAction(); 230 if (action == MotionEvent.ACTION_UP) { 238 if (action == MotionEvent.ACTION_DOWN) { 250 } else if (action == MotionEvent.ACTION_MOVE) { 268 } else if (action == MotionEvent.ACTION_UP) {
|
/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/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | ConnectionUtil.java | 151 String action = intent.getAction(); 152 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) { 185 String action = intent.getAction(); 187 if (action.equals(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)) { 190 } else if (action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) { 198 } else if (action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) { 202 } else if (action.equals(WifiManager.WIFI_AP_STATE_CHANGED_ACTION)) { 219 String action = intent.getAction(); 222 if (action.equals(DownloadManager.ACTION_DOWNLOAD_COMPLETE)) {
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardUpdateMonitor.java | 169 final String action = intent.getAction(); 170 if (DEBUG) Log.d(TAG, "received broadcast " + action); 172 if (Intent.ACTION_TIME_TICK.equals(action) 173 || Intent.ACTION_TIME_CHANGED.equals(action) 174 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)) { 176 } else if (TelephonyIntents.SPN_STRINGS_UPDATED_ACTION.equals(action)) { 180 } else if (Intent.ACTION_BATTERY_CHANGED.equals(action)) { 188 } else if (TelephonyIntents.ACTION_SIM_STATE_CHANGED.equals(action)) { 190 Log.v(TAG, "action " + action [all...] |