Searched refs:mSize (Results 26 - 50 of 156) sorted by relevance

1234567

/frameworks/av/media/libstagefright/
H A DMediaBuffer.cpp38 mSize(size),
51 mSize(size),
64 mSize(1),
66 mRangeLength(mSize),
78 mSize(buffer->size()),
80 mRangeLength(mSize),
124 return mSize;
136 if ((mGraphicBuffer == NULL) && (offset + length > mSize)) {
137 ALOGE("offset = %zu, length = %zu, mSize = %zu", offset, length, mSize);
[all...]
H A DMetaData.cpp237 mSize(0) {
246 mSize(0) {
247 allocateStorage(from.mSize);
248 memcpy(storage(), from.storage(), mSize); local
256 allocateStorage(from.mSize);
257 memcpy(storage(), from.storage(), mSize); local
281 *size = mSize;
286 mSize = size;
292 u.ext_data = malloc(mSize);
303 mSize
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestGetFolderListingSize.java30 private int mSize; field in class:BluetoothMasRequestGetFolderListingSize
45 mSize = oap.getShort(OAP_TAGID_FOLDER_LISTING_SIZE);
49 return mSize;
H A DBluetoothMasRequestGetMessagesListingSize.java30 private int mSize; field in class:BluetoothMasRequestGetMessagesListingSize
46 mSize = oap.getShort(OAP_TAGID_MESSAGES_LISTING_SIZE);
50 return mSize;
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapRequestPullPhoneBookSize.java31 private int mSize; field in class:BluetoothPbapRequestPullPhoneBookSize
49 mSize = oap.getShort(OAP_TAGID_PHONEBOOK_SIZE);
53 return mSize;
H A DBluetoothPbapRequestPullVcardListingSize.java31 private int mSize; field in class:BluetoothPbapRequestPullVcardListingSize
49 mSize = oap.getShort(OAP_TAGID_PHONEBOOK_SIZE);
53 return mSize;
/frameworks/native/include/binder/
H A DMemoryBase.h38 size_t getSize() const { return mSize; }
43 size_t mSize; member in class:android::MemoryBase
/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/av/media/libstagefright/id3/
H A DID3.cpp36 mSize(size) {
44 off64_t available = (offset >= (off64_t)mSize) ? 0ll : mSize - offset;
54 size_t mSize; member in struct:android::MemorySource
62 mSize(0),
76 mSize(0),
185 mSize = size;
186 mRawSize = mSize + sizeof(header);
188 if (source->readAt(offset + sizeof(header), mData, mSize) != (ssize_t)mSize) {
[all...]
/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp39 : mFD(-1), mSize(0), mBase(MAP_FAILED),
45 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags),
62 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags),
81 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags),
96 mSize = size;
129 mSize = size;
144 //ALOGD("munmap(fd=%d, base=%p, size=%lu)", fd, mBase, mSize);
145 munmap(mBase, mSize);
148 mSize = 0;
162 return mSize;
[all...]
/frameworks/base/libs/hwui/
H A DInterpolator.cpp95 mSize = size;
104 float lutpos = input * mSize;
105 if (lutpos >= (mSize - 1)) {
106 return mValues[mSize - 1];
113 int i2 = MathUtils::min(i1 + 1, (int) mSize - 1);
117 i1, i2, input, lutpos, mSize, mValues, ipart, weight);
H A DRenderBufferCache.cpp43 RenderBufferCache::RenderBufferCache(): mSize(0), mMaxSize(MB(DEFAULT_RENDER_BUFFER_CACHE_SIZE)) {
63 return mSize;
97 mSize -= buffer->getSize();
121 mSize -= buffer->getSize();
143 while (mSize + size > mMaxSize) {
154 mSize += size;
H A DLayerCache.cpp34 LayerCache::LayerCache(): mSize(0), mMaxSize(MB(DEFAULT_LAYER_CACHE_SIZE)) {
57 return mSize;
85 mSize -= layer->getWidth() * layer->getHeight() * 4;
111 mSize -= layer->getWidth() * layer->getHeight() * 4;
151 while (mSize + size > mMaxSize) {
169 mSize += size;
/frameworks/base/core/java/android/nfc/tech/
H A DMifareClassic.java123 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...]
/frameworks/base/libs/common_time/
H A Dutils.cpp53 : mSize(entries)
57 mRingBuffer = new Entry[mSize];
59 ALOGE("Failed to allocate log ring with %zu entries.", mSize);
91 last = &(mRingBuffer[(mWr + mSize - 1) % mSize]);
103 mWr = (mWr + 1) % mSize;
125 size_t count = mIsFull ? mSize : mWr;
136 size_t ndx = (start + i) % mSize;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DWindowAlignment.java64 private int mSize; field in class:WindowAlignment.Axis
177 mSize = size;
181 return mSize;
198 return mSize - mPaddingLow - mPaddingHigh;
211 middlePosition = mSize + mWindowAlignmentOffset - mPaddingLow;
214 middlePosition += (int) (mSize * mWindowAlignmentOffsetPercent / 100);
218 middlePosition = mSize - mWindowAlignmentOffset - mPaddingLow;
223 middlePosition -= (int) (mSize * mWindowAlignmentOffsetPercent / 100);
/frameworks/base/core/tests/benchmarks/src/android/os/
H A DParcelArrayBenchmark.java25 private int mSize; field in class:ParcelArrayBenchmark
41 mByteArray = new byte[mSize];
42 mIntArray = new int[mSize];
43 mLongArray = new long[mSize];
/frameworks/base/core/java/android/hardware/camera2/params/
H A DHighSpeedVideoConfiguration.java59 mSize = new Size(mWidth, mHeight);
105 return mSize;
155 private final Size mSize; field in class:HighSpeedVideoConfiguration
/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);
/frameworks/av/media/libnbaio/
H A DSourceAudioBufferProvider.cpp28 mAllocated(NULL), mSize(0), mOffset(0), mRemaining(0), mGetCount(0), mFramesReleased(0)
53 ALOG_ASSERT(mOffset + mRemaining <= mSize);
62 if (buffer->frameCount > mSize) {
65 mSize = buffer->frameCount;
90 (mOffset + mRemaining <= mSize));
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardCircleFramedDrawable.java35 private final int mSize; field in class:KeyguardCircleFramedDrawable
55 mSize = size;
62 mBitmap = Bitmap.createBitmap(mSize, mSize, Bitmap.Config.ARGB_8888);
70 final RectF circleRect = new RectF(0f, 0f, mSize, mSize);
95 mSrcRect = new Rect(0, 0, mSize, mSize);
96 mDstRect = new RectF(0, 0, mSize, mSize);
[all...]
/frameworks/av/include/media/nbaio/
H A DSourceAudioBufferProvider.h46 size_t mSize; // size of mAllocated in frames member in class:android::SourceAudioBufferProvider
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java122 private int mSize; field in class:SerializedFrame.DirectByteInputStream
126 mSize = size;
131 return mSize - mPos;
136 return (mPos < mSize) ? (mBuffer[mPos++] & 0xFF) : -1;
141 if (mPos >= mSize) {
144 if ((mPos + len) > mSize) {
145 len = mSize - mPos;
154 if ((mPos + n) > mSize) {
155 n = mSize - mPos;
/frameworks/base/tools/layoutlib/bridge/src/libcore/io/
H A DMemoryMappedFile_Delegate.java46 private final long mSize; field in class:MemoryMappedFile_Delegate
96 return new BridgeBufferIterator(delegate.mSize, delegate.mMappedByteBuffer.duplicate());
102 mSize = file.length();
105 mMappedByteBuffer = file.getChannel().map(MapMode.READ_ONLY, 0, mSize);
/frameworks/wilhelm/src/itf/
H A DI3DMacroscopic.c34 thiz->mSize.mWidth = width;
35 thiz->mSize.mHeight = height;
36 thiz->mSize.mDepth = depth;
55 SLmillimeter width = thiz->mSize.mWidth;
56 SLmillimeter height = thiz->mSize.mHeight;
57 SLmillimeter depth = thiz->mSize.mDepth;
215 thiz->mSize.mWidth = 0;
216 thiz->mSize.mHeight = 0;
217 thiz->mSize.mDepth = 0;

Completed in 1216 milliseconds

1234567