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

1234567891011>>

/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 DDeadZone.java112 final int action = event.getAction();
113 if (action == MotionEvent.ACTION_OUTSIDE) {
115 } else if (action == MotionEvent.ACTION_DOWN) {
H A DLocationController.java77 final String action = intent.getAction();
83 if (action.equals(LocationManager.GPS_FIX_CHANGE_ACTION) && enabled) {
88 } else if (action.equals(LocationManager.GPS_ENABLED_CHANGE_ACTION) && !enabled) {
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DKeyguardUpdateMonitor.java144 final String action = intent.getAction();
145 if (DEBUG) Log.d(TAG, "received broadcast " + action);
147 if (Intent.ACTION_TIME_TICK.equals(action)
148 || Intent.ACTION_TIME_CHANGED.equals(action)
149 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)) {
151 } else if (TelephonyIntents.SPN_STRINGS_UPDATED_ACTION.equals(action)) {
155 } else if (Intent.ACTION_BATTERY_CHANGED.equals(action)) {
163 } else if (TelephonyIntents.ACTION_SIM_STATE_CHANGED.equals(action)) {
165 Log.v(TAG, "action " + action
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java396 final int action = event.getAction();
403 logCoords(type, action, i, mTempCoords, id,
410 logCoords(type, action, i, mTempCoords, id,
415 private void logCoords(String type, int action, int index, argument
418 switch (action & MotionEvent.ACTION_MASK) {
435 if (index == ((action & MotionEvent.ACTION_POINTER_INDEX_MASK)
443 if (index == ((action & MotionEvent.ACTION_POINTER_INDEX_MASK)
463 prefix = Integer.toString(action);
492 final int action = event.getAction();
495 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)
202 int32_t action,
223 int32_t action,
/frameworks/base/services/java/com/android/server/
H A DNetworkTimeUpdateService.java70 "com.android.server.NetworkTimeUpdateService.action.POLL";
227 String action = intent.getAction();
228 if (TelephonyIntents.ACTION_NETWORK_SET_TIME.equals(action)) {
230 } else if (TelephonyIntents.ACTION_NETWORK_SET_TIMEZONE.equals(action)) {
241 String action = intent.getAction();
242 if (ConnectivityManager.CONNECTIVITY_ACTION.equals(action)) {
H A DRecognitionManagerService.java159 String action = intent.getAction();
160 if (DEBUG) Slog.i(TAG, "received " + action);
161 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
2678 setAction(int action) argument
3016 actionToString(int action) argument
[all...]
H A DIWindow.aidl68 void dispatchWallpaperCommand(String action, int x, int y,
/frameworks/base/core/java/android/webkit/
H A DAccessibilityInjectorFallback.java60 * The arguments for the action invocation are specified as offset
217 Log.w(LOG_TAG, "Unknown action code: " + actionCode);
249 * @param contentDescription A description of the performed action.
264 * @param contentDescription A description of the performed action.
272 boolean performAccessibilityAction(int action, Bundle arguments) { argument
273 switch (action) {
276 final int direction = getDirectionForAction(action);
283 final int direction = getDirectionForAction(action);
295 * {@link AccessibilityNodeInfo}-defined action.
297 * @param action A
300 getDirectionForAction(int action) argument
[all...]
H A DAccessibilityInjector.java210 * If an action identifier is added in this method, this
234 * the specified action.
236 * @param action An accessibility action identifier.
238 * the specified action.
240 public boolean supportsAccessibilityAction(int action) { argument
241 switch (action) {
254 * Performs the specified accessibility action.
256 * @param action The identifier of the action t
261 performAccessibilityAction(int action, Bundle arguments) argument
599 sendActionToAndroidVox(int action, Bundle arguments) argument
[all...]
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClientImpl.cpp99 int uniqueId, const String8* path, const int action) {
103 getDrmManagerService()->getConstraints(uniqueId, path, action);
169 int uniqueId, const String8& path, int action) {
173 getDrmManagerService()->checkRightsStatus(uniqueId, path, action);
180 int action, bool reserve) {
184 uniqueId, decryptHandle.get(), action, reserve);
202 int action, const ActionDescription& description) {
206 uniqueId, path, action, description);
98 getConstraints( int uniqueId, const String8* path, const int action) argument
168 checkRightsStatus( int uniqueId, const String8& path, int action) argument
178 consumeRights( int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve) argument
200 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
/frameworks/base/core/java/android/content/
H A DIntentFilter.java50 * <em>action</em>, <em>data</em>, and <em>categories</em>. For each of these
84 * the <strong>action</strong> and <strong>category</strong> must match, and
89 * Intent action, <em>or</em> if no actions were specified in the filter.
126 * that unlike the action, an IntentFilter with no categories
141 private static final String ACTION_STR = "action";
315 * Create a new IntentFilter instance with a specified action and MIME
320 * @param action The action to match, i.e. Intent.ACTION_VIEW.
323 * @return A new IntentFilter for the given action and type.
327 public static IntentFilter create(String action, Strin argument
350 IntentFilter(String action) argument
372 IntentFilter(String action, String dataType) argument
441 addAction(String action) argument
469 hasAction(String action) argument
481 matchAction(String action) argument
1103 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DIInputContext.aidl70 void performPrivateCommand(String action, in Bundle data);
H A DIInputMethodSession.aidl52 void appPrivateCommand(String action, in Bundle data);
/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));

Completed in 206 milliseconds

1234567891011>>