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

1234567891011>>

/frameworks/support/v4/jellybean/android/support/v4/view/
H A DViewCompatJB.java44 public static void postOnAnimation(View view, Runnable action) { argument
45 view.postOnAnimation(action);
48 public static void postOnAnimationDelayed(View view, Runnable action, long delayMillis) { argument
49 view.postOnAnimationDelayed(action, delayMillis);
60 public static boolean performAccessibilityAction(View view, int action, Bundle arguments) { argument
61 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/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.java266 * @param action The callback action to run during the next frame.
272 public void postCallback(int callbackType, Runnable action, Object token) { argument
273 postCallbackDelayed(callbackType, action, token, 0);
283 * @param action The callback action to run during the next frame after the specified delay.
291 Runnable action, Object token, long delayMillis) {
292 if (action == null) {
293 throw new IllegalArgumentException("action must not be null");
299 postCallbackDelayedInternal(callbackType, action, toke
290 postCallbackDelayed(int callbackType, Runnable action, Object token, long delayMillis) argument
302 postCallbackDelayedInternal(int callbackType, Object action, Object token, long delayMillis) argument
339 removeCallbacks(int callbackType, Runnable action, Object token) argument
347 removeCallbacksInternal(int callbackType, Object action, Object token) argument
603 obtainCallbackLocked(long dueTime, Object action, Object token) argument
742 public Object action; // Runnable or FrameCallback field in class:Choreographer.CallbackRecord
781 addCallbackLocked(long dueTime, Object action, Object token) argument
803 removeCallbacksLocked(Object action, Object token) argument
[all...]
/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/policy/src/com/android/internal/policy/impl/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/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/accessibilityservice/
H A DIAccessibilityServiceConnection.aidl140 * Performs an accessibility action on an
150 * @param action The action to perform.
151 * @param arguments Optional action arguments.
155 * @return Whether the action was performed.
158 int action, in Bundle arguments, int interactionId,
167 * Performs a global action, such as going home, going back, etc.
169 * @param action The action to perform.
170 * @return Whether the action wa
[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/java/android/support/v4/view/
H A DViewCompat.java127 public void postOnAnimation(View view, Runnable action); argument
128 public void postOnAnimationDelayed(View view, Runnable action, long delayMillis); argument
131 public boolean performAccessibilityAction(View view, int action, Bundle arguments); argument
177 public void postOnAnimation(View view, Runnable action) { argument
178 view.postDelayed(action, getFrameTime());
180 public void postOnAnimationDelayed(View view, Runnable action, long delayMillis) { argument
181 view.postDelayed(action, getFrameTime() + delayMillis);
192 public boolean performAccessibilityAction(View view, int action, Bundle arguments) { argument
279 public void postOnAnimation(View view, Runnable action) { argument
280 ViewCompatJB.postOnAnimation(view, action);
283 postOnAnimationDelayed(View view, Runnable action, long delayMillis) argument
295 performAccessibilityAction(View view, int action, Bundle arguments) argument
575 postOnAnimation(View view, Runnable action) argument
592 postOnAnimationDelayed(View view, Runnable action, long delayMillis) argument
642 performAccessibilityAction(View view, int action, Bundle arguments) argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DLinkMovementMethod.java46 event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) {
57 if (action(UP, widget, buffer)) {
66 if (action(DOWN, widget, buffer)) {
75 if (action(UP, widget, buffer)) {
84 if (action(DOWN, widget, buffer)) {
91 private boolean action(int what, TextView widget, Spannable buffer) { method in class:LinkMovementMethod
191 int action = event.getAction();
193 if (action == MotionEvent.ACTION_UP ||
194 action == MotionEvent.ACTION_DOWN) {
211 if (action
[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/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeProviderCompat.java50 public boolean performAction(int virtualViewId, int action,
52 return compat.performAction(virtualViewId, action, arguments);
147 * Performs an accessibility action on a virtual view, i.e. a descendant of the
152 * @param action The action to perform.
154 * @return True if the action was performed.
159 public boolean performAction(int virtualViewId, int action, Bundle arguments) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java115 String action = intent.getAction();
116 if (action.equals(Intent.ACTION_ALARM_CHANGED)) {
119 else if (action.equals(Intent.ACTION_SYNC_STATE_CHANGED)) {
122 else if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED) ||
123 action.equals(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED)) {
126 else if (action.equals(AudioManager.RINGER_MODE_CHANGED_ACTION)) {
129 else if (action.equals(TelephonyIntents.ACTION_SIM_STATE_CHANGED)) {
132 else if (action.equals(TtyIntent.TTY_ENABLED_CHANGE_ACTION)) {
261 String action = intent.getAction();
262 if (action
[all...]
/frameworks/av/drm/libdrmframework/include/
H A DDrmManagerService.h62 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
79 int checkRightsStatus(int uniqueId, const String8& path,int action);
81 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
87 int action, const ActionDescription& description);
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
H A DDrmPassthruPlugIn.h31 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);
/frameworks/av/include/drm/
H A DDrmManagerClient.h110 * @param[in] action Action to perform. (Action::DEFAULT, Action::PLAY, etc)
116 status_t consumeRights(sp<DecryptHandle> &decryptHandle, int action, bool reserve);
122 * @param[in] playbackStatus Playback action (Playback::START, Playback::STOP, Playback::PAUSE)
188 * Validates whether an action on the DRM content is allowed or not.
191 * @param[in] action Action to validate. (Action::DEFAULT, Action::PLAY, etc)
192 * @param[in] description Detailed description of the action
193 * @return true if the action is allowed.
195 bool validateAction(const String8& path, int action, const ActionDescription& description);
216 * @param[in] action Actions defined such as,
223 DrmConstraints* getConstraints(const String8* path, const int action);
[all...]
/frameworks/ex/photoviewer/src/com/android/ex/photo/
H A DPhotoViewPager.java123 final int action = ev.getAction() & MotionEventCompat.ACTION_MASK;
125 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) {
129 switch (action) {
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewPager.java123 final int action = ev.getAction() & MotionEventCompat.ACTION_MASK;
125 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) {
129 switch (action) {

Completed in 246 milliseconds

1234567891011>>