Searched refs:index (Results 251 - 275 of 1308) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/wifi-display/
H A DParameters.cpp80 ssize_t index = mDict.indexOfKey(key); local
82 if (index < 0) {
88 *value = mDict.valueAt(index);
/frameworks/base/core/java/android/util/
H A DSparseArray.java48 * <code>keyAt(int)</code> with ascending values of the index will return the
162 * Removes the mapping at the specified index.
167 public void removeAt(int index) { argument
168 if (mValues[index] != DELETED) {
169 mValues[index] = DELETED;
177 * @param index Index to begin at
183 public void removeAtRange(int index, int size) { argument
184 final int end = Math.min(mSize, index + size);
185 for (int i = index; i < end; i++) {
263 * Given an index i
275 keyAt(int index) argument
298 valueAt(int index) argument
313 setValueAt(int index, E value) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DBitwiseInputStream.java75 int index = mPos >>> 3;
81 int data = (mBuf[index] & 0xFF) << 8;
82 if (offset < 8) data |= mBuf[index + 1] & 0xFF;
H A DBitwiseOutputStream.java98 int index = mPos >>> 3;
102 mBuf[index] |= data >>> 8;
103 if (offset < 8) mBuf[index + 1] |= data & 0xFF;
/frameworks/base/include/androidfw/
H A DTypeWrappers.h53 uint32_t index() const { function in class:android::TypeVariant::iterator
62 iterator(const TypeVariant* tv, uint32_t index) argument
63 : mTypeVariant(tv), mIndex(index) {}
/frameworks/minikin/include/minikin/
H A DSparseBitSet.h51 uint32_t index = ch & kPageMask; local
52 return (bitmap[index >> kLogBitsPerEl] & (kElFirst >> (index & kElMask))) != 0;
/frameworks/native/services/sensorservice/
H A DSensorRecord.cpp42 ssize_t index = mConnections.indexOf(connection); local
43 if (index >= 0) {
44 mConnections.removeItemsAt(index, 1);
/frameworks/support/v4/java/android/support/v4/util/
H A DSparseArrayCompat.java116 * Removes the mapping at the specified index.
118 public void removeAt(int index) { argument
119 if (mValues[index] != DELETED) {
120 mValues[index] = DELETED;
128 * @param index Index to begin at
131 public void removeAtRange(int index, int size) { argument
132 final int end = Math.min(mSize, index + size);
133 for (int i = index; i < end; i++) {
231 * Given an index in the range <code>0...size()-1</code>, returns
232 * the key from the <code>index</cod
235 keyAt(int index) argument
249 valueAt(int index) argument
262 setValueAt(int index, E value) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DPositionMap.java118 * Removes the mapping at the specified index.
120 public void removeAt(int index) { argument
121 if (mValues[index] != DELETED) {
122 mValues[index] = DELETED;
130 * @param index Index to begin at
133 public void removeAtRange(int index, int size) { argument
134 final int end = Math.min(mSize, index + size);
135 for (int i = index; i < end; i++) {
241 * Given an index in the range <code>0...size()-1</code>, returns
242 * the key from the <code>index</cod
245 keyAt(int index) argument
259 valueAt(int index) argument
272 setValueAt(int index, E value) argument
[all...]
/frameworks/av/media/img_utils/src/
H A DTiffWriter.cpp156 ssize_t index = mTagMaps[i].indexOfKey(tag); local
157 if (index >= 0) {
158 definition = mTagMaps[i][index];
170 ssize_t index = mNamedIfds.indexOfKey(ifd); local
171 if (index < 0) {
175 return mNamedIfds[index]->getEntry(tag);
179 ssize_t index = mNamedIfds.indexOfKey(ifd); local
180 if (index >= 0) {
181 mNamedIfds[index]->removeEntry(tag);
195 ssize_t index local
208 ssize_t index = mNamedIfds.indexOfKey(ifd); local
218 ssize_t index = mNamedIfds.indexOfKey(ifd); local
241 ssize_t index = mNamedIfds.indexOfKey(ifd); local
330 ssize_t index = mNamedIfds.indexOfKey(ifd); local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_BlockMatch_Integer.c98 OMX_INT outer, inner, count,index; local
156 for (outer = 0, count = 0, index = 0, candSAD = 0;
158 outer++, index += refWidth - BlockSize)
160 for (inner = 0; inner < BlockSize; inner++, count++, index++)
162 candSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]);
H A DomxVCM4P2_EncodeMV.c57 * pBitOffset - index of the first free (next available) bit in the stream
76 * pBitOffset - updated index of the next available bit position in stream
106 OMX_U8 scaleFactor, index; local
196 /* The index is actually calculate as
197 index = ((float) (mvHorData/2) + 16) * 2,
201 index = mvHorData + 32;
202 armPackVLC32 (ppBitStream, pBitOffset, armVCM4P2_aVlcMVD[index]);
208 /* The index is actually calculate as
209 index = ((float) (mvVerData/2) + 16) * 2,
213 index
[all...]
H A DomxVCM4P2_DecodePadMV_PVOP.c110 OMX_S8 scaleFactor, index; local
158 index = armUnPackVLC32(ppBitStream, pBitOffset,
160 armRetDataErrIf(index == -1, OMX_Sts_Err);
162 mvHorData = index - 32;
171 index = armUnPackVLC32(ppBitStream, pBitOffset, armVCM4P2_aVlcMVD);
172 armRetDataErrIf(index == -1, OMX_Sts_Err);
174 mvVerData = index - 32;
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.h46 bool itemAt(size_t index, AString *uri, sp<AMessage> *meta = NULL);
49 status_t selectTrack(size_t index, bool select);
51 sp<AMessage> getTrackInfo(size_t index) const;
55 bool getTypeURI(size_t index, const char *key, AString *uri) const;
56 bool hasType(size_t index, const char *key) const;
/frameworks/av/media/libstagefright/include/
H A DSimpleSoftOMXComponent.h69 OMX_INDEXTYPE index, OMX_PTR params);
72 OMX_INDEXTYPE index, const OMX_PTR params);
101 OMX_INDEXTYPE index, const OMX_PTR params) const;
107 OMX_INDEXTYPE index, OMX_PTR params);
110 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java130 * This method transfers data starting from index 0 in the buffer.
138 * @param index index field for this transaction
147 int index, byte[] buffer, int length, int timeout) {
148 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout);
162 * @param index index field for this transaction
165 * @param offset the index of the first byte in the buffer to send or receive
171 public int controlTransfer(int requestType, int request, int value, int index, argument
174 return native_control_request(requestType, request, value, index,
146 controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout) argument
260 native_control_request(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) argument
[all...]
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp481 int index = -1; local
526 index = getCamcorderProfileIndex(cameraId, refQuality);
528 if (index == -1) {
569 int index = getCamcorderProfileIndex(cameraId, profile->mQuality); local
570 if (index != -1) {
573 CHECK(index == refIndex);
911 int index = -1; local
914 index = i;
918 if (index == -1) {
923 if (!strcmp("enc.vid.width.min", name)) return mVideoEncoders[index]
948 int index = -1; local
991 int index = -1; local
1009 int index = getCamcorderProfileIndex(cameraId, quality); local
1049 ssize_t index = mStartTimeOffsets.indexOfKey(cameraId); local
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPolicyMix.cpp57 ssize_t index = indexOfKey(address); local
58 if (index >= 0) {
75 ssize_t index = indexOfKey(address); local
76 if (index < 0) {
81 removeItemsAt(index);
88 ssize_t index = indexOfKey(address); local
89 if (index < 0) {
93 policyMix = valueAt(index);
275 ssize_t index = indexOfKey(address); local
276 if (index <
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHotplugDetectionAction.java156 int index = -1;
157 while ((index = removed.nextSetBit(index + 1)) != -1) {
158 if (index == Constants.ADDR_AUDIO_SYSTEM) {
168 Slog.v(TAG, "Remove device by hot-plug detection:" + index);
169 removeDevice(index);
179 index = -1;
180 while ((index = added.nextSetBit(index + 1)) != -1) {
181 Slog.v(TAG, "Add device by hot-plug detection:" + index);
[all...]
/frameworks/native/opengl/libagl/
H A DTextureObjectManager.cpp272 const ssize_t index = mTextures.indexOfKey(name); local
273 if (index >= 0) {
274 sp<EGLTextureObject> result(mTextures.valueAt(index));
275 mTextures.removeItemsAt(index);
285 const ssize_t index = mTextures.indexOfKey(name); local
286 if (index >= 0) {
287 const sp<EGLTextureObject>& old = mTextures.valueAt(index);
296 mTextures.removeItemsAt(index);
318 const ssize_t index = mTextures.indexOfKey(name); local
319 if (index >
[all...]
/frameworks/av/services/audioflinger/
H A DPatchPanel.cpp166 for (size_t index = 0; *handle != 0 && index < mPatches.size(); index++) {
167 if (*handle == mPatches[index]->mHandle) {
169 halHandle = mPatches[index]->mHalHandle;
170 Patch *removedPatch = mPatches[index];
177 mPatches.removeAt(index);
189 ssize_t index = audioflinger->mAudioHwDevs.indexOfKey(srcModule); local
190 if (index < 0) {
195 AudioHwDevice *audioHwDevice = audioflinger->mAudioHwDevs.valueAt(index);
325 ssize_t index = audioflinger->mAudioHwDevs.indexOfKey(srcModule); local
540 size_t index; local
563 ssize_t index = audioflinger->mAudioHwDevs.indexOfKey(srcModule); local
598 ssize_t index = audioflinger->mAudioHwDevs.indexOfKey(srcModule); local
649 ssize_t index = audioflinger->mAudioHwDevs.indexOfKey(module); local
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.cpp91 ssize_t index = mInputSources.indexOfKey(aliasSource); local
92 if (index < 0) {
109 Vector <EffectDesc *> effects = mInputSources.valueAt(index)->mEffects;
139 ssize_t index = mInputs.indexOfKey(input); local
140 if (index < 0) {
143 EffectVector *inputDesc = mInputs.valueAt(index);
149 mInputs.removeItemsAt(index);
162 size_t index; local
163 for (index = 0; index < mInput
195 size_t index; local
234 ssize_t index = mOutputStreams.indexOfKey(stream); local
285 ssize_t index = mOutputSessions.indexOfKey(audioSession); local
[all...]
/frameworks/wilhelm/src/
H A Ddevices.c213 SLuint32 index; local
215 for (index = 0 ; NULL != cd->mDescriptor; ++cd) {
217 ++index;
220 *pIndex = index;
223 index = *pIndex;
226 if (0 == index) {
243 --index;
H A Dentry.c106 SLuint32 index; local
107 for (index = 0; index < pCEngine_class->mInterfaceCount; ++index, ++x,
215 LI_API SLresult liQuerySupportedInterfaces(SLuint32 index, SLInterfaceID *pInterfaceId, argument
240 if (index == 0) {
245 --index;
/frameworks/av/include/media/
H A DRingBuffer.h145 * Return a reference to the element at a given index. If the index is out of range for
148 T& operator[](size_t index);
151 * Return a const reference to the element at a given index. If the index is out of range
154 const T& operator[](size_t index) const;
329 T& RingBuffer<T>::operator[](size_t index) { argument
330 LOG_ALWAYS_FATAL_IF(index >= mBuffer.size(), "Index %zu out of bounds, size is %zu.",
331 index, mBuffer.size());
332 size_t pos = (index >
[all...]

Completed in 6869 milliseconds

<<11121314151617181920>>