Searched defs:size (Results 226 - 250 of 850) sorted by relevance

1234567891011>>

/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();
H A DCursorObjectAdapter.java129 public int size() { method in class:CursorObjectAdapter
H A DSparseArrayObjectAdapter.java35 public int size() { method in class:SparseArrayObjectAdapter
36 return mItems.size();
112 final int itemCount = mItems.size();
/frameworks/support/v4/java/android/support/v4/util/
H A DCircularArray.java136 removeFromStart(size());
144 * {@link #size()}
150 if (numOfElements > size()) {
177 * {@link #size()}
183 if (numOfElements > size()) {
232 * Get nth (0 <= n <= size()-1) element of the CircularArray.
235 * @throws {@link ArrayIndexOutOfBoundsException} if n < 0 or n >= size().
238 if (n < 0 || n >= size()) {
248 public int size() { method in class:CircularArray
253 * Return true if size() i
[all...]
H A DCircularIntArray.java139 * {@link #size()}
145 if (numOfElements > size()) {
156 * {@link #size()}
162 if (numOfElements > size()) {
189 * Get nth (0 <= n <= size()-1) integer of the CircularIntArray.
192 * @throws {@link ArrayIndexOutOfBoundsException} if n < 0 or n >= size().
195 if (n < 0 || n >= size()) throw new ArrayIndexOutOfBoundsException();
203 public int size() { method in class:CircularIntArray
208 * Return true if size() is 0.
209 * @return true if size() i
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DTileList.java51 public int size() { method in class:TileList
52 return mTiles.size();
92 public Tile(Class<T> klass, int size) { argument
94 mItems = (T[]) Array.newInstance(klass, 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 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...]
/frameworks/wilhelm/src/itf/
H A DIBufferQueue.c46 SLresult IBufferQueue_Enqueue(SLBufferQueueItf self, const void *pBuffer, SLuint32 size) argument
52 if (NULL == pBuffer || 0 == size) {
65 oldRear->mSize = size;
/frameworks/av/camera/tests/
H A DVendorTagDescriptorTests.cpp41 static bool ContainsTag(uint32_t* tagArray, size_t size, uint32_t tag) { argument
42 for (size_t i = 0; i < size; ++i) {
/frameworks/av/drm/libdrmframework/plugins/common/util/src/
H A DMimeTypeUtil.cpp43 int size; // Number of bytes. e.g. "audio/" = 6 bytes member in struct:android::MimeGroup
49 int size; // Number of bytes. e.g. "x-mpeg" = 6 bytes member in struct:android::MimeTypeList
138 if (0 == strncmp(pMimeType, pGroup->pGroup, pGroup->size)) {
147 len = strlen (pMimeType+pGroup->size);
150 (len == pMimeItem->size) &&
151 (0 == strcmp(pMimeType+pGroup->size, pMimeItem->pMimeExt))) {
/frameworks/av/include/media/
H A DRingBuffer.h31 * A RingBuffer class that maintains an array of objects that can grow up to a certain size.
49 iterator(T* ptr, size_t size, size_t pos, size_t ctr);
75 const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr);
146 * this ringbuffer, [0, size), the behavior for this is undefined.
152 * for this ringbuffer, [0, size), the behavior for this is undefined.
157 * Return the current size of this RingBuffer.
159 size_t size() const;
162 * Remove all elements from this RingBuffer and set the size to 0.
177 RingBuffer<T>::iterator::iterator(T* ptr, size_t size, size_t pos, size_t ctr) : argument
178 mPtr{ptr}, mSize{size}, mPo
221 const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr) argument
347 size_t RingBuffer<T>::size() const { function in class:android::RingBuffer
[all...]
/frameworks/av/media/libmedia/
H A DAudioParameter.cpp77 size_t size = mParameters.size(); local
78 for (size_t i = 0; i < size; i++) {
82 if (i < (size - 1)) str += ";";
174 if (mParameters.size() > index) {
H A DIDataSource.cpp52 virtual ssize_t readAt(off64_t offset, size_t size) { argument
56 data.writeInt64(size);
61 virtual status_t getSize(off64_t* size) { argument
66 *size = reply.readInt64();
114 size_t size = data.readInt32(); local
115 for (size_t i = 0; i < size; ++i) {
121 size = data.readInt32();
122 for (size_t i = 0; i < size; ++i) {
145 size_t size = (size_t) data.readInt64(); local
146 reply->writeInt64(readAt(offset, size));
151 off64_t size; local
192 size_t size = handle->copyControlVector.size(); local
[all...]
H A DIEffect.cpp72 int size = cmdSize; local
74 size = 0;
76 data.writeInt32(size);
77 if (size) {
78 data.write(pCmdData, size);
81 size = 0;
83 size = *pReplySize;
85 data.writeInt32(size);
97 size = reply.readInt32();
98 if (size !
[all...]
H A DIMediaHTTPConnection.cpp56 for (size_t i = 0; i < headers->size(); ++i) {
90 virtual ssize_t readAt(off64_t offset, void *buffer, size_t size) { argument
96 data.writeInt32(size);
119 if (len > size) {
120 ALOGE("requested %zu, got %zu", size, len);
123 if (len > mMemory->size()) {
124 ALOGE("got %zu, but memory has %zu", len, mMemory->size());
H A DIResourceManagerService.cpp40 size_t size = items.size(); local
41 // truncates size, but should be okay for this usecase
42 data->writeUint32(static_cast<uint32_t>(size));
43 for (size_t i = 0; i < size; i++) {
50 size_t size = (size_t)data.readUint32(); local
51 for (size_t i = 0; i < size && data.dataAvail() > 0; i++) {
H A DIStreamSource.cpp68 data.writeInt64(static_cast<int64_t>(buffers.size()));
69 for (size_t i = 0; i < buffers.size(); ++i) {
152 virtual void queueBuffer(size_t index, size_t size) { argument
156 data.writeInt64(static_cast<int64_t>(size));
188 size_t size = static_cast<size_t>(data.readInt64()); local
190 queueBuffer(index, size);
H A DMetadata.cpp100 // 4 int32s: size, key, type, value.
120 // 4 int32s: size, key, type, value.
149 size_t size = mData->readInt32(); local
150 if (size < kRecordHeaderSize || size > left) {
159 mData->setDataPosition(pos + size);
160 left -= size;
/frameworks/av/media/libmediaplayerservice/
H A DHDCP.cpp114 const void *inData, size_t size, uint32_t streamCTR,
126 return mHDCPModule->encrypt(inData, size, streamCTR, outInputCTR, outData);
131 size_t offset, size_t size, uint32_t streamCTR,
144 offset, size, streamCTR, outInputCTR, outData);
148 const void *inData, size_t size,
158 return mHDCPModule->decrypt(inData, size, streamCTR, outInputCTR, outData);
113 encrypt( const void *inData, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument
129 encryptNative( const sp<GraphicBuffer> &graphicBuffer, size_t offset, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument
147 decrypt( const void *inData, size_t size, uint32_t streamCTR, uint64_t outInputCTR, void *outData) argument
H A DMetadataRetrieverClient.cpp69 write(fd, result.string(), result.size());
153 ALOGE("offset (%lld) bigger than file size (%llu)",
211 size_t size = sizeof(VideoFrame) + frame->mSize; local
212 sp<MemoryHeapBase> heap = new MemoryHeapBase(size, 0, "MetadataRetrieverClient");
218 mThumbnail = new MemoryBase(heap, 0, size);
220 ALOGE("not enough memory for VideoFrame size=%zu", size);
253 size_t size = sizeof(MediaAlbumArt) + albumArt->size(); local
254 sp<MemoryHeapBase> heap = new MemoryHeapBase(size,
[all...]
/frameworks/av/media/libstagefright/
H A DESDS.cpp29 ESDS::ESDS(const void *data, size_t size) argument
30 : mData(new uint8_t[size]),
31 mSize(size),
36 memcpy(mData, data, size);
60 status_t ESDS::getCodecSpecificInfo(const void **data, size_t *size) const {
66 *size = mDecoderSpecificLength;
72 size_t offset, size_t size,
74 if (size == 0) {
79 --size;
84 if (size
71 skipDescriptorHeader( size_t offset, size_t size, uint8_t *tag, size_t *data_offset, size_t *data_size) const argument
125 parseESDescriptor(size_t offset, size_t size) argument
210 parseDecoderConfigDescriptor(size_t offset, size_t size) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dconceal.cpp149 int32 lumstart, chrstart, size; local
157 size = (int32)height * width_Y;
163 u2 = prevFrame + size + chrstart;
164 v2 = prevFrame + size + (size >> 2) + chrstart;
H A Dpost_filter.cpp44 int32 size; local
52 size = (int32)width * height;
54 oscl_memcpy(output, decodedFrame, size);
55 oscl_memcpy(output + size, decodedFrame + size, (size >> 2));
56 oscl_memcpy(output + size + (size >> 2), decodedFrame + size + (size >>
[all...]
H A Dvop.cpp122 /* We'll fail later if the size is too large. This is to allow playback of */
414 // video->displayWidth += (video->displayWidth & 0x1); /* displayed image should be even size */
424 // video->displayHeight += (video->displayHeight & 0x1); /* displayed image should be even size */
1022 int32 size; local
1085 if (video->size < 128*96)
1095 if (video->size < 176*144)
1105 if (video->size < 352*288)
1115 if (video->size < 704*576)
1125 if (video->size < 1408*1152)
1168 if (video->size < 12
[all...]

Completed in 5829 milliseconds

1234567891011>>