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

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DLocationControllerImpl.java194 final String action = intent.getAction();
195 if (LocationManager.HIGH_POWER_REQUEST_CHANGE_ACTION.equals(action)) {
197 } else if (LocationManager.MODE_CHANGED_ACTION.equals(action)) {
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DConnectivityController.java158 final String action = intent.getAction();
159 if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
184 Slog.d(TAG, "Unrecognised action in intent: " + action);
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
H A DBatteryWaster.java166 String action = intent.getAction();
167 String title = action;
172 if (Intent.ACTION_BATTERY_CHANGED.equals(action)) {
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerService.java124 public void sendRequest(String action, Bundle params, IRequestCallback cb) { argument
125 if (RequestUtils.ACTION_SET_CONTENT.equals(action)) {
127 } else if (RequestUtils.ACTION_SET_NEXT_CONTENT.equals(action)) {
/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
167 status = mPublisher->publishMotionEvent(seq, deviceId, source, action, actionButton,
189 EXPECT_EQ(action, motionEvent->getAction());
/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
1376 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
1392 nativeSetAction(long nativePtr, int action) argument
1397 nativeSetEdgeFlags(long nativePtr, int action) argument
1494 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
1538 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
1584 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
1644 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
1666 obtain(long downTime, long eventTime, int action, float x, float y, int metaState) argument
2788 setAction(int action) argument
3127 actionToString(int action) argument
[all...]
H A DIWindow.aidl68 void dispatchWallpaperCommand(String action, int x, int y,
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDevicePlayback.java108 OneTouchPlayAction action = OneTouchPlayAction.create(this, Constants.ADDR_TV,
110 if (action == null) {
115 addAndStartAction(action);
126 DevicePowerStatusAction action = DevicePowerStatusAction.create(this,
128 if (action == null) {
133 addAndStartAction(action);
/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/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java269 * Action to set the selection. Performing this action with no arguments
317 * Action that sets the text of the node. Performing the action without argument,
319 * action will also put the cursor at the end of text.
341 * @param actionId The action id.
342 * @param label The action label.
348 private AccessibilityActionCompat(Object action) { argument
349 mAction = action;
353 * Gets the id for this action.
355 * @return The action id.
362 * Gets the label for this action
505 addAction(Object info, int action) argument
506 addAction(Object info, Object action) argument
507 removeAction(Object info, Object action) argument
508 getAccessibilityActionId(Object action) argument
509 getAccessibilityActionLabel(Object action) argument
510 performAction(Object info, int action) argument
511 performAction(Object info, int action, Bundle arguments) argument
643 addAction(Object info, int action) argument
648 addAction(Object info, Object action) argument
653 removeAction(Object info, Object action) argument
658 getAccessibilityActionId(Object action) argument
663 getAccessibilityActionLabel(Object action) argument
808 performAction(Object info, int action) argument
813 performAction(Object info, int action, Bundle arguments) argument
1237 addAction(Object info, int action) argument
1357 performAction(Object info, int action) argument
1504 performAction(Object info, int action, Bundle arguments) argument
1777 addAction(Object info, Object action) argument
1782 removeAction(Object info, Object action) argument
1787 getAccessibilityActionId(Object action) argument
1792 getAccessibilityActionLabel(Object action) argument
2496 addAction(int action) argument
2511 addAction(AccessibilityActionCompat action) argument
2529 removeAction(AccessibilityActionCompat action) argument
2545 performAction(int action) argument
2562 performAction(int action, Bundle arguments) argument
3842 getActionSymbolicName(int action) argument
[all...]
/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, int32_t actionButton, int32_t pointerCount) { argument
123 switch (action
147 validateMotionEvent(int32_t action, int32_t actionButton, size_t pointerCount, const PointerProperties* pointerProperties) argument
1143 int32_t action = entry->action; local
2288 int32_t action = originalMotionEntry->action; local
2587 int32_t action = keyEvent->getAction(); local
2613 int32_t action = motionEvent->getAction(); local
3900 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
3935 MotionEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t actionButton, 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
4030 trackKey(const KeyEntry* entry, int32_t action, int32_t flags) argument
4081 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/android/view/accessibility/
H A DIAccessibilityInteractionConnection.aidl54 void performAccessibilityAction(long accessibilityNodeId, int action, in Bundle arguments,
/frameworks/base/core/java/com/android/internal/view/
H A DIInputContext.aidl70 void performPrivateCommand(String action, in Bundle data);
/frameworks/base/media/java/android/media/tv/
H A DITvInputSession.aidl43 void appPrivateCommand(in String action, in Bundle data);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DPickFragment.java96 * @param action Which action defined in BaseActivity.State is the picker shown for.
98 public void setPickTarget(int action, DocumentInfo pickTarget) { argument
99 mAction = action;
/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/SettingsLib/src/com/android/settingslib/bluetooth/
H A DBluetoothEventManager.java60 private void addHandler(String action, Handler handler) { argument
61 mHandlerMap.put(action, handler);
62 mAdapterIntentFilter.addAction(action);
65 void addProfileHandler(String action, Handler handler) { argument
66 mHandlerMap.put(action, handler);
67 mProfileIntentFilter.addAction(action);
140 String action = intent.getAction();
144 Handler handler = mHandlerMap.get(action);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackViewTouchHandler.java131 int action = ev.getAction();
134 if ((action & MotionEvent.ACTION_MASK) == MotionEvent.ACTION_DOWN) {
149 switch (action & MotionEvent.ACTION_MASK) {
215 int action = ev.getAction();
218 if ((action & MotionEvent.ACTION_MASK) == MotionEvent.ACTION_DOWN) {
233 switch (action & MotionEvent.ACTION_MASK) {
394 int action = ev.getAction();
395 switch (action & MotionEvent.ACTION_MASK) {
/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) {

Completed in 677 milliseconds

1234567891011>>