Searched refs:index (Results 226 - 250 of 1076) sorted by relevance

1234567891011>>

/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
144 * Removes the mapping at the specified index.
146 public void removeAt(int index) { argument
147 if (mValues[index] != DELETED) {
148 mValues[index] = DELETED;
156 * @param index Index to begin at
159 public void removeAtRange(int index, int size) { argument
160 final int end = Math.min(mSize, index + size);
161 for (int i = index; i < end; i++) {
239 * Given an index i
248 keyAt(int index) argument
268 valueAt(int index) argument
281 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/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DMeshTest.java66 void addTest(int index, int meshNum) { argument
67 mTests[index] = new ScriptField_TestScripts_s.Item();
68 mTests[index].testScript = mGeoScript;
69 mTests[index].testName = Allocation.createFromString(mRS,
70 mNames[index],
72 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS,
73 mNames[index],
80 mTests[index].testData = testData.getAllocation();
89 int index = 0;
90 addTest(index
[all...]
/frameworks/ex/variablespeed/jni/
H A Ddecode_buffer.cc83 int16 DecodeBuffer::GetAtIndex(size_t index) { argument
84 return data_.at((start_ + index) / sizeOfOneBuffer_)
85 [(start_ + index) % sizeOfOneBuffer_];
/frameworks/minikin/include/minikin/
H A DSparseBitSet.h51 uint32_t index = ch & kPageMask; local
52 return (bitmap[index >> kLogBitsPerEl] & (kElFirst >> (index & kElMask))) != 0;
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFSectionHeader.hxx36 size_t index) {
56 // Set the section header index
57 sh->index = index;
34 read(Archiver &AR, ELFObjectTy const *owner, size_t index) argument
/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.cpp157 ssize_t index = mTagMaps[i].indexOfKey(tag); local
158 if (index >= 0) {
159 definition = mTagMaps[i][index];
171 ssize_t index = mNamedIfds.indexOfKey(ifd); local
172 if (index < 0) {
176 return mNamedIfds[index]->getEntry(tag);
180 ssize_t index = mNamedIfds.indexOfKey(ifd); local
181 if (index >= 0) {
182 mNamedIfds[index]->removeEntry(tag);
196 ssize_t index local
209 ssize_t index = mNamedIfds.indexOfKey(ifd); local
219 ssize_t index = mNamedIfds.indexOfKey(ifd); local
242 ssize_t index = mNamedIfds.indexOfKey(ifd); local
331 ssize_t index = mNamedIfds.indexOfKey(ifd); local
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardWidgetCarousel.java56 public float getAlphaForPage(int screenCenter, int index, boolean showSidePages) { argument
57 View child = getChildAt(index);
60 boolean inVisibleRange = index >= getNextPage() - 1 && index <= getNextPage() + 1;
61 float scrollProgress = getScrollProgress(screenCenter, child, index);
63 if (isOverScrollChild(index, scrollProgress)) {
65 } else if ((showSidePages && inVisibleRange) || index == getNextPage()) {
66 scrollProgress = getBoundedScrollProgress(screenCenter, child, index);
74 public float getOutlineAlphaForPage(int screenCenter, int index, boolean showSidePages) { argument
75 boolean inVisibleRange = index >
192 getTransformForPage(int screenCenter, int index, float[] transform) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_BlockMatch_Integer.c83 OMX_INT outer, inner, count,index; local
141 for (outer = 0, count = 0, index = 0, candSAD = 0;
143 outer++, index += refWidth - BlockSize)
145 for (inner = 0; inner < BlockSize; inner++, count++, index++)
147 candSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]);
H A DomxVCM4P2_EncodeMV.c42 * pBitOffset - index of the first free (next available) bit in the stream
61 * pBitOffset - updated index of the next available bit position in stream
91 OMX_U8 scaleFactor, index; local
181 /* The index is actually calculate as
182 index = ((float) (mvHorData/2) + 16) * 2,
186 index = mvHorData + 32;
187 armPackVLC32 (ppBitStream, pBitOffset, armVCM4P2_aVlcMVD[index]);
193 /* The index is actually calculate as
194 index = ((float) (mvVerData/2) + 16) * 2,
198 index
[all...]
H A DomxVCM4P2_DecodePadMV_PVOP.c95 OMX_S8 scaleFactor, index; local
143 index = armUnPackVLC32(ppBitStream, pBitOffset,
145 armRetDataErrIf(index == -1, OMX_Sts_Err);
147 mvHorData = index - 32;
156 index = armUnPackVLC32(ppBitStream, pBitOffset, armVCM4P2_aVlcMVD);
157 armRetDataErrIf(index == -1, OMX_Sts_Err);
159 mvVerData = index - 32;
/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/opt/net/wifi/service/jni/
H A Djni_helper.h11 jlong getLongArrayField(JNIEnv *env, jobject obj, const char *name, int index);
12 jobject getObjectArrayField(JNIEnv *env, jobject obj, const char *name, const char *type, int index);
16 void setLongArrayElement(JNIEnv *env, jobject obj, const char *name, int index, jlong value);
26 jlong getStaticLongArrayField(JNIEnv *env, jobject obj, const char *name, int index);
27 jlong getStaticLongArrayField(JNIEnv *env, jclass cls, const char *name, int index);
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFReloc.h32 size_t index; member in class:ELFReloc_CRTP
39 ELFReloc_CRTP() : index(0), r_offset(0), r_addend(0) { }
44 return index;
61 static ELFRelocTy *readRel(Archiver &AR, size_t index);
64 static ELFRelocTy *readRela(Archiver &AR, size_t index);
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h90 size_t index,
98 size_t index,
109 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs = 0ll);
112 size_t *index,
119 status_t renderOutputBufferAndRelease(size_t index, int64_t timestampNs);
120 status_t renderOutputBufferAndRelease(size_t index);
121 status_t releaseOutputBuffer(size_t index);
131 status_t getOutputBuffer(size_t index, sp<ABuffer> *buffer);
132 status_t getOutputFormat(size_t index, sp<AMessage> *format);
133 status_t getInputBuffer(size_t index, s
[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/audiopolicy/
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
229 ssize_t index = mOutputStreams.indexOfKey(stream); local
280 ssize_t index = mOutputSessions.indexOfKey(audioSession); local
[all...]
/frameworks/wilhelm/src/
H A Ddevices.c216 SLuint32 index; local
218 for (index = 0 ; NULL != cd->mDescriptor; ++cd) {
220 ++index;
223 *pIndex = index;
226 index = *pIndex;
229 if (0 == index) {
246 --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;

Completed in 1968 milliseconds

1234567891011>>