Searched refs:index (Results 201 - 225 of 901) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java115 * @param index index field for this transaction
124 int index, byte[] buffer, int length, int timeout) {
125 return native_control_request(requestType, request, value, index, buffer, length, timeout);
178 int index, byte[] buffer, int length, int timeout);
123 controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout) argument
177 native_control_request(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout) argument
/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/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/compile/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/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/opt/telephony/src/java/com/android/internal/telephony/
H A DWapPushOverSms.java139 int index = 0;
140 int transactionId = pdu[index++] & 0xFF;
141 int pduType = pdu[index++] & 0xFF;
158 if (pduDecoder.decodeUintvarInteger(index) == false) {
163 index += pduDecoder.getDecodedDataLength();
165 int headerStartIndex = index;
179 if (pduDecoder.decodeContentType(index) == false) {
186 index += pduDecoder.getDecodedDataLength();
207 if (pduDecoder.seekXWapApplicationId(index, index
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DSparseArrayCompat.java91 * Removes the mapping at the specified index.
93 public void removeAt(int index) { argument
94 if (mValues[index] != DELETED) {
95 mValues[index] = DELETED;
103 * @param index Index to begin at
106 public void removeAtRange(int index, int size) { argument
107 final int end = Math.min(mSize, index + size);
108 for (int i = index; i < end; i++) {
205 * Given an index in the range <code>0...size()-1</code>, returns
206 * the key from the <code>index</cod
209 keyAt(int index) argument
222 valueAt(int index) argument
235 setValueAt(int index, E value) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.h46 status_t getTrackFormat(size_t index, jobject *format) const;
48 status_t selectTrack(size_t index);
49 status_t unselectTrack(size_t index);
/frameworks/native/include/utils/
H A DSortedVector.h84 //! finds the index of an item
95 //! read-only access to an item at a given index
96 inline const TYPE& operator [] (size_t index) const;
98 inline const TYPE& itemAt(size_t index) const;
110 TYPE& editItemAt(size_t index) { argument
111 return *( static_cast<TYPE *>(VectorImpl::editItemLocation(index)) );
122 inline ssize_t removeItemsAt(size_t index, size_t count = 1);
124 inline ssize_t removeAt(size_t index) { return removeItemsAt(index); } argument
188 const TYPE& SortedVector<TYPE>::operator[](size_t index) cons
236 removeItemsAt(size_t index, size_t count) argument
[all...]
H A DVectorImpl.h69 ssize_t insertVectorAt(const VectorImpl& vector, size_t index);
71 ssize_t insertArrayAt(const void* array, size_t index, size_t length);
82 ssize_t replaceAt(size_t index);
83 ssize_t replaceAt(const void* item, size_t index);
86 ssize_t removeItemsAt(size_t index, size_t count = 1);
89 const void* itemLocation(size_t index) const;
90 void* editItemLocation(size_t index);
149 //! finds the index of an item
187 ssize_t insertVectorAt(const VectorImpl& vector, size_t index);
189 ssize_t insertArrayAt(const void* array, size_t index, size_
[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.h64 OMX_INDEXTYPE index, OMX_PTR params);
67 OMX_INDEXTYPE index, const OMX_PTR params);
95 OMX_INDEXTYPE index, const OMX_PTR params) const;
101 OMX_INDEXTYPE index, OMX_PTR params);
104 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/compile/linkloader/include/
H A DELFReloc.h33 size_t index; member in class:ELFReloc_CRTP
40 ELFReloc_CRTP() : index(0), r_offset(0), r_addend(0) { }
45 return index;
62 static ELFRelocTy *readRel(Archiver &AR, size_t index);
65 static ELFRelocTy *readRela(Archiver &AR, size_t index);
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java198 * Get the track format at the specified index.
201 public MediaFormat getTrackFormat(int index) { argument
202 return new MediaFormat(getTrackFormatNative(index));
205 private native Map<String, Object> getTrackFormatNative(int index); argument
214 public native void selectTrack(int index); argument
221 public native void unselectTrack(int index); argument
256 * Returns the track index the current sample originates from (or -1
/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/native/services/sensorservice/
H A DBatteryService.cpp66 ssize_t index = mActivations.indexOf(key); local
67 if (index < 0) {
68 index = mActivations.add(key);
70 Info& info(mActivations.editItemAt(index));
77 ssize_t index = mActivations.indexOf(Info(uid, handle)); local
78 if (index < 0) return false;
79 Info& info(mActivations.editItemAt(index));
/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;
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc4_17pf.cpp114 Word16 sign[], /* o : index of 4 pulses (position+sign+ampl)*4 */
151 index
231 Word16 index; local
282 index =
317 return index;
468 /* initialize 4 index for next loop. */
470 * These index have low complexity address computation because *
526 /* initialize 4 index for next loop (see i1 loop) */
530 /* index increment = STEP */
582 /* initialize 5 index fo
752 Word16 index; local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTicker.java112 int index = this.next;
114 while (index < len && !isGraphicOrEmoji(this.text.charAt(index))) {
115 index++;
117 if (index >= len) {
121 CharSequence substr = this.text.subSequence(index, this.text.length());
131 this.next = index + l.getLineStart(i+1);
135 this.current = index + start;
147 int index = 0;
149 while (index < le
[all...]
/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java177 public String getAttributeNamespace(int index) { argument
178 int id = nativeGetAttributeNamespace(mParseState, index);
179 if (DEBUG) System.out.println("getAttributeNamespace of " + index + " = " + id);
182 throw new IndexOutOfBoundsException(String.valueOf(index));
184 public String getAttributeName(int index) { argument
185 int id = nativeGetAttributeName(mParseState, index);
186 if (DEBUG) System.out.println("getAttributeName of " + index + " = " + id);
188 throw new IndexOutOfBoundsException(String.valueOf(index));
190 public String getAttributePrefix(int index) { argument
200 public String getAttributeValue(int index) { argument
214 getAttributeType(int index) argument
217 isAttributeDefault(int index) argument
310 getAttributeNameResource(int index) argument
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp71 int index = 0; local
72 for (; index < size; ++index) {
73 if (mUniqueIdVector.itemAt(index) == temp) {
78 if (index == size) {
151 for (unsigned int index = 0; index < plugInIdList.size(); index++) {
152 IDrmEngine& rDrmEngine = mPlugInManager.getPlugIn(plugInIdList.itemAt(index));
162 for (unsigned int index
[all...]

Completed in 332 milliseconds

1234567891011>>