Searched refs:requestedSize (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/text/ |
D | AutoGrowArray.java | 98 final int requestedSize = mSize + count; in ensureCapacity() local 99 if (requestedSize >= mValues.length) { in ensureCapacity() 100 final int newCapacity = computeNewCapacity(mSize, requestedSize); in ensureCapacity() 207 final int requestedSize = mSize + count; in ensureCapacity() local 208 if (requestedSize >= mValues.length) { in ensureCapacity() 209 final int newCapacity = computeNewCapacity(mSize, requestedSize); in ensureCapacity() 316 final int requestedSize = mSize + count; in ensureCapacity() local 317 if (requestedSize >= mValues.length) { in ensureCapacity() 318 final int newCapacity = computeNewCapacity(mSize, requestedSize); in ensureCapacity()
|
/frameworks/av/media/libstagefright/foundation/ |
D | MediaBufferGroup.cpp | 165 MediaBufferBase **out, bool nonBlocking, size_t requestedSize) { in acquire_buffer() argument 168 size_t smallest = requestedSize; in acquire_buffer() 169 size_t biggest = requestedSize; in acquire_buffer() 178 if (size >= requestedSize) { in acquire_buffer() 192 const size_t allocateSize = requestedSize == 0 ? biggest : in acquire_buffer() 193 requestedSize < SIZE_MAX / 3 * 2 /* NB: ordering */ ? in acquire_buffer() 194 requestedSize * 3 / 2 : requestedSize; in acquire_buffer() 204 requestedSize, (*free)->size()); in acquire_buffer() 209 ALOGV("allocate buffer, requested size %zu", requestedSize); in acquire_buffer()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ImageUtils.java | 174 public static int calculateSampleSize(Size currentSize, Size requestedSize) { in calculateSampleSize() argument 177 if (currentSize.getHeight() > requestedSize.getHeight() in calculateSampleSize() 178 || currentSize.getWidth() > requestedSize.getWidth()) { in calculateSampleSize() 184 while ((halfHeight / inSampleSize) >= requestedSize.getHeight() in calculateSampleSize() 185 && (halfWidth / inSampleSize) >= requestedSize.getWidth()) { in calculateSampleSize()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaBufferGroup.h | 55 MediaBufferBase **buffer, bool nonBlocking = false, size_t requestedSize = 0); 83 CMediaBuffer **buf, bool nonBlocking, size_t requestedSize) -> media_status_t { in wrap() 86 &acquiredBuf, nonBlocking, requestedSize); in wrap()
|
/frameworks/av/include/media/ |
D | MediaExtractorPluginApi.h | 70 CMediaBuffer **buffer, bool nonBlocking, size_t requestedSize);
|
D | MediaExtractorPluginHelper.h | 101 MediaBufferHelper **buffer, bool nonBlocking = false, size_t requestedSize = 0) { 104 mGroup->acquire_buffer(mGroup->handle, &buf, nonBlocking, requestedSize);
|
/frameworks/base/libs/hwui/jni/ |
D | BitmapFactory.cpp | 103 const int requestedSize = bytesPerPixel * in allocPixelRef() local 106 if (requestedSize > mSize) { in allocPixelRef() 108 mSize, requestedSize); in allocPixelRef()
|
D | Bitmap.cpp | 447 size_t requestedSize = width * height * SkColorTypeBytesPerPixel(colorType); in Bitmap_reconfigure() local 448 if (requestedSize > bitmap->getAllocationByteCount()) { in Bitmap_reconfigure()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioArgsParser.h | 514 int32_t requestedSize = getNumberOfBursts() * framesPerBurst; in compareWithStream() local 516 requestedSize, in compareWithStream()
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 328 uint32_t setBufferSizeInFrames(uint32_t requestedSize);
|