/frameworks/av/media/libstagefright/rtsp/ |
H A D | AH263Assembler.cpp | 159 size_t totalSize = 0; local 164 totalSize += unit->size(); 168 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
H A D | ARTPAssembler.cpp | 77 size_t totalSize = 0; local 81 totalSize += (*it)->size() + 7; 84 sp<ABuffer> accessUnit = new ABuffer(totalSize); 124 size_t totalSize = 0; local 127 totalSize += (*it)->size(); 130 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
H A D | AAMRAssembler.cpp | 152 size_t totalSize = 0; local 177 totalSize += getFrameSize(mIsWide, (toc >> 3) & 0x0f); 186 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
H A D | AAVCAssembler.cpp | 215 size_t totalSize = size - 2; local 260 totalSize += size - 2; 283 // Leave room for the header. So far totalSize did not include the 285 ++totalSize; 287 sp<ABuffer> unit = new ABuffer(totalSize); 308 unit->setRange(0, totalSize); 322 size_t totalSize = 0; local 325 totalSize += 4 + (*it)->size(); 328 sp<ABuffer> accessUnit = new ABuffer(totalSize);
|
/frameworks/base/include/androidfw/ |
H A D | BackupHelpers.h | 42 int totalSize; member in struct:android::SnapshotHeader
|
/frameworks/av/media/libmedia/ |
H A D | ICrypto.cpp | 124 size_t totalSize = 0; local 126 totalSize += subSamples[i].mNumBytesOfEncryptedData; 127 totalSize += subSamples[i].mNumBytesOfClearData; 130 data.writeInt32(totalSize); 282 size_t totalSize = data.readInt32(); local 300 dstPtr = calloc(1, totalSize); 322 if (overflow || sumSubsampleSizes != totalSize) { 324 } else if (offset + totalSize > sharedBuffer->size()) { 346 CHECK_LE(result, static_cast<ssize_t>(totalSize));
|
/frameworks/base/tools/aapt2/ |
H A D | StringPool.cpp | 319 const size_t totalSize = encodedLengthUnits<char>(entry->value.size()) local 323 char* data = out->nextBlock<char>(totalSize); 332 const size_t totalSize = encodedLengthUnits<char16_t>(entry->value.size()) local 335 char16_t* data = out->nextBlock<char16_t>(totalSize);
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffWriter.cpp | 69 uint32_t totalSize = getTotalSize(); local 76 if (mNamedIfds[i]->setStripOffset(totalSize) != OK) { 80 totalSize += stripSize; 81 WORD_ALIGN(totalSize); 82 offsetVector.add(mNamedIfds.keyAt(i), totalSize); 372 uint32_t totalSize = FILE_HEADER_SIZE; local 375 totalSize += ifd->getSize(); 378 return totalSize;
|
H A D | DngUtils.cpp | 239 uint32_t totalSize = NUMBER_INT_ARGS * sizeof(uint32_t) + NUMBER_DOUBLE_ARGS * sizeof(double) + local 242 err = mEndianOut.write(&totalSize, 0, 1); 342 uint32_t totalSize = (NUMBER_CENTER_ARGS + NUMBER_COEFFS) * sizeof(double) + sizeof(uint32_t); local 344 err = mEndianOut.write(&totalSize, 0, 1); 395 uint32_t totalSize = (NUM_NON_VARLEN_FIELDS + badPointCount * SIZE_OF_POINT + local 397 err = mEndianOut.write(&totalSize, 0, 1);
|
/frameworks/av/media/libstagefright/ |
H A D | WAVExtractor.cpp | 149 size_t totalSize = U32_LE_AT(&header[4]); local 152 size_t remainingSize = totalSize;
|
H A D | NuCachedSource2.cpp | 48 size_t totalSize() const { function in struct:android::PageCache 337 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize()); 361 mCacheOffset + mCache->totalSize(), page->mData, kPageSize); 417 if (mFetching && mCache->totalSize() >= mHighwaterThresholdBytes) { 490 && mCacheOffset + mCache->totalSize() - mLastAccessPos 508 ALOGI("restarting prefetcher, totalSize = %zu", mCache->totalSize()); 525 && offset + size <= mCacheOffset + mCache->totalSize()) { 565 return mCacheOffset + mCache->totalSize(); 581 off64_t lastBytePosCached = mCacheOffset + mCache->totalSize(); 663 size_t totalSize = mCache->totalSize(); local [all...] |
H A D | MediaCodec.cpp | 1290 size_t totalSize = 0; local 1293 totalSize += portDesc->bufferAt(i)->capacity(); 1297 if (totalSize) { 1298 mDealer = new MemoryDealer(totalSize, "MediaCodec");
|
H A D | OggExtractor.cpp | 542 size_t totalSize = 0;; local 544 totalSize += page->mLace[i]; 559 return sizeof(header) + page->mNumSegments + totalSize;
|
H A D | OMXCodec.cpp | 1664 size_t totalSize = def.nBufferCountActual * def.nBufferSize; local 1665 mDealer[portIndex] = new MemoryDealer(totalSize, "OMXCodec");
|
H A D | ACodec.cpp | 811 size_t totalSize = def.nBufferCountActual * bufSize; local 812 mDealer[portIndex] = new MemoryDealer(totalSize, "ACodec"); 1109 size_t totalSize = bufferCount * bufSize; local 1110 mDealer[kPortIndexOutput] = new MemoryDealer(totalSize, "ACodec");
|
/frameworks/av/media/libstagefright/filters/ |
H A D | MediaFilter.cpp | 240 size_t totalSize = kBufferCountActual * bufferSize; local 242 mDealer[portIndex] = new MemoryDealer(totalSize, "MediaFilter");
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 38 int64_t voidSize(int64_t totalSize) { argument 39 if (totalSize < 2) { 42 if (totalSize < 9) { 43 return totalSize - 2; 45 return totalSize - 9; 52 total += (*it)->totalSize(); 98 uint64_t WebmElement::totalSize() { function in class:android::WebmElement 105 size = totalSize(); 113 size = totalSize(); 214 EbmlVoid::EbmlVoid(uint64_t totalSize) argument [all...] |
H A D | WebmWriter.cpp | 277 uint64_t cuesSize = cues->totalSize(); 297 uint64_t totalSize = ::lseek(mFd, 0, SEEK_END); local 298 uint64_t segmentSize = totalSize - mSegmentDataStart;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
H A D | StorageMeasurement.java | 80 public long totalSize; field in class:StorageMeasurement.MeasurementDetails 398 details.totalSize = file.getTotalSpace();
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 502 size_t totalSize = 0; local 504 iterateOverNativeFiles(env, apkHandle, javaCpuAbi, sumFiles, &totalSize); 506 return totalSize;
|
H A D | android_hardware_SoundTrigger.cpp | 693 size_t totalSize = sizeof(struct sound_trigger_recognition_config) + dataSize; local 695 new MemoryDealer(totalSize, "SoundTrigge-JNI::StartRecognition"); 699 sp<IMemory> memory = memoryDealer->allocate(totalSize);
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 794 size_t totalSize = 0; local 838 size_t auSize = 4 * nals.size() + totalSize; 923 totalSize += nalSize;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewController.java | 1097 private int calculateTranslate(int start, int startSize, int totalSize, float scale) { argument 1111 int scaleFromEdge = Math.round((totalSize - totalSize * scale) / 2); 1117 int blankSize = Math.round((totalSize * scale - startSize) / 2);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
H A D | ItemTouchHelper.java | 2047 * @param totalSize The total size of RecyclerView in the scroll direction. 2055 int totalSize, long msSinceStartScroll) { 2053 interpolateOutOfBoundsScroll(RecyclerView recyclerView, int viewSize, int viewSizeOutOfBounds, int totalSize, long msSinceStartScroll) argument
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1477 const uint32_t totalSize = dtohl(next->header.size); local 1502 if ((totalSize-headerSize) < minExtSize) { 1506 (int)(totalSize-headerSize), (int)minExtSize);
|