Searched refs:action (Results 126 - 150 of 424) sorted by relevance

1234567891011>>

/frameworks/native/libs/input/tests/
H A DInputChannel_test.cpp79 serverMsg.body.key.action = AKEY_EVENT_ACTION_DOWN;
88 EXPECT_EQ(serverMsg.body.key.action, clientMsg.body.key.action)
H A DInputPublisherAndConsumer_test.cpp76 const int32_t action = AKEY_EVENT_ACTION_DOWN; local
85 status = mPublisher->publishKeyEvent(seq, deviceId, source, action, flags,
105 EXPECT_EQ(action, keyEvent->getAction());
135 const int32_t action = AMOTION_EVENT_ACTION_MOVE; local
166 status = mPublisher->publishMotionEvent(seq, deviceId, source, action, flags, edgeFlags,
188 EXPECT_EQ(action, motionEvent->getAction());
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java264 * Action to set the selection. Performing this action with no arguments
299 * Action that sets the text of the node. Performing the action without argument, using <code>
300 * null</code> or empty {@link CharSequence} will clear the text. This action will also put the
944 * Adds an action that can be performed on the node.
946 * To add a standard action use the static constants on {@link AccessibilityAction}.
947 * To add a custom action create a new {@link AccessibilityAction} by passing in a
948 * resource id from your application as the action id and an optional label that
949 * describes the action. To override one of the standard actions use as the action
950 * id of a standard action i
963 addAction(AccessibilityAction action) argument
994 addAction(int action) argument
1020 removeAction(int action) argument
1040 removeAction(AccessibilityAction action) argument
1238 performAction(int action) argument
1261 performAction(int action, Bundle arguments) argument
2882 isDefaultLegacyStandardAction(AccessibilityAction action) argument
2915 getActionSymbolicName(int action) argument
[all...]
H A DIAccessibilityInteractionConnection.aidl54 void performAccessibilityAction(long accessibilityNodeId, int action, in Bundle arguments,
/frameworks/base/core/java/android/view/
H A DMotionEvent.java32 * Motion events describe movements in terms of an action code and a set of axis values.
33 * The action code specifies the state change that occurred such as a pointer going
37 * event to the appropriate {@link View} with the action code {@link #ACTION_DOWN}
73 * of a touch event. The application may choose to perform some different action
182 * Bit mask of the parts of the action code that are the action itself.
215 * an up event, but not perform any action that you normally would.
232 * unmasked action returned by {@link #getAction}.
243 * unmasked action returned by {@link #getAction}.
254 * This action i
1336 nativeInitialize(long nativePtr, int deviceId, int source, int action, int flags, int edgeFlags, int metaState, int buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, long downTimeNanos, long eventTimeNanos, int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords) argument
1352 nativeSetAction(long nativePtr, int action) argument
1357 nativeSetEdgeFlags(long nativePtr, int action) argument
1451 obtain(long downTime, long eventTime, int action, int pointerCount, PointerProperties[] pointerProperties, PointerCoords[] pointerCoords, int metaState, int buttonState, float xPrecision, float yPrecision, int deviceId, int edgeFlags, int source, int flags) argument
1495 obtain(long downTime, long eventTime, int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags, int source, int flags) argument
1541 obtain(long downTime, long eventTime, int action, float x, float y, float pressure, float size, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags) argument
1601 obtain(long downTime, long eventTime, int action, int pointerCount, float x, float y, float pressure, float size, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags) argument
1623 obtain(long downTime, long eventTime, int action, float x, float y, int metaState) argument
2711 setAction(int action) argument
3049 actionToString(int action) argument
[all...]
H A DIWindow.aidl68 void dispatchWallpaperCommand(String action, int x, int y,
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DDayPickerView.java467 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
468 if (action != AccessibilityNodeInfo.ACTION_SCROLL_FORWARD &&
469 action != AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD) {
470 return super.performAccessibilityAction(action, arguments);
480 if (action == AccessibilityNodeInfo.ACTION_SCROLL_FORWARD) {
486 } else if (action == AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD) {
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp99 static inline int32_t getMotionEventActionPointerIndex(int32_t action) { argument
100 return (action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK)
104 static bool isValidKeyAction(int32_t action) { argument
105 switch (action) {
114 static bool validateKeyEvent(int32_t action) { argument
115 if (! isValidKeyAction(action)) {
116 ALOGE("Key event has invalid action code 0x%x", action);
122 static bool isValidMotionAction(int32_t action, size_t pointerCount) { argument
123 switch (action
144 validateMotionEvent(int32_t action, size_t pointerCount, const PointerProperties* pointerProperties) argument
1129 int32_t action = entry->action; local
2267 int32_t action = originalMotionEntry->action; local
2563 int32_t action = keyEvent->getAction(); local
2589 int32_t action = motionEvent->getAction(); local
3887 KeyEntry(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, int32_t repeatCount, nsecs_t downTime) argument
3922 MotionEntry(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, float xPrecision, float yPrecision, nsecs_t downTime, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xOffset, float yOffset) argument
4017 trackKey(const KeyEntry* entry, int32_t action, int32_t flags) argument
4068 trackMotion(const MotionEntry* entry, int32_t action, int32_t flags) argument
[all...]
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClientImpl.cpp101 int uniqueId, const String8* path, const int action) {
105 getDrmManagerService()->getConstraints(uniqueId, path, action);
171 int uniqueId, const String8& path, int action) {
175 getDrmManagerService()->checkRightsStatus(uniqueId, path, action);
182 int action, bool reserve) {
186 uniqueId, decryptHandle.get(), action, reserve);
204 int action, const ActionDescription& description) {
208 uniqueId, path, action, description);
100 getConstraints( int uniqueId, const String8* path, const int action) argument
170 checkRightsStatus( int uniqueId, const String8& path, int action) argument
180 consumeRights( int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve) argument
202 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java30 * each action.
136 public boolean performGlobalAction(int action) { argument
137 return mUiAutomation.performGlobalAction(action);
/frameworks/base/core/java/com/android/internal/view/
H A DIInputContext.aidl70 void performPrivateCommand(String action, in Bundle data);
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusedLocationProvider.java74 String action = intent.getAction();
75 if (Intent.ACTION_USER_SWITCHED.equals(action)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarViewTaskSwitchHelper.java60 int action = event.getAction();
62 switch (action & MotionEvent.ACTION_MASK) {
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncView.java87 final int action = ev.getAction();
89 switch (action & MotionEvent.ACTION_MASK) {
H A DFBOTestView.java87 final int action = ev.getAction();
89 switch (action & MotionEvent.ACTION_MASK) {
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
H A DShadersTestView.java81 final int action = ev.getAction();
83 switch (action & MotionEvent.ACTION_MASK) {
/frameworks/ex/common/java/com/android/common/
H A DNetworkConnectivityListener.java66 String action = intent.getAction();
68 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION) ||
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java362 * @param action Action defined in {@link DrmStore.Action}.
368 public ContentValues getConstraints(String path, int action) { argument
369 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) {
372 return _getConstraints(mUniqueId, path, action);
394 * @param action Action defined in {@link DrmStore.Action}.
399 public ContentValues getConstraints(Uri uri, int action) { argument
403 return getConstraints(convertUriToPath(uri), action);
667 * @param action The {@link DrmStore.Action} to perform.
671 public int checkRightsStatus(String path, int action) { argument
672 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) {
687 checkRightsStatus(Uri uri, int action) argument
888 _checkRightsStatus(int uniqueId, String path, int action) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
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...]
H A DMountService.java163 * 100 series - Requestion action was initiated; expect another reply
172 * 200 series - Requestion action has been successfully completed.
179 * 400 series - Command was accepted, but the requested action
303 ObbAction action = new UnmountObbAction(this, true);
304 mObbActionHandler.sendMessage(mObbActionHandler.obtainMessage(OBB_RUN_ACTION, action));
333 // OBB action handler messages
668 final String action = intent.getAction();
669 if (Intent.ACTION_USER_ADDED.equals(action)) {
674 } else if (Intent.ACTION_USER_REMOVED.equals(action)) {
957 String action
1292 sendStorageIntent(String action, StorageVolume volume, UserHandle user) argument
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DDowntimeConditionProvider.java278 private void updateAlarm(String action, int requestCode, int hr, int min) { argument
283 new Intent(action)
290 action, ts(time), NextAlarmTracker.formatDuration(time - now), ts(now)));
334 final String action = intent.getAction();
336 if (ENTER_ACTION.equals(action) || EXIT_ACTION.equals(action)) {
339 action, ts(schTime), ts(now), now - schTime));
340 if (ENTER_ACTION.equals(action)) {
346 } else if (Intent.ACTION_TIMEZONE_CHANGED.equals(action)) {
350 } else if (Intent.ACTION_TIME_CHANGED.equals(action)) {
[all...]
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DMtpClient.java51 "android.mtp.MtpClient.action.USB_PERMISSION";
66 String action = intent.getAction();
73 if (UsbManager.ACTION_USB_DEVICE_ATTACHED.equals(action)) {
82 } else if (UsbManager.ACTION_USB_DEVICE_DETACHED.equals(action)) {
89 } else if (ACTION_USB_PERMISSION.equals(action)) {
/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/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DSourceActivity.java219 String action = intent.getAction();
220 if (action.equals(UsbManager.ACTION_USB_ACCESSORY_ATTACHED)) {
222 } else if (action.equals(UsbManager.ACTION_USB_ACCESSORY_DETACHED)) {
224 } else if (action.equals(ACTION_USB_ACCESSORY_PERMISSION)) {
/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

Completed in 591 milliseconds

1234567891011>>