Home
last modified time | relevance | path

Searched refs:getSize (Results 1 – 25 of 199) sorted by relevance

12345678

/frameworks/base/libs/hwui/
DCaches.cpp153 textureCache.getSize(), textureCache.getMaxSize()); in dumpMemoryUsage()
155 layerCache.getSize(), layerCache.getMaxSize()); in dumpMemoryUsage()
157 gradientCache.getSize(), gradientCache.getMaxSize()); in dumpMemoryUsage()
159 pathCache.getSize(), pathCache.getMaxSize()); in dumpMemoryUsage()
161 circleShapeCache.getSize(), circleShapeCache.getMaxSize()); in dumpMemoryUsage()
163 ovalShapeCache.getSize(), ovalShapeCache.getMaxSize()); in dumpMemoryUsage()
165 roundRectShapeCache.getSize(), roundRectShapeCache.getMaxSize()); in dumpMemoryUsage()
167 rectShapeCache.getSize(), rectShapeCache.getMaxSize()); in dumpMemoryUsage()
169 arcShapeCache.getSize(), arcShapeCache.getMaxSize()); in dumpMemoryUsage()
170 log.appendFormat(" TextDropShadowCache %8d / %8d\n", dropShadowCache.getSize(), in dumpMemoryUsage()
[all …]
DFboCache.h64 uint32_t getSize();
/frameworks/native/libs/utils/
DZipUtils.cpp92 unsigned long getSize; in inflateToBuffer() local
96 getSize = (compRemaining > kReadBufSize) ? in inflateToBuffer()
99 getSize, compRemaining); in inflateToBuffer()
101 int cc = read(fd, readBuf, getSize); in inflateToBuffer()
102 if (cc != (int) getSize) { in inflateToBuffer()
104 cc, getSize); in inflateToBuffer()
108 compRemaining -= getSize; in inflateToBuffer()
111 zstream.avail_in = getSize; in inflateToBuffer()
204 unsigned long getSize; in inflateToBuffer() local
208 getSize = (compRemaining > kReadBufSize) ? in inflateToBuffer()
[all …]
DBlobCache.cpp111 size_t newTotalSize = mTotalSize + valueSize - oldValueBlob->getSize(); in set()
151 size_t valueBlobSize = valueBlob->getSize(); in get()
173 size += sizeof(EntryHeader) + keyBlob->getSize() + in getFlattenedSize()
174 valueBlob->getSize(); in getFlattenedSize()
208 size_t keySize = keyBlob->getSize(); in flatten()
209 size_t valueSize = valueBlob->getSize(); in flatten()
303 mTotalSize -= entry.getKey()->getSize() + entry.getValue()->getSize(); in clean()
339 size_t BlobCache::Blob::getSize() const { in getSize() function in android::BlobCache::Blob
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DNativeFrame.java40 int capacity = format.getSize(); in NativeFrame()
113 if (ints.length * nativeIntSize() > getFormat().getSize()) { in setInts()
116 (getFormat().getSize() / nativeIntSize()) + " integers)."); in setInts()
124 return getNativeInts(getFormat().getSize()); in getInts()
130 if (floats.length * nativeFloatSize() > getFormat().getSize()) { in setFloats()
133 (getFormat().getSize() / nativeFloatSize()) + " floats)."); in setFloats()
141 return getNativeFloats(getFormat().getSize()); in getFloats()
154 } else if (getFormat().getSize() != length) { in setData()
156 "Frame size is " + getFormat().getSize() + " bytes, but " + in setData()
165 byte[] data = getNativeData(getFormat().getSize()); in getData()
[all …]
DVertexFrame.java36 if (getFormat().getSize() <= 0) { in VertexFrame()
39 if (!nativeAllocate(getFormat().getSize())) { in VertexFrame()
91 if (getFormat().getSize() != bytes.length) { in setData()
DGLFrame.java87 } else if (getFormat().getSize() < 0) { in init()
211 if (getFormat().getSize() != bytes.length) { in setData()
258 if (getFormat().getSize() < frame.getFormat().getSize()) { in setDataFromFrame()
260 "Attempting to assign frame of size " + frame.getFormat().getSize() + " to " + in setDataFromFrame()
261 "smaller GL frame of size " + getFormat().getSize() + "!"); in setDataFromFrame()
DCachedFrameManager.java101 int frameSize = frame.getFormat().getSize(); in storeFrame()
125 mStorageSize -= frame.getFormat().getSize(); in dropOldestFrame()
146 mStorageSize -= format.getSize(); in findAvailableFrame()
DFrameFormat.java150 public int getSize() { in getSize() method in FrameFormat
190 return 4211 ^ mBaseType ^ mBytesPerSample ^ getSize(); in hashCode()
436 && getSize() == format.getSize() in isReplaceableBy()
/frameworks/compile/linkloader/include/impl/
DELFSectionStrTab.hxx34 st->buf.resize(sh->getSize()); in read()
40 AR.prologue(sh->getSize()); in read()
41 AR.readBytes(&*st->buf.begin(), sh->getSize()); in read()
42 AR.epilogue(sh->getSize()); in read()
DELFSymbol.hxx102 PRINT_LINT("Size", getSize() ); in print()
116 setw(7) << getSize() << in print()
152 allocateSHNCommonData((size_t)getSize(), align); in getAddress()
178 (size_t)getSize()) != 0) { in getAddress()
183 (size_t)getSize()); in getAddress()
188 memset(my_addr, '\0', getSize()); in getAddress()
193 allocateSHNCommonData((size_t)getSize(), align); in getAddress()
DELFSectionNoBits.hxx35 if (!result->chunk.allocate(sh->getSize())) { in read()
/frameworks/base/tools/aapt/
DZipFile.cpp797 size_t getSize; in compressFpToFp() local
804 getSize = size > kBufSize ? kBufSize : size; in compressFpToFp()
805 memcpy(inBuf, data, getSize); in compressFpToFp()
806 data = ((const char*)data) + getSize; in compressFpToFp()
807 size -= getSize; in compressFpToFp()
809 getSize = fread(inBuf, 1, kBufSize, srcFp); in compressFpToFp()
815 if (getSize < kBufSize) { in compressFpToFp()
817 (int)getSize); in compressFpToFp()
821 crc = crc32(crc, inBuf, getSize); in compressFpToFp()
824 zstream.avail_in = getSize; in compressFpToFp()
[all …]
/frameworks/compile/linkloader/include/
DELFSectionProgBits.h71 AR.prologue(sh->getSize()); in serialize()
72 AR.readBytes(chunk.getBuffer(), sh->getSize()); in serialize()
73 AR.epilogue(sh->getSize()); in serialize()
DELFSectionHeader.h144 word_t getSize() const { in getSize() function
195 xword_t getSize() const { in getSize() function
/frameworks/base/core/java/android/webkit/
DWebBackForwardList.java70 if (index < 0 || index >= getSize()) { in getItemAtIndex()
80 public synchronized int getSize() { in getSize() method in WebBackForwardList
168 int size = getSize(); in clone()
/frameworks/av/media/libstagefright/
DThrottledSource.cpp75 status_t ThrottledSource::getSize(off64_t *size) { in getSize() function in android::ThrottledSource
76 return mSource->getSize(size); in getSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java135 private float getSize(View v) { in getSize() method in SwipeHelper
145 float viewSize = getSize(view); in getAlphaForOffset()
268 newPos = -getSize(animView); in dismissChild()
270 newPos = getSize(animView); in dismissChild()
341 float size = getSize(mCurrAnimView); in onTouchEvent()
367 Math.abs(getTranslation(mCurrAnimView)) > 0.4 * getSize(mCurrAnimView); in onTouchEvent()
/frameworks/native/include/binder/
DIMemory.h44 virtual size_t getSize() const = 0;
51 size_t virtualSize() const { return getSize(); } in virtualSize()
/frameworks/base/core/tests/coretests/src/android/widget/
DLabelView.java133 int specSize = MeasureSpec.getSize(measureSpec); in measureWidth()
159 int specSize = MeasureSpec.getSize(measureSpec); in measureHeight()
/frameworks/base/core/java/android/text/
DAutoText.java120 public static int getSize(View view) { in getSize() method in AutoText
122 return getInstance(view).getSize(); in getSize()
128 private int getSize() { in getSize() method in AutoText
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDisplayListLayersActivity.java121 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec) / 3, in onMeasure()
122 MeasureSpec.getSize(heightMeasureSpec) / 3); in onMeasure()
/frameworks/base/media/tests/omxjpegdecoder/
DSkOmxPixelRef.h34 size_t getSize() const { return mSize; } in getSize() function
/frameworks/compile/mclinker/include/mcld/MC/
DMCTargetFragment.h35 virtual size_t getSize() const = 0;
/frameworks/base/core/java/android/text/style/
DReplacementSpan.java25 public abstract int getSize(Paint paint, CharSequence text, in getSize() method in ReplacementSpan

12345678