Searched defs:id (Results 151 - 175 of 399) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/app/
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 DLoader.java180 public void registerListener(int id, OnLoadCompleteListener<D> listener) { argument
185 mId = id;
498 sb.append(" id=");
/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
/frameworks/base/core/java/android/nfc/
H A DTag.java125 public Tag(byte[] id, int[] techList, Bundle[] techListExtras, int serviceHandle, argument
130 mId = id;
146 * @param id The tag identifier, can be null
151 public static Tag createMockTag(byte[] id, int[] techList, Bundle[] techListExtras) { argument
153 return new Tag(id, techList, techListExtras, 0, null);
383 byte[] id = Tag.readBytesWithNull(in);
396 return new Tag(id, techList, techExtras, serviceHandle, tagService);
/frameworks/base/core/java/android/os/
H A DUserHandle.java28 /** @hide A user id to indicate all users on the device */
34 /** @hide A user id to indicate the currently active user */
40 /** @hide A user id to indicate that we would like to send to the current
50 /** @hide An undefined user id */
53 /** @hide A user id constant to indicate the "owner" user of the device */
68 * Checks to see if the user id is the same for the two uids, i.e., they belong to the same
77 * Checks to see if both uids are referring to the same app id, ignoring the user id part of the
109 * Returns the user id for a given uid.
138 * Returns the app id (o
149 getSharedAppGid(int id) argument
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DWaveHeader.java210 private static void readId(InputStream in, String id) throws IOException { argument
211 for (int i = 0; i < id.length(); i++) {
212 if (id.charAt(i) != in.read()) throw new IOException( id + " tag not present");
253 private static void writeId(OutputStream out, String id) throws IOException { argument
254 for (int i = 0; i < id.length(); i++) out.write(id.charAt(i));
/frameworks/base/core/java/android/view/
H A DMenu.java261 * with the given group and id. You can use the group to control ordering of
302 * @param id The item to be removed. If there is no item with this
305 public void removeItem(int id); argument
372 * @param id The identifier to find.
377 public MenuItem findItem(int id); argument
427 * @param id Identifier associated with the menu item.
435 public boolean performIdentifierAction(int id, int flags); argument
H A DVelocityTracker.java32 * and {@link #getYVelocity(int)} to retrieve the velocity for each pointer id.
63 private static native float nativeGetXVelocity(int ptr, int id); argument
64 private static native float nativeGetYVelocity(int ptr, int id); argument
65 private static native boolean nativeGetEstimator(int ptr, int id, Estimator outEstimator); argument
224 * @param id Which pointer's velocity to return.
227 public float getXVelocity(int id) { argument
228 return nativeGetXVelocity(mPtr, id);
235 * @param id Which pointer's velocity to return.
238 public float getYVelocity(int id) { argument
239 return nativeGetYVelocity(mPtr, id);
256 getEstimator(int id, Estimator outEstimator) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java268 * Perform a context menu action on the field. The given id may be one of:
269 * {@link android.R.id#selectAll},
270 * {@link android.R.id#startSelectingText}, {@link android.R.id#stopSelectingText},
271 * {@link android.R.id#cut}, {@link android.R.id#copy},
272 * {@link android.R.id#paste}, {@link android.R.id#copyUrl},
273 * or {@link android.R.id#switchInputMethod}
275 public boolean performContextMenuAction(int id); argument
[all...]
H A DInputConnectionWrapper.java101 public boolean performContextMenuAction(int id) { argument
102 return mTarget.performContextMenuAction(id);
H A DInputMethodSubtype.java143 * @param id The unique ID for the subtype. The input method framework keeps track of enabled
150 boolean isAuxiliary, boolean overridesImplicitlyEnabledSubtype, int id) {
158 // If hashCode() of this subtype is 0 and you want to specify it as an id of this subtype,
159 // just specify 0 as this subtype's id. Then, this subtype's id is treated as 0.
160 mSubtypeHashCode = id != 0 ? id : hashCodeInternal(mSubtypeLocale, mSubtypeMode,
162 mSubtypeId = id;
149 InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, boolean isAuxiliary, boolean overridesImplicitlyEnabledSubtype, int id) argument
/frameworks/base/core/java/android/webkit/
H A DAutoCompletePopup.java169 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
173 if (id == 0 && position == 0 && mInputConnection.getIsAutoFillable()) {
/frameworks/base/core/java/android/widget/
H A DRadioGroup.java39 * <p>The selection is identified by the unique id of the radio button as defined
55 // holds the checked id; the selection is empty by default
149 * @param id the unique id of the radio button to select in this group
154 public void check(int id) { argument
156 if (id != -1 && (id == mCheckedId)) {
164 if (id != -1) {
165 setCheckedStateForView(id, true);
168 setCheckedId(id);
171 setCheckedId(int id) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenu.java128 private int findItemIndex(int id) { argument
132 if (items.get(i).getItemId() == id) {
140 public MenuItem findItem(int id) { argument
141 return mItems.get(findItemIndex(id));
182 public boolean performIdentifierAction(int id, int flags) { argument
183 final int index = findItemIndex(id);
214 public void removeItem(int id) { argument
215 mItems.remove(findItemIndex(id));
H A DBaseMenuPresenter.java226 public void setId(int id) { argument
227 mId = id;
H A DListMenuPresenter.java165 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
197 public void setId(int id) { argument
198 mId = id;
/frameworks/base/core/jni/
H A Dandroid_emoji_EmojiFactory.cpp282 jfieldID id = env->GetFieldID(clazz, fieldname, type); local
283 SkASSERT(id);
284 return id;
H A Dandroid_util_EventLog.cpp256 static struct { jclass *c; const char *name, *ft; jfieldID *id; } gFields[] = { member in struct:android::__anon980
261 static struct { jclass *c; const char *name, *mt; jmethodID *id; } gMethods[] = { member in struct:android::__anon981
277 *gFields[i].id = env->GetFieldID(
279 if (*gFields[i].id == NULL) {
286 *gMethods[i].id = env->GetMethodID(
288 if (*gMethods[i].id == NULL) {
H A Dandroid_view_DisplayEventReceiver.cpp65 bool readLastVsyncMessage(nsecs_t* outTimestamp, int32_t* id, uint32_t* outCount);
66 void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count);
67 void dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected);
149 ALOGV("receiver %p ~ Vsync pulse: timestamp=%lld, id=%d, count=%d",
167 *outId = ev.header.id;
173 dispatchHotplug(ev.header.timestamp, ev.header.id, ev.hotplug.connected);
183 void NativeDisplayEventReceiver::dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) { argument
188 gDisplayEventReceiverClassInfo.dispatchVsync, timestamp, id, count);
194 void NativeDisplayEventReceiver::dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected) { argument
199 gDisplayEventReceiverClassInfo.dispatchHotplug, timestamp, id, connecte
[all...]
H A Dandroid_view_VelocityTracker.cpp52 void getVelocity(int32_t id, float* outVx, float* outVy);
53 bool getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator);
85 uint32_t id = idBits.clearFirstMarkedBit(); local
88 mVelocityTracker.getVelocity(id, &vx, &vy);
110 void VelocityTrackerState::getVelocity(int32_t id, float* outVx, float* outVy) { argument
111 if (id == ACTIVE_POINTER_ID) {
112 id = mVelocityTracker.getActivePointerId();
116 if (id >= 0 && id <= MAX_POINTER_ID && mCalculatedIdBits.hasBit(id)) {
134 getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator) argument
178 android_view_VelocityTracker_nativeGetXVelocity(JNIEnv* env, jclass clazz, jint ptr, jint id) argument
186 android_view_VelocityTracker_nativeGetYVelocity(JNIEnv* env, jclass clazz, jint ptr, jint id) argument
194 android_view_VelocityTracker_nativeGetEstimator(JNIEnv* env, jclass clazz, jint ptr, jint id, jobject outEstimatorObj) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/accounts/
H A DAccountManagerServiceTest.java257 protected void cancelNotification(final int id, UserHandle user) { argument
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java363 * @param id The resource id of the image data
370 public static Bitmap decodeResource(Resources res, int id, Options opts) { argument
376 is = res.openRawResource(id, value);
404 * @param id The resource id of the image data
407 public static Bitmap decodeResource(Resources res, int id) { argument
408 return decodeResource(res, id, null);
/frameworks/base/graphics/java/android/renderscript/
H A DProgram.java51 TextureType(int id) { argument
52 mID = id;
63 ProgramParam(int id) { argument
64 mID = id;
76 Program(int id, RenderScript rs) { argument
77 super(id, rs);
152 int id = a != null ? a.getID(mRS) : 0;
153 mRS.nProgramBindConstants(getID(mRS), slot, id);
174 int id = va != null ? va.getID(mRS) : 0;
175 mRS.nProgramBindTexture(getID(mRS), slot, id);
[all...]
H A DScript.java38 KernelID(int id, RenderScript rs, Script s, int slot, int sig) { argument
39 super(id, rs);
64 int id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig);
65 if (id == 0) {
69 k = new KernelID(id, mRS, this, slot, sig);
85 FieldID(int id, RenderScript rs, Script s, int slot) { argument
86 super(id, rs);
107 int id = mRS.nScriptFieldIDCreate(getID(mRS), slot);
108 if (id == 0) {
112 f = new FieldID(id, mR
170 Script(int id, RenderScript rs) argument
[all...]
H A DScriptGroup.java90 ScriptGroup(int id, RenderScript rs) { argument
91 super(id, rs);
440 int id = mRS.nScriptGroupCreate(kernels, src, dstk, dstf, types);
441 if (id == 0) {
445 ScriptGroup sg = new ScriptGroup(id, mRS);

Completed in 1124 milliseconds

1234567891011>>