Searched refs:action (Results 51 - 75 of 304) sorted by relevance

1234567891011>>

/frameworks/base/services/input/
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
102 int32_t action, int32_t flags, int32_t metaState, int32_t buttonState,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneStateIntentReceiver.java163 String action = intent.getAction();
166 if (TelephonyIntents.ACTION_SIGNAL_STRENGTH_CHANGED.equals(action)) {
173 } else if (TelephonyManager.ACTION_PHONE_STATE_CHANGED.equals(action)) {
185 } else if (TelephonyIntents.ACTION_SERVICE_STATE_CHANGED.equals(action)) {
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp96 int uniqueId, const String8* path, const int action) {
98 return mDrmManager->getConstraints(uniqueId, path, action);
140 int uniqueId, const String8& path, int action) {
142 return mDrmManager->checkRightsStatus(uniqueId, path, action);
146 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
151 return mDrmManager->consumeRights(uniqueId, decryptHandle, action, reserve);
165 int action, const ActionDescription& description) {
167 return mDrmManager->validateAction(uniqueId, path, action, description);
95 getConstraints( int uniqueId, const String8* path, const int action) argument
139 checkRightsStatus( int uniqueId, const String8& path, int action) argument
145 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
163 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
/frameworks/av/drm/libdrmframework/include/
H A DIDrmManagerService.h99 int uniqueId, const String8* path, const int action) = 0;
117 virtual int checkRightsStatus(int uniqueId, const String8& path, int action) = 0;
120 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0;
127 int action, const ActionDescription& description) = 0;
190 virtual DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
207 virtual int checkRightsStatus(int uniqueId, const String8& path, int action);
210 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
216 int uniqueId, const String8& path, int action, const ActionDescription& description);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnectionWrapper.java125 public boolean performPrivateCommand(String action, Bundle data) { argument
126 return mTarget.performPrivateCommand(action, data);
/frameworks/support/v4/java/android/support/v4/view/
H A DAccessibilityDelegateCompat.java51 public boolean performAccessibilityAction(Object delegate, View host, int action, argument
113 public boolean performAccessibilityAction(Object delegate, View host, int action, argument
266 public boolean performAccessibilityAction(View host, int action, Bundle args) {
267 return compat.performAccessibilityAction(host, action, args);
284 public boolean performAccessibilityAction(Object delegate, View host, int action, argument
287 host, action, args);
484 * Performs the specified accessibility action on the view. For
493 * @param action The action to perform.
494 * @return Whether the action wa
499 performAccessibilityAction(View host, int action, Bundle args) argument
[all...]
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatJellyBean.java44 public static boolean performAction(Object info, int action, Bundle arguments) { argument
45 return ((AccessibilityNodeInfo) info).performAction(action, arguments);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java211 final int action = ev.getAction();
214 switch (action) {
273 void sendEvent(int action, int flags) { argument
274 sendEvent(action, flags, SystemClock.uptimeMillis());
277 void sendEvent(int action, int flags, long when) { argument
279 final KeyEvent ev = new KeyEvent(mDownTime, when, action, mCode, repeatCount,
H A DClock.java117 String action = intent.getAction();
118 if (action.equals(Intent.ACTION_TIMEZONE_CHANGED)) {
124 } else if (action.equals(Intent.ACTION_CONFIGURATION_CHANGED)) {
H A DDeadZone.java112 final int action = event.getAction();
113 if (action == MotionEvent.ACTION_OUTSIDE) {
115 } else if (action == MotionEvent.ACTION_DOWN) {
H A DLocationController.java72 final String action = intent.getAction();
78 if (action.equals(LocationManager.GPS_FIX_CHANGE_ACTION) && enabled) {
83 } else if (action.equals(LocationManager.GPS_ENABLED_CHANGE_ACTION) && !enabled) {
/frameworks/compile/mclinker/unittests/
H A DInputTreeTest.cpp72 std::vector<InputAction*>::iterator action; local
73 for (action = actions.begin(); action != actions.end(); ++action) {
74 (*action)->activate(*m_pBuilder);
75 delete *action;
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java50 public void addAction(Object info, int action); argument
51 public boolean performAction(Object info, int action); argument
52 public boolean performAction(Object info, int action, Bundle arguments); argument
122 public void addAction(Object info, int action) { argument
257 public boolean performAction(Object info, int action) { argument
262 public boolean performAction(Object info, int action, Bundle arguments) { argument
429 public void addAction(Object info, int action) { argument
430 AccessibilityNodeInfoCompatIcs.addAction(info, action);
549 public boolean performAction(Object info, int action) { argument
550 return AccessibilityNodeInfoCompatIcs.performAction(info, action);
696 performAction(Object info, int action, Bundle arguments) argument
1267 addAction(int action) argument
1283 performAction(int action) argument
1300 performAction(int action, Bundle arguments) argument
1952 getActionSymbolicName(int action) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java409 final int action = event.getAction();
416 logCoords(type, action, i, mTempCoords, id, event);
422 logCoords(type, action, i, mTempCoords, id, event);
426 private void logCoords(String type, int action, int index, argument
431 switch (action & MotionEvent.ACTION_MASK) {
448 if (index == ((action & MotionEvent.ACTION_POINTER_INDEX_MASK)
456 if (index == ((action & MotionEvent.ACTION_POINTER_INDEX_MASK)
476 prefix = Integer.toString(action);
511 final int action = event.getAction();
514 if (action
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
H A DWifiClientTest.java62 String action = intent.getAction();
63 if (action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) {
80 } else if (action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) {
83 } else if (action.equals(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION)) {
86 } else if (action.equals(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION)) {
/frameworks/base/include/androidfw/
H A DInputTransport.h61 int32_t action; member in struct:android::InputMessage::Body::Key
79 int32_t action; member in struct:android::InputMessage::Body::Motion
96 uint32_t index = (action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK)
205 int32_t action,
226 int32_t action,
/frameworks/base/services/java/com/android/server/
H A DNetworkTimeUpdateService.java61 "com.android.server.NetworkTimeUpdateService.action.POLL";
236 String action = intent.getAction();
237 if (TelephonyIntents.ACTION_NETWORK_SET_TIME.equals(action)) {
239 } else if (TelephonyIntents.ACTION_NETWORK_SET_TIMEZONE.equals(action)) {
250 String action = intent.getAction();
251 if (ConnectivityManager.CONNECTIVITY_ACTION.equals(action)) {
H A DRecognitionManagerService.java157 String action = intent.getAction();
158 if (DEBUG) Slog.i(TAG, "received " + action);
159 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) {
/frameworks/base/core/java/android/widget/
H A DAdapterViewFlipper.java80 final String action = intent.getAction();
81 if (Intent.ACTION_SCREEN_OFF.equals(action)) {
84 } else if (Intent.ACTION_USER_PRESENT.equals(action)) {
H A DViewFlipper.java74 final String action = intent.getAction();
75 if (Intent.ACTION_SCREEN_OFF.equals(action)) {
78 } else if (Intent.ACTION_USER_PRESENT.equals(action)) {
/frameworks/base/libs/androidfw/tests/
H A DInputChannel_test.cpp78 serverMsg.body.key.action = AKEY_EVENT_ACTION_DOWN;
87 EXPECT_EQ(serverMsg.body.key.action, clientMsg.body.key.action)
H A DInputPublisherAndConsumer_test.cpp75 const int32_t action = AKEY_EVENT_ACTION_DOWN; local
84 status = mPublisher->publishKeyEvent(seq, deviceId, source, action, flags,
104 EXPECT_EQ(action, keyEvent->getAction());
134 const int32_t action = AMOTION_EVENT_ACTION_MOVE; local
165 status = mPublisher->publishMotionEvent(seq, deviceId, source, action, flags, edgeFlags,
187 EXPECT_EQ(action, motionEvent->getAction());
/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/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
181 * Bit mask of the parts of the action code that are the action itself.
214 * an up event, but not perform any action that you normally would.
231 * unmasked action returned by {@link #getAction}.
242 * unmasked action returned by {@link #getAction}.
253 * This action i
1318 nativeInitialize(int 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
1334 nativeSetAction(int nativePtr, int action) argument
1339 nativeSetEdgeFlags(int nativePtr, int action) argument
1430 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
1474 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
1520 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
1580 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
1602 obtain(long downTime, long eventTime, int action, float x, float y, int metaState) argument
2676 setAction(int action) argument
3014 actionToString(int action) argument
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DDayPickerView.java453 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
454 if (action != AccessibilityNodeInfo.ACTION_SCROLL_FORWARD &&
455 action != AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD) {
456 return super.performAccessibilityAction(action, arguments);
466 if (action == AccessibilityNodeInfo.ACTION_SCROLL_FORWARD) {
472 } else if (action == AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD) {

Completed in 5223 milliseconds

1234567891011>>