Lines Matching refs:name

71  * <a name="IntentStructure"></a>
128 * <li> <p><b>component</b> -- Specifies an explicit name of a component
179 * <a name="IntentResolution"></a>
242 * name with one specific to your own package.</p>
254 * &lt;action android:name="android.intent.action.MAIN" /&gt;
255 * &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
258 * &lt;action android:name="android.intent.action.VIEW" /&gt;
259 * &lt;action android:name="android.intent.action.EDIT" /&gt;
260 * &lt;action android:name="android.intent.action.PICK" /&gt;
261 * &lt;category android:name="android.intent.category.DEFAULT" /&gt;
265 * &lt;action android:name="android.intent.action.GET_CONTENT" /&gt;
266 * &lt;category android:name="android.intent.category.DEFAULT" /&gt;
273 * &lt;action android:name="android.intent.action.VIEW" /&gt;
274 * &lt;action android:name="android.intent.action.EDIT" /&gt;
275 * &lt;category android:name="android.intent.category.DEFAULT" /&gt;
280 * &lt;action android:name="android.intent.action.INSERT" /&gt;
281 * &lt;category android:name="android.intent.category.DEFAULT" /&gt;
290 * &lt;action android:name="<i>com.android.notepad.action.EDIT_TITLE</i>" /&gt;
291 * &lt;category android:name="android.intent.category.DEFAULT" /&gt;
292 * &lt;category android:name="android.intent.category.ALTERNATIVE" /&gt;
293 * &lt;category android:name="android.intent.category.SELECTED_ALTERNATIVE" /&gt;
308 * &lt;action android:name="{@link #ACTION_MAIN android.intent.action.MAIN}" /&gt;
309 * &lt;category android:name="{@link #CATEGORY_LAUNCHER android.intent.category.LAUNCHER}" /&gt;
317 * &lt;action android:name="{@link #ACTION_VIEW android.intent.action.VIEW}" /&gt;
318 * &lt;action android:name="{@link #ACTION_EDIT android.intent.action.EDIT}" /&gt;
319 * &lt;action android:name="{@link #ACTION_PICK android.intent.action.PICK}" /&gt;
320 * &lt;category android:name="{@link #CATEGORY_DEFAULT android.intent.category.DEFAULT}" /&gt;
321 * &lt;data mimeType:name="vnd.android.cursor.dir/<i>vnd.google.note</i>" /&gt;
333 * activity when its component name is not explicitly specified.</p>
336 * &lt;action android:name="{@link #ACTION_GET_CONTENT android.intent.action.GET_CONTENT}" /&gt;
337 * &lt;category android:name="{@link #CATEGORY_DEFAULT android.intent.category.DEFAULT}" /&gt;
385 * &lt;action android:name="{@link #ACTION_VIEW android.intent.action.VIEW}" /&gt;
386 * &lt;action android:name="{@link #ACTION_EDIT android.intent.action.EDIT}" /&gt;
387 * &lt;category android:name="{@link #CATEGORY_DEFAULT android.intent.category.DEFAULT}" /&gt;
398 * &lt;action android:name="{@link #ACTION_INSERT android.intent.action.INSERT}" /&gt;
399 * &lt;category android:name="{@link #CATEGORY_DEFAULT android.intent.category.DEFAULT}" /&gt;
436 * &lt;action android:name="<i>com.android.notepad.action.EDIT_TITLE</i>" /&gt;
437 * &lt;category android:name="{@link #CATEGORY_DEFAULT android.intent.category.DEFAULT}" /&gt;
438 * &lt;category android:name="{@link #CATEGORY_ALTERNATIVE android.intent.category.ALTERNATIVE}" /&gt;
439 * &lt;category android:name="{@link #CATEGORY_SELECTED_ALTERNATIVE android.intent.category.SELECTED_ALTERNATIVE}" /&gt;
459 * template here was also supply an explicit name for the template
687 * The name of the extra used to define the Intent of a shortcut.
693 * The name of the extra used to define the name of a shortcut.
699 * The name of the extra used to define the icon, as a Bitmap, of a shortcut.
705 * The name of the extra used to define the icon, as a ShortcutIconResource, of a shortcut.
723 * The package name of the application containing the icon.
728 * The resource name of the icon, including package, name and type.
738 * @return A new ShortcutIconResource with the specified's context package name
1109 * <p>Output: Class name of the activity that was selected.
1258 * you can also use "package:<package-name>" to install an application for the
1275 * package. Specifies the installer package name; this package will receive the
1348 * the package name of the current installed package to be uninstalled.
1509 * device. The data contains the name of the package. Note that the
1526 * The data contains the name of the package.
1550 * the device. The data contains the name of the package. The package
1568 * removed from the device. The data contains the name of the package.
1586 * a component has been enabled or disabled). The data contains the name of
1590 * <li> {@link #EXTRA_CHANGED_COMPONENT_NAME_LIST} containing the class name
1604 * restart the given package. The data contains the name of the
1622 * The data contains the name of the package.
1637 * receive this broadcast. The data contains the name of the package.
1660 * is moved out of the stopped state). The data contains the name of the package.
1975 * The Intent contains an extra with name "read-only" and Boolean value to indicate if the
2130 * <li><em>name</em> - Headset type, human readable string </li>
2145 * <li><em>name</em> - Headset type, human readable string </li>
2160 * <li><em>name</em> - Headset type, human readable string </li>
2175 * <li><em>name</em> - HDMI cable, human readable string </li>
2509 * a specific name such as "com.android.camera.action.CROP. Only one
2965 * will contain only the first name in the list.
3460 * <p><em>Note: scheme and host name matching in the Android framework is
3478 * intended to execute a hard-coded class name, rather than relying on the
3500 * <p><em>Note: scheme and host name matching in the Android framework is
3566 * @param selectorAction The action name of the Intent's selector.
3567 * @param selectorCategory The name of a category to add to the Intent's
3667 // loop over contents of Intent, all name=value;
3943 * Retrieve data this intent is operating on. This URI specifies the name
4116 * Returns true if an extra value is associated with the given name.
4117 * @param name the extra's name
4120 public boolean hasExtra(String name) {
4121 return mExtras != null && mExtras.containsKey(name);
4142 * @param name The name of the desired item.
4151 public Object getExtra(String name) {
4152 return getExtra(name, null);
4158 * @param name The name of the desired item.
4160 * type is stored with the given name.
4167 public boolean getBooleanExtra(String name, boolean defaultValue) {
4169 mExtras.getBoolean(name, defaultValue);
4175 * @param name The name of the desired item.
4177 * type is stored with the given name.
4184 public byte getByteExtra(String name, byte defaultValue) {
4186 mExtras.getByte(name, defaultValue);
4192 * @param name The name of the desired item.
4194 * type is stored with the given name.
4201 public short getShortExtra(String name, short defaultValue) {
4203 mExtras.getShort(name, defaultValue);
4209 * @param name The name of the desired item.
4211 * type is stored with the given name.
4218 public char getCharExtra(String name, char defaultValue) {
4220 mExtras.getChar(name, defaultValue);
4226 * @param name The name of the desired item.
4228 * type is stored with the given name.
4235 public int getIntExtra(String name, int defaultValue) {
4237 mExtras.getInt(name, defaultValue);
4243 * @param name The name of the desired item.
4245 * type is stored with the given name.
4252 public long getLongExtra(String name, long defaultValue) {
4254 mExtras.getLong(name, defaultValue);
4260 * @param name The name of the desired item.
4262 * type is stored with the given name.
4269 public float getFloatExtra(String name, float defaultValue) {
4271 mExtras.getFloat(name, defaultValue);
4277 * @param name The name of the desired item.
4279 * type is stored with the given name.
4286 public double getDoubleExtra(String name, double defaultValue) {
4288 mExtras.getDouble(name, defaultValue);
4294 * @param name The name of the desired item.
4301 public String getStringExtra(String name) {
4302 return mExtras == null ? null : mExtras.getString(name);
4308 * @param name The name of the desired item.
4315 public CharSequence getCharSequenceExtra(String name) {
4316 return mExtras == null ? null : mExtras.getCharSequence(name);
4322 * @param name The name of the desired item.
4329 public <T extends Parcelable> T getParcelableExtra(String name) {
4330 return mExtras == null ? null : mExtras.<T>getParcelable(name);
4336 * @param name The name of the desired item.
4343 public Parcelable[] getParcelableArrayExtra(String name) {
4344 return mExtras == null ? null : mExtras.getParcelableArray(name);
4350 * @param name The name of the desired item.
4357 public <T extends Parcelable> ArrayList<T> getParcelableArrayListExtra(String name) {
4358 return mExtras == null ? null : mExtras.<T>getParcelableArrayList(name);
4364 * @param name The name of the desired item.
4371 public Serializable getSerializableExtra(String name) {
4372 return mExtras == null ? null : mExtras.getSerializable(name);
4378 * @param name The name of the desired item.
4385 public ArrayList<Integer> getIntegerArrayListExtra(String name) {
4386 return mExtras == null ? null : mExtras.getIntegerArrayList(name);
4392 * @param name The name of the desired item.
4399 public ArrayList<String> getStringArrayListExtra(String name) {
4400 return mExtras == null ? null : mExtras.getStringArrayList(name);
4406 * @param name The name of the desired item.
4413 public ArrayList<CharSequence> getCharSequenceArrayListExtra(String name) {
4414 return mExtras == null ? null : mExtras.getCharSequenceArrayList(name);
4420 * @param name The name of the desired item.
4427 public boolean[] getBooleanArrayExtra(String name) {
4428 return mExtras == null ? null : mExtras.getBooleanArray(name);
4434 * @param name The name of the desired item.
4441 public byte[] getByteArrayExtra(String name) {
4442 return mExtras == null ? null : mExtras.getByteArray(name);
4448 * @param name The name of the desired item.
4455 public short[] getShortArrayExtra(String name) {
4456 return mExtras == null ? null : mExtras.getShortArray(name);
4462 * @param name The name of the desired item.
4469 public char[] getCharArrayExtra(String name) {
4470 return mExtras == null ? null : mExtras.getCharArray(name);
4476 * @param name The name of the desired item.
4483 public int[] getIntArrayExtra(String name) {
4484 return mExtras == null ? null : mExtras.getIntArray(name);
4490 * @param name The name of the desired item.
4497 public long[] getLongArrayExtra(String name) {
4498 return mExtras == null ? null : mExtras.getLongArray(name);
4504 * @param name The name of the desired item.
4511 public float[] getFloatArrayExtra(String name) {
4512 return mExtras == null ? null : mExtras.getFloatArray(name);
4518 * @param name The name of the desired item.
4525 public double[] getDoubleArrayExtra(String name) {
4526 return mExtras == null ? null : mExtras.getDoubleArray(name);
4532 * @param name The name of the desired item.
4539 public String[] getStringArrayExtra(String name) {
4540 return mExtras == null ? null : mExtras.getStringArray(name);
4546 * @param name The name of the desired item.
4553 public CharSequence[] getCharSequenceArrayExtra(String name) {
4554 return mExtras == null ? null : mExtras.getCharSequenceArray(name);
4560 * @param name The name of the desired item.
4567 public Bundle getBundleExtra(String name) {
4568 return mExtras == null ? null : mExtras.getBundle(name);
4574 * @param name The name of the desired item.
4585 public IBinder getIBinderExtra(String name) {
4586 return mExtras == null ? null : mExtras.getIBinder(name);
4592 * @param name The name of the desired item.
4594 * associated with the key 'name'
4605 public Object getExtra(String name, Object defaultValue) {
4608 Object result2 = mExtras.get(name);
4649 * Retrieve the application package name this Intent is limited to. When
4653 * @return The name of the application package for the Intent.
4668 * @return The name of the application component to handle the intent.
4743 info.activityInfo.name);
4754 * instead of just its class name.
4787 * @param action An action name, such as ACTION_VIEW. Application-specific
4788 * actions should be prefixed with the vendor's package name.
5051 "Can't set selector when package name is already set");
5088 * Add extended data to the intent. The name must include a package
5092 * @param name The name of the extra data, with package prefix.
5102 public Intent putExtra(String name, boolean value) {
5106 mExtras.putBoolean(name, value);
5111 * Add extended data to the intent. The name must include a package
5115 * @param name The name of the extra data, with package prefix.
5125 public Intent putExtra(String name, byte value) {
5129 mExtras.putByte(name, value);
5134 * Add extended data to the intent. The name must include a package
5138 * @param name The name of the extra data, with package prefix.
5148 public Intent putExtra(String name, char value) {
5152 mExtras.putChar(name, value);
5157 * Add extended data to the intent. The name must include a package
5161 * @param name The name of the extra data, with package prefix.
5171 public Intent putExtra(String name, short value) {
5175 mExtras.putShort(name, value);
5180 * Add extended data to the intent. The name must include a package
5184 * @param name The name of the extra data, with package prefix.
5194 public Intent putExtra(String name, int value) {
5198 mExtras.putInt(name, value);
5203 * Add extended data to the intent. The name must include a package
5207 * @param name The name of the extra data, with package prefix.
5217 public Intent putExtra(String name, long value) {
5221 mExtras.putLong(name, value);
5226 * Add extended data to the intent. The name must include a package
5230 * @param name The name of the extra data, with package prefix.
5240 public Intent putExtra(String name, float value) {
5244 mExtras.putFloat(name, value);
5249 * Add extended data to the intent. The name must include a package
5253 * @param name The name of the extra data, with package prefix.
5263 public Intent putExtra(String name, double value) {
5267 mExtras.putDouble(name, value);
5272 * Add extended data to the intent. The name must include a package
5276 * @param name The name of the extra data, with package prefix.
5286 public Intent putExtra(String name, String value) {
5290 mExtras.putString(name, value);
5295 * Add extended data to the intent. The name must include a package
5299 * @param name The name of the extra data, with package prefix.
5309 public Intent putExtra(String name, CharSequence value) {
5313 mExtras.putCharSequence(name, value);
5318 * Add extended data to the intent. The name must include a package
5322 * @param name The name of the extra data, with package prefix.
5332 public Intent putExtra(String name, Parcelable value) {
5336 mExtras.putParcelable(name, value);
5341 * Add extended data to the intent. The name must include a package
5345 * @param name The name of the extra data, with package prefix.
5355 public Intent putExtra(String name, Parcelable[] value) {
5359 mExtras.putParcelableArray(name, value);
5364 * Add extended data to the intent. The name must include a package
5368 * @param name The name of the extra data, with package prefix.
5378 public Intent putParcelableArrayListExtra(String name, ArrayList<? extends Parcelable> value) {
5382 mExtras.putParcelableArrayList(name, value);
5387 * Add extended data to the intent. The name must include a package
5391 * @param name The name of the extra data, with package prefix.
5401 public Intent putIntegerArrayListExtra(String name, ArrayList<Integer> value) {
5405 mExtras.putIntegerArrayList(name, value);
5410 * Add extended data to the intent. The name must include a package
5414 * @param name The name of the extra data, with package prefix.
5424 public Intent putStringArrayListExtra(String name, ArrayList<String> value) {
5428 mExtras.putStringArrayList(name, value);
5433 * Add extended data to the intent. The name must include a package
5437 * @param name The name of the extra data, with package prefix.
5447 public Intent putCharSequenceArrayListExtra(String name, ArrayList<CharSequence> value) {
5451 mExtras.putCharSequenceArrayList(name, value);
5456 * Add extended data to the intent. The name must include a package
5460 * @param name The name of the extra data, with package prefix.
5470 public Intent putExtra(String name, Serializable value) {
5474 mExtras.putSerializable(name, value);
5479 * Add extended data to the intent. The name must include a package
5483 * @param name The name of the extra data, with package prefix.
5493 public Intent putExtra(String name, boolean[] value) {
5497 mExtras.putBooleanArray(name, value);
5502 * Add extended data to the intent. The name must include a package
5506 * @param name The name of the extra data, with package prefix.
5516 public Intent putExtra(String name, byte[] value) {
5520 mExtras.putByteArray(name, value);
5525 * Add extended data to the intent. The name must include a package
5529 * @param name The name of the extra data, with package prefix.
5539 public Intent putExtra(String name, short[] value) {
5543 mExtras.putShortArray(name, value);
5548 * Add extended data to the intent. The name must include a package
5552 * @param name The name of the extra data, with package prefix.
5562 public Intent putExtra(String name, char[] value) {
5566 mExtras.putCharArray(name, value);
5571 * Add extended data to the intent. The name must include a package
5575 * @param name The name of the extra data, with package prefix.
5585 public Intent putExtra(String name, int[] value) {
5589 mExtras.putIntArray(name, value);
5594 * Add extended data to the intent. The name must include a package
5598 * @param name The name of the extra data, with package prefix.
5608 public Intent putExtra(String name, long[] value) {
5612 mExtras.putLongArray(name, value);
5617 * Add extended data to the intent. The name must include a package
5621 * @param name The name of the extra data, with package prefix.
5631 public Intent putExtra(String name, float[] value) {
5635 mExtras.putFloatArray(name, value);
5640 * Add extended data to the intent. The name must include a package
5644 * @param name The name of the extra data, with package prefix.
5654 public Intent putExtra(String name, double[] value) {
5658 mExtras.putDoubleArray(name, value);
5663 * Add extended data to the intent. The name must include a package
5667 * @param name The name of the extra data, with package prefix.
5677 public Intent putExtra(String name, String[] value) {
5681 mExtras.putStringArray(name, value);
5686 * Add extended data to the intent. The name must include a package
5690 * @param name The name of the extra data, with package prefix.
5700 public Intent putExtra(String name, CharSequence[] value) {
5704 mExtras.putCharSequenceArray(name, value);
5709 * Add extended data to the intent. The name must include a package
5713 * @param name The name of the extra data, with package prefix.
5723 public Intent putExtra(String name, Bundle value) {
5727 mExtras.putBundle(name, value);
5732 * Add extended data to the intent. The name must include a package
5736 * @param name The name of the extra data, with package prefix.
5750 public Intent putExtra(String name, IBinder value) {
5754 mExtras.putIBinder(name, value);
5823 public void removeExtra(String name) {
5825 mExtras.remove(name);
5898 * (Usually optional) Set an explicit application package name that limits
5904 * @param packageName The name of the application package to handle the
5916 "Can't set package name when selector is already set");
5933 * @param component The name of the application component to handle the
5952 * explicit class name.
5956 * @param className The name of a class inside of the application package
5972 * explicit application package name and class name.
5974 * @param packageName The name of the package implementing the desired
5976 * @param className The name of a class inside of the application package
5992 * name returned by a {@link Class} object.
5996 * @param cls The class name to set, equivalent to
6087 * <li> each top-level name in the associated extras.
6148 // for the same reason as the component name.
6716 * basic action, data, type, and package and class name will be
6718 * looking for <category android:name="xxx"> tags to add categories and
6719 * <extra android:name="xxx" android:value="yyy"> to attach extra data