Searched defs:id (Results 251 - 275 of 399) sorted by last modified time

<<111213141516

/frameworks/base/core/java/android/app/
H A DInstrumentation.java66 public static final String REPORT_KEY_IDENTIFIER = "id";
731 * @param id The identifier associated with the menu item.
737 int id, int flag) {
761 MenuRunnable mr = new MenuRunnable(targetActivity, id, flag);
771 * @param id The identifier associated with the context menu item.
776 public boolean invokeContextMenuAction(Activity targetActivity, int id, int flag) { argument
823 ContextMenuRunnable cmr = new ContextMenuRunnable(targetActivity, id, flag);
1016 * @param id The embedded Id (if any)
1026 CharSequence title, Activity parent, String id,
1032 info, title, parent, id,
736 invokeMenuActionSync(Activity targetActivity, int id, int flag) argument
1024 newActivity(Class<?> clazz, Context context, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance) argument
[all...]
H A DLauncherActivity.java364 TextView alertTitle = (TextView) findViewById(com.android.internal.R.id.alertTitle);
371 Button cancelButton = (Button) findViewById(com.android.internal.R.id.button1);
402 protected void onListItemClick(ListView l, View v, int position, long id) { argument
H A DListActivity.java42 * id "@android:id/list" (or {@link android.R.id#list} if it's in code)
46 * id "android:id/empty". Note that when an empty view is present, the list view
62 * &lt;ListView android:id=&quot;@android:id/list&quot;
69 * &lt;TextView android:id=&quot;@android:id/empty&quot;
105 * &lt;TextView android:id
207 onListItemClick(ListView l, View v, int position, long id) argument
[all...]
H A DListFragment.java46 * id "@android:id/list" (or {@link android.R.id#list} if it's in code)
50 * id "android:empty". Note that when an empty view is present, the list view
66 * &lt;ListView android:id=&quot;@id/android:list&quot;
73 * &lt;TextView android:id=&quot;@id/android:empty&quot;
109 * &lt;TextView android:id=&quot;@+id/text
230 onListItemClick(ListView l, View v, int position, long id) argument
[all...]
H A DLoaderManager.java66 * @param id The ID whose loader is to be created.
70 public Loader<D> onCreateLoader(int id, Bundle args); argument
137 * @param id A unique identifier for this loader. Can be whatever you want.
145 public abstract <D> Loader<D> initLoader(int id, Bundle args, argument
152 * If a loader with the same id has previously been
157 * @param id A unique identifier for this loader. Can be whatever you want.
163 public abstract <D> Loader<D> restartLoader(int id, Bundle args, argument
172 public abstract void destroyLoader(int id); argument
175 * Return the Loader with the given id or null if no matching Loader
178 public abstract <D> Loader<D> getLoader(int id); argument
242 LoaderInfo(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callbacks) argument
543 createLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callback) argument
551 createAndInstallLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callback) argument
598 initLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<D> callback) argument
648 restartLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<D> callback) argument
715 destroyLoader(int id) argument
743 getLoader(int id) argument
[all...]
H A DLocalActivityManager.java49 id = _id;
53 final String id; // Unique name of this record. field in class:LocalActivityManager.LocalActivityRecord
76 /** id -> record of all known activities. */
122 instanceObj = lastNonConfigurationInstances.get(r.id);
131 if (localLOGV) Log.v(TAG, r.id + ": starting " + r.intent);
136 mParent, r.id, r.intent, r.activityInfo, r, r.instanceState, instance);
145 if (localLOGV) Log.v(TAG, r.id + ": resuming");
162 if (localLOGV) Log.v(TAG, r.id + ": restarting");
167 if (localLOGV) Log.v(TAG, r.id + ": restarting and resuming");
177 if (localLOGV) Log.v(TAG, r.id
260 startActivity(String id, Intent intent) argument
385 destroyActivity(String id, boolean finish) argument
432 getActivity(String id) argument
[all...]
H A DNotificationManager.java42 * Each of the notify methods takes an int id parameter and optionally a
44 * are used to form a pair (tag, id), or ({@code null}, id) if tag is
47 * of the notify methods with a (tag, id) pair that is currently active and
50 * be replaced with the new one. This is also the same tag and id you pass
98 * the same id has already been posted by your application and has not yet been canceled, it
101 * @param id An identifier for this notification unique within your
106 public void notify(int id, Notification notification) argument
108 notify(null, id, notification);
113 * the same tag and id ha
122 notify(String tag, int id, Notification notification) argument
144 notifyAsUser(String tag, int id, Notification notification, UserHandle user) argument
168 cancel(int id) argument
178 cancel(String tag, int id) argument
192 cancelAsUser(String tag, int id, UserHandle user) argument
[all...]
H A DService.java634 * @param id The identifier for this notification as per
641 public final void startForeground(int id, Notification notification) { argument
644 new ComponentName(this, mClassName), mToken, id,
/frameworks/base/core/java/android/content/
H A DContentResolver.java439 InputStream stream = r.r.openRawResource(r.id);
604 return r.r.openRawResourceFd(r.id);
769 * A resource identified by the {@link Resources} that contains it, and a resource id.
775 public int id; field in class:ContentResolver.OpenResourceIdResult
779 * Resolves an android.resource URI to a {@link Resources} and a resource id.
800 int id;
803 id = Integer.parseInt(path.get(0));
808 id = r.getIdentifier(path.get(1), path.get(0), authority);
812 if (id == 0) {
817 res.id
[all...]
H A DContentUris.java29 * <code>content://<em>authority</em>/<em>path</em>/<em>id</em></code>
59 * <em>id</em>
63 * preceding path part. Most providers recognize content URIs that contain an id part
65 * often expects the id part to be a particular value for that column.
93 * @param id to append
97 public static Uri.Builder appendId(Uri.Builder builder, long id) { argument
98 return builder.appendEncodedPath(String.valueOf(id));
105 * @param id to append
109 public static Uri withAppendedId(Uri contentUri, long id) { argument
110 return appendId(contentUri.buildUpon(), id)
[all...]
H A DLoader.java180 public void registerListener(int id, OnLoadCompleteListener<D> listener) { argument
185 mId = id;
498 sb.append(" id=");
H A DSyncActivityTooManyDeletes.java70 android.R.id.text1,
109 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
/frameworks/base/core/java/android/content/pm/
H A DPackageManager.java617 * if the parser encountered a bad shared user id name in the manifest.
1564 * another with the same user id; a permission is in a tree if it
1643 * with each other: they can share the same user-id, run instrumentation
1685 * user id. In most cases, this will be a single package name, the package
1686 * that has been assigned that user id. Where there are multiple packages
1687 * sharing the same user id through the "sharedUserId" mechanism, all
1688 * packages with that id will be returned.
1690 * @param uid The user id for which you would like to retrieve the
1694 * id, or null if there are no known packages with the given id
2505 verifyPendingInstall(int id, int verificationCode) argument
2539 extendVerificationTimeout(int id, int verificationCodeAtTimeout, long millisecondsToDelay) argument
[all...]
H A DUserInfo.java66 public int id; field in class:UserInfo
77 public UserInfo(int id, String name, int flags) { argument
78 this(id, name, null, flags);
81 public UserInfo(int id, String name, String iconPath, int flags) { argument
82 this.id = id;
106 id = orig.id;
115 return new UserHandle(id);
120 return "UserInfo{" + id
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java183 * @param id Resource id of the string array
185 /*package*/ final String[] getResourceStringArray(final int id) { argument
186 String[] retArray = getArrayStringResource(id);
210 * @param id Resource id of the string array
212 /*package*/ final CharSequence[] getResourceTextArray(final int id) { argument
213 int[] rawInfoArray = getArrayStringInfo(id);
270 /*package*/ final CharSequence getPooledString(int block, int id) { argument
272 // + ", id
497 xmlBlockGone(int id) argument
747 incRefsLocked(int id) argument
759 decRefsLocked(int id) argument
[all...]
H A DResources.java216 * @param id The desired resource identifier, as generated by the aapt
225 public CharSequence getText(int id) throws NotFoundException { argument
226 CharSequence res = mAssets.getResourceText(id);
231 + Integer.toHexString(id));
241 * @param id The desired resource identifier, as generated by the aapt
252 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { argument
254 CharSequence res = mAssets.getResourceBagText(id,
259 res = mAssets.getResourceBagText(id, ID_OTHER);
263 throw new NotFoundException("Plural resource ID #0x" + Integer.toHexString(id)
304 * @param id Th
313 getString(int id) argument
341 getString(int id, Object... formatArgs) argument
368 getQuantityString(int id, int quantity, Object... formatArgs) argument
392 getQuantityString(int id, int quantity) argument
410 getText(int id, CharSequence def) argument
426 getTextArray(int id) argument
446 getStringArray(int id) argument
466 getIntArray(int id) argument
488 obtainTypedArray(int id) argument
519 getDimension(int id) argument
551 getDimensionPixelOffset(int id) argument
585 getDimensionPixelSize(int id) argument
616 getFraction(int id, int base, int pbase) argument
656 getDrawable(int id) argument
683 getDrawableForDensity(int id, int density) argument
715 getMovie(int id) argument
741 getColor(int id) argument
772 getColorStateList(int id) argument
793 getBoolean(int id) argument
818 getInteger(int id) argument
852 getLayout(int id) argument
876 getAnimation(int id) argument
901 getXml(int id) argument
919 openRawResource(int id) argument
938 openRawResource(int id, TypedValue value) argument
973 openRawResourceFd(int id) argument
1008 getValue(int id, TypedValue outValue, boolean resolveRefs) argument
1031 getValueForDensity(int id, int density, TypedValue outValue, boolean resolveRefs) argument
1889 loadDrawable(TypedValue value, int id) argument
2031 loadColorStateList(TypedValue value, int id) argument
2135 loadXmlResourceParser(int id, String type) argument
2150 loadXmlResourceParser(String file, int id, int assetCookie, String type) argument
[all...]
H A DXmlBlock.java142 int id = nativeGetText(mParseState);
143 return id >= 0 ? mStrings.get(id).toString() : null;
170 int id = nativeGetNamespace(mParseState);
171 return id >= 0 ? mStrings.get(id).toString() : "";
174 int id = nativeGetName(mParseState);
175 return id >= 0 ? mStrings.get(id).toString() : null;
178 int id
457 getPooledString(int id) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGesture.java160 * Sets the id of the gesture.
162 * @param id
164 void setID(long id) { argument
165 mGestureID = id;
169 * @return the id of the gesture
H A DInstance.java41 // the id of the instance
42 final long id; field in class:Instance
44 private Instance(long id, float[] sample, String sampleName) { argument
45 this.id = id;
H A DLearner.java46 * Remove an instance based on its id
48 * @param id
50 void removeInstance(long id) { argument
55 if (id == instance.id) {
/frameworks/base/core/java/android/hardware/
H A DCamera.java198 * If {@link #getNumberOfCameras()} returns N, the valid id is 0 to N-1.
1399 * An unique id per face while the face is visible to the tracker. If
1401 * id. This is an optional field, may not be supported on all devices.
1402 * If not supported, id will always be set to -1. The optional fields
1406 public int id = -1; field in class:Camera.Face
/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java124 * Specifies the resource id of a XML resource that describes the keyboard
195 * Gets information about the input device with the specified id.
196 * @param id The device id.
199 public InputDevice getInputDevice(int id) { argument
203 int index = mInputDevices.indexOfKey(id);
211 inputDevice = mIm.getInputDevice(id);
239 int id = mInputDevices.keyAt(i);
241 inputDevice = mIm.getInputDevice(id);
729 * @param deviceId The id o
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDevice.java218 public static String getDeviceName(int id) { argument
219 return native_get_device_name(id);
223 private static native String native_get_device_name(int id); argument
H A DUsbInterface.java48 public UsbInterface(int id, int Class, int subClass, int protocol, argument
50 mId = id;
123 int id = in.readInt();
128 return new UsbInterface(id, Class, subClass, protocol, endpoints);
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java101 @Override public boolean onTextContextMenuItem(int id) { argument
102 if (mIME != null && mIME.onExtractTextContextMenuItem(id)) {
105 if (id == android.R.id.copy) stopSelectionActionMode();
108 return super.onTextContextMenuItem(id);

Completed in 185 milliseconds

<<111213141516