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

123456

/frameworks/av/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 DSparseLongArray.java32 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 DLongSparseArray.java32 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 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/av/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/util/
H A DSparseArrayCompat.java44 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 DLongSparseArray.java30 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 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 //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 DMutableFrameFormat.java49 mSize = SIZE_UNKNOWN;
54 mSize = SIZE_UNKNOWN;
61 mSize = SIZE_UNKNOWN;
69 mSize = SIZE_UNKNOWN;
78 mSize = SIZE_UNKNOWN;
H A DNativeBuffer.java29 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 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 ALOGE("offset = %d, length = %d, mSize = %d", offset, length, mSize);
[all...]
/frameworks/native/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
/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 DPathRenderer.h34 mSize(0),
45 mSize = size;
53 unsigned int getSize() { return mSize; }
62 unsigned int mSize; member in class:android::uirenderer::VertexBuffer
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;
128 while (mSize + size > mMaxSize) {
152 mSize += size;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardCircleFramedDrawable.java37 private final int mSize; field in class:KeyguardCircleFramedDrawable
57 mSize = size;
64 mBitmap = Bitmap.createBitmap(mSize, mSize, Bitmap.Config.ARGB_8888);
72 final RectF circleRect = new RectF(0f, 0f, mSize, mSize);
97 mSrcRect = new Rect(0, 0, mSize, mSize);
98 mDstRect = new RectF(0, 0, mSize, mSize);
[all...]
/frameworks/av/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/native/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;

Completed in 355 milliseconds

123456