Searched defs:action (Results 1 - 25 of 98) sorted by relevance

1234

/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java135 private void sendMotionEvent(long downTime, int action, float x, float y, argument
/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/tests/servicestests/src/com/android/server/
H A DBroadcastInterceptingContext.java83 public Future<Intent> nextBroadcastIntent(String action) { argument
84 return nextBroadcastIntent(new IntentFilter(action));
/frameworks/base/cmds/service/
H A Dservice.cpp152 char* action = NULL; local
172 if (strcmp(key, "action") == 0)
174 action = value;
208 writeString16(data, action);
269 // " action=STR data=STR type=STR launchFlags=INT component=STR categories=STR[,STR,...]\n";
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSession.java145 * @param action Name of the command to be performed. This <em>must</em>
150 public void appPrivateCommand(String action, Bundle data); argument
H A DInputConnection.java254 * Have the editor perform an action it has said it can do.
256 * @param editorAction This must be one of the action constants for
266 * Perform a context menu action on the field. The given id may be one of:
348 * @param action Name of the command to be performed. This <em>must</em>
356 public boolean performPrivateCommand(String action, Bundle data); argument
H A DInputConnectionWrapper.java125 public boolean performPrivateCommand(String action, Bundle data) { argument
126 return mTarget.performPrivateCommand(action, data);
/frameworks/base/core/java/com/android/internal/widget/
H A DEditableInputConnection.java132 public boolean performPrivateCommand(String action, Bundle data) { argument
133 mTextView.onPrivateIMECommand(action, data);
/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java259 private void addMotionEvent(VelocityTracker vt, int x, int y, long time, int action) { argument
260 MotionEvent me = MotionEvent.obtain(time, time, action, x, y, 0);
/frameworks/base/drm/java/android/drm/
H A DDrmStore.java133 * The default action.
165 /* package */ static boolean isValid(int action) { argument
168 switch (action) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java204 final int action = ev.getAction();
207 switch (action) {
266 void sendEvent(int action, int flags) { argument
267 sendEvent(action, flags, SystemClock.uptimeMillis());
270 void sendEvent(int action, int flags, long when) { argument
272 final KeyEvent ev = new KeyEvent(mDownTime, when, action, mCode, repeatCount,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindow.java75 public void dispatchWallpaperCommand(String action, int x, int y, argument
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java185 public void appPrivateCommand(String action, Bundle data) { argument
186 mCaller.executeOrSendMessage(mCaller.obtainMessageOO(DO_APP_PRIVATE_COMMAND, action, data));
/frameworks/base/core/java/android/view/
H A DDragEvent.java31 * an action type that indicates the state of the drag and drop operation. This allows a View
33 * For example, a View can react to the {@link #ACTION_DRAG_ENTERED} action type by
38 * is called a drag shadow. Several action types reflect the position of the drag shadow relative
195 * The View can also react to this action by changing its appearance.
255 private void init(int action, float x, float y, ClipDescription description, ClipData data, argument
257 mAction = action;
271 public static DragEvent obtain(int action, float x, float y, Object localState, argument
277 ev.init(action, x, y, description, data, localState, result);
288 ev.init(action, x, y, description, data, localState, result);
300 * Inspect the action valu
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityInteractionClient.java39 * calls into the system requesting an action and providing a callback
282 * Performs an accessibility action on an {@link AccessibilityNodeInfo}.
287 * @param action The action to perform.
288 * @return Whether the action was performed.
291 int accessibilityViewId, int action) {
297 accessibilityWindowId, accessibilityViewId, action, interactionId, this,
375 * Gets the result of a request to perform an accessibility action.
378 * @return Whether the action was performed.
290 performAccessibilityAction(int connectionId, int accessibilityWindowId, int accessibilityViewId, int action) argument
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java78 public void dispatchWallpaperCommand(String action, int x, int y, argument
/frameworks/base/core/jni/
H A Dandroid_view_KeyEvent.cpp79 jint action = env->GetIntField(eventObj, gKeyEventClassInfo.mAction); local
87 event->initialize(deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount,
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityTestsBase.java129 public int runLaunchpad(String action) { argument
133 mIntent.setAction(action);
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DAsecTests.java392 public void action() { method in class:AsecTests.StorageListener
409 action();
468 super.action();
522 public void action() { method in class:AsecTests.ShutdownObserver
534 action();
/frameworks/base/drm/common/
H A DDrmEngineBase.cpp30 int uniqueId, const String8* path, int action) {
31 return onGetConstraints(uniqueId, path, action);
77 int DrmEngineBase::checkRightsStatus(int uniqueId, const String8& path, int action) { argument
78 return onCheckRightsStatus(uniqueId, path, action);
82 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
83 return onConsumeRights(uniqueId, decryptHandle, action, reserve);
93 int action, const ActionDescription& description) {
94 return onValidateAction(uniqueId, path, action, description);
29 getConstraints( int uniqueId, const String8* path, int action) argument
81 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
91 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
/frameworks/base/drm/libdrmframework/
H A DDrmManagerClient.cpp42 DrmConstraints* DrmManagerClient::getConstraints(const String8* path, const int action) { argument
43 return mDrmManagerClientImpl->getConstraints(mUniqueId, path, action);
75 int DrmManagerClient::checkRightsStatus(const String8& path, int action) { argument
76 return mDrmManagerClientImpl->checkRightsStatus(mUniqueId, path, action);
80 sp<DecryptHandle> &decryptHandle, int action, bool reserve) {
81 return mDrmManagerClientImpl->consumeRights(mUniqueId, decryptHandle, action, reserve);
91 const String8& path, int action, const ActionDescription& description) {
92 return mDrmManagerClientImpl->validateAction(mUniqueId, path, action, description);
79 consumeRights( sp<DecryptHandle> &decryptHandle, int action, bool reserve) argument
90 validateAction( const String8& path, int action, const ActionDescription& description) argument
/frameworks/base/include/ui/
H A DInputTransport.h125 int32_t action; member in struct:android::InputMessage::__anon164::__anon165
136 int32_t action; member in struct:android::InputMessage::__anon164::__anon166
203 int32_t action,
221 int32_t action,
/frameworks/base/libs/ui/tests/
H A DInputPublisherAndConsumer_test.cpp89 const int32_t action = AKEY_EVENT_ACTION_DOWN; local
98 status = mPublisher->publishKeyEvent(deviceId, source, action, flags,
124 EXPECT_EQ(action, keyEvent->getAction());
155 const int32_t action = AMOTION_EVENT_ACTION_MOVE; local
194 status = mPublisher->publishMotionEvent(deviceId, source, action, flags, edgeFlags,
240 EXPECT_EQ(action, motionEvent->getAction());
/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, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument
[all...]
H A DInputListener.h59 int32_t action; member in struct:android::NotifyKeyArgs
69 int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode,
86 int32_t action; member in struct:android::NotifyMotionArgs
101 int32_t action, int32_t flags, int32_t metaState, int32_t buttonState,

Completed in 7735 milliseconds

1234