Home
last modified time | relevance | path

Searched refs:actualSize (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tools/aapt2/util/
DBigBuffer.cpp36 const size_t actualSize = std::max(mBlockSize, size); in nextBlockImpl() local
41 block.buffer = std::unique_ptr<uint8_t[]>(new uint8_t[actualSize]()); in nextBlockImpl()
45 block.mBlockSize = actualSize; in nextBlockImpl()
/frameworks/base/core/jni/android/graphics/
DHarfBuzzNGFaceSkia.cpp150 size_t actualSize = typeface->getTableData(tag, 0, tableSize, buffer); in harfbuzzSkiaReferenceTable() local
151 if (tableSize != actualSize) { in harfbuzzSkiaReferenceTable()
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java517 long actualSize = getBlockDeviceSize() - HEADER_SIZE - 1;
518 return actualSize <= MAX_DATA_BLOCK_SIZE ? actualSize : MAX_DATA_BLOCK_SIZE;
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp1201 size_t actualSize; in test_read_header_and_entity() local
1222 err = reader.ReadEntityHeader(&string, &actualSize); in test_read_header_and_entity()
1232 if (actualSize != bufSize) { in test_read_header_and_entity()
1234 bufSize, actualSize); in test_read_header_and_entity()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2110 size_t actualSize = (*me->mCallback)( in CallbackWrapper() local
2123 ALOGV_IF(actualSize == 0 && buffer->size > 0, "callbackwrapper: empty buffer returned"); in CallbackWrapper()
2125 buffer->size = actualSize; in CallbackWrapper()
2239 size_t actualSize = in threadLoop() local
2243 if (actualSize > 0) { in threadLoop()
2244 sink->write(mBuffer, actualSize); in threadLoop()
/frameworks/native/include/input/
DInputTransport.h126 bool isValid(size_t actualSize) const;
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1248 int actualSize = Math.min( in calculateOverflowHeight() local
1254 if (actualSize < mOverflowPanel.getCount()) { in calculateOverflowHeight()
1259 return actualSize * getLineHeight(mContext) in calculateOverflowHeight()
/frameworks/native/libs/input/
DInputTransport.cpp73 bool InputMessage::isValid(size_t actualSize) const { in isValid()
74 if (size() == actualSize) { in isValid()