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

123456789

/frameworks/native/libs/binder/
H A DMemoryBase.cpp30 : mSize(size), mOffset(offset), mHeap(heap)
37 if (size) *size = mSize;
H A DMemoryHeapBase.cpp38 : mFD(-1), mSize(0), mBase(MAP_FAILED),
44 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags),
61 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags),
80 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags),
95 mSize = size;
128 mSize = size;
143 //ALOGD("munmap(fd=%d, base=%p, size=%lu)", fd, mBase, mSize);
144 munmap(mBase, mSize);
147 mSize = 0;
161 return mSize;
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DABitReader.cpp25 mSize(size),
35 if (mSize == 0) {
42 for (i = 0; mSize > 0 && i < 4; ++i) {
46 --mSize;
120 ++mSize;
128 return mSize * 8 + mNumBitsLeft;
149 size_t size = mSize;
173 if (mSize == 0) {
180 while (mSize > 0 && i < 4) {
196 --mSize;
[all...]
H A DAString.cpp38 mSize(0),
44 mSize(0),
56 mSize(0),
68 mSize(0),
75 mSize(0),
82 mSize(0),
100 return mSize;
108 return mSize == 0;
134 mSize = 0;
140 for (size_t i = 0; i < 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/base/services/robotests/src/com/android/server/testing/shadows/
H A DShadowBackupDataInput.java37 private int mSize; field in class:ShadowBackupDataInput
54 mSize = mInput.readInt();
72 return mSize;
88 mInput.read(new byte[mSize], 0, mSize);
/frameworks/minikin/tests/unittest/
H A DICUEnvironment.h34 ICUEnvironment() : testing::Environment(), mData(nullptr), mSize(0) {}
37 size_t mSize; member in class:minikin::ICUEnvironment
46 mSize = sb.st_size;
47 void* mData = mmap(nullptr, mSize, PROT_READ, MAP_SHARED, fd, 0);
61 munmap(mData, mSize);
/frameworks/support/collection/src/main/java/androidx/collection/
H A DSimpleArrayMap.java42 * functions that change mSize (put/remove/clear).
70 int mSize; field in class:SimpleArrayMap
85 final int N = mSize;
123 final int N = mSize;
236 mSize = 0;
249 mSize = 0;
266 if (mSize > 0) {
269 final int osize = mSize;
272 mSize = 0;
275 if (CONCURRENT_MODIFICATION_EXCEPTIONS && mSize >
[all...]
/frameworks/base/libs/hwui/
H A DGpuMemoryTracker.h32 this, static_cast<int>(mType), mSize, pthread_self(), gGpuThread)
45 int objectSize() { return mSize; }
72 int mSize = 0; member in class:android::uirenderer::GpuMemoryTracker
H A DTextureCache.cpp38 , mSize(0)
55 return mSize;
69 mSize -= texture->bitmapSize;
70 TEXTURE_LOGD("TextureCache::callback: name, removed size, mSize = %d, %d, %d", texture->id,
71 texture->bitmapSize, mSize);
137 while (canCache && mSize + size > mMaxSize) {
148 mSize += size;
149 TEXTURE_LOGD("TextureCache::get: create texture(%p): name, size, mSize = %d, %d, %d",
150 bitmap, texture->id, size, mSize);
208 TEXTURE_LOGD("TextureCache:clear(), mSize
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DSelectablePreference.java25 private final int mSize; field in class:SelectablePreference
31 mSize = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 32,
38 mSize / (float) icon.getIntrinsicWidth()));
/frameworks/native/include/binder/
H A DMemoryBase.h38 size_t getSize() const { return mSize; }
43 size_t mSize; member in class:android::MemoryBase
/frameworks/native/libs/binder/include/binder/
H A DMemoryBase.h38 size_t getSize() const { return mSize; }
43 size_t mSize; member in class:android::MemoryBase
/frameworks/base/libs/hwui/utils/
H A DTestWindowContext.cpp58 explicit TestWindowData(SkISize size) : mSize(size) {
62 mCpuConsumer->setDefaultBufferSize(mSize.width(), mSize.height());
64 native_window_set_buffers_dimensions(mAndroidSurface.get(), mSize.width(), mSize.height());
71 mRootNode->mutateStagingProperties().setLeftTopRightBottom(0, 0, mSize.width(),
72 mSize.height());
80 float lightX = mSize.width() / 2.0f;
84 mCanvas.reset(new android::uirenderer::RecordingCanvas(mSize.width(), mSize
163 SkISize mSize; member in class:android::uirenderer::TestWindowContext::TestWindowData
[all...]
/frameworks/av/include/private/media/
H A DVideoFrame.h46 mSize(hasData ? (bpp * width * height) : 0),
61 return sizeof(VideoFrame) + mSize + mIccSize;
71 return (uint8_t*)this + sizeof(VideoFrame) + mSize;
84 uint32_t mSize; // Number of bytes of frame data member in class:android::VideoFrame
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/
H A DBridgeBufferIterator.java28 private final long mSize; field in class:BridgeBufferIterator
32 mSize = size;
38 assert offset <= mSize;
50 assert newPosition <= mSize;
/frameworks/av/media/libmediaextractor/
H A DMediaBuffer.cpp38 mSize(size),
50 mSize(size),
82 mSize(buffer->size()),
84 mRangeLength(mSize),
127 return mSize;
139 if (offset + length > mSize) {
140 ALOGE("offset = %zu, length = %zu, mSize = %zu", offset, length, mSize);
142 CHECK(offset + length <= mSize);
154 set_range(0, mSize);
[all...]
/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),
189 mSize = size;
190 mRawSize = mSize + sizeof(header);
192 if (source->readAt(offset + sizeof(header), mData, mSize) != (ssize_t)mSize) {
[all...]
/frameworks/base/core/java/android/util/
H A DArrayMap.java60 * functions that change mSize (put/remove/clear).
99 int mSize; field in class:ArrayMap
115 final int N = mSize;
153 final int N = mSize;
291 mSize = 0;
309 if (mSize > 0) {
312 final int osize = mSize;
315 mSize = 0;
318 if (CONCURRENT_MODIFICATION_EXCEPTIONS && mSize > 0) {
328 if (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/base/libs/hwui/tests/common/scenes/
H A DRoundRectClippingAnimation.cpp23 int mSpacing, mSize; member in class:RoundRectClippingAnimation
25 RoundRectClippingAnimation(int spacing, int size) : mSpacing(spacing), mSize(size) {}
37 x, y, x + mSize, y + mSize, [&](RenderProperties& props, Canvas& canvas) {
40 props.getHeight(), mSize * .25, 1);
/frameworks/base/core/java/android/os/
H A DSharedMemory.java41 private final int mSize; field in class:SharedMemory
57 mSize = nGetSize(mFileDescriptor);
58 if (mSize <= 0) {
62 mMemoryRegistration = new MemoryRegistration(mSize);
168 return mSize;
182 return map(OsConstants.PROT_READ | OsConstants.PROT_WRITE, 0, mSize);
196 return map(OsConstants.PROT_READ, 0, mSize);
222 if (offset + length > mSize) {
314 private int mSize; field in class:SharedMemory.Unmapper
319 mSize
338 private int mSize; field in class:SharedMemory.MemoryRegistration
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DCarUserSwitchingDialog.java93 private final int mSize; field in class:CarUserSwitchingDialog.CircleFramedDrawable
107 mSize = size;
109 mBitmap = Bitmap.createBitmap(mSize, mSize, Bitmap.Config.ARGB_8888);
118 final RectF circleRect = new RectF(0f, 0f, mSize, mSize);
141 mSrcRect = new Rect(0, 0, mSize, mSize);
142 mDstRect = new RectF(0, 0, mSize, mSize);
[all...]
/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) {
69 mSize = 0;
72 mSize = buffer->frameCount;
100 (mOffset + mRemaining <= mSize));

Completed in 1465 milliseconds

123456789