/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
AndroidMultiTouchHandler.java | 32 final int action = event.getAction() & MotionEvent.ACTION_MASK;
local 42 switch (action) {
106 private void logAction (int action, int pointer) {
108 if (action == MotionEvent.ACTION_DOWN)
110 else if (action == MotionEvent.ACTION_POINTER_DOWN)
112 else if (action == MotionEvent.ACTION_UP)
114 else if (action == MotionEvent.ACTION_POINTER_UP)
116 else if (action == MotionEvent.ACTION_OUTSIDE)
118 else if (action == MotionEvent.ACTION_CANCEL)
120 else if (action == MotionEvent.ACTION_MOVE) [all...] |
/frameworks/base/core/java/android/text/method/ |
LinkMovementMethod.java | 51 event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) { 62 if (action(UP, widget, buffer)) { 71 if (action(DOWN, widget, buffer)) { 80 if (action(UP, widget, buffer)) { 89 if (action(DOWN, widget, buffer)) { 96 private boolean action(int what, TextView widget, Spannable buffer) { method in class:LinkMovementMethod 196 int action = event.getAction(); local 198 if (action == MotionEvent.ACTION_UP || 199 action == MotionEvent.ACTION_DOWN) { 216 if (action == MotionEvent.ACTION_UP) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyButtonView.java | 156 public boolean performAccessibilityActionInternal(int action, Bundle arguments) { 157 if (action == ACTION_CLICK && mCode != 0) { 163 } else if (action == ACTION_LONG_CLICK && mCode != 0) { 169 return super.performAccessibilityActionInternal(action, arguments); 173 final int action = ev.getAction(); local 175 if (action == MotionEvent.ACTION_DOWN) { 182 switch (action) { 239 public void sendEvent(int action, int flags) { 240 sendEvent(action, flags, SystemClock.uptimeMillis()); 243 void sendEvent(int action, int flags, long when) [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ContactEditorBaseActivity.java | 54 * Intent action to edit a contact with all available field inputs displayed. 58 public static final String ACTION_EDIT = "com.android.contacts.action.FULL_EDIT"; 61 * Intent action to insert a new contact with all available field inputs displayed. 65 public static final String ACTION_INSERT = "com.android.contacts.action.FULL_INSERT"; 152 void load(String action, Uri lookupUri, Bundle intentExtras); 201 final String action = intent.getAction(); local 209 // The only situation where action could be ACTION_JOIN_COMPLETED is if the 212 if (ACTION_JOIN_COMPLETED.equals(action)) { 217 if (ACTION_SAVE_COMPLETED.equals(action)) { 224 if (Intent.ACTION_EDIT.equals(action) || ACTION_EDIT.equals(action)) 253 String action = intent.getAction(); local [all...] |
/cts/tests/app/app/src/android/app/stubs/ |
LaunchpadActivity.java | 180 final String action = getIntent().getAction(); local 181 if (LIFECYCLE_BASIC.equals(action)) { 185 } else if (LIFECYCLE_SCREEN.equals(action)) { 194 } else if (LIFECYCLE_DIALOG.equals(action)) { 277 final String action = getIntent().getAction(); local 281 if (LAUNCH.equals(action)) { 287 } else if (FORWARD_RESULT.equals(action)) { 292 } else if (BAD_PARCELABLE.equals(action)) { 298 } else if (BROADCAST_REGISTERED.equals(action)) { 305 } else if (BROADCAST_LOCAL.equals(action)) { 438 String action = getIntent().getAction(); local [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
LaunchpadActivity.java | 180 final String action = getIntent().getAction(); local 181 if (LIFECYCLE_BASIC.equals(action)) { 185 } else if (LIFECYCLE_SCREEN.equals(action)) { 194 } else if (LIFECYCLE_DIALOG.equals(action)) { 277 final String action = getIntent().getAction(); local 281 if (LAUNCH.equals(action)) { 287 } else if (FORWARD_RESULT.equals(action)) { 292 } else if (BAD_PARCELABLE.equals(action)) { 298 } else if (BROADCAST_REGISTERED.equals(action)) { 305 } else if (BROADCAST_LOCAL.equals(action)) { 438 String action = getIntent().getAction(); local [all...] |
/external/ImageMagick/config/ |
ar-lib | 105 Usage: $me [--help] [--version] PROGRAM ACTION ARCHIVE [MEMBER...] 118 func_error "you must specify a program, an action and an archive" 126 func_error "you must specify a program, an action and an archive" 139 action=$1 150 # strip leading dash in $action 151 action=${action#-} 161 while test -n "$action" 163 case $action in 175 func_error "unknown action specified [all...] |
/external/iproute2/tc/ |
m_bpf.c | 2 * m_bpf.c BPF based action module 53 fprintf(stderr, "action (default \'%s\').\n", bpf_default_section(bpf_type)); 58 fprintf(stderr, "Where optionally INDEX points to an existing action, or\n"); 59 fprintf(stderr, "explicitly specifies an action index upon creation.\n"); 108 parm.action = TC_ACT_PIPE; 112 parm.action = TC_ACT_RECLASSIFY; 115 parm.action = TC_ACT_PIPE; 119 parm.action = TC_ACT_SHOT; 122 parm.action = TC_ACT_UNSPEC; 126 parm.action = TC_ACT_OK [all...] |
/external/libchrome/sandbox/linux/services/ |
thread_helpers.cc | 115 int proc_fd, base::Thread* thread, ThreadAction action) { 118 DCHECK(action == ThreadAction::Start || action == ThreadAction::Stop); 123 if (action == ThreadAction::Start) { 133 if (action == ThreadAction::Stop) { 142 if (action == ThreadAction::Start) { 151 DCHECK_EQ(action == ThreadAction::Start,
|
/external/llvm/utils/lit/lit/ |
main.py | 145 action="store_true", default=False) 148 type=int, action="store", default=None) 151 action="store", default=None) 155 type=str, action="append", default=[]) 162 action="store_true", default=False) 165 action="store_true", default=False) 168 action="store_true", default=False) 171 action="store_true", default=False) 174 action="store", type=str, metavar="PATH") 177 action="store_false", default=True [all...] |
/external/pcre/dist/ |
ar-lib | 105 Usage: $me [--help] [--version] PROGRAM ACTION ARCHIVE [MEMBER...] 118 func_error "you must specify a program, an action and an archive" 126 func_error "you must specify a program, an action and an archive" 139 action=$1 150 # strip leading dash in $action 151 action=${action#-} 161 while test -n "$action" 163 case $action in 175 func_error "unknown action specified [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
UpdateConversationOptionsAction.java | 17 package com.android.messaging.datamodel.action; 31 * Action used to update conversation options such as notification settings. 33 public class UpdateConversationOptionsAction extends Action 42 final UpdateConversationOptionsAction action = new UpdateConversationOptionsAction( local 44 action.start(); 54 final UpdateConversationOptionsAction action = new UpdateConversationOptionsAction( local 56 action.start(); 66 final UpdateConversationOptionsAction action = new UpdateConversationOptionsAction( local 68 action.start();
|
/packages/apps/Stk/src/com/android/stk/ |
StkCmdReceiver.java | 37 String action = intent.getAction(); local 39 if (action.equals(AppInterface.CAT_CMD_ACTION)) { 41 } else if (action.equals(AppInterface.CAT_SESSION_END_ACTION)) { 43 } else if (action.equals(AppInterface.CAT_ICC_STATUS_CHANGE)) { 45 } else if (action.equals(Intent.ACTION_LOCALE_CHANGED)) { 47 } else if (action.equals(AppInterface.CAT_ALPHA_NOTIFY_ACTION)) { 49 } else if (action.equals(Intent.ACTION_SCREEN_OFF)) {
|
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/ |
ImsFrameworkApp.java | 70 String action = intent.getAction(); local 71 Log.d(TAG, "mReceiver received action " + action); 72 if (action.equals(Intent.ACTION_AIRPLANE_MODE_CHANGED)) { 75 } else if (action.equals(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED)) { 85 } else if (action.equals(TelephonyIntents.ACTION_SIM_STATE_CHANGED)) { 95 } else if (action.equals(TelephonyIntents.ACTION_RADIO_TECHNOLOGY_CHANGED)) { 98 } else if (action.equals(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED)) {
|
/external/selinux/policycoreutils/sepolicy/ |
sepolicy.py | 47 class CheckPath(argparse.Action): 55 class CheckType(argparse.Action): 72 class CheckBoolean(argparse.Action): 95 class CheckDomain(argparse.Action): 118 class CheckClass(argparse.Action): 130 class CheckAdmin(argparse.Action): 144 class CheckPort(argparse.Action): 157 class CheckPortType(argparse.Action): 171 class LoadPolicy(argparse.Action): 179 class CheckPolicyType(argparse.Action) 675 action=LoadPolicy, variable [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ExploreByTouchHelper.java | 165 * You should call this method after performing a user action that normally 504 private boolean performAction(int virtualViewId, int action, Bundle arguments) { 507 return performActionForHost(action, arguments); 509 return performActionForChild(virtualViewId, action, arguments); 513 private boolean performActionForHost(int action, Bundle arguments) { 514 return mView.performAccessibilityAction(action, arguments); 517 private boolean performActionForChild(int virtualViewId, int action, Bundle arguments) { 518 switch (action) { 521 return manageFocusForChild(virtualViewId, action); 523 return onPerformActionForVirtualView(virtualViewId, action, arguments) [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
ExploreByTouchHelper.java | 160 * You should call this method after performing a user action that normally 437 private boolean performAction(int virtualViewId, int action, Bundle arguments) { 440 return performActionForHost(action, arguments); 442 return performActionForChild(virtualViewId, action, arguments); 446 private boolean performActionForHost(int action, Bundle arguments) { 447 return mView.performAccessibilityAction(action, arguments); 450 private boolean performActionForChild(int virtualViewId, int action, Bundle arguments) { 451 switch (action) { 454 return manageFocusForChild(virtualViewId, action, arguments); 456 return onPerformActionForVirtualView(virtualViewId, action, arguments) [all...] |
/external/zlib/src/contrib/untgz/ |
untgz.c | 386 int tar (gzFile in,int action,int arg,int argc,char **argv) 399 if (action == TGZ_LIST) 413 action = TGZ_INVALID; /* force error exit */ 435 action = TGZ_INVALID; 460 if (action == TGZ_LIST) 462 if (action == TGZ_EXTRACT) 473 action = TGZ_INVALID; 476 if (action == TGZ_LIST) 478 else if (action == TGZ_EXTRACT) 508 action = TGZ_INVALID 608 int action = TGZ_EXTRACT; local [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
GuidedAction.java | 30 * A data class which represents an action within a {@link 34 * A GuidedAction typically represents a single action a user may take, but may also represent a 45 public class GuidedAction extends Action { 63 * When finishing editing, goes to next action. 67 * When finishing editing, stay on current action. 72 * Id of standard OK action. 77 * Id of standard Cancel action. 82 * Id of standard Finish action. 87 * Id of standard Finish action. 92 * Id of standard Yes action 571 GuidedAction action = new GuidedAction(); local [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiCecLocalDevice.java | 147 * A callback interface to get notified when all pending action is cleared. 318 // Use copied action list in that processCommand may remove itself. 319 for (HdmiCecFeatureAction action : new ArrayList<>(mActions)) { 321 boolean result = action.processCommand(message); 497 static void injectKeyEvent(long time, int action, int keycode, int repeat) { 498 KeyEvent keyEvent = KeyEvent.obtain(time, time, action, keycode, 650 void addAndStartAction(final HdmiCecFeatureAction action) { 652 mActions.add(action); 654 Slog.i(TAG, "Not ready to start action. Queued for deferred start:" + action); 726 HdmiCecFeatureAction action = iter.next(); local 881 HdmiCecFeatureAction action = iter.next(); local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
MockListener.java | 93 String action = intent.getAction(); 94 if (SERVICE_CHECK.equals(action)) { 97 } else if (SERVICE_POSTED.equals(action)) { 103 } else if (SERVICE_DND.equals(action)) { 109 } else if (SERVICE_ORDER.equals(action)) { 115 } else if (SERVICE_PAYLOADS.equals(action)) { 125 } else if (SERVICE_REMOVED.equals(action)) { 131 } else if (SERVICE_CLEAR_ONE.equals(action)) { 140 } else if (SERVICE_CLEAR_ALL.equals(action)) { 143 } else if (SERVICE_RESET.equals(action)) { [all...] |
MockConditionProvider.java | 70 String action = intent.getAction(); 71 if (SERVICE_CHECK.equals(action)) { 77 } else if (SERVICE_SUBSCRIBE.equals(action)) { 83 } else if (SERVICE_RESET.equals(action)) { 87 Log.w(TAG, "unknown action"); 124 private static void sendCommand(Context context, String action, String tag, int code) { 125 Intent broadcast = new Intent(action); 167 private static void requestConnected(Context context, String action, 169 Intent broadcast = new Intent(action); 182 private static void requestParcelableListResult(Context context, String action, [all...] |
/frameworks/support/compat/jellybean/android/support/v4/app/ |
NotificationCompatJellybean.java | 46 // Bundle keys for storing action fields in a bundle 130 public void addAction(NotificationCompatBase.Action action) { 131 mActionExtrasList.add(writeActionAndGetExtras(b, action)); 153 // Add the action extras sparse array if any action was added with extras. 205 /** Return an SparseArray for action extras or null if none was needed. */ 256 public static NotificationCompatBase.Action readAction( 257 NotificationCompatBase.Action.Factory factory, 273 Notification.Builder builder, NotificationCompatBase.Action action) [all...] |
/art/sigchainlib/ |
sigchain.cc | 45 // Claim the signal and keep the action specified. 46 void Claim(const struct sigaction& action) { 47 action_ = action; 51 // Unclaim the signal and restore the old action. 54 sigaction(signal, &action_, nullptr); // Restore old action. 57 // Get the action associated with this signal. 67 // Change the recorded action to that specified. 68 // If oldstyle is true then this action is from an older style signal() 71 void SetAction(const struct sigaction& action, bool oldstyle) { 72 action_ = action; 164 const struct sigaction& action = user_sigactions[sig].GetAction(); local [all...] |
/external/chromium-trace/catapult/systrace/systrace/ |
systrace-legacy.py | 52 action='store_true', help='trace disk I/O (requires root)') 54 action='store_true', help='trace CPU frequency changes') 56 action='store_true', help='trace CPU idle events') 58 action='store_true', help='trace CPU load') 60 default=True, action='store_false', help='inhibit tracing ' 64 default=False, action='store_true', 67 action='store_true', help='trace the kernel workqueues ' + 69 parser.add_option('--set-tags', dest='set_tags', action='store', 74 action='store_true', help='link to original CSS or JS ' 76 parser.add_option('--from-file', dest='from_file', action='store' [all...] |