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

1234567891011>>

/frameworks/support/work/workmanager/src/main/java/androidx/work/
H A DContentUriTriggers.java52 public int size() { method in class:ContentUriTriggers
53 return mTriggers.size();
H A DData.java35 * an enforced {@link #MAX_DATA_BYTES} limit on the serialized (byte array) size of the payloads.
282 public int size() { method in class:Data
283 return mValues.size();
300 objectOutputStream.writeInt(data.size());
322 if (outputStream.size() > MAX_DATA_BYTES) {
/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
2106 android_audioPlayer_metadata_getKey(CAudioPlayer *ap, SLuint32 index, SLuint32 size, SLMetadataInfo *pKey) argument
2179 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.cpp142 bool AudioSfDecoder::getPcmFormatKeyValue(uint32_t index, uint32_t size, uint32_t* pValue) { argument
146 } else if (size != valueSize) {
147 // this ensures we are accessing mPcmFormatValues with a valid size for that index
148 SL_LOGE("Error retrieving metadata value at index %d: using size of %d, should be %d",
149 index, size, valueSize);
280 off64_t size; local
283 if (dataSource->getSize(&size) == OK
286 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
915 uint32_t size; local
947 uint32_t size; local
983 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_
144 /* Increase data pointer by buffer size */
444 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/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/
H A DReparentImageUsage.java74 private void addImageView(FrameLayout parent, ImageView.ScaleType scaleType, int size) { argument
79 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(size, size);
/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/
H A DReparentImageUsage.java74 private void addImageView(FrameLayout parent, ImageView.ScaleType scaleType, int size) { argument
79 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(size, size);
/frameworks/support/swiperefreshlayout/src/androidTest/java/androidx/swiperefreshlayout/widget/
H A DSwipeRefreshLayoutActions.java54 public static ViewAction setSize(final int size) { argument
63 return "Set SwipeRefreshLayout size";
71 swipeRefreshLayout.setSize(size);
/frameworks/support/swiperefreshlayout/src/main/java/androidx/swiperefreshlayout/widget/
H A DCircularProgressDrawable.java61 * so will update the arrow dimensions, ring size and stroke width to fit the one specified.
160 * Sets the overall size for the progress spinner. This updates the radius
163 * @param size one of {@link #LARGE} or {@link #DEFAULT}
165 public void setStyle(@ProgressDrawableSize int size) { argument
166 if (size == LARGE) {
H A DSwipeRefreshLayout.java316 public void setSize(int size) { argument
317 if (size != CircularProgressDrawable.LARGE && size != CircularProgressDrawable.DEFAULT) {
321 if (size == CircularProgressDrawable.LARGE) {
327 // update by setting it to null before updating its size and then
330 mProgress.setStyle(size);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
H A DMenuBuilder.java381 final int itemCount = size();
413 final int itemCount = size();
529 final int N = lri != null ? lri.size() : 0;
563 final int maxRemovable = mItems.size() - i;
586 if ((index < 0) || (index >= mItems.size())) return;
621 final int N = mItems.size();
638 final int N = mItems.size();
651 final int N = mItems.size();
669 final int N = mItems.size();
685 final int size
752 public int size() { method in class:MenuBuilder
[all...]
H A DMenuWrapperICS.java143 public int size() { method in class:MenuWrapperICS
144 return mWrappedObject.size();
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DAppCompatButton.java192 public void setTextSize(int unit, float size) { argument
194 super.setTextSize(unit, size);
197 mTextHelper.setTextSize(unit, size);

Completed in 246 milliseconds

1234567891011>>