/frameworks/base/core/java/android/os/ |
H A D | UserHandle.java | 33 /** @hide A user id to indicate all users on the device */ 39 /** @hide A user id to indicate the currently active user */ 45 /** @hide A user id to indicate that we would like to send to the current 55 /** @hide An undefined user id */ 58 /** @hide A user id constant to indicate the "owner" user of the device */ 75 * Checks to see if the user id is the same for the two uids, i.e., they belong to the same 84 * Checks to see if both uids are referring to the same app id, ignoring the user id part of the 116 * Returns the user id for a given uid. 157 * Returns the app id (o 176 getSharedAppGid(int id) argument [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageVolume.java | 64 public StorageVolume(String id, int storageId, File path, String description, boolean primary, argument 67 mId = Preconditions.checkNotNull(id);
|
/frameworks/base/core/java/android/service/notification/ |
H A D | StatusBarNotification.java | 33 private final int id; field in class:StatusBarNotification 49 public StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, argument 51 this(pkg, opPkg, id, tag, uid, initialPid, score, notification, user, 55 public StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, argument 63 this.id = id; 78 this.id = in.readInt(); 95 return user.getIdentifier() + "|" + pkg + "|" + id + "|" + tag + "|" + uid; 114 out.writeInt(this.id); 155 this.id, thi [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Menu.java | 262 * with the given group and id. You can use the group to control ordering of 303 * @param id The item to be removed. If there is no item with this 306 public void removeItem(int id); argument 373 * @param id The identifier to find. 378 public MenuItem findItem(int id); argument 428 * @param id Identifier associated with the menu item. 436 public boolean performIdentifierAction(int id, int flags); argument
|
H A D | VelocityTracker.java | 29 * and {@link #getYVelocity(int)} to retrieve the velocity for each pointer id. 45 private static native float nativeGetXVelocity(long ptr, int id); argument 46 private static native float nativeGetYVelocity(long ptr, int id); argument 47 private static native boolean nativeGetEstimator(long ptr, int id, Estimator outEstimator); argument 180 * @param id Which pointer's velocity to return. 183 public float getXVelocity(int id) { argument 184 return nativeGetXVelocity(mPtr, id); 191 * @param id Which pointer's velocity to return. 194 public float getYVelocity(int id) { argument 195 return nativeGetYVelocity(mPtr, id); 212 getEstimator(int id, Estimator outEstimator) argument [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputConnection.java | 590 * Perform a context menu action on the field. The given id may be one of: 591 * {@link android.R.id#selectAll}, 592 * {@link android.R.id#startSelectingText}, {@link android.R.id#stopSelectingText}, 593 * {@link android.R.id#cut}, {@link android.R.id#copy}, 594 * {@link android.R.id#paste}, {@link android.R.id#copyUrl}, 595 * or {@link android.R.id#switchInputMethod} 597 public boolean performContextMenuAction(int id); argument [all...] |
H A D | InputConnectionWrapper.java | 101 public boolean performContextMenuAction(int id) { argument 102 return mTarget.performContextMenuAction(id);
|
/frameworks/base/core/java/android/widget/ |
H A D | RadioGroup.java | 38 * <p>The selection is identified by the unique id of the radio button as defined 54 // holds the checked id; the selection is empty by default 148 * @param id the unique id of the radio button to select in this group 153 public void check(@IdRes int id) { argument 155 if (id != -1 && (id == mCheckedId)) { 163 if (id != -1) { 164 setCheckedStateForView(id, true); 167 setCheckedId(id); 170 setCheckedId(@dRes int id) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | LocalePicker.java | 155 return constructAdapter(context, R.layout.locale_picker_item, R.id.locale); 233 public void onListItemClick(ListView l, View v, int position, long id) { argument
|
H A D | MediaRouteChooserDialog.java | 136 mListView = (ListView)findViewById(R.id.media_route_list); 139 mListView.setEmptyView(findViewById(android.R.id.empty)); 141 mExtendedSettingsButton = (Button)findViewById(R.id.media_route_extended_settings_button); 218 TextView text1 = (TextView)view.findViewById(android.R.id.text1); 219 TextView text2 = (TextView)view.findViewById(android.R.id.text2); 234 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenu.java | 128 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 D | BaseMenuPresenter.java | 230 public void setId(int id) { argument 231 mId = id;
|
H A D | ListMenuPresenter.java | 164 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 196 public void setId(int id) { argument 197 mId = id;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | CreateJavaOutputStreamAdaptor.cpp | 261 jmethodID id = env->GetMethodID(clazz, methodname, type); local 263 return id;
|
/frameworks/base/core/jni/ |
H A D | android_util_EventLog.cpp | 211 if (log_msg.id() != LOG_ID_EVENTS) { 280 static struct { jclass *c; const char *name, *ft; jfieldID *id; } gFields[] = { member in struct:android::__anon890 286 static struct { jclass *c; const char *name, *mt; jmethodID *id; } gMethods[] = { member in struct:android::__anon891 298 *gFields[i].id = GetFieldIDOrDie(env, 303 *gMethods[i].id = GetMethodIDOrDie(env,
|
H A D | android_view_DisplayEventReceiver.cpp | 70 bool processPendingEvents(nsecs_t* outTimestamp, int32_t* id, uint32_t* outCount); 71 void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count); 72 void dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected); 150 ALOGV("receiver %p ~ Vsync pulse: timestamp=%" PRId64 ", id=%d, count=%d", 174 *outId = ev.header.id; 178 dispatchHotplug(ev.header.timestamp, ev.header.id, ev.hotplug.connected); 192 void NativeDisplayEventReceiver::dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) { argument 199 gDisplayEventReceiverClassInfo.dispatchVsync, timestamp, id, count); 206 void NativeDisplayEventReceiver::dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected) { argument 213 gDisplayEventReceiverClassInfo.dispatchHotplug, timestamp, id, connecte [all...] |
H A D | android_view_VelocityTracker.cpp | 53 void getVelocity(int32_t id, float* outVx, float* outVy); 54 bool getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator); 86 uint32_t id = idBits.clearFirstMarkedBit(); local 89 mVelocityTracker.getVelocity(id, &vx, &vy); 111 void VelocityTrackerState::getVelocity(int32_t id, float* outVx, float* outVy) { argument 112 if (id == ACTIVE_POINTER_ID) { 113 id = mVelocityTracker.getActivePointerId(); 117 if (id >= 0 && id <= MAX_POINTER_ID && mCalculatedIdBits.hasBit(id)) { 135 getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator) argument 179 android_view_VelocityTracker_nativeGetXVelocity(JNIEnv* env, jclass clazz, jlong ptr, jint id) argument 187 android_view_VelocityTracker_nativeGetYVelocity(JNIEnv* env, jclass clazz, jlong ptr, jint id) argument 195 android_view_VelocityTracker_nativeGetEstimator(JNIEnv* env, jclass clazz, jlong ptr, jint id, jobject outEstimatorObj) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 452 * @param id The resource id of the image data 459 public static Bitmap decodeResource(Resources res, int id, Options opts) { argument 465 is = res.openRawResource(id, value); 493 * @param id The resource id of the image data 496 public static Bitmap decodeResource(Resources res, int id) { argument 497 return decodeResource(res, id, null);
|
/frameworks/base/libs/common_time/ |
H A D | common_time_server_api.cpp | 133 status_t CommonTimeServer::getMasterElectionGroupId(uint64_t *id) { argument 135 *id = mSyncGroupID; 139 status_t CommonTimeServer::setMasterElectionGroupId(uint64_t id) { argument 141 mSyncGroupID = id;
|
/frameworks/base/libs/input/ |
H A D | PointerController.h | 112 uint32_t id; member in struct:android::PointerController::Spot 118 inline Spot(uint32_t id, const sp<Sprite>& sprite) argument 119 : id(id), sprite(sprite), alpha(1.0f), scale(1.0f), 177 Spot* getSpotLocked(uint32_t id); 178 Spot* createAndAddSpotLocked(uint32_t id);
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | FusedLocationHardware.java | 145 public void startBatching(int id, GmsFusedBatchOptions batchOptions) { argument 147 mLocationHardware.startBatching(id, batchOptions.getParcelableOptions()); 153 public void stopBatching(int id) { argument 155 mLocationHardware.stopBatching(id); 161 public void updateBatchingOptions(int id, GmsFusedBatchOptions batchOptions) { argument 163 mLocationHardware.updateBatchingOptions(id, batchOptions.getParcelableOptions());
|
/frameworks/base/media/java/android/media/midi/ |
H A D | MidiDeviceInfo.java | 198 public MidiDeviceInfo(int type, int id, int numInputPorts, int numOutputPorts, argument 202 mId = id; 325 int id = in.readInt(); 332 return new MidiDeviceInfo(type, id, inputPorts, outputPorts,
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvTrackInfo.java | 57 private TvTrackInfo(int type, String id, String language, CharSequence description, argument 61 mId = id; 248 * @param id The ID of the track that uniquely identifies the current track among all the 251 public Builder(int type, @NonNull String id) { argument 257 Preconditions.checkNotNull(id); 259 mId = id;
|
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/ |
H A D | RemoteDisplayProvider.java | 237 * @throws IllegalStateException if there is already a display with the same id. 274 * Finds the remote display with the specified id, returns null if not found. 276 * @param id Id of the remote display. 279 public RemoteDisplay findRemoteDisplay(String id) { argument 280 return mDisplays.get(id); 340 public void connect(String id) { argument 341 mHandler.obtainMessage(MSG_CONNECT, id).sendToTarget(); 345 public void disconnect(String id) { argument 346 mHandler.obtainMessage(MSG_DISCONNECT, id).sendToTarget(); 350 public void setVolume(String id, in argument 355 adjustVolume(String id, int delta) argument [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_util.h | 86 // coupled to Java objects. This is done by using an "id" field in the Java 115 const int id = next_id_; local 116 objects_[id] = object; 117 owns_[id] = owns; 119 return id; 142 const int id = RegisterObject(c_object, owns); local 145 env->SetIntField(j_object, id_field, id);
|