/frameworks/av/include/private/media/ |
H A D | VideoFrame.h | 32 MediaAlbumArt(): mSize(0), mData(0) {} 35 mSize = 0; 42 mSize = ftell(in); // Allocating buffer of size equals to the external file size. 43 if (mSize == 0 || (mData = new uint8_t[mSize]) == NULL) { 45 if (mSize != 0) { 46 mSize = 0; 51 if (fread(mData, 1, mSize, in) != mSize) { // Read failed. 54 mSize 82 uint32_t mSize; // Number of bytes in mData member in class:android::MediaAlbumArt 121 uint32_t mSize; // Number of bytes in mData member in class:android::VideoFrame [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | AbsoluteSizeSpan.java | 26 private final int mSize; field in class:AbsoluteSizeSpan 33 mSize = size; 42 mSize = size; 47 mSize = src.readInt(); 60 dest.writeInt(mSize); 65 return mSize; 75 ds.setTextSize(mSize * ds.density); 77 ds.setTextSize(mSize); 84 ds.setTextSize(mSize * ds.density); 86 ds.setTextSize(mSize); [all...] |
/frameworks/base/core/java/android/util/ |
H A D | SparseBooleanArray.java | 45 mSize = 0; 74 int i = binarySearch(mKeys, 0, mSize, key); 87 int i = binarySearch(mKeys, 0, mSize, key); 90 System.arraycopy(mKeys, i + 1, mKeys, i, mSize - (i + 1)); 91 System.arraycopy(mValues, i + 1, mValues, i, mSize - (i + 1)); 92 mSize--; 102 int i = binarySearch(mKeys, 0, mSize, key); 109 if (mSize >= mKeys.length) { 110 int n = ArrayUtils.idealIntArraySize(mSize + 1); 123 if (mSize 245 private int mSize; field in class:SparseBooleanArray [all...] |
H A D | SparseIntArray.java | 30 private int mSize; field in class:SparseIntArray 49 mSize = 0; 78 int i = binarySearch(mKeys, 0, mSize, key); 91 int i = binarySearch(mKeys, 0, mSize, key); 102 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1)); 103 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); 104 mSize--; 113 int i = binarySearch(mKeys, 0, mSize, key); 120 if (mSize >= mKeys.length) { 121 int n = ArrayUtils.idealIntArraySize(mSize [all...] |
H A D | SparseLongArray.java | 32 private int mSize; field in class:SparseLongArray 51 mSize = 0; 80 int i = binarySearch(mKeys, 0, mSize, key); 93 int i = binarySearch(mKeys, 0, mSize, key); 104 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1)); 105 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); 106 mSize--; 115 int i = binarySearch(mKeys, 0, mSize, key); 122 if (mSize >= mKeys.length) { 123 growKeyAndValueArrays(mSize [all...] |
H A D | LongSparseArray.java | 32 private int mSize; field in class:LongSparseArray 51 mSize = 0; 82 int i = binarySearch(mKeys, 0, mSize, key); 95 int i = binarySearch(mKeys, 0, mSize, key); 123 // Log.e("SparseArray", "gc start with " + mSize); 125 int n = mSize; 145 mSize = o; 147 // Log.e("SparseArray", "gc end with " + mSize); 156 int i = binarySearch(mKeys, 0, mSize, key); 163 if (i < mSize [all...] |
H A D | SparseArray.java | 32 private int mSize; field in class:SparseArray 51 mSize = 0; 82 int i = binarySearch(mKeys, 0, mSize, key); 95 int i = binarySearch(mKeys, 0, mSize, key); 123 // Log.e("SparseArray", "gc start with " + mSize); 125 int n = mSize; 145 mSize = o; 147 // Log.e("SparseArray", "gc end with " + mSize); 156 int i = binarySearch(mKeys, 0, mSize, key); 163 if (i < mSize [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 33 mSize(0), 39 mSize(0), 46 mSize(0), 53 mSize(0), 60 mSize(0), 78 return mSize; 86 return mSize == 0; 112 mSize = 0; 118 for (size_t i = 0; i < mSize; ++i) { 126 return mSize [all...] |
H A D | ABitReader.cpp | 25 mSize(size), 31 CHECK_GT(mSize, 0u); 35 for (i = 0; mSize > 0 && i < 4; ++i) { 39 --mSize; 87 ++mSize; 95 return mSize * 8 + mNumBitsLeft;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 65 mSize = 0; 81 int i = binarySearch(mKeys, 0, mSize, key); 94 int i = binarySearch(mKeys, 0, mSize, key); 122 int n = mSize; 143 mSize = o; 145 int newSize = ArrayUtils.idealIntArraySize(mSize); 164 int i = binarySearch(mKeys, 0, mSize, key); 171 if (i < mSize && (mValues[i] == DELETED || mValues[i].get() == null)) { 177 if (mSize >= mKeys.length && (mGarbage || hasReclaimedRefs())) { 181 i = ~binarySearch(mKeys, 0, mSize, ke 375 private int mSize; field in class:SparseWeakArray [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | SparseArrayCompat.java | 44 mSize = 0; 60 int i = binarySearch(mKeys, 0, mSize, key); 73 int i = binarySearch(mKeys, 0, mSize, key); 107 final int end = Math.min(mSize, index + size); 114 // Log.e("SparseArray", "gc start with " + mSize); 116 int n = mSize; 135 mSize = o; 137 // Log.e("SparseArray", "gc end with " + mSize); 146 int i = binarySearch(mKeys, 0, mSize, key); 153 if (i < mSize 359 private int mSize; field in class:SparseArrayCompat [all...] |
H A D | LongSparseArray.java | 30 private int mSize; field in class:LongSparseArray 49 mSize = 0; 80 int i = binarySearch(mKeys, 0, mSize, key); 93 int i = binarySearch(mKeys, 0, mSize, key); 121 // Log.e("SparseArray", "gc start with " + mSize); 123 int n = mSize; 143 mSize = o; 145 // Log.e("SparseArray", "gc end with " + mSize); 154 int i = binarySearch(mKeys, 0, mSize, key); 161 if (i < mSize [all...] |
/frameworks/native/libs/binder/ |
H A D | MemoryBase.cpp | 30 : mSize(size), mOffset(offset), mHeap(heap) 37 if (size) *size = mSize;
|
H A D | MemoryHeapBase.cpp | 44 : mFD(-1), mSize(0), mBase(MAP_FAILED), 50 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), 67 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), 86 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), 101 mSize = size; 143 mSize = size; 158 //ALOGD("munmap(fd=%d, base=%p, size=%lu)", fd, mBase, mSize); 159 munmap(mBase, mSize); 162 mSize = 0; 176 return mSize; [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | MutableFrameFormat.java | 49 mSize = SIZE_UNKNOWN; 54 mSize = SIZE_UNKNOWN; 61 mSize = SIZE_UNKNOWN; 69 mSize = SIZE_UNKNOWN; 78 mSize = SIZE_UNKNOWN;
|
H A D | NativeBuffer.java | 29 private int mSize = 0; field in class:NativeBuffer 53 if (mSize > 0 && !nativeCopyTo(result)) { 60 return mSize; 64 return (mDataPointer != 0) ? mSize / getElementSize() : 0; 114 if (mDataPointer == 0 || mSize == 0
|
/frameworks/av/media/libstagefright/ |
H A D | MediaBuffer.cpp | 39 mSize(size), 52 mSize(size), 65 mSize(1), 67 mRangeLength(mSize), 79 mSize(buffer->size()), 81 mRangeLength(mSize), 125 return mSize; 137 if ((mGraphicBuffer == NULL) && (offset + length > mSize)) { 138 ALOGE("offset = %d, length = %d, mSize = %d", offset, length, mSize); [all...] |
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | SkOmxPixelRef.h | 34 size_t getSize() const { return mSize; } 44 size_t mSize; member in class:android::SkOmxPixelRef
|
H A D | StreamSource.cpp | 26 mSize = stream->getLength(); 49 *size = mSize;
|
/frameworks/native/include/binder/ |
H A D | MemoryBase.h | 38 size_t getSize() const { return mSize; } 43 size_t mSize; member in class:android::MemoryBase
|
/frameworks/ex/common/java/com/android/common/widget/ |
H A D | CompositeCursorAdapter.java | 59 private int mSize = 0; field in class:CompositeCursorAdapter 88 if (mSize >= mPartitions.length) { 89 int newCapacity = mSize + 2; 91 System.arraycopy(mPartitions, 0, newAdapters, 0, mSize); 94 mPartitions[mSize++] = partition; 106 mSize - partitionIndex - 1); 107 mSize--; 116 for (int i = 0; i < mSize; i++) { 127 for (int i = 0; i < mSize; i++) { 134 mSize [all...] |
/frameworks/base/libs/hwui/ |
H A D | TextDropShadowCache.cpp | 32 mSize(0), mMaxSize(MB(DEFAULT_DROP_SHADOW_CACHE_SIZE)) { 47 mSize(0), mMaxSize(maxByteSize) { 65 return mSize; 74 while (mSize > mMaxSize) { 85 mSize -= texture->bitmapSize; 126 while (mSize + size > mMaxSize) { 150 mSize += size;
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | VideoSource.h | 35 mSize((width * height * 3) / 2) { 36 mGroup.add_buffer(new MediaBuffer(mSize)); 71 memset((*buffer)->data(), x, mSize); 72 (*buffer)->set_range(0, mSize); 89 size_t mSize; member in class:android::VideoSource
|
/frameworks/native/libs/utils/ |
H A D | SharedBuffer.cpp | 32 sb->mSize = size; 50 SharedBuffer* sb = alloc(mSize); 62 if (buf->mSize == newSize) return buf; 65 buf->mSize = newSize; 71 const size_t mySize = mSize;
|
/frameworks/base/core/java/android/nfc/tech/ |
H A D | MifareClassic.java | 123 private int mSize; field in class:MifareClassic 156 mSize = SIZE_1K; 160 mSize = SIZE_MINI; 164 mSize = SIZE_2K; 169 mSize = SIZE_4K; 174 mSize = SIZE_4K; 178 mSize = SIZE_1K; 183 mSize = SIZE_4K; 188 mSize = SIZE_1K; 194 mSize [all...] |