/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 293 int id = rsContextGetMessage(con, local 297 if (!id && receiveLen) { 311 int id = rsContextGetMessage(con, local 315 if (!id && receiveLen) { 319 return id; 329 int id = rsContextPeekMessage(con, &receiveLen, sizeof(receiveLen), local 334 return id; 372 jint id = (jint)rsElementCreate2(con, local 379 return (jint)id; 383 nElementGetNativeData(JNIEnv *_env, jobject _this, RsContext con, jint id, jintArra argument 401 nElementGetSubElements(JNIEnv *_env, jobject _this, RsContext con, jint id, jintArray _IDs, jobjectArray _names, jintArray _arraySizes) argument 435 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces); local 440 nTypeGetNativeData(JNIEnv *_env, jobject _this, RsContext con, jint id, jintArray _typeData) argument 534 jint id = (jint)rsAllocationCreateFromBitmap(con, local 550 jint id = (jint)rsAllocationCubeCreateFromBitmap(con, local 788 jint id = (jint)rsaFileA3DCreateFromMemory(con, asset->getBuffer(false), asset->getLength()); local 806 jint id = (jint)rsaFileA3DCreateFromAsset(con, asset); local 814 jint id = (jint)rsaFileA3DCreateFromFile(con, fileNameUTF.c_str()); local 847 jint id = (jint)rsaFileA3DGetEntryByIndex(con, (uint32_t)index, (RsFile)fileA3D); local 858 jint id = (jint)rsFontCreateFromFile(con, local 872 jint id = (jint)rsFontCreateFromMemory(con, local 894 jint id = (jint)rsFontCreateFromMemory(con, local 1075 nScriptIntrinsicCreate(JNIEnv *_env, jobject _this, RsContext con, jint id, jint eid) argument 1112 int id = (int)rsScriptGroupCreate(con, local 1310 int id = (int)rsPathCreate(con, (RsPathPrimitive)prim, isStatic, local 1328 int id = (int)rsMeshCreate(con, local [all...] |
/frameworks/base/include/androidfw/ |
H A D | Input.h | 56 /* The default display id. */ 86 * Maximum pointer id value supported in a motion event. 87 * Smallest pointer id is 0. 176 // Values of axes that are stored in this structure packed in order by axis id 217 // The id of the pointer. 218 int32_t id; member in struct:android::PointerProperties 224 id = -1; 371 return mPointerProperties[pointerIndex].id;
|
H A D | InputTransport.h | 98 return pointers[index].properties.id; 361 uint32_t id = msg->body.motion.pointers[i].properties.id; local 362 idBits.markBit(id); 363 idToIndex[id] = i; 368 const PointerCoords& getPointerById(uint32_t id) const { 369 return pointers[idToIndex[id]];
|
H A D | ResourceTypes.h | 210 #define Res_GETPACKAGE(id) ((id>>24)-1) 211 #define Res_GETTYPE(id) (((id>>16)&0xFF)-1) 212 #define Res_GETENTRY(id) (id&0xFFFF) 589 // Index (1-based) of the "id" attribute. 0 if none. 785 uint32_t id; member in struct:android::ResTable_package 1083 uint8_t id; member in struct:android::ResTable_typeSpec 1125 uint8_t id; member in struct:android::ResTable_type [all...] |
/frameworks/base/libs/androidfw/ |
H A D | InputDevice.cpp | 145 void InputDeviceInfo::initialize(int32_t id, int32_t generation, argument 147 mId = id;
|
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...] |