Searched defs:size (Results 1 - 25 of 1014) sorted by last modified time

1234567891011>>

/frameworks/webview/chromium/loader/
H A Dloader.cpp51 jboolean DoReserveAddressSpace(jlong size) { argument
52 size_t vsize = static_cast<size_t>(size);
142 jboolean ReserveAddressSpace(JNIEnv*, jclass, jlong size) { argument
143 return DoReserveAddressSpace(size);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h1299 XAuint32 size; member in struct:XAMetadataInfo_
1442 XAuint32 size,
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h753 SLuint32 size; member in struct:SLMetadataInfo_
846 SLuint32 size,
1390 SLuint32 size
/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp26 // ADTS header size is 7, but frame size information ends on byte 6 (when counting from byte 1)
30 * Returns the size of an AAC ADTS frame.
31 * Note that if the returned value + offset > size, it means that a partial frame starts at that
32 * offset, but this function will still return the size of the full frame.
35 * @param size the size in bytes of the data block starting at data
36 * @return the size in bytes of the AAC ADTS frame starting at the given offset of the given
39 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { argument
42 if (!(offset + ADTS_HEADER_SIZE_UP_TO_FRAMESIZE < (off64_t) size)) {
84 validateBufferStartEndOnFrameBoundaries(void* data, size_t size) argument
[all...]
H A DAudioPlayer_to_android.cpp147 static size_t adecoder_writeToBufferQueue(const uint8_t *data, size_t size, CAudioPlayer* ap) { argument
153 SL_LOGD("received %zu bytes from decoder", size);
167 if (ap->mBufferQueue.mSizeConsumed + size < oldFront->mSize) {
169 ap->mBufferQueue.mSizeConsumed += size;
171 memcpy(pDest, data, size);
172 sizeConsumed = size;
652 // such as the number of channels, or sample size are unknown to the player at this stage
1080 // checkDataFormat() already checked bits per sample, container size, and representation
1092 // we don't support container size != sample depth
1094 SL_LOGE("Cannot create audio player: unsupported container size
2105 android_audioPlayer_metadata_getKey(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) argument
2178 android_audioPlayer_metadata_getValue(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pValue) argument
[all...]
H A DBufferQueueSource.cpp34 sizeof(SLuint32), // item size
57 ssize_t BufferQueueSource::readAt(off64_t offset, void *data, size_t size) { argument
58 SL_LOGD("BufferQueueSource::readAt(offset=%lld, data=%p, size=%d)", offset, data, size);
99 if (offset + (off64_t) size <= mStreamToBqOffset + oldFront->mDataSize) {
102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) {
124 memcpy(data, pSrc, size);
125 readSize = size;
165 status_t BufferQueueSource::getSize(off64_t *size) { argument
168 *size
[all...]
H A Dandroid_AudioSfDecoder.cpp139 bool AudioSfDecoder::getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue) { argument
143 } else if (size != valueSize) {
144 // this ensures we are accessing mPcmFormatValues with a valid size for that index
145 SL_LOGE("Error retrieving metadata value at index %d: using size of %d, should be %d",
146 index, size, valueSize);
276 off64_t size; local
279 if (dataSource->getSize(&size) == OK
282 mBitrate = size * 8000000ll / durationUs; // in bits/sec
H A Dandroid_Effect.cpp57 uint32_t size; local
64 size = sizeof(int32_t);
71 size = 2 * sizeof(int32_t);
74 size = 2 * sizeof(int32_t);
78 return size;
83 uint32_t size; local
91 size = sizeof(int16_t);
94 size = 2 * sizeof(int16_t);
97 size = sizeof(int32_t);
100 size
119 uint32_t size; local
143 uint32_t size; local
167 uint32_t size; local
913 uint32_t size; local
945 uint32_t size; local
981 uint32_t size; local
[all...]
/frameworks/wilhelm/src/desktop/
H A DSndFile.cpp77 SLuint32 size = (SLuint32) (count * sizeof(short)); local
78 result = IBufferQueue_Enqueue(caller, pBuffer, size);
/frameworks/wilhelm/src/itf/
H A DIBufferQueue.cpp46 SLresult IBufferQueue_Enqueue(SLBufferQueueItf self, const void *pBuffer, SLuint32 size) argument
52 if (NULL == pBuffer || 0 == size) {
65 oldRear->mSize = size;
H A DIMetadataTraversal.cpp75 SLuint32 size = thiz->mSize; local
77 *pSize = size;
86 SLint32 *pNodeID, SLuint32 *pType, SLuint32 size, SLchar *pMimeType)
85 IMetadataTraversal_GetChildInfo(SLMetadataTraversalItf self, SLuint32 index, SLint32 *pNodeID, SLuint32 *pType, SLuint32 size, SLchar *pMimeType) argument
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeToBuffQueue.cpp72 /* size of the struct to retrieve the PCM format metadata values: the values we're interested in
73 * are SLuint32, but it is saved in the data field of a SLMetadataInfo, hence the larger size.
74 * Nate that this size is queried and displayed at l.452 for demonstration/test purposes.
113 SLuint32 size; member in struct:CallbackCntxt_
194 /* Increase data pointer by buffer size */
250 // pcmMetaData->size == sizeof(SLuint32)
406 cntxt.size = sizeof(pcmData);
462 // can make assumptions about the size of the keys and their matching values (all SLuint32)
478 fprintf(stdout, "key[%d] size=%d, name=%s \tvalue size
[all...]
H A DslesTestPlayFdPath.cpp71 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) argument
138 locatorFd.length = size;
251 fprintf(stdout, "no file size given, using SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE\n");
H A DslesTestRecBuffQueue.cpp85 SLuint32 size; member in struct:CallbackCntxt_
143 /* Increase data pointer by buffer size */
443 cntxt.size = sizeof(pcmData);
H A DslesTestSawtoothBufferQueue.cpp54 /* Audio data buffer size in 16 bit words. 8 data segments are used in
76 SLuint32 size; member in struct:CallbackCntxt_
92 if(pCntxt->pData < (pCntxt->pDataBase + pCntxt->size))
98 /* Increase data pointer by buffer size */
192 cntxt.size = sizeof(pcmData) / 2;
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c176 unsigned size; local
190 size = sizeof(sine);
194 size = sizeof(square);
198 size = sizeof(half);
214 size = sizeof(sawtooth);
217 result = (*playerBufferqueue)->Enqueue(playerBufferqueue, buffer, size);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
H A Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ...
/frameworks/support/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
H A DReparentImageUsage.java73 private void addImageView(FrameLayout parent, ImageView.ScaleType scaleType, int size) { argument
78 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(size, size);
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
H A Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ...
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
H A DReparentImageUsage.java73 private void addImageView(FrameLayout parent, ImageView.ScaleType scaleType, int size) { argument
78 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(size, size);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DListRowDataAdapter.java45 int i = mAdapter.size() - 1;
57 public int size() { method in class:ListRowDataAdapter
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DBoundsRule.java35 * Creates ValueRule using a fraction of parent size.
151 private int doCalculate(int value, ValueRule rule, int size) { argument
152 return value + rule.mAbsoluteValue + (int) (rule.mFraction * size);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DArrayObjectAdapter.java50 public int size() { method in class:ArrayObjectAdapter
51 return mItems.size();
88 add(mItems.size(), item);
93 * If the index is > {@link #size} an exception will be thrown.
105 * given index. If the index is >= {@link #size} an exception will be thrown.
111 int itemsCount = items.size();
155 int itemsToRemove = Math.min(count, mItems.size() - position);
171 int itemCount = mItems.size();

Completed in 2792 milliseconds

1234567891011>>