Searched refs:action (Results 1 - 25 of 320) sorted by relevance

1234567891011>>

/frameworks/support/v4/jellybean/android/support/v4/view/
H A DViewCompatJB.java45 public static void postOnAnimation(View view, Runnable action) { argument
46 view.postOnAnimation(action);
49 public static void postOnAnimationDelayed(View view, Runnable action, long delayMillis) { argument
50 view.postOnAnimationDelayed(action, delayMillis);
61 public static boolean performAccessibilityAction(View view, int action, Bundle arguments) { argument
62 return view.performAccessibilityAction(action, arguments);
H A DAccessibilityDelegateCompatJellyBean.java42 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/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyTester.java45 String action = intent.getAction();
46 if (DBG) log("sIntentReceiver.onReceive: action=" + action);
47 if (action.equals(mPhone.getActionDetached())) {
50 } else if (action.equals(mPhone.getActionAttached())) {
54 if (DBG) log("onReceive: unknown action=" + action);
66 log("register for intent action=" + mPhone.getActionDetached());
69 log("register for intent action=" + mPhone.getActionAttached());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTesterDeactivateAll.java50 String action = intent.getAction();
51 if (DBG) log("sIntentReceiver.onReceive: action=" + action);
52 if (action.equals(sActionDcTesterDeactivateAll)
53 || action.equals(mPhone.getActionDetached())) {
63 if (DBG) log("onReceive: unknown action=" + action);
76 log("register for intent action=" + sActionDcTesterDeactivateAll);
79 log("register for intent action=" + mPhone.getActionDetached());
H A DDcTesterFailBringUpAll.java56 String action = intent.getAction();
57 if (DBG) log("sIntentReceiver.onReceive: action=" + action);
58 if (action.equals(mActionFailBringUp)) {
60 } else if (action.equals(mPhone.getActionDetached())) {
66 } else if (action.equals(mPhone.getActionAttached())) {
72 if (DBG) log("onReceive: unknown action=" + action);
83 log("register for intent action=" + mActionFailBringUp);
86 log("register for intent action
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DPackageReceiver.java33 final String action = intent.getAction();
34 if (Intent.ACTION_PACKAGE_FULLY_REMOVED.equals(action)) {
37 } else if (Intent.ACTION_PACKAGE_DATA_CLEARED.equals(action)) {
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/
H A DAccessibilityNodeProviderCompatJellyBean.java31 public boolean performAction(int virtualViewId, int action, Bundle arguments); argument
54 public boolean performAction(int virtualViewId, int action, Bundle arguments) {
55 return bridge.performAction(virtualViewId, action, arguments);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java60 String action = intent.getAction();
61 if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
70 else if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) {
77 else if (AppWidgetManager.ACTION_APPWIDGET_OPTIONS_CHANGED.equals(action)) {
87 else if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) {
90 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) {
/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminReceiver.java65 * This is the primary action that a device administrator must implement to be
75 = "android.app.action.DEVICE_ADMIN_ENABLED";
88 = "android.app.action.DEVICE_ADMIN_DISABLE_REQUESTED";
103 * that this action will be
109 = "android.app.action.DEVICE_ADMIN_DISABLED";
125 = "android.app.action.ACTION_PASSWORD_CHANGED";
141 = "android.app.action.ACTION_PASSWORD_FAILED";
153 = "android.app.action.ACTION_PASSWORD_SUCCEEDED";
165 = "android.app.action.ACTION_PASSWORD_EXPIRING";
297 * convenience callbacks for each action
[all...]
/frameworks/base/core/java/android/view/
H A DChoreographer.java278 * @param action The callback action to run during the next frame.
284 public void postCallback(int callbackType, Runnable action, Object token) { argument
285 postCallbackDelayed(callbackType, action, token, 0);
295 * @param action The callback action to run during the next frame after the specified delay.
303 Runnable action, Object token, long delayMillis) {
304 if (action == null) {
305 throw new IllegalArgumentException("action must not be null");
311 postCallbackDelayedInternal(callbackType, action, toke
302 postCallbackDelayed(int callbackType, Runnable action, Object token, long delayMillis) argument
314 postCallbackDelayedInternal(int callbackType, Object action, Object token, long delayMillis) argument
351 removeCallbacks(int callbackType, Runnable action, Object token) argument
359 removeCallbacksInternal(int callbackType, Object action, Object token) argument
615 obtainCallbackLocked(long dueTime, Object action, Object token) argument
754 public Object action; // Runnable or FrameCallback field in class:Choreographer.CallbackRecord
793 addCallbackLocked(long dueTime, Object action, Object token) argument
815 removeCallbacksLocked(Object action, Object token) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityCallback.java63 * Sets an action to perform after the user successfully enters their credentials.
64 * @param action
66 void setOnDismissAction(OnDismissAction action); argument
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DTestAppWidgetProvider.java37 String action = intent.getAction();
40 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) {
43 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) {
46 else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/
H A DTestAppWidgetProvider.java34 String action = intent.getAction();
37 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) {
40 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) {
43 else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDateView.java48 final String action = intent.getAction();
49 if (Intent.ACTION_TIME_TICK.equals(action)
50 || Intent.ACTION_TIME_CHANGED.equals(action)
51 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)
52 || Intent.ACTION_LOCALE_CHANGED.equals(action)) {
53 if (Intent.ACTION_LOCALE_CHANGED.equals(action)
54 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)) {
/frameworks/base/core/java/com/android/internal/app/
H A DExternalMediaFormatActivity.java42 String action = intent.getAction();
43 Log.d("ExternalMediaFormatActivity", "got action " + action);
45 if (action == Intent.ACTION_MEDIA_REMOVED ||
46 action == Intent.ACTION_MEDIA_CHECKING ||
47 action == Intent.ACTION_MEDIA_MOUNTED ||
48 action == Intent.ACTION_MEDIA_SHARED) {
/frameworks/base/core/java/android/service/wallpaper/
H A DIWallpaperEngine.aidl29 void dispatchWallpaperCommand(String action, int x, int y,
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSomnambulator.java39 final String action = launchIntent.getAction();
40 if (Intent.ACTION_CREATE_SHORTCUT.equals(action)) {
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeProvider.java51 * public boolean performAction(int action, int virtualDescendantId) {
100 * Performs an accessibility action on a virtual view, i.e. a descendant of the
105 * @param action The action to perform.
106 * @param arguments Optional action arguments.
107 * @return True if the action was performed.
113 public boolean performAction(int virtualViewId, int action, Bundle arguments) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java82 String action = intent.getAction();
83 if (action.equals(Intent.ACTION_ALARM_CHANGED)) {
86 else if (action.equals(Intent.ACTION_SYNC_STATE_CHANGED)) {
89 else if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED) ||
90 action.equals(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED)) {
93 else if (action.equals(AudioManager.RINGER_MODE_CHANGED_ACTION)) {
96 else if (action.equals(TelephonyIntents.ACTION_SIM_STATE_CHANGED)) {
99 else if (action.equals(TtyIntent.TTY_ENABLED_CHANGE_ACTION)) {
219 String action = intent.getAction();
220 if (action
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbDisconnectedReceiver.java53 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 DAccessibilityNodeProviderCompatKitKat.java31 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/base/core/java/android/text/method/
H A DLinkMovementMethod.java51 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/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
706 onPerformActionForVirtualView( int virtualViewId, int action, Bundle arguments) argument
720 performAction(int virtualViewId, int action, Bundle arguments) argument
[all...]
/frameworks/base/services/input/
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...]
/frameworks/base/services/java/com/android/server/
H A DIdleMaintenanceService.java72 "com.android.server.IdleMaintenanceService.action.UPDATE_IDLE_MAINTENANCE_STATE";
75 "com.android.server.IdleMaintenanceService.action.FORCE_IDLE_MAINTENANCE";
286 String action = intent.getAction();
287 if (Intent.ACTION_BATTERY_CHANGED.equals(action)) {
297 } else if (Intent.ACTION_SCREEN_ON.equals(action)
298 || Intent.ACTION_DREAMING_STOPPED.equals(action)) {
306 } else if (Intent.ACTION_SCREEN_OFF.equals(action)
307 || Intent.ACTION_DREAMING_STARTED.equals(action)) {
313 } else if (ACTION_UPDATE_IDLE_MAINTENANCE_STATE.equals(action)) {
315 } else if (ACTION_FORCE_IDLE_MAINTENANCE.equals(action)) {
[all...]

Completed in 489 milliseconds

1234567891011>>