Lines Matching defs:name

70  * <a name="IntentStructure"></a>
127 * <li> <p><b>component</b> -- Specifies an explicit name of a component
178 * <a name="IntentResolution"></a>
241 * name with one specific to your own package.</p>
253 * &lt;action android:name="android.intent.action.MAIN" /&gt;
254 * &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
257 * &lt;action android:name="android.intent.action.VIEW" /&gt;
258 * &lt;action android:name="android.intent.action.EDIT" /&gt;
259 * &lt;action android:name="android.intent.action.PICK" /&gt;
260 * &lt;category android:name="android.intent.category.DEFAULT" /&gt;
264 * &lt;action android:name="android.intent.action.GET_CONTENT" /&gt;
265 * &lt;category android:name="android.intent.category.DEFAULT" /&gt;
272 * &lt;action android:name="android.intent.action.VIEW" /&gt;
273 * &lt;action android:name="android.intent.action.EDIT" /&gt;
274 * &lt;category android:name="android.intent.category.DEFAULT" /&gt;
279 * &lt;action android:name="android.intent.action.INSERT" /&gt;
280 * &lt;category android:name="android.intent.category.DEFAULT" /&gt;
289 * &lt;action android:name="<i>com.android.notepad.action.EDIT_TITLE</i>" /&gt;
290 * &lt;category android:name="android.intent.category.DEFAULT" /&gt;
291 * &lt;category android:name="android.intent.category.ALTERNATIVE" /&gt;
292 * &lt;category android:name="android.intent.category.SELECTED_ALTERNATIVE" /&gt;
307 * &lt;action android:name="{@link #ACTION_MAIN android.intent.action.MAIN}" /&gt;
308 * &lt;category android:name="{@link #CATEGORY_LAUNCHER android.intent.category.LAUNCHER}" /&gt;
316 * &lt;action android:name="{@link #ACTION_VIEW android.intent.action.VIEW}" /&gt;
317 * &lt;action android:name="{@link #ACTION_EDIT android.intent.action.EDIT}" /&gt;
318 * &lt;action android:name="{@link #ACTION_PICK android.intent.action.PICK}" /&gt;
319 * &lt;category android:name="{@link #CATEGORY_DEFAULT android.intent.category.DEFAULT}" /&gt;
320 * &lt;data mimeType:name="vnd.android.cursor.dir/<i>vnd.google.note</i>" /&gt;
332 * activity when its component name is not explicitly specified.</p>
335 * &lt;action android:name="{@link #ACTION_GET_CONTENT android.intent.action.GET_CONTENT}" /&gt;
336 * &lt;category android:name="{@link #CATEGORY_DEFAULT android.intent.category.DEFAULT}" /&gt;
384 * &lt;action android:name="{@link #ACTION_VIEW android.intent.action.VIEW}" /&gt;
385 * &lt;action android:name="{@link #ACTION_EDIT android.intent.action.EDIT}" /&gt;
386 * &lt;category android:name="{@link #CATEGORY_DEFAULT android.intent.category.DEFAULT}" /&gt;
397 * &lt;action android:name="{@link #ACTION_INSERT android.intent.action.INSERT}" /&gt;
398 * &lt;category android:name="{@link #CATEGORY_DEFAULT android.intent.category.DEFAULT}" /&gt;
435 * &lt;action android:name="<i>com.android.notepad.action.EDIT_TITLE</i>" /&gt;
436 * &lt;category android:name="{@link #CATEGORY_DEFAULT android.intent.category.DEFAULT}" /&gt;
437 * &lt;category android:name="{@link #CATEGORY_ALTERNATIVE android.intent.category.ALTERNATIVE}" /&gt;
438 * &lt;category android:name="{@link #CATEGORY_SELECTED_ALTERNATIVE android.intent.category.SELECTED_ALTERNATIVE}" /&gt;
458 * template here was also supply an explicit name for the template
684 * The name of the extra used to define the Intent of a shortcut.
690 * The name of the extra used to define the name of a shortcut.
696 * The name of the extra used to define the icon, as a Bitmap, of a shortcut.
702 * The name of the extra used to define the icon, as a ShortcutIconResource, of a shortcut.
720 * The package name of the application containing the icon.
725 * The resource name of the icon, including package, name and type.
735 * @return A new ShortcutIconResource with the specified's context package name
1044 * <p>Output: Class name of the activity that was selected.
1200 * package. Specifies the installer package name; this package will receive the
1245 * the package name of the current installed package to be uninstalled.
1381 * device. The data contains the name of the package. Note that the
1398 * The data contains the name of the package.
1422 * the device. The data contains the name of the package. The package
1440 * removed from the device. The data contains the name of the package.
1458 * a component has been enabled or disabled). The data contains the name of
1462 * <li> {@link #EXTRA_CHANGED_COMPONENT_NAME_LIST} containing the class name
1476 * restart the given package. The data contains the name of the
1494 * The data contains the name of the package.
1509 * receive this broadcast. The data contains the name of the package.
1532 * is moved out of the stopped state). The data contains the name of the package.
1826 * The Intent contains an extra with name "read-only" and Boolean value to indicate if the
1981 * <li><em>name</em> - Headset type, human readable string </li>
1996 * <li><em>name</em> - Headset type, human readable string </li>
2011 * <li><em>name</em> - Headset type, human readable string </li>
2026 * <li><em>name</em> - HDMI cable, human readable string </li>
2184 * a specific name such as "com.android.camera.action.CROP. Only one
2623 * will contain only the first name in the list.
3091 * <p><em>Note: scheme and host name matching in the Android framework is
3109 * intended to execute a hard-coded class name, rather than relying on the
3131 * <p><em>Note: scheme and host name matching in the Android framework is
3197 * @param selectorAction The action name of the Intent's selector.
3198 * @param selectorCategory The name of a category to add to the Intent's
3298 // loop over contents of Intent, all name=value;
3574 * Retrieve data this intent is operating on. This URI specifies the name
3737 * Returns true if an extra value is associated with the given name.
3738 * @param name the extra's name
3741 public boolean hasExtra(String name) {
3742 return mExtras != null && mExtras.containsKey(name);
3763 * @param name The name of the desired item.
3772 public Object getExtra(String name) {
3773 return getExtra(name, null);
3779 * @param name The name of the desired item.
3781 * type is stored with the given name.
3788 public boolean getBooleanExtra(String name, boolean defaultValue) {
3790 mExtras.getBoolean(name, defaultValue);
3796 * @param name The name of the desired item.
3798 * type is stored with the given name.
3805 public byte getByteExtra(String name, byte defaultValue) {
3807 mExtras.getByte(name, defaultValue);
3813 * @param name The name of the desired item.
3815 * type is stored with the given name.
3822 public short getShortExtra(String name, short defaultValue) {
3824 mExtras.getShort(name, defaultValue);
3830 * @param name The name of the desired item.
3832 * type is stored with the given name.
3839 public char getCharExtra(String name, char defaultValue) {
3841 mExtras.getChar(name, defaultValue);
3847 * @param name The name of the desired item.
3849 * type is stored with the given name.
3856 public int getIntExtra(String name, int defaultValue) {
3858 mExtras.getInt(name, defaultValue);
3864 * @param name The name of the desired item.
3866 * type is stored with the given name.
3873 public long getLongExtra(String name, long defaultValue) {
3875 mExtras.getLong(name, defaultValue);
3881 * @param name The name of the desired item.
3883 * type is stored with the given name.
3890 public float getFloatExtra(String name, float defaultValue) {
3892 mExtras.getFloat(name, defaultValue);
3898 * @param name The name of the desired item.
3900 * type is stored with the given name.
3907 public double getDoubleExtra(String name, double defaultValue) {
3909 mExtras.getDouble(name, defaultValue);
3915 * @param name The name of the desired item.
3922 public String getStringExtra(String name) {
3923 return mExtras == null ? null : mExtras.getString(name);
3929 * @param name The name of the desired item.
3936 public CharSequence getCharSequenceExtra(String name) {
3937 return mExtras == null ? null : mExtras.getCharSequence(name);
3943 * @param name The name of the desired item.
3950 public <T extends Parcelable> T getParcelableExtra(String name) {
3951 return mExtras == null ? null : mExtras.<T>getParcelable(name);
3957 * @param name The name of the desired item.
3964 public Parcelable[] getParcelableArrayExtra(String name) {
3965 return mExtras == null ? null : mExtras.getParcelableArray(name);
3971 * @param name The name of the desired item.
3978 public <T extends Parcelable> ArrayList<T> getParcelableArrayListExtra(String name) {
3979 return mExtras == null ? null : mExtras.<T>getParcelableArrayList(name);
3985 * @param name The name of the desired item.
3992 public Serializable getSerializableExtra(String name) {
3993 return mExtras == null ? null : mExtras.getSerializable(name);
3999 * @param name The name of the desired item.
4006 public ArrayList<Integer> getIntegerArrayListExtra(String name) {
4007 return mExtras == null ? null : mExtras.getIntegerArrayList(name);
4013 * @param name The name of the desired item.
4020 public ArrayList<String> getStringArrayListExtra(String name) {
4021 return mExtras == null ? null : mExtras.getStringArrayList(name);
4027 * @param name The name of the desired item.
4034 public ArrayList<CharSequence> getCharSequenceArrayListExtra(String name) {
4035 return mExtras == null ? null : mExtras.getCharSequenceArrayList(name);
4041 * @param name The name of the desired item.
4048 public boolean[] getBooleanArrayExtra(String name) {
4049 return mExtras == null ? null : mExtras.getBooleanArray(name);
4055 * @param name The name of the desired item.
4062 public byte[] getByteArrayExtra(String name) {
4063 return mExtras == null ? null : mExtras.getByteArray(name);
4069 * @param name The name of the desired item.
4076 public short[] getShortArrayExtra(String name) {
4077 return mExtras == null ? null : mExtras.getShortArray(name);
4083 * @param name The name of the desired item.
4090 public char[] getCharArrayExtra(String name) {
4091 return mExtras == null ? null : mExtras.getCharArray(name);
4097 * @param name The name of the desired item.
4104 public int[] getIntArrayExtra(String name) {
4105 return mExtras == null ? null : mExtras.getIntArray(name);
4111 * @param name The name of the desired item.
4118 public long[] getLongArrayExtra(String name) {
4119 return mExtras == null ? null : mExtras.getLongArray(name);
4125 * @param name The name of the desired item.
4132 public float[] getFloatArrayExtra(String name) {
4133 return mExtras == null ? null : mExtras.getFloatArray(name);
4139 * @param name The name of the desired item.
4146 public double[] getDoubleArrayExtra(String name) {
4147 return mExtras == null ? null : mExtras.getDoubleArray(name);
4153 * @param name The name of the desired item.
4160 public String[] getStringArrayExtra(String name) {
4161 return mExtras == null ? null : mExtras.getStringArray(name);
4167 * @param name The name of the desired item.
4174 public CharSequence[] getCharSequenceArrayExtra(String name) {
4175 return mExtras == null ? null : mExtras.getCharSequenceArray(name);
4181 * @param name The name of the desired item.
4188 public Bundle getBundleExtra(String name) {
4189 return mExtras == null ? null : mExtras.getBundle(name);
4195 * @param name The name of the desired item.
4206 public IBinder getIBinderExtra(String name) {
4207 return mExtras == null ? null : mExtras.getIBinder(name);
4213 * @param name The name of the desired item.
4215 * associated with the key 'name'
4226 public Object getExtra(String name, Object defaultValue) {
4229 Object result2 = mExtras.get(name);
4270 * Retrieve the application package name this Intent is limited to. When
4274 * @return The name of the application package for the Intent.
4289 * @return The name of the application component to handle the intent.
4364 info.activityInfo.name);
4375 * instead of just its class name.
4408 * @param action An action name, such as ACTION_VIEW. Application-specific
4409 * actions should be prefixed with the vendor's package name.
4425 * <p><em>Note: scheme and host name matching in the Android framework is
4479 * <p><em>Note: MIME type, Uri scheme, and host name matching in the
4579 "Can't set selector when package name is already set");
4585 * Add extended data to the intent. The name must include a package
4589 * @param name The name of the extra data, with package prefix.
4599 public Intent putExtra(String name, boolean value) {
4603 mExtras.putBoolean(name, value);
4608 * Add extended data to the intent. The name must include a package
4612 * @param name The name of the extra data, with package prefix.
4622 public Intent putExtra(String name, byte value) {
4626 mExtras.putByte(name, value);
4631 * Add extended data to the intent. The name must include a package
4635 * @param name The name of the extra data, with package prefix.
4645 public Intent putExtra(String name, char value) {
4649 mExtras.putChar(name, value);
4654 * Add extended data to the intent. The name must include a package
4658 * @param name The name of the extra data, with package prefix.
4668 public Intent putExtra(String name, short value) {
4672 mExtras.putShort(name, value);
4677 * Add extended data to the intent. The name must include a package
4681 * @param name The name of the extra data, with package prefix.
4691 public Intent putExtra(String name, int value) {
4695 mExtras.putInt(name, value);
4700 * Add extended data to the intent. The name must include a package
4704 * @param name The name of the extra data, with package prefix.
4714 public Intent putExtra(String name, long value) {
4718 mExtras.putLong(name, value);
4723 * Add extended data to the intent. The name must include a package
4727 * @param name The name of the extra data, with package prefix.
4737 public Intent putExtra(String name, float value) {
4741 mExtras.putFloat(name, value);
4746 * Add extended data to the intent. The name must include a package
4750 * @param name The name of the extra data, with package prefix.
4760 public Intent putExtra(String name, double value) {
4764 mExtras.putDouble(name, value);
4769 * Add extended data to the intent. The name must include a package
4773 * @param name The name of the extra data, with package prefix.
4783 public Intent putExtra(String name, String value) {
4787 mExtras.putString(name, value);
4792 * Add extended data to the intent. The name must include a package
4796 * @param name The name of the extra data, with package prefix.
4806 public Intent putExtra(String name, CharSequence value) {
4810 mExtras.putCharSequence(name, value);
4815 * Add extended data to the intent. The name must include a package
4819 * @param name The name of the extra data, with package prefix.
4829 public Intent putExtra(String name, Parcelable value) {
4833 mExtras.putParcelable(name, value);
4838 * Add extended data to the intent. The name must include a package
4842 * @param name The name of the extra data, with package prefix.
4852 public Intent putExtra(String name, Parcelable[] value) {
4856 mExtras.putParcelableArray(name, value);
4861 * Add extended data to the intent. The name must include a package
4865 * @param name The name of the extra data, with package prefix.
4875 public Intent putParcelableArrayListExtra(String name, ArrayList<? extends Parcelable> value) {
4879 mExtras.putParcelableArrayList(name, value);
4884 * Add extended data to the intent. The name must include a package
4888 * @param name The name of the extra data, with package prefix.
4898 public Intent putIntegerArrayListExtra(String name, ArrayList<Integer> value) {
4902 mExtras.putIntegerArrayList(name, value);
4907 * Add extended data to the intent. The name must include a package
4911 * @param name The name of the extra data, with package prefix.
4921 public Intent putStringArrayListExtra(String name, ArrayList<String> value) {
4925 mExtras.putStringArrayList(name, value);
4930 * Add extended data to the intent. The name must include a package
4934 * @param name The name of the extra data, with package prefix.
4944 public Intent putCharSequenceArrayListExtra(String name, ArrayList<CharSequence> value) {
4948 mExtras.putCharSequenceArrayList(name, value);
4953 * Add extended data to the intent. The name must include a package
4957 * @param name The name of the extra data, with package prefix.
4967 public Intent putExtra(String name, Serializable value) {
4971 mExtras.putSerializable(name, value);
4976 * Add extended data to the intent. The name must include a package
4980 * @param name The name of the extra data, with package prefix.
4990 public Intent putExtra(String name, boolean[] value) {
4994 mExtras.putBooleanArray(name, value);
4999 * Add extended data to the intent. The name must include a package
5003 * @param name The name of the extra data, with package prefix.
5013 public Intent putExtra(String name, byte[] value) {
5017 mExtras.putByteArray(name, value);
5022 * Add extended data to the intent. The name must include a package
5026 * @param name The name of the extra data, with package prefix.
5036 public Intent putExtra(String name, short[] value) {
5040 mExtras.putShortArray(name, value);
5045 * Add extended data to the intent. The name must include a package
5049 * @param name The name of the extra data, with package prefix.
5059 public Intent putExtra(String name, char[] value) {
5063 mExtras.putCharArray(name, value);
5068 * Add extended data to the intent. The name must include a package
5072 * @param name The name of the extra data, with package prefix.
5082 public Intent putExtra(String name, int[] value) {
5086 mExtras.putIntArray(name, value);
5091 * Add extended data to the intent. The name must include a package
5095 * @param name The name of the extra data, with package prefix.
5105 public Intent putExtra(String name, long[] value) {
5109 mExtras.putLongArray(name, value);
5114 * Add extended data to the intent. The name must include a package
5118 * @param name The name of the extra data, with package prefix.
5128 public Intent putExtra(String name, float[] value) {
5132 mExtras.putFloatArray(name, value);
5137 * Add extended data to the intent. The name must include a package
5141 * @param name The name of the extra data, with package prefix.
5151 public Intent putExtra(String name, double[] value) {
5155 mExtras.putDoubleArray(name, value);
5160 * Add extended data to the intent. The name must include a package
5164 * @param name The name of the extra data, with package prefix.
5174 public Intent putExtra(String name, String[] value) {
5178 mExtras.putStringArray(name, value);
5183 * Add extended data to the intent. The name must include a package
5187 * @param name The name of the extra data, with package prefix.
5197 public Intent putExtra(String name, CharSequence[] value) {
5201 mExtras.putCharSequenceArray(name, value);
5206 * Add extended data to the intent. The name must include a package
5210 * @param name The name of the extra data, with package prefix.
5220 public Intent putExtra(String name, Bundle value) {
5224 mExtras.putBundle(name, value);
5229 * Add extended data to the intent. The name must include a package
5233 * @param name The name of the extra data, with package prefix.
5247 public Intent putExtra(String name, IBinder value) {
5251 mExtras.putIBinder(name, value);
5320 public void removeExtra(String name) {
5322 mExtras.remove(name);
5395 * (Usually optional) Set an explicit application package name that limits
5401 * @param packageName The name of the application package to handle the
5413 "Can't set package name when selector is already set");
5430 * @param component The name of the application component to handle the
5449 * explicit class name.
5453 * @param className The name of a class inside of the application package
5469 * explicit application package name and class name.
5471 * @param packageName The name of the package implementing the desired
5473 * @param className The name of a class inside of the application package
5489 * name returned by a {@link Class} object.
5493 * @param cls The class name to set, equivalent to
5576 * <li> each top-level name in the associated extras.
5636 // for the same reason as the component name.
6163 * basic action, data, type, and package and class name will be
6165 * looking for <category android:name="xxx"> tags to add categories and
6166 * <extra android:name="xxx" android:value="yyy"> to attach extra data