Searched refs:mSize (Results 1 - 25 of 92) sorted by relevance

1234

/frameworks/base/include/private/media/
H A DVideoFrame.h32 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 DAbsoluteSizeSpan.java26 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 DSparseBooleanArray.java45 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 DSparseIntArray.java30 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 DLongSparseArray.java49 mSize = 0;
87 int i = binarySearch(mKeys, 0, mSize, key);
100 int i = binarySearch(mKeys, 0, mSize, key);
118 // Log.e("SparseArray", "gc start with " + mSize);
120 int n = mSize;
139 mSize = o;
141 // Log.e("SparseArray", "gc end with " + mSize);
150 int i = binarySearch(mKeys, 0, mSize, key);
157 if (i < mSize && mValues[i] == DELETED) {
163 if (mGarbage && mSize >
363 private int mSize; field in class:LongSparseArray
[all...]
H A DSparseArray.java32 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/base/media/libstagefright/foundation/
H A DAString.cpp33 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 DABitReader.cpp25 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 DSparseWeakArray.java65 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/app/
H A DHCSparseArray.java44 mSize = 0;
60 int i = binarySearch(mKeys, 0, mSize, key);
73 int i = binarySearch(mKeys, 0, mSize, key);
101 // Log.e("SparseArray", "gc start with " + mSize);
103 int n = mSize;
122 mSize = o;
124 // Log.e("SparseArray", "gc end with " + mSize);
133 int i = binarySearch(mKeys, 0, mSize, key);
140 if (i < mSize && mValues[i] == DELETED) {
146 if (mGarbage && mSize >
346 private int mSize; field in class:HCSparseArray
[all...]
/frameworks/base/libs/binder/
H A DMemoryBase.cpp30 : mSize(size), mOffset(offset), mHeap(heap)
37 if (size) *size = mSize;
H A DMemoryHeapBase.cpp44 : 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 //LOGD("munmap(fd=%d, base=%p, size=%lu)", fd, mBase, mSize);
159 munmap(mBase, mSize);
162 mSize = 0;
176 return mSize;
[all...]
/frameworks/base/media/libstagefright/
H A DMediaBuffer.cpp39 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 LOGE("offset = %d, length = %d, mSize = %d", offset, length, mSize);
[all...]
/frameworks/base/include/binder/
H A DMemoryBase.h38 size_t getSize() const { return mSize; }
43 size_t mSize; member in class:android::MemoryBase
/frameworks/base/media/tests/omxjpegdecoder/
H A DSkOmxPixelRef.h34 size_t getSize() const { return mSize; }
44 size_t mSize; member in class:android::SkOmxPixelRef
H A DStreamSource.cpp26 mSize = stream->getLength();
49 *size = mSize;
/frameworks/ex/common/java/com/android/common/widget/
H A DCompositeCursorAdapter.java59 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 DTextDropShadowCache.cpp32 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;
H A DTextureCache.cpp37 mSize(0), mMaxSize(MB(DEFAULT_TEXTURE_CACHE_SIZE)),
61 mSize(0), mMaxSize(maxByteSize) {
83 return mSize;
92 while (mSize > mMaxSize) {
108 mSize -= texture->bitmapSize;
109 TEXTURE_LOGD("TextureCache::callback: name, removed size, mSize = %d, %d, %d",
110 texture->id, texture->bitmapSize, mSize);
135 while (mSize + size > mMaxSize) {
145 mSize += size;
146 TEXTURE_LOGD("TextureCache::get: create texture(%p): name, size, mSize
[all...]
/frameworks/base/libs/utils/
H A DSharedBuffer.cpp32 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/media/libstagefright/rtsp/
H A DVideoSource.h35 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/base/core/java/android/nfc/tech/
H A DMifareClassic.java123 private int mSize; field in class:MifareClassic
155 mSize = SIZE_1K;
159 mSize = SIZE_MINI;
163 mSize = SIZE_2K;
168 mSize = SIZE_4K;
173 mSize = SIZE_4K;
177 mSize = SIZE_1K;
182 mSize = SIZE_4K;
187 mSize = SIZE_1K;
193 mSize
[all...]
/frameworks/base/media/libstagefright/id3/
H A DID3.cpp36 mSize(0),
142 mSize = size;
144 if (source->readAt(sizeof(header), mData, mSize) != (ssize_t)mSize) {
158 mSize = size;
186 if (mSize < 4) {
195 if (extendedHeaderSize > mSize) {
211 if (mFirstFrameOffset + paddingSize > mSize) {
218 mSize -= paddingSize;
229 if (mSize <
[all...]
/frameworks/base/include/utils/
H A DSharedBuffer.h101 size_t mSize; member in class:android::SharedBuffer
120 return mSize;
135 return (((const SharedBuffer*)data)-1)->mSize;
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestViewDrawText.java29 private float mSize; field in class:BiDiTestViewDrawText
46 mSize = a.getDimension(R.styleable.DrawTextTestView_size, 40.0f);
60 paint.setTextSize(mSize);

Completed in 672 milliseconds

1234