/frameworks/base/libs/androidfw/ |
H A D | InputTransport.cpp | 649 uint32_t id = msg->body.motion.pointers[i].properties.id; local 650 if (state.lastResample.idBits.hasBit(id)) { 652 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id); 654 ALOGD("[%d] - rewrite (%0.3f, %0.3f), old (%0.3f, %0.3f)", id, 694 uint32_t id = event->getPointerId(i); local 695 if (!current->idBits.hasBit(id)) { 697 ALOGD("Not resampled, missing id %d", id); 752 uint32_t id local [all...] |
H A D | ResourceTypes.cpp | 244 const uint32_t type = Res_GETTYPE(key) + 1; // add one, idmap stores "public" type id 813 int32_t id = getCommentID(); local 814 return id >= 0 ? mTree.mStrings.stringAt(id, outLen) : NULL; 832 int32_t id = getTextID(); local 833 return id >= 0 ? mTree.mStrings.stringAt(id, outLen) : NULL; 855 int32_t id = getNamespacePrefixID(); local 856 //printf("prefix=%d event=%p\n", id, mEventCode); 857 return id > 870 int32_t id = getNamespaceUriID(); local 888 int32_t id = getElementNamespaceID(); local 905 int32_t id = getElementNameID(); local 934 int32_t id = getAttributeNamespaceID(idx); local 957 int32_t id = getAttributeNameID(idx); local 965 int32_t id = getAttributeNameID(idx); local 989 int32_t id = getAttributeValueStringID(idx); local 2417 uint32_t const id; member in struct:android::ResTable::PackageGroup 3543 uint32_t id; member in struct:android::id_name_map 4987 uint32_t id = idmap_id != 0 ? idmap_id : dtohl(pkg->id); local [all...] |
H A D | VelocityTracker.cpp | 249 uint32_t id = iterBits.firstMarkedBit(); local 250 uint32_t index = idBits.getIndexOfBit(id); 251 iterBits.clearBit(id); 253 getEstimator(id, &estimator); 256 id, positions[index].x, positions[index].y, 336 bool VelocityTracker::getVelocity(uint32_t id, float* outVx, float* outVy) const { argument 338 if (getEstimator(id, &estimator) && estimator.degree >= 1) { 348 bool VelocityTracker::getEstimator(uint32_t id, Estimator* outEstimator) const { argument 349 return mStrategy->getEstimator(id, outEstimator); 558 bool LeastSquaresVelocityTrackerStrategy::getEstimator(uint32_t id, 715 uint32_t id = iterIdBits.clearFirstMarkedBit(); local 728 getEstimator(uint32_t id, VelocityTracker::Estimator* outEstimator) const argument 848 getEstimator(uint32_t id, VelocityTracker::Estimator* outEstimator) const argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | ShapeCache.h | 495 mName, texture->id, size, mSize); 500 glDeleteTextures(1, &texture->id); 511 uint32_t width, uint32_t height, uint32_t id) { 518 texture->generation = id; 599 mName, texture->id, size, mSize); 622 glGenTextures(1, &texture->id); 624 glBindTexture(GL_TEXTURE_2D, texture->id); 510 createTexture(float left, float top, float offset, uint32_t width, uint32_t height, uint32_t id) argument
|
H A D | Texture.h | 44 id = 0; 62 glBindTexture(renderTarget, id); 85 glBindTexture(renderTarget, id); 98 GLuint id; member in struct:android::uirenderer::Texture 150 glDeleteTextures(1, &mTexture->id);
|
/frameworks/base/libs/storage/ |
H A D | IMountService.cpp | 235 int32_t createSecureContainer(const String16& id, const int32_t sizeMb, const String16& fstype, argument 240 data.writeString16(id); 257 int32_t finalizeSecureContainer(const String16& id) argument 261 data.writeString16(id); 274 int32_t destroySecureContainer(const String16& id) argument 278 data.writeString16(id); 291 int32_t mountSecureContainer(const String16& id, const String16& key, const int32_t ownerUid) argument 295 data.writeString16(id); 310 int32_t unmountSecureContainer(const String16& id, const bool force) argument 314 data.writeString16(id); 328 isSecureContainerMounted(const String16& id) argument 363 getSecureContainerPath(const String16& id, String16& path) argument 381 getSecureContainerList(const String16& id, String16*& containers) argument [all...] |
/frameworks/base/media/java/android/drm/mobile1/ |
H A D | DrmRawContent.java | 62 * The id of "application/vnd.oma.drm.message" mime type. 67 * The id of "application/vnd.oma.drm.content" mime type. 102 * The unique id to this DRM content. It will be initialized 106 private int id; field in class:DrmRawContent 134 id = -1; 149 id = nativeConstructDrmContent(inData, inDataLen, mimeType); 151 if (JNI_DRM_FAILURE == id) 391 * @return #the id of the DRM content if succeed.
|
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 1820 private OnAudioFocusChangeListener findFocusListener(String id) { argument 1821 return mAudioFocusIdListenerMap.get(id); 1868 public void dispatchAudioFocusChange(int focusChange, String id) { 1869 Message m = mAudioFocusEventHandlerDelegate.getHandler().obtainMessage(focusChange, id);
|
H A D | AudioService.java | 206 /* Sound effect file name mapping sound effect id (AudioManager.FX_xxx) to 4071 IAudioFocusDispatcher afl, IBinder source, String id, AudioFocusDeathHandler hdlr, 4076 mClientId = id; 4673 private RemotePlaybackState(int id, int vol, int volMax) { argument 4674 mRccId = id; 4819 " -- id: " + rcse.mRccId + 5483 if(DEBUG_RC) Log.d(TAG, "onNewPlaybackInfoForRcc(id=" + rccId + 4070 FocusStackEntry(int streamType, int duration, IAudioFocusDispatcher afl, IBinder source, String id, AudioFocusDeathHandler hdlr, String pn, int uid) argument
|
H A D | MediaScanner.java | 1231 public void delete(long id) throws RemoteException { argument 1236 whereArgs.add("" + id);
|
H A D | MiniThumbFile.java | 34 * of blocks, indexed by id. Each block has BYTES_PER_MINTHUMB bytes in the 147 // Get the magic number for the specified id in the mini-thumb file. 149 public synchronized long getMagic(long id) { argument 152 // reserved for this "id". 155 long pos = id * BYTES_PER_MINTHUMB; 174 Log.e(TAG, "Got exception when reading magic, id = " + id + 188 public synchronized void saveMiniThumbToFile(byte[] data, long id, long magic) argument 193 long pos = id * BYTES_PER_MINTHUMB; 213 + id 236 getMiniThumbFromFile(long id, byte [] data) argument [all...] |
H A D | RemoteControlClient.java | 893 * To be only used by AudioManager after it has received the unique id from 895 * @param id the unique identifier of the RemoteControlStackEntry in AudioService with which 898 public void setRcseId(int id) { argument 899 mRcseId = id;
|
H A D | TimedText.java | 257 * @param id the font ID. 260 public Font(int id, String name) { argument 261 this.ID = id; 598 int id = parcel.readInt(); 604 Font font = new Font(id, name);
|
/frameworks/base/media/java/android/media/audiofx/ |
H A D | AudioEffect.java | 150 * Event id for engine control ownership change notification. 155 * Event id for engine state change notification. 160 * Event id for engine parameter change notification. 370 int[] id = new int[1]; 374 type.toString(), uuid.toString(), priority, audioSession, id, 392 mId = id[0]; 1193 String uuid, int priority, int audioSession, int[] id, Object[] desc); 1192 native_setup(Object audioeffect_this, String type, String uuid, int priority, int audioSession, int[] id, Object[] desc) argument
|
H A D | Visualizer.java | 187 int[] id = new int[1]; 192 int result = native_setup(new WeakReference<Visualizer>(this), audioSession, id); 203 mId = id[0]; 625 int[] id); 623 native_setup(Object audioeffect_this, int audioSession, int[] id) argument
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyGroup.java | 188 private String queryString(int id, String column) { argument 194 ID_WHERE, new String[] { Integer.toString(id) }, null, null); 209 private String queryAudio(int id, String column) { argument 214 ID_WHERE, new String[] { Integer.toString(id) }, null, null); 229 private String queryGenre(int id) { argument 232 Uri uri = Audio.Genres.getContentUriForAudioId(mVolumeName, id); 251 private Long queryLong(int id, String column) { argument 257 ID_WHERE, new String[] { Integer.toString(id) }, null, null);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaProfiles.cpp | 173 android_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality) argument 175 ALOGV("native_get_camcorder_profile: %d %d", id, quality); 182 int duration = sProfiles->getCamcorderProfileParamByName("duration", id, q); 183 int fileFormat = sProfiles->getCamcorderProfileParamByName("file.format", id, q); 184 int videoCodec = sProfiles->getCamcorderProfileParamByName("vid.codec", id, q); 185 int videoBitRate = sProfiles->getCamcorderProfileParamByName("vid.bps", id, q); 186 int videoFrameRate = sProfiles->getCamcorderProfileParamByName("vid.fps", id, q); 187 int videoFrameWidth = sProfiles->getCamcorderProfileParamByName("vid.width", id, q); 188 int videoFrameHeight = sProfiles->getCamcorderProfileParamByName("vid.height", id, q); 189 int audioCodec = sProfiles->getCamcorderProfileParamByName("aud.codec", id, 222 android_media_MediaProfiles_native_has_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality) argument [all...] |
/frameworks/base/media/jni/soundpool/ |
H A D | android_media_SoundPool.cpp | 51 int id = ap->load(s, priority); local 53 return id;
|
/frameworks/base/media/libdrm/mobile1/src/jni/ |
H A D | drm1_jni.c | 62 * The id of the DRM content. 64 int32_t id; member in struct:_DrmData 101 d->id = -1; 148 * id</code>. 155 static DrmData * getItem(int32_t id) argument 163 if (id == d->id) 178 static int32_t removeItem(int32_t id) argument 187 if (id == curItem->id) { 564 int32_t id; local 609 jint id; local 627 jint id; local 654 jint id; local 716 jint id; local 734 jint id; local 756 jint id; local 852 int32_t id; local 907 int32_t id; local 955 jint id; local [all...] |
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_api.c | 28 * Current id. 506 int32_t drm_checkRoAndUpdate(int32_t id, int32_t permission) argument 521 if (FALSE == drm_writeOrReadInfo(id, NULL, &roAmount, GET_ROAMOUNT)) 533 if (FALSE == drm_writeOrReadInfo(id, pRo, &roAmount, GET_ALL_RO)) { 695 //drm_removeIdInfoFile(id); 697 if (FALSE == drm_writeOrReadInfo(id, pRo, &validRoAmount, SAVE_ALL_RO)) 1121 int32_t id; local 1154 if (FALSE == drm_readFromUidTxt(s->contentID, &id, GET_ID)) 1157 drm_writeOrReadInfo(id, NULL, &roAmount, GET_ROAMOUNT); 1165 drm_writeOrReadInfo(id, pR 1202 int32_t id; local 1755 int32_t roAmount, id; local 1819 int32_t id; local 1834 int32_t maxId, id, roAmount, j; local 1889 int32_t maxId, id, roAmount, j; local [all...] |
H A D | drm_rights_manager.c | 50 static int32_t drm_writeToUidTxt(uint8_t* Uid, int32_t* id) argument 63 if (*id < 1) 97 if (idMax < *id) 110 strcpy((char *)uidStr[*id - 1], (char *)Uid); 111 uidStr[*id - 1][length] = '\n'; 112 uidStr[*id - 1][length + 1] = '\0'; 113 if (idMax < (*id)) 151 int32_t drm_readFromUidTxt(uint8_t* Uid, int32_t* id, int32_t option) argument 163 if (NULL == id || NULL == Uid) 200 if (*id < 241 drm_acquireId(uint8_t* uid, int32_t* id) argument 251 drm_writeOrReadInfo(int32_t id, T_DRM_Rights* Ro, int32_t* RoAmount, int32_t option) argument 356 int32_t id; local 417 drm_removeIdInfoFile(int32_t id) argument 443 drm_updateUidTxtWhenDelete(int32_t id) argument 535 int32_t id, roAmount; local [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);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 199 const int id = ++max_surface_id_; local 200 surfaces_[id] = SurfaceWindowPair(surface, window_handle); 201 return id; 268 const int id = contexts_.size(); local 269 contexts_[id] = context; 270 return id;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 363 * @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/graphics/drawable/ |
H A D | LayerDrawable.java | 149 int id = a.getResourceId(com.android.internal.R.styleable.LayerDrawableItem_id, 168 addLayer(dr, id, left, top, right, bottom); 176 * Add a new layer to this drawable. The new layer is identified by an id. 179 * @param id The id of the new layer. 185 private void addLayer(Drawable layer, int id, int left, int top, int right, int bottom) { argument 201 childDrawable.mId = id; 213 * Look for a layer with the given id, and returns its {@link Drawable}. 215 * @param id The layer ID to search for. 216 * @return The {@link Drawable} of the layer that has the given id i 218 findDrawableByLayerId(int id) argument 236 setId(int index, int id) argument 278 setDrawableByLayerId(int id, Drawable drawable) argument [all...] |