Searched defs:action (Results 101 - 125 of 136) sorted by relevance

123456

/frameworks/base/services/java/com/android/server/accessibility/
H A DScreenMagnifier.java473 final int action = event.getActionMasked();
474 switch (action) {
558 final int action = event.getActionMasked();
559 switch (action) {
849 String action = (String) message.obj;
850 handleOnScreenStateChange(action);
878 private void handleOnScreenStateChange(String action) { argument
879 if (action.equals(Intent.ACTION_SCREEN_OFF)
1206 final int action = message.what;
1207 switch (action) {
[all...]
H A DTouchExplorer.java448 // We got a tap now post a long press action.
924 final int action = computeInjectionAction(MotionEvent.ACTION_DOWN, i);
925 sendMotionEvent(prototype, action, pointerIdBits, policyFlags);
979 final int action = computeInjectionAction(MotionEvent.ACTION_UP, i);
980 sendMotionEvent(prototype, action, pointerIdBits, policyFlags);
1006 // If the action pointer going up/down is not active we have nothing to do.
1047 * @param action The action of the event.
1051 private void sendMotionEvent(MotionEvent prototype, int action, int pointerIdBits, argument
1053 prototype.setAction(action);
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp1148 String8 action; local
1149 if (tag == "action") {
1150 action = getAttribute(tree, NAME_ATTR, &error);
1156 if (action == "android.intent.action.MAIN") {
1161 if (action == "android.appwidget.action.APPWIDGET_UPDATE") {
1165 if (action == "android.view.InputMethod") {
1167 } else if (action == "android.service.wallpaper.WallpaperService") {
1171 if (action
[all...]
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java272 public boolean onEditorAction(TextView view, int action, KeyEvent keyEvent) { argument
273 if (action == EditorInfo.IME_ACTION_DONE) {
292 // clear the existing action
294 // set the DONE action
1350 int action = event.getAction();
1355 if (mCopyAddress == null && action == MotionEvent.ACTION_UP) {
1361 if (action == MotionEvent.ACTION_UP) {
1379 if (action == MotionEvent.ACTION_UP && !chipWasSelected) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDataConnectionTracker.java259 String action = intent.getAction();
260 if (DBG) log("onReceive: action=" + action);
261 if (action.equals(Intent.ACTION_SCREEN_ON)) {
266 } else if (action.equals(Intent.ACTION_SCREEN_OFF)) {
271 } else if (action.startsWith(getActionIntentReconnectAlarm())) {
274 } else if (action.equals(getActionIntentDataStallAlarm())) {
276 } else if (action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) {
280 } else if (action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) {
289 } else if (action
1234 putRecoveryAction(int action) argument
[all...]
H A DRIL.java1589 setCallForward(int action, int cfReason, int serviceClass, argument
1594 rr.mp.writeInt(action);
1602 + " " + action + " " + cfReason + " " + serviceClass
1614 rr.mp.writeInt(2); // 2 is for query action, not in used anyway
H A DCommandsInterface.java1123 * @param action is one of CF_ACTION_*
1127 void setCallForward(int action, int cfReason, int serviceClass, argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMAPhone.java916 * if action is CANCEL_ECM_TIMER, cancel Ecm timer and notify apps the timer is canceled;
919 void handleTimerInEmergencyCallbackMode(int action) { argument
920 switch(action) {
932 Log.e(LOG_TAG, "handleTimerInEmergencyCallbackMode, unsupported action " + action);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java921 protected boolean isCfEnable(int action) { argument
922 return (action == CF_ACTION_ENABLE) || (action == CF_ACTION_REGISTRATION);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java249 public void setCallForward(int action, int cfReason, int serviceClass, argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java1122 * @param action is one of CF_ACTION_*
1126 public void setCallForward(int action, int cfReason, int serviceClass, argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java406 public void setCallForward(int action, int cfReason, int serviceClass, String number, argument
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentManager.java189 * request to pop, but the action will not be performed until the application
206 * request to pop, but the action will not be performed until the application
228 * request to pop, but the action will not be performed until the application
1328 "Can not perform this action after onSaveInstanceState");
1332 "Can not perform this action inside of " + mNoTransactionsBecause);
1336 public void enqueueAction(Runnable action, boolean allowStateLoss) { argument
1347 mPendingActions.add(action);
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java1193 String action = data.readString();
1195 startRunning(pkg, cls, action, indata);
3299 public void startRunning(String pkg, String cls, String action, argument
3306 data.writeString(action);
H A DActivity.java1465 // Do this last; the action bar will need to access
2043 * it will set up the dispatch to call {@link #onKeyUp} where the action
2045 * action immediately in on-down, as those versions of the platform
2265 * <p>Note that this callback will be invoked for the touch down action
2526 Log.e(TAG, "Tried to open action bar menu with no action bar");
2699 * activity hierarchy from the action bar.
3291 // Make sure that action views can get an appropriate theme.
3452 * here; otherwise, its associated action will be executed (such as
4634 * Runs the specified action o
4640 runOnUiThread(Runnable action) argument
[all...]
H A DIActivityManager.java236 public void startRunning(String pkg, String cls, String action, argument
/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 DKeyEvent.java69 * with the special action {@link #ACTION_MULTIPLE} that either specifies
1173 * for old applications, but still do the appropriate action when
1183 * event and should not perform the action normally associated with the
1185 * action for a key until it receives an up or the long press timeout has
1205 * press action was executed while it was down.
1349 * @param action Action code: either {@link #ACTION_DOWN},
1353 public KeyEvent(int action, int code) { argument
1354 mAction = action;
1367 * @param action Action code: either {@link #ACTION_DOWN},
1373 public KeyEvent(long downTime, long eventTime, int action, argument
1397 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState) argument
1424 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode) argument
1454 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags) argument
1486 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source) argument
1588 obtain(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source, String characters) argument
1700 KeyEvent(KeyEvent origEvent, int action) argument
1722 changeAction(KeyEvent event, int action) argument
2777 actionToString(int action) argument
[all...]
H A DViewRootImpl.java1222 // Execute enqueued actions on every traversal in case a detached view enqueued an action
3063 * take the appropriate action.
3200 final int action = event.getAction();
3201 if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_SCROLL) {
3298 final int action = event.getAction();
3300 switch (action) {
3566 final int action = event.getAction();
3567 if (action != KeyEvent.ACTION_DOWN && action !
4941 dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras, boolean sync) argument
5220 post(Runnable action) argument
5224 postDelayed(Runnable action, long delayMillis) argument
5234 removeCallbacks(Runnable action) argument
5262 Runnable action; field in class:ViewRootImpl.RunQueue.HandlerAction
5361 performAccessibilityAction(long accessibilityNodeId, int action, Bundle arguments, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interogatingPid, long interrogatingTid) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebView.java1773 public boolean super_performAccessibilityAction(int action, Bundle arguments) { argument
1774 return WebView.super.performAccessibilityAction(action, arguments);
2030 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
2031 return mProvider.getViewDelegate().performAccessibilityAction(action, arguments);
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java799 final int action = event.getActionMasked();
800 switch (action) {
856 int action = event.getActionMasked();
857 switch (action) {
921 final int action = event.getActionMasked();
922 switch (action) {
945 final int action = event.getActionMasked();
946 switch (action) {
970 final int action = event.getActionMasked();
973 switch (action) {
2190 performAction(int virtualViewId, int action, Bundle arguments) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DPagedView.java1054 final int action = ev.getAction();
1055 if ((action == MotionEvent.ACTION_MOVE) &&
1060 switch (action & MotionEvent.ACTION_MASK) {
1305 final int action = ev.getAction();
1307 switch (action & MotionEvent.ACTION_MASK) {
2530 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
2531 if (super.performAccessibilityAction(action, arguments)) {
2534 switch (action) {
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java1721 final int action = ev.getAction() & MotionEventCompat.ACTION_MASK;
1724 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) {
1739 if (action != MotionEvent.ACTION_DOWN) {
1750 switch (action) {
1881 final int action = ev.getAction();
1884 switch (action & MotionEventCompat.ACTION_MASK) {
2665 public boolean performAccessibilityAction(View host, int action, Bundle args) { argument
2666 if (super.performAccessibilityAction(host, action, args)) {
2669 switch (action) {
[all...]
/frameworks/base/core/java/android/content/
H A DIntent.java62 * holding an abstract description of an action to be performed.</p>
76 * <li> <p><b>action</b> -- The general action to be performed, such as
86 * <p>Some examples of action/data pairs are:</p>
97 * VIEW action does what what is considered the most reasonable thing for
119 * <li> <p><b>category</b> -- Gives additional information about the action
130 * at the other information in the intent (the action, data/type, and
137 * For example, if we have a action to send an e-mail message, we could
166 * <p>There are a variety of standard Intent action and category constants
170 * "android.intent.action
3449 Intent(String action) argument
3469 Intent(String action, Uri uri) argument
3517 Intent(String action, Uri uri, Context packageContext, Class<?> cls) argument
4795 setAction(String action) argument
[all...]
/frameworks/base/services/input/
H A DInputDispatcher.cpp96 static inline int32_t getMotionEventActionPointerIndex(int32_t action) { argument
97 return (action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK)
101 static bool isValidKeyAction(int32_t action) { argument
102 switch (action) {
111 static bool validateKeyEvent(int32_t action) { argument
112 if (! isValidKeyAction(action)) {
113 ALOGE("Key event has invalid action code 0x%x", action);
119 static bool isValidMotionAction(int32_t action, size_t pointerCount) { argument
120 switch (action
141 validateMotionEvent(int32_t action, size_t pointerCount, const PointerProperties* pointerProperties) argument
1142 int32_t action = entry->action; local
2276 int32_t action = originalMotionEntry->action; local
2559 int32_t action = keyEvent->getAction(); local
2590 int32_t action = motionEvent->getAction(); local
3831 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
3863 MotionEntry(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, float xPrecision, float yPrecision, nsecs_t downTime, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
3943 trackKey(const KeyEntry* entry, int32_t action, int32_t flags) argument
3994 trackMotion(const MotionEntry* entry, int32_t action, int32_t flags) argument
[all...]

Completed in 485 milliseconds

123456