Searched refs:action (Results 201 - 225 of 668) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDeadZone.java125 final int action = event.getAction();
126 if (action == MotionEvent.ACTION_OUTSIDE) {
128 } else if (action == MotionEvent.ACTION_DOWN) {
/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());
H A DStructLayout_test.cpp41 CHECK_OFFSET(InputMessage::Body::Key, action, 24);
53 CHECK_OFFSET(InputMessage::Body::Motion, action, 24);
/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
1441 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
1457 nativeSetAction(long nativePtr, int action) argument
1462 nativeSetEdgeFlags(long nativePtr, int action) argument
1559 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
1603 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
1649 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
1709 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
1731 obtain(long downTime, long eventTime, int action, float x, float y, int metaState) argument
2853 setAction(int action) argument
3192 actionToString(int action) argument
[all...]
H A DIWindow.aidl71 void dispatchWallpaperCommand(String action, int x, int y,
/frameworks/base/services/core/java/com/android/server/
H A DNetworkTimeUpdateService.java67 "com.android.server.NetworkTimeUpdateService.action.POLL";
255 String action = intent.getAction();
256 if (DBG) Log.d(TAG, "Received " + action);
257 if (TelephonyIntents.ACTION_NETWORK_SET_TIME.equals(action)) {
259 } else if (TelephonyIntents.ACTION_NETWORK_SET_TIMEZONE.equals(action)) {
270 String action = intent.getAction();
271 if (ConnectivityManager.CONNECTIVITY_ACTION.equals(action)) {
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDevicePlayback.java111 OneTouchPlayAction action = OneTouchPlayAction.create(this, Constants.ADDR_TV,
113 if (action == null) {
118 addAndStartAction(action);
130 DevicePowerStatusAction action = DevicePowerStatusAction.create(this, Constants.ADDR_TV,
132 if (action == null) {
137 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/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DMediaPlayerGlue.java72 private Action mSelectedAction; // the action which is currently selected by the user
90 // Register selected listener such that we know what action the user currently has focused.
170 @Override public void onActionClicked(Action action) { argument
173 super.onActionClicked(action);
174 if (action instanceof PlaybackControlsRow.ShuffleAction) {
176 } else if (action instanceof PlaybackControlsRow.RepeatAction) {
178 } else if (action instanceof PlaybackControlsRow.ThumbsUpAction) {
185 } else if (action instanceof PlaybackControlsRow.ThumbsDownAction) {
198 // the user keeps the corresponding action pressed.
199 // We only consume DPAD_CENTER Action_DOWN events on the Fast-Forward and Rewind action an
[all...]
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DMediaPlayerGlue.java72 private Action mSelectedAction; // the action which is currently selected by the user
90 // Register selected listener such that we know what action the user currently has focused.
170 @Override public void onActionClicked(Action action) { argument
173 super.onActionClicked(action);
174 if (action instanceof PlaybackControlsRow.ShuffleAction) {
176 } else if (action instanceof PlaybackControlsRow.RepeatAction) {
178 } else if (action instanceof PlaybackControlsRow.ThumbsUpAction) {
185 } else if (action instanceof PlaybackControlsRow.ThumbsDownAction) {
198 // the user keeps the corresponding action pressed.
199 // We only consume DPAD_CENTER Action_DOWN events on the Fast-Forward and Rewind action an
[all...]
/frameworks/support/compat/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java270 * Action to set the selection. Performing this action with no arguments
318 * Action that sets the text of the node. Performing the action without argument,
320 * action will also put the cursor at the end of text.
409 * @param actionId The action id.
410 * @param label The action label.
416 AccessibilityActionCompat(Object action) { argument
417 mAction = action;
421 * Gets the id for this action.
423 * @return The action id.
430 * Gets the label for this action
741 addAction(Object info, int action) argument
742 addAction(Object info, Object action) argument
743 removeAction(Object info, Object action) argument
744 getAccessibilityActionId(Object action) argument
745 getAccessibilityActionLabel(Object action) argument
746 performAction(Object info, int action) argument
747 performAction(Object info, int action, Bundle arguments) argument
900 addAction(Object info, int action) argument
905 addAction(Object info, Object action) argument
910 removeAction(Object info, Object action) argument
915 getAccessibilityActionId(Object action) argument
920 getAccessibilityActionLabel(Object action) argument
1065 performAction(Object info, int action) argument
1070 performAction(Object info, int action, Bundle arguments) argument
1592 addAction(Object info, int action) argument
1712 performAction(Object info, int action) argument
1859 performAction(Object info, int action, Bundle arguments) argument
2160 addAction(Object info, Object action) argument
2165 removeAction(Object info, Object action) argument
2170 getAccessibilityActionId(Object action) argument
2175 getAccessibilityActionLabel(Object action) argument
3006 addAction(int action) argument
3021 addAction(AccessibilityActionCompat action) argument
3039 removeAction(AccessibilityActionCompat action) argument
3055 performAction(int action) argument
3072 performAction(int action, Bundle arguments) argument
4469 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
1145 int32_t action = entry->action; local
2319 int32_t action = originalMotionEntry->action; local
2618 int32_t action = keyEvent->getAction(); local
2644 int32_t action = motionEvent->getAction(); local
3931 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
3966 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
4061 trackKey(const KeyEntry* entry, int32_t action, int32_t flags) argument
4112 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/android/view/inputmethod/
H A DInputConnectionWrapper.java245 public boolean performPrivateCommand(String action, Bundle data) { argument
246 return mTarget.performPrivateCommand(action, data);
/frameworks/base/media/java/android/media/session/
H A DISessionCallback.aidl49 void onCustomAction(String action, in Bundle args);
/frameworks/base/media/java/android/media/tv/
H A DITvInputSession.aidl43 void appPrivateCommand(in 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/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/ex/common/java/com/android/common/
H A DNetworkConnectivityListener.java66 String action = intent.getAction();
68 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION) ||
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
H A DRecyclerViewRequireScrollHelperTest.java132 public boolean post(Runnable action) { argument
133 action.run();

Completed in 6410 milliseconds

1234567891011>>