/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | Somnambulator.java | 39 final String action = launchIntent.getAction(); 40 if (Intent.ACTION_CREATE_SHORTCUT.equals(action)) {
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
H A D | IdleController.java | 149 final String action = intent.getAction(); 151 if (action.equals(Intent.ACTION_SCREEN_ON) 152 || action.equals(Intent.ACTION_DREAMING_STOPPED)) { 156 Slog.v(TAG, "exiting idle : " + action); 162 } else if (action.equals(Intent.ACTION_SCREEN_OFF) 163 || action.equals(Intent.ACTION_DREAMING_STARTED)) { 170 Slog.v(TAG, "Scheduling idle : " + action + " now:" + nowElapsed + " when=" 175 } else if (action.equals(ACTION_TRIGGER_IDLE)) {
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeProvider.java | 51 * public boolean performAction(int action, int virtualDescendantId) { 105 * Performs an accessibility action on a virtual view, i.e. a descendant of the 110 * @param action The action to perform. 111 * @param arguments Optional action arguments. 112 * @return True if the action was performed. 118 public boolean performAction(int virtualViewId, int action, Bundle arguments) { argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintErrorFragment.java | 46 public static PrintErrorFragment newInstance(CharSequence message, int action) { argument 49 arguments.putInt(EXTRA_ACTION, action); 74 final int action = getArguments().getInt(EXTRA_ACTION); 75 switch (action) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbDisconnectedReceiver.java | 53 String action = intent.getAction(); 54 if (UsbManager.ACTION_USB_DEVICE_DETACHED.equals(action)) { 59 } else if (UsbManager.ACTION_USB_ACCESSORY_DETACHED.equals(action)) {
|
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeProviderCompatKitKat.java | 31 public boolean performAction(int virtualViewId, int action, Bundle arguments); argument 55 public boolean performAction(int virtualViewId, int action, Bundle arguments) { 56 return bridge.performAction(virtualViewId, action, arguments);
|
/frameworks/support/v4/jellybean/android/support/v4/view/ |
H A D | AccessibilityDelegateCompatJellyBean.java | 42 public boolean performAccessibilityAction(View host, int action, Bundle args); argument 91 public boolean performAccessibilityAction(View host, int action, Bundle args) { 92 return bridge.performAccessibilityAction(host, action, args); 102 public static boolean performAccessibilityAction(Object delegate, View host, int action, argument 104 return ((AccessibilityDelegate) delegate).performAccessibilityAction(host, action, args);
|
/frameworks/base/core/java/android/text/method/ |
H A D | LinkMovementMethod.java | 51 event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) { 62 if (action(UP, widget, buffer)) { 71 if (action(DOWN, widget, buffer)) { 80 if (action(UP, widget, buffer)) { 89 if (action(DOWN, widget, buffer)) { 96 private boolean action(int what, TextView widget, Spannable buffer) { method in class:LinkMovementMethod 196 int action = event.getAction(); 198 if (action == MotionEvent.ACTION_UP || 199 action == MotionEvent.ACTION_DOWN) { 216 if (action [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ExploreByTouchHelper.java | 163 * You should call this method after performing a user action that normally 458 private boolean performAction(int virtualViewId, int action, Bundle arguments) { argument 461 return performActionForHost(action, arguments); 463 return performActionForChild(virtualViewId, action, arguments); 467 private boolean performActionForHost(int action, Bundle arguments) { argument 468 return performAccessibilityAction(mView, action, arguments); 471 private boolean performActionForChild(int virtualViewId, int action, Bundle arguments) { argument 472 switch (action) { 475 return manageFocusForChild(virtualViewId, action); 477 return onPerformActionForVirtualView(virtualViewId, action, argument 481 manageFocusForChild(int virtualViewId, int action) argument 731 onPerformActionForVirtualView( int virtualViewId, int action, Bundle arguments) argument 745 performAction(int virtualViewId, int action, Bundle arguments) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ExploreByTouchHelper.java | 159 * You should call this method after performing a user action that normally 440 private boolean performAction(int virtualViewId, int action, Bundle arguments) { argument 443 return performActionForHost(action, arguments); 445 return performActionForChild(virtualViewId, action, arguments); 449 private boolean performActionForHost(int action, Bundle arguments) { argument 450 return ViewCompat.performAccessibilityAction(mView, action, arguments); 453 private boolean performActionForChild(int virtualViewId, int action, Bundle arguments) { argument 454 switch (action) { 457 return manageFocusForChild(virtualViewId, action, arguments); 459 return onPerformActionForVirtualView(virtualViewId, action, argument 463 manageFocusForChild(int virtualViewId, int action, Bundle arguments) argument 707 onPerformActionForVirtualView( int virtualViewId, int action, Bundle arguments) argument 721 performAction(int virtualViewId, int action, Bundle arguments) argument [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecLocalDevice.java | 144 * A callback interface to get notified when all pending action is cleared. 312 // Use copied action list in that processCommand may remove itself. 313 for (HdmiCecFeatureAction action : new ArrayList<>(mActions)) { 315 boolean result = action.processCommand(message); 483 static void injectKeyEvent(long time, int action, int keycode, int repeat) { argument 484 KeyEvent keyEvent = KeyEvent.obtain(time, time, action, keycode, 636 void addAndStartAction(final HdmiCecFeatureAction action) { argument 638 mActions.add(action); 640 Slog.i(TAG, "Not ready to start action. Queued for deferred start:" + action); 691 removeAction(final HdmiCecFeatureAction action) argument [all...] |
H A D | HdmiCecFeatureAction.java | 36 * initiates the action, through the callback given at the creation of the object. All the actual 37 * action classes inherit FeatureAction. 40 * {@link HdmiCecLocalDevice}. Each action is passed a new command arriving from the bus, and either 41 * consumes it if the command is what the action expects, or yields it to other action. Declared as 53 // Internal state indicating the progress of action. 76 * Called after the action is created. Initialization or first step to take 77 * for the action can be done in this method. Shall update {@code mState} to 78 * indicate that the action has started. 93 * Called when the action shoul 178 addAndStartAction(HdmiCecFeatureAction action) argument 196 removeAction(HdmiCecFeatureAction action) argument 271 addOnFinishedCallback(HdmiCecFeatureAction action, Runnable runnable) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyButtonView.java | 124 public boolean performAccessibilityAction(int action, Bundle arguments) { argument 125 if (action == ACTION_CLICK && mCode != 0) { 131 } else if (action == ACTION_LONG_CLICK && mCode != 0 && mSupportsLongpress) { 137 return super.performAccessibilityAction(action, arguments); 172 final int action = ev.getAction(); 175 switch (action) { 238 public void sendEvent(int action, int flags) { argument 239 sendEvent(action, flags, SystemClock.uptimeMillis()); 242 void sendEvent(int action, int flags, long when) { argument 244 final KeyEvent ev = new KeyEvent(mDownTime, when, action, mCod [all...] |
H A D | NextAlarmController.java | 61 final String action = intent.getAction(); 62 if (action.equals(Intent.ACTION_USER_SWITCHED) 63 || action.equals(AlarmManager.ACTION_NEXT_ALARM_CLOCK_CHANGED)) {
|
/frameworks/native/services/inputflinger/ |
H A D | InputListener.cpp | 47 int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, 50 action(action), flags(flags), keyCode(keyCode), scanCode(scanCode), 57 action(other.action), flags(other.flags), 71 int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, 76 action(action), flags(flags), metaState(metaState), buttonState(buttonState), 88 action(other.action), flag 45 NotifyKeyArgs(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, nsecs_t downTime) argument 69 NotifyMotionArgs(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, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DocumentsActivity.java | 185 if (mState.action == ACTION_MANAGE) { 193 if (mState.action == ACTION_CREATE) { 197 } else if (mState.action == ACTION_OPEN_TREE) { 201 if (mState.action == ACTION_GET_CONTENT) { 206 } else if (mState.action == ACTION_OPEN || mState.action == ACTION_CREATE 207 || mState.action == ACTION_OPEN_TREE) { 212 if (mState.action == ACTION_MANAGE) { 227 final String action = intent.getAction(); 228 if (Intent.ACTION_OPEN_DOCUMENT.equals(action)) { 1192 public int action; field in class:DocumentsActivity.State [all...] |
/frameworks/base/media/java/android/media/session/ |
H A D | PlaybackState.java | 500 long action = 1; 501 while (action <= actions && action < Integer.MAX_VALUE) { 502 if ((action & actions) != 0) { 503 rccFlags |= getRccFlagForAction(action); 505 action = action << 1; 536 private static int getRccFlagForAction(long action) { argument 539 int testAction = action < Integer.MAX_VALUE ? (int) action 592 CustomAction(String action, CharSequence name, int icon, Bundle extras) argument 698 Builder(String action, CharSequence name, @DrawableRes int icon) argument 903 addCustomAction(String action, String name, int icon) argument [all...] |
/frameworks/support/v4/jellybean/android/support/v4/app/ |
H A D | NotificationCompatJellybean.java | 45 // Bundle keys for storing action fields in a bundle 123 public void addAction(NotificationCompatBase.Action action) { argument 124 mActionExtrasList.add(writeActionAndGetExtras(b, action)); 146 // Add the action extras sparse array if any action was added with extras. 192 /** Return an SparseArray for action extras or null if none was needed. */ 257 Notification.Builder builder, NotificationCompatBase.Action action) { 258 builder.addAction(action.getIcon(), action.getTitle(), action 256 writeActionAndGetExtras( Notification.Builder builder, NotificationCompatBase.Action action) argument 380 getBundleForAction(NotificationCompatBase.Action action) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | DelegateViewHelper.java | 61 final int action = event.getAction(); 62 switch (action) { 75 if (!mDisabled && !mPanelShowing && action == MotionEvent.ACTION_MOVE) { 89 if (action == MotionEvent.ACTION_DOWN) { 91 } else if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) {
|
/frameworks/compile/mclinker/tools/mcld/ |
H A D | main.cpp | 97 for (std::vector<mcld::InputAction*>::iterator action = pInputActions.begin(), 98 actionEnd = pInputActions.end(); action != actionEnd; ++action) { 99 assert(*action != NULL); 100 (*action)->activate(pBuilder.getInputBuilder()); 101 delete *action;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcRetryAlarmController.java | 43 // The Intent action for retrying and its two extra's 51 String action = intent.getAction(); 52 if (TextUtils.isEmpty(action)) { 53 // Our mActionXxxx's could be null when disposed this could match an empty action. 54 log("onReceive: ignore empty action='" + action + "'"); 57 if (TextUtils.equals(action, mActionRetry)) { 67 log("onReceive: action=" + action 73 if (DBG) log("onReceive: unknown action [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | StackTapPointerEventListener.java | 49 final int action = motionEvent.getAction(); 50 switch (action & MotionEvent.ACTION_MASK) { 69 int index = (action & MotionEvent.ACTION_POINTER_INDEX_MASK)
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | DrmManagerService.h | 60 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 77 int checkRightsStatus(int uniqueId, const String8& path,int action); 79 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve); 85 int action, const ActionDescription& description);
|
H A D | NoOpDrmManagerClientImpl.h | 33 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 43 int checkRightsStatus(int uniqueId, const String8& path, int action); 44 status_t consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve); 48 int uniqueId, const String8& path, int action, const ActionDescription& description);
|
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
H A D | DrmPassthruPlugIn.h | 31 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action); 54 int onCheckRightsStatus(int uniqueId, const String8& path, int action); 56 status_t onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve); 62 int uniqueId, const String8& path, int action, const ActionDescription& description);
|