/frameworks/base/docs/html/guide/topics/manifest/ |
D | action-element.jd | 1 page.title=<action> 6 <dd><pre class="stx"><action android:<a href="#nm">name</a>="<i>string</i>" /></pre></dd> 13 <dd>Adds an action to an intent filter. 15 one or more {@code <action>} elements. If it doesn't contain any, no 18 Intent Filters</a> for details on intent filters and the role of action 25 <dd>The name of the action. Some standard actions are defined in the 28 this attribute, prepend "{@code android.intent.action.}" to the 30 For example, for {@code ACTION_MAIN}, use "{@code android.intent.action.MAIN}" 31 and for {@code ACTION_WEB_SEARCH}, use "{@code android.intent.action.WEB_SEARCH}". 35 ensure uniqueness. For example, a {@code TRANSMOGRIFY} action might be specified [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProvider.java | 55 String action = intent.getAction(); in onReceive() local 56 if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { in onReceive() 65 else if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) { in onReceive() 72 else if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { in onReceive() 75 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) { in onReceive()
|
/frameworks/base/core/java/android/text/method/ |
D | LinkMovementMethod.java | 43 if (action(CLICK, widget, buffer)) { in onKeyDown() 54 if (action(UP, widget, buffer)) { in up() 63 if (action(DOWN, widget, buffer)) { in down() 72 if (action(UP, widget, buffer)) { in left() 81 if (action(DOWN, widget, buffer)) { in right() 88 private boolean action(int what, TextView widget, Spannable buffer) { in action() method in LinkMovementMethod 195 int action = event.getAction(); in onTouchEvent() local 197 if (action == MotionEvent.ACTION_UP || in onTouchEvent() 198 action == MotionEvent.ACTION_DOWN) { in onTouchEvent() 215 if (action == MotionEvent.ACTION_UP) { in onTouchEvent() [all …]
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/activity/ |
D | LaunchpadActivity.java | 171 String action = getIntent().getAction(); in onCreate() local 174 if (LIFECYCLE_BASIC.equals(action)) { in onCreate() 177 } else if (LIFECYCLE_SCREEN.equals(action)) { in onCreate() 182 } else if (LIFECYCLE_DIALOG.equals(action)) { in onCreate() 186 } else if (LIFECYCLE_FINISH_CREATE.equals(action)) { in onCreate() 194 } else if (LIFECYCLE_FINISH_START.equals(action)) { in onCreate() 227 String action = getIntent().getAction(); in onResume() local 231 if (LAUNCH.equals(action)) { in onResume() 238 } else if (FORWARD_RESULT.equals(action)) { in onResume() 243 } else if (BAD_PARCELABLE.equals(action)) { in onResume() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ExternalMediaFormatActivity.java | 47 String action = intent.getAction(); 48 Log.d("ExternalMediaFormatActivity", "got action " + action); 50 if (action == Intent.ACTION_MEDIA_REMOVED || 51 action == Intent.ACTION_MEDIA_CHECKING || 52 action == Intent.ACTION_MEDIA_MOUNTED || 53 action == Intent.ACTION_MEDIA_SHARED) {
|
/frameworks/policies/base/mid/com/android/internal/policy/impl/ |
D | GlobalActions.java | 217 final Action action = mItems.get(i); in getCount() local 219 if (mKeyguardShowing && !action.showDuringKeyguard()) { in getCount() 222 if (!mDeviceProvisioned && !action.showBeforeProvisioning()) { in getCount() 234 final Action action = mItems.get(i); in getItem() local 235 if (mKeyguardShowing && !action.showDuringKeyguard()) { in getItem() 238 if (!mDeviceProvisioned && !action.showBeforeProvisioning()) { in getItem() 242 return action; in getItem() 259 Action action = getItem(position); in getView() local 260 … return action.create(mContext, (LinearLayout) convertView, LayoutInflater.from(mContext)); in getView() 392 String action = intent.getAction(); [all …]
|
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/ |
D | TestAppWidgetProvider.java | 34 String action = intent.getAction(); in onReceive() local 37 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { in onReceive() 40 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) { in onReceive() 43 else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { in onReceive()
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | TestAppWidgetProvider.java | 37 String action = intent.getAction(); in onReceive() local 40 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { in onReceive() 43 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) { in onReceive() 46 else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { in onReceive()
|
/frameworks/base/docs/html/guide/topics/intents/ |
D | intents-filters.jd | 87 (such as the action to be taken and the data to act on) plus information 122 <dd>A string naming the action to be performed — or, in the case of broadcast 123 intents, the action that took place and is being reported. The Intent class defines 124 a number of action constants, including these: 171 You can also define your own action strings for activating the components 178 The action largely determines how the rest of the intent is structured 182 For this reason, it's a good idea to use action names that are 184 the intent. In other words, instead of defining an action in isolation, 189 The action in an Intent object is set by the 199 the action field is {@code ACTION_EDIT}, [all …]
|
/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 401 public KeyEvent(int action, int code) { in KeyEvent() argument 402 mAction = action; in KeyEvent() 420 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() argument 424 mAction = action; in KeyEvent() 443 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() argument 447 mAction = action; in KeyEvent() 469 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() argument 474 mAction = action; in KeyEvent() 499 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() argument 504 mAction = action; in KeyEvent() [all …]
|
D | MotionEvent.java | 282 int action, int pointers, int[] inPointerIds, float[] inData, int metaState, in obtainNano() argument 289 ev.mAction = action; in obtainNano() 362 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain() argument 370 ev.mAction = action; in obtain() 421 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain() argument 429 ev.mAction = action; in obtain() 466 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain() argument 473 ev.mAction = action; in obtain() 1001 public final void setAction(int action) { in setAction() argument 1002 mAction = action; in setAction()
|
/frameworks/policies/base/phone/com/android/internal/policy/impl/ |
D | GlobalActions.java | 266 final Action action = mItems.get(i); in getCount() local 268 if (mKeyguardShowing && !action.showDuringKeyguard()) { in getCount() 271 if (!mDeviceProvisioned && !action.showBeforeProvisioning()) { in getCount() 293 final Action action = mItems.get(i); in getItem() local 294 if (mKeyguardShowing && !action.showDuringKeyguard()) { in getItem() 297 if (!mDeviceProvisioned && !action.showBeforeProvisioning()) { in getItem() 301 return action; in getItem() 318 Action action = getItem(position); in getView() local 319 return action.create(mContext, convertView, parent, LayoutInflater.from(mContext)); in getView() 502 String action = intent.getAction(); [all …]
|
D | KeyguardUpdateMonitor.java | 223 final String action = intent.getAction(); in KeyguardUpdateMonitor() 224 if (DEBUG) Log.d(TAG, "received broadcast " + action); in KeyguardUpdateMonitor() 226 if (Intent.ACTION_CONFIGURATION_CHANGED.equals(action)) { in KeyguardUpdateMonitor() 228 } else if (Intent.ACTION_TIME_TICK.equals(action) in KeyguardUpdateMonitor() 229 || Intent.ACTION_TIME_CHANGED.equals(action) in KeyguardUpdateMonitor() 230 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)) { in KeyguardUpdateMonitor() 232 } else if (SPN_STRINGS_UPDATED_ACTION.equals(action)) { in KeyguardUpdateMonitor() 236 } else if (Intent.ACTION_BATTERY_CHANGED.equals(action)) { in KeyguardUpdateMonitor() 245 } else if (TelephonyIntents.ACTION_SIM_STATE_CHANGED.equals(action)){ in KeyguardUpdateMonitor()
|
/frameworks/base/cmds/keystore/ |
D | keystore.c | 421 static struct action { struct 454 struct action *action = actions; in process() local 460 while (action->code && action->code != code) { in process() 461 ++action; in process() 463 if (!action->code) { in process() 466 if (!(action->perm & user->perms)) { in process() 469 if (action->state && action->state != state) { in process() 475 for (i = 0; i < MAX_PARAM && action->lengths[i]; ++i) { in process() 476 params[i].length = recv_message(params[i].value, action->lengths[i]); in process() 484 return action->run(); in process()
|
/frameworks/base/services/java/com/android/server/status/ |
D | StatusBarPolicy.java | 333 String action = intent.getAction(); 334 if (action.equals(Intent.ACTION_TIME_TICK)) { 337 else if (action.equals(Intent.ACTION_TIME_CHANGED)) { 340 else if (action.equals(Intent.ACTION_BATTERY_CHANGED)) { 343 else if (action.equals(Intent.ACTION_CONFIGURATION_CHANGED)) { 346 else if (action.equals(Intent.ACTION_TIMEZONE_CHANGED)) { 351 else if (action.equals(Intent.ACTION_ALARM_CHANGED)) { 354 else if (action.equals(Intent.ACTION_SYNC_STATE_CHANGED)) { 357 else if (action.equals(Intent.ACTION_BATTERY_LOW)) { 360 else if (action.equals(Intent.ACTION_BATTERY_OKAY) [all …]
|
D | DateView.java | 23 String action = intent.getAction(); 24 if (action.equals(Intent.ACTION_TIME_TICK) 25 || action.equals(Intent.ACTION_TIMEZONE_CHANGED)) {
|
/frameworks/base/core/java/android/server/search/ |
D | SearchManagerService.java | 120 String action = intent.getAction(); 122 if (Intent.ACTION_PACKAGE_ADDED.equals(action) || 123 Intent.ACTION_PACKAGE_REMOVED.equals(action) || 124 Intent.ACTION_PACKAGE_CHANGED.equals(action)) { 125 if (DBG) Log.d(TAG, "Got " + action);
|
/frameworks/base/core/java/android/speech/ |
D | RecognitionResult.java | 101 public static RecognitionResult newActionResult(int action, String query) { in newActionResult() argument 102 return new RecognitionResult(ACTION_RESULT, action, query); in newActionResult() 157 private RecognitionResult(int type, int action, String query) { in RecognitionResult() argument 159 mAction = action; in RecognitionResult()
|
/frameworks/base/services/java/com/android/server/ |
D | InputDevice.java | 557 int action; in generateAbsMotion() local 562 action = MotionEvent.ACTION_DOWN; in generateAbsMotion() 565 action = MotionEvent.ACTION_POINTER_DOWN in generateAbsMotion() 570 action = MotionEvent.ACTION_UP; in generateAbsMotion() 572 action = MotionEvent.ACTION_POINTER_UP in generateAbsMotion() 578 action = MotionEvent.ACTION_MOVE; in generateAbsMotion() 643 if (action == MotionEvent.ACTION_DOWN) { in generateAbsMotion() 669 curTimeNano, action, numPointers, mPointerIds, reportData, in generateAbsMotion() 671 if (action == MotionEvent.ACTION_MOVE) { in generateAbsMotion() 703 int action; in generateRelMotion() local [all …]
|
/frameworks/base/core/java/android/content/ |
D | IntentFilter.java | 320 public static IntentFilter create(String action, String dataType) { in create() argument 322 return new IntentFilter(action, dataType); in create() 343 public IntentFilter(String action) { in IntentFilter() argument 346 addAction(action); in IntentFilter() 365 public IntentFilter(String action, String dataType) in IntentFilter() argument 369 addAction(action); in IntentFilter() 434 public final void addAction(String action) { in addAction() argument 435 if (!mActions.contains(action)) { in addAction() 436 mActions.add(action.intern()); in addAction() 462 public final boolean hasAction(String action) { in hasAction() argument [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | PhoneStateIntentReceiver.java | 186 String action = intent.getAction(); in onReceive() local 189 if (TelephonyIntents.ACTION_SIGNAL_STRENGTH_CHANGED.equals(action)) { in onReceive() 196 } else if (TelephonyManager.ACTION_PHONE_STATE_CHANGED.equals(action)) { in onReceive() 208 } else if (TelephonyIntents.ACTION_SERVICE_STATE_CHANGED.equals(action)) { in onReceive()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnectionWrapper.java | 114 public boolean performPrivateCommand(String action, Bundle data) { in performPrivateCommand() argument 115 return mTarget.performPrivateCommand(action, data); in performPrivateCommand()
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmMmiCode.java | 107 String action; // One of ACTION_* field in GsmMmiCode 179 ret.action = makeEmptyNull(m.group(MATCH_GROUP_ACTION)); in newFromDialString() 506 return action != null && action.equals(ACTION_ACTIVATE); in isActivate() 510 return action != null && action.equals(ACTION_DEACTIVATE); in isDeactivate() 514 return action != null && action.equals(ACTION_INTERROGATE); in isInterrogate() 518 return action != null && action.equals(ACTION_REGISTER); in isRegister() 522 return action != null && action.equals(ACTION_ERASURE); in isErasure() 642 action = ACTION_REGISTER; in processCode()
|
/frameworks/base/cmds/service/ |
D | service.cpp | 152 char* action = NULL; in main() local 174 action = value; in main() 208 writeString16(data, action); in main()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | EditableInputConnection.java | 108 public boolean performPrivateCommand(String action, Bundle data) { in performPrivateCommand() argument 109 mTextView.onPrivateIMECommand(action, data); in performPrivateCommand()
|