Searched defs:action (Results 51 - 75 of 213) sorted by relevance

123456789

/frameworks/base/media/java/android/media/tv/
H A DITvInputSessionWrapper.java218 public void appPrivateCommand(String action, Bundle data) { argument
219 mCaller.executeOrSendMessage(mCaller.obtainMessageOO(DO_APP_PRIVATE_COMMAND, action,
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DRationalTest.java432 private static <T> void assertAction(String action, T object, boolean expected, argument
434 String expectedMessage = expected ? action : ("not " + action);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DIntentTile.java46 private IntentTile(Host host, String action) { argument
48 mContext.registerReceiver(mReceiver, new IntentFilter(action));
61 final String action = spec.substring(PREFIX.length(), spec.length() - 1);
62 if (action.isEmpty()) {
63 throw new IllegalArgumentException("Empty intent tile spec action");
65 return new IntentTile(host, action);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DGestureRecorder.java51 String actionName(int action) { argument
52 switch (action) {
62 return String.valueOf(action);
67 ("{\"type\":\"motion\", \"time\":%d, \"action\":\"%s\", "
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java124 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...]
/frameworks/base/services/core/java/com/android/server/
H A DServiceWatcher.java97 public ServiceWatcher(Context context, String logTag, String action, argument
103 mAction = action;
140 String action = intent.getAction();
141 if (Intent.ACTION_USER_SWITCHED.equals(action)) {
214 if (D) Log.d(mTag, "Unable to query intent services for action: " + mAction);
H A DUiModeManagerService.java114 Slog.v(TAG, "Handling broadcast result for action " + intent.getAction()
397 String action = null;
414 action = UiModeManager.ACTION_ENTER_CAR_MODE;
422 action = UiModeManager.ACTION_ENTER_DESK_MODE;
426 action = oldAction;
429 if (action != null) {
432 "updateLocked: preparing broadcast: action=%s enable=0x%08x disable=0x%08x",
433 action, enableFlags, disableFlags));
442 Intent intent = new Intent(action);
472 Slog.v(TAG, "updateLocked: null action, mDockStat
493 updateAfterBroadcastLocked(String action, int enableFlags, int disableFlags) argument
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecFeatureAction.java36 * 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/services/core/java/com/android/server/location/
H A DLocationProviderProxy.java56 Context context, String name, String action,
59 LocationProviderProxy proxy = new LocationProviderProxy(context, name, action,
69 private LocationProviderProxy(Context context, String name, String action, argument
74 mServiceWatcher = new ServiceWatcher(mContext, TAG + "-" + name, action, overlaySwitchResId,
55 createAndBind( Context context, String name, String action, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNamesResId, Handler handler) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DDragState.java204 * the drag has ended, we never send out another DRAG_STARTED for this drag action.
429 private static DragEvent obtainDragEvent(WindowState win, int action, argument
438 return DragEvent.obtain(action, winX, winY, localState, description, data, result);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindow.java72 public void dispatchWallpaperCommand(String action, int x, int y, argument
/frameworks/native/services/inputflinger/
H A DInputListener.cpp47 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...]
H A DInputListener.h59 int32_t action; member in struct:android::NotifyKeyArgs
69 int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode,
86 int32_t action; member in struct:android::NotifyMotionArgs
102 int32_t action, int32_t flags, int32_t metaState, int32_t buttonState,
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsUtInterface.java152 public void updateCallForward(int action, int condition, String number, argument
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DImageProcessingTest.java99 public void runOnUiThread(Runnable action) { argument
100 synchronized(action) {
101 mActivity.runOnUiThread(action);
103 action.wait();
105 Log.v(TAG, "waiting for action running on UI thread is interrupted: " +
/frameworks/support/v4/api20/android/support/v4/app/
H A DNotificationCompatApi20.java85 public void addAction(NotificationCompatBase.Action action) { argument
86 NotificationCompatApi20.addAction(b, action);
100 public static void addAction(Notification.Builder b, NotificationCompatBase.Action action) { argument
102 action.getIcon(), action.getTitle(), action.getActionIntent());
103 if (action.getRemoteInputs() != null) {
105 action.getRemoteInputs())) {
109 if (action.getExtras() != null) {
110 actionBuilder.addExtras(action
121 getActionCompatFromAction( Notification.Action action, NotificationCompatBase.Action.Factory actionFactory, RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DExploreByTouchHelper.java159 * 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/support/v4/kitkat/android/support/v4/app/
H A DNotificationCompatKitKat.java96 public void addAction(NotificationCompatBase.Action action) { argument
97 mActionExtrasList.add(NotificationCompatJellybean.writeActionAndGetExtras(b, action));
109 // Add the action extras sparse array if any action was added with extras.
129 Notification.Action action = notif.actions[actionIndex];
137 action.icon, action.title, action.actionIntent, actionExtras);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearSmoothScroller.java106 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { argument
112 action.update(-dx, -dy, time, mDecelerateInterpolator);
120 protected void onSeekTargetStep(int dx, int dy, RecyclerView.State state, Action action) { argument
134 updateActionForInterimTarget(action);
224 protected void updateActionForInterimTarget(Action action) { argument
245 action.update((int) (mInterimTargetDx * TARGET_SEEK_EXTRA_SCROLL_RATIO)
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp102 int uniqueId, const String8* path, const int action) {
104 return mDrmManager->getConstraints(uniqueId, path, action);
146 int uniqueId, const String8& path, int action) {
148 return mDrmManager->checkRightsStatus(uniqueId, path, action);
152 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
157 return mDrmManager->consumeRights(uniqueId, decryptHandle, action, reserve);
171 int action, const ActionDescription& description) {
173 return mDrmManager->validateAction(uniqueId, path, action, description);
101 getConstraints( int uniqueId, const String8* path, const int action) argument
145 checkRightsStatus( int uniqueId, const String8& path, int action) argument
151 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
169 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp60 int uniqueId, const String8* path, int action) {
178 int DrmPassthruPlugIn::onCheckRightsStatus(int uniqueId, const String8& path, int action) { argument
185 int action, bool reserve) {
197 int action, const ActionDescription& description) {
59 onGetConstraints( int uniqueId, const String8* path, int action) argument
184 onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
196 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java61 * accessibility service is triggered exclusively by an explicit user action through
80 * &lt;action android:name="android.accessibilityservice.AccessibilityService" /&gt;
99 * &lt;action android:name="android.accessibilityservice.AccessibilityService" /&gt;
517 * Performs a global action. Such an action can be performed
522 * @param action The action to perform.
523 * @return Whether the action was successfully performed.
530 public final boolean performGlobalAction(int action) { argument
535 return connection.performGlobalAction(action);
[all...]
/frameworks/base/core/java/android/app/
H A DSearchDialog.java530 * @param actionKey The key code of the action key that was pressed,
532 * @param actionMsg The message for the action key that was pressed,
537 String action = Intent.ACTION_SEARCH;
538 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg);
574 * @param action Intent action.
578 * @param actionKey The key code of the action key that was pressed,
580 * @param actionMsg The message for the action key that was pressed,
586 private Intent createIntent(String action, Uri data, String extraData, String query, argument
589 Intent intent = new Intent(action);
[all...]
H A DUiAutomation.java273 * Performs a global action. Such an action can be performed at any moment
277 * @param action The action to perform.
278 * @return Whether the action was successfully performed.
285 public final boolean performGlobalAction(int action) { argument
295 return connection.performGlobalAction(action);
513 // so starting to collect events before running the action is just fine.
/frameworks/base/core/java/android/view/
H A DViewParent.java193 * Start an action mode for the specified view.
198 * then it should override this and start the action mode.</p>
200 * @param originalView The source view where the action mode was first invoked
201 * @param callback The callback that will handle lifecycle events for the action mode
202 * @return The new action mode if it was started, null otherwise
557 * React to an accessibility action delegated by a target descendant view before the target
567 * @param target The target view dispatching this action
568 * @param action Action being performed; see
570 * @param arguments Optional action arguments
571 * @return true if the action wa
573 onNestedPrePerformAccessibilityAction(View target, int action, Bundle arguments) argument
[all...]

Completed in 770 milliseconds

123456789