Searched defs:action (Results 126 - 150 of 213) sorted by relevance

123456789

/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java144 public final String action; field in class:ResolverActivity.ActionTitle
148 ActionTitle(String action, int titleRes, int namedTitleRes) { argument
149 this.action = action;
154 public static ActionTitle forAction(String action) { argument
156 if (title != HOME && action != null && action.equals(title.action)) {
402 protected CharSequence getTitleForAction(String action, int defaultTitleRes) { argument
403 final ActionTitle title = mResolvingHome ? ActionTitle.HOME : ActionTitle.forAction(action);
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java159 final int action = ev.getActionMasked();
161 if (action == MotionEvent.ACTION_DOWN) {
167 switch (action) {
211 final int action = ev.getActionMasked();
216 switch (action) {
583 public boolean onNestedPrePerformAccessibilityAction(View target, int action, Bundle args) { argument
584 if (super.onNestedPrePerformAccessibilityAction(target, action, args)) {
588 if (action == AccessibilityNodeInfo.ACTION_SCROLL_FORWARD && mCollapseOffset != 0) {
614 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
615 if (super.performAccessibilityAction(action, argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp335 jint deviceId, jint source, jint action, jint flags, jint edgeFlags,
372 event->initialize(deviceId, source, action, flags, edgeFlags, metaState, buttonState,
453 jlong nativePtr, jint action) {
455 event->setAction(action);
333 android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz, jlong nativePtr, jint deviceId, jint source, jint action, jint flags, jint edgeFlags, jint metaState, jint buttonState, jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, jlong downTimeNanos, jlong eventTimeNanos, jint pointerCount, jobjectArray pointerPropertiesObjArray, jobjectArray pointerCoordsObjArray) argument
452 android_view_MotionEvent_nativeSetAction(JNIEnv* env, jclass clazz, jlong nativePtr, jint action) argument
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp608 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) {
612 ->checkRightsStatus(uniqueId, Utility::getStringValue(env, path), action);
607 android_drm_DrmManagerClient_checkRightsStatus( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) argument
/frameworks/base/media/java/android/media/session/
H A DMediaController.java757 * Send a custom action back for the {@link MediaSession} to perform.
759 * @param customAction The action to perform.
761 * custom action.
772 * Send the id and args from a custom action back for the {@link MediaSession} to perform.
774 * @see #sendCustomAction(PlaybackState.CustomAction action, Bundle args)
775 * @param action The action identifier of the {@link PlaybackState.CustomAction} as
778 * custom action.
780 public void sendCustomAction(@NonNull String action, @Nullable Bundle args) { argument
781 if (TextUtils.isEmpty(action)) {
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java78 * -- that is, this is the action it uses for its intent filter. To be supported, the service
734 * @param action Name of the command to be performed. This <em>must</em> be a scoped name,
741 public void onAppPrivateCommand(String action, Bundle data) { argument
804 * @param count The number of times the action was made.
958 void appPrivateCommand(String action, Bundle data) { argument
959 onAppPrivateCommand(action, data);
1129 private final void executeOrPostRunnable(Runnable action) { argument
1133 mPendingActions.add(action);
1136 action.run();
1139 mHandler.post(action);
[all...]
H A DTvView.java426 * @param action The name of the private command to send. This <em>must</em> be a scoped name,
433 public void sendAppPrivateCommand(String action, Bundle data) { argument
434 if (TextUtils.isEmpty(action)) {
435 throw new IllegalArgumentException("action cannot be null or an empty string");
438 mSession.sendAppPrivateCommand(action, data);
440 Log.w(TAG, "sendAppPrivateCommand - session not created (action " + action + " cached)");
442 Log.w(TAG, "previous cached action " + action + " removed");
444 mAppPrivateCommandAction = action;
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDocumentsActivity.java185 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/services/accessibility/java/com/android/server/accessibility/
H A DTouchExplorer.java435 // We got a tap now post a long press action.
883 final int action = computeInjectionAction(MotionEvent.ACTION_DOWN, i);
884 sendMotionEvent(prototype, action, pointerIdBits, policyFlags);
939 final int action = computeInjectionAction(MotionEvent.ACTION_UP, i);
940 sendMotionEvent(prototype, action, pointerIdBits, policyFlags);
966 * @param action The action of the event.
970 private void sendMotionEvent(MotionEvent prototype, int action, int pointerIdBits, argument
972 prototype.setAction(action);
980 if (action
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkMonitor.java512 CustomIntentReceiver(String action, int token, int what) { argument
515 mAction = action + "_" + mNetworkAgentInfo.network.netId + "_" + token;
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDevice.java144 * 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...]
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionService.java345 private void enforceStatusBarPermission(String action, int pid, int uid) { argument
348 throw new SecurityException("Only system ui may " + action);
891 int action = keyEvent.getAction();
893 if (action == KeyEvent.ACTION_DOWN) {
901 } else if (action == KeyEvent.ACTION_UP) {
972 // - screen on and device unlocked: action is ACTION_WEB_SEARCH
973 // - device locked or screen off: action is
/frameworks/native/include/input/
H A DInput.h315 int32_t action,
354 inline void setAction(int32_t action) { mAction = action; } argument
522 int32_t action,
556 static bool isTouchEvent(int32_t source, int32_t action);
/frameworks/native/libs/input/
H A DInputTransport.cpp243 int32_t action,
253 "action=0x%x, flags=0x%x, keyCode=%d, scanCode=%d, metaState=0x%x, repeatCount=%d,"
256 deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount,
270 msg.body.key.action = action;
285 int32_t action,
301 "action=0x%x, flags=0x%x, edgeFlags=0x%x, metaState=0x%x, buttonState=0x%x, "
306 deviceId, source, action, flags, edgeFlags, metaState, buttonState,
326 msg.body.motion.action = action;
239 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
281 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, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DMonthView.java757 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, argument
759 switch (action) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTracker.java374 private void handleEcmTimer(int action) { argument
375 mPhone.handleTimerInEmergencyCallbackMode(action);
376 switch (action) {
382 log("handleEcmTimer, unsupported action " + action);
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaControllerCompat.java651 * Send a custom action for the {@link MediaSessionCompat} to perform.
653 * @param customAction The action to perform.
655 * {@link MediaSessionCompat} for this custom action.
661 * Send the id and args from a custom action for the
664 * @see #sendCustomAction(PlaybackStateCompat.CustomAction action,
666 * @param action The action identifier of the
670 * {@link MediaSessionCompat} for this custom action.
672 public abstract void sendCustomAction(String action, Bundle args); argument
1108 public void sendCustomAction(String action, Bundl argument
1318 sendCustomAction(String action, Bundle args) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp146 // the action.
1503 ALOGV("postponing action mFlushingAudio=%d, mFlushingVideo=%d",
1509 sp<Action> action = *mDeferredActions.begin(); local
1512 action->execute(this);
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java525 public void appPrivateCommand(String action, Bundle data) { argument
529 InputMethodService.this.onAppPrivateCommand(action, data);
1882 public void onAppPrivateCommand(String action, Bundle data) { argument
2008 * Ask the input target to execute its default action via
2015 * EditorInfo.IME_FLAG_NO_ENTER_ACTION}. If false, the action will be
2018 * @return Returns a boolean indicating whether an action has been sent.
2019 * If false, either the editor did not specify a default action or it
2020 * does not want an action from the enter key. If true, the action was
2031 // action associate
[all...]
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java178 * Broadcast action to indicate the change of data activity status
1960 String action) {
1962 mService.setProvisioningNotificationVisible(visible, networkType, action);
2295 NetworkCallback networkCallback, int timeoutSec, int action,
2304 if (action == LISTEN) {
1959 setProvisioningNotificationVisible(boolean visible, int networkType, String action) argument
2294 sendRequestForNetwork(NetworkCapabilities need, NetworkCallback networkCallback, int timeoutSec, int action, int legacyType) argument
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java117 String action; field in class:WallpaperService.WallpaperCommand
312 public void dispatchWallpaperCommand(String action, int x, int y,
317 cmd.action = action;
473 * @param action The name of the command to perform. This tells you
484 public Bundle onCommand(String action, int x, int y, int z, argument
978 result = onCommand(cmd.action, cmd.x, cmd.y, cmd.z,
1128 public void dispatchWallpaperCommand(String action, int x, int y, argument
1131 mEngine.mWindow.dispatchWallpaperCommand(action, x, y, z, extras, false);
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java322 "android.intent.action.TTS_SERVICE";
726 private <R> R runActionNoReconnect(Action<R> action, R errorResult, String method, argument
728 return runAction(action, errorResult, method, false, onlyEstablishedConnection);
731 private <R> R runAction(Action<R> action, R errorResult, String method) { argument
732 return runAction(action, errorResult, method, true, true);
735 private <R> R runAction(Action<R> action, R errorResult, String method, argument
742 return mServiceConnection.runAction(action, errorResult, method, reconnect,
2220 public <R> R runAction(Action<R> action, R errorResult, String method, argument
2232 return action.run(mService);
2276 * {@code android.intent.action
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java324 * Represents an invalid action notification sequence number. {@link InputMethodManagerService}
325 * always issues a positive integer for action notification sequence numbers. Thus -1 is
331 * {@link IInputMethodManager#notifyUserAction(int)} at once when a user action is observed.
1640 * @param action Name of the command to be performed. This <em>must</em>
1645 public void sendAppPrivateCommand(View view, String action, Bundle data) { argument
1654 if (DEBUG) Log.v(TAG, "APP PRIVATE COMMAND " + action + ": " + data);
1655 mCurMethod.appPrivateCommand(action, data);
1953 * Notify that a user took some action with this input method.
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java299 public boolean performAccessibilityAction(int action, Bundle arguments); argument
/frameworks/base/core/java/android/widget/
H A DRadialTimePickerView.java1211 final int action = event.getActionMasked();
1212 if (action == MotionEvent.ACTION_MOVE
1213 || action == MotionEvent.ACTION_UP
1214 || action == MotionEvent.ACTION_DOWN) {
1218 if (action == MotionEvent.ACTION_DOWN) {
1221 } else if (action == MotionEvent.ACTION_UP) {
1331 public boolean performAccessibilityAction(View host, int action, Bundle arguments) { argument
1332 if (super.performAccessibilityAction(host, action, arguments)) {
1336 switch (action) {
1496 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, argument
[all...]

Completed in 6000 milliseconds

123456789