Searched refs:action (Results 101 - 125 of 304) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java228 final int action = event.getAction();
230 if (action == MotionEvent.ACTION_UP) {
238 if (action == MotionEvent.ACTION_DOWN) {
250 } else if (action == MotionEvent.ACTION_MOVE) {
268 } else if (action == MotionEvent.ACTION_UP) {
/frameworks/opt/datetimepicker/src/com/googlecode/eyesfree/utils/
H A DTouchExplorationHelper.java158 public boolean performAction(int virtualViewId, int action, Bundle arguments) { argument
160 return ViewCompat.performAccessibilityAction(mParentView, action, arguments);
170 switch (action) {
187 handled |= performActionForItem(item, action, arguments);
381 * Performs an accessibility action on the specified item. See
392 * @param item The item on which to perform the action.
393 * @param action The accessibility action to perform.
394 * @param arguments Arguments for the action, or optionally {@code null}.
395 * @return {@code true} if the action wa
397 performActionForItem(T item, int action, Bundle arguments) argument
[all...]
/frameworks/base/libs/androidfw/
H A DInputTransport.cpp241 int32_t action,
251 "action=0x%x, flags=0x%x, keyCode=%d, scanCode=%d, metaState=0x%x, repeatCount=%d,"
254 deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount,
268 msg.body.key.action = action;
283 int32_t action,
299 "action=0x%x, flags=0x%x, edgeFlags=0x%x, metaState=0x%x, buttonState=0x%x, "
304 deviceId, source, action, flags, edgeFlags, metaState, buttonState,
324 msg.body.motion.action = action;
237 publishKeyEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime, nsecs_t eventTime) argument
279 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
[all...]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java151 String action = intent.getAction();
152 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
185 String action = intent.getAction();
187 if (action.equals(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)) {
190 } else if (action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) {
198 } else if (action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) {
202 } else if (action.equals(WifiManager.WIFI_AP_STATE_CHANGED_ACTION)) {
219 String action = intent.getAction();
222 if (action.equals(DownloadManager.ACTION_DOWNLOAD_COMPLETE)) {
/frameworks/base/core/java/android/webkit/
H A DAccessibilityInjectorFallback.java60 * The arguments for the action invocation are specified as offset
233 Log.w(LOG_TAG, "Unknown action code: " + actionCode);
264 * @param contentDescription A description of the performed action.
273 boolean performAccessibilityAction(int action, Bundle arguments) { argument
274 switch (action) {
277 final int direction = getDirectionForAction(action);
284 final int direction = getDirectionForAction(action);
296 * {@link AccessibilityNodeInfo}-defined action.
298 * @param action An accessibility action identifie
301 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
602 sendActionToAndroidVox(int action, Bundle arguments) argument
[all...]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DEventSenderImpl.java454 private void executeTouchEvent(int action) { argument
461 switch(action) {
473 Log.w(LOG_TAG + "::executeTouchEvent(),", "action not supported:" + action);
492 SystemClock.uptimeMillis(), action,
499 private void executeKeyEvent(int action, int keyCode) { argument
500 KeyEvent event = new KeyEvent(action, keyCode);
/frameworks/compile/mclinker/lib/CodeGen/
H A DMCLinker.cpp382 std::vector<InputAction*>::iterator action, actionEnd = actions.end(); local
383 for (action = actions.begin(); action != actionEnd; ++action) {
384 (*action)->activate(pBuilder.getInputBuilder());
385 delete *action;
/frameworks/base/core/java/com/android/internal/widget/
H A DEditableInputConnection.java166 public boolean performPrivateCommand(String action, Bundle data) { argument
167 mTextView.onPrivateIMECommand(action, data);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestActivity.java120 String action = intent.getAction();
121 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
159 String action = intent.getAction();
161 if (action.equals(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)) {
164 } else if (action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) {
172 } else if (action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) {
176 } else if (action.equals(WifiManager.WIFI_AP_STATE_CHANGED_ACTION)) {
178 } else if (action.equals(ConnectivityManager.ACTION_TETHER_STATE_CHANGED)) {
/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/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java350 final int action = ev.getAction();
351 if (DEBUG_SCALE) Slog.d(TAG, "intercept: act=" + MotionEvent.actionToString(action) +
370 if ((action == MotionEvent.ACTION_MOVE) && 0 != (mExpansionStyle & BLINDS)) {
375 if ((action == MotionEvent.ACTION_MOVE &&
391 switch (action & MotionEvent.ACTION_MASK) {
427 final int action = ev.getActionMasked();
428 if (DEBUG_SCALE) Slog.d(TAG, "touch: act=" + MotionEvent.actionToString(action) +
436 switch (action) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DShirtPocket.java159 final int action = ev.getAction();
160 if (action == MotionEvent.ACTION_DOWN) {
202 final int action = ev.getAction();
203 if (action == MotionEvent.ACTION_OUTSIDE
204 || (action == MotionEvent.ACTION_DOWN
208 } else if (action == MotionEvent.ACTION_DOWN) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbDebuggingActivity.java98 String action = intent.getAction();
99 if (!UsbManager.ACTION_USB_STATE.equals(action)) {
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DBroadcastInterceptingContext.java84 public Future<Intent> nextBroadcastIntent(String action) { argument
85 return nextBroadcastIntent(new IntentFilter(action));
/frameworks/base/tests/DumpRenderTree/assets/
H A Drun_page_cycler.py134 option_parser.add_option("-v", "--verbose", action="store_true",
144 option_parser.add_option("-d", "--drawtime", action="store_true",
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModelView.java114 final int action = ev.getAction();
116 switch (action & MotionEvent.ACTION_MASK) {
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppView.java96 final int action = ev.getAction();
98 switch (action & MotionEvent.ACTION_MASK) {
/frameworks/compile/mclinker/lib/LD/
H A DNamePool.cpp104 unsigned int action = Resolver::LastAction; local
111 m_pResolver->resolveAgain(*this, action, *old_symbol, *new_symbol, pResult);
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp60 int uniqueId, const String8* path, int action) {
178 int DrmPassthruPlugIn::onCheckRightsStatus(int uniqueId, const String8& path, int action) { argument
185 int action, bool reserve) {
197 int action, const ActionDescription& description) {
59 onGetConstraints( int uniqueId, const String8* path, int action) argument
184 onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
196 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java96 public void dispatchWallpaperCommand(String action, int x, int y, argument
/frameworks/base/services/java/com/android/server/
H A DServiceWatcher.java98 public ServiceWatcher(Context context, String logTag, String action, argument
104 mAction = action;
141 String action = intent.getAction();
142 if (Intent.ACTION_USER_SWITCHED.equals(action)) {
215 if (D) Log.d(mTag, "Unable to query intent services for action: " + mAction);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerService.java386 String action = intent.getAction();
388 if (action.equals(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)) {
396 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
409 } else if (action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) {
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingTest.java84 public void runOnUiThread(Runnable action) { argument
85 synchronized(action) {
86 mActivity.runOnUiThread(action);
88 action.wait();
90 Log.v(TAG, "waiting for action running on UI thread is interrupted: " +
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsActivity.java38 public static final String TOGGLE_RECENTS_INTENT = "com.android.systemui.recent.action.TOGGLE_RECENTS";
39 public static final String PRELOAD_INTENT = "com.android.systemui.recent.action.PRELOAD";
41 public static final String CLOSE_RECENTS_INTENT = "com.android.systemui.recent.action.CLOSE";
42 public static final String WINDOW_ANIMATION_START_INTENT = "com.android.systemui.recent.action.WINDOW_ANIMATION_START";
78 final int action = ev.getAction();
79 if (action == MotionEvent.ACTION_OUTSIDE
80 || (action == MotionEvent.ACTION_DOWN

Completed in 3991 milliseconds

1234567891011>>