/frameworks/base/libs/hwui/ |
D | Caches.cpp | 167 textureCache.getSize(), textureCache.getMaxSize()); in dumpMemoryUsage() 186 renderBufferCache.getSize(), renderBufferCache.getMaxSize()); in dumpMemoryUsage() 188 gradientCache.getSize(), gradientCache.getMaxSize()); in dumpMemoryUsage() 190 pathCache.getSize(), pathCache.getMaxSize()); in dumpMemoryUsage() 192 tessellationCache.getSize(), tessellationCache.getMaxSize()); in dumpMemoryUsage() 193 log.appendFormat(" TextDropShadowCache %8d / %8d\n", dropShadowCache.getSize(), in dumpMemoryUsage() 196 patchCache.getSize(), patchCache.getMaxSize()); in dumpMemoryUsage() 202 fboCache.getSize(), fboCache.getMaxSize()); in dumpMemoryUsage() 204 total += textureCache.getSize(); in dumpMemoryUsage() 205 total += renderBufferCache.getSize(); in dumpMemoryUsage() [all …]
|
D | RenderBufferCache.cpp | 63 uint32_t RenderBufferCache::getSize() { in getSize() function in android::uirenderer::RenderBufferCache 93 mSize -= buffer->getSize(); in deleteBuffer() 116 mSize -= buffer->getSize(); in get() 136 const uint32_t size = buffer->getSize(); in put()
|
D | GammaFontRenderer.h | 58 uint32_t getSize() const { in getSize() function 59 return mRenderer ? mRenderer->getSize() : 0; in getSize()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | NativeFrame.java | 38 int capacity = format.getSize(); in NativeFrame() 111 if (ints.length * nativeIntSize() > getFormat().getSize()) { in setInts() 114 (getFormat().getSize() / nativeIntSize()) + " integers)."); in setInts() 122 return getNativeInts(getFormat().getSize()); in getInts() 128 if (floats.length * nativeFloatSize() > getFormat().getSize()) { in setFloats() 131 (getFormat().getSize() / nativeFloatSize()) + " floats)."); in setFloats() 139 return getNativeFloats(getFormat().getSize()); in getFloats() 152 } else if (getFormat().getSize() != length) { in setData() 154 "Frame size is " + getFormat().getSize() + " bytes, but " + in setData() 163 byte[] data = getNativeData(getFormat().getSize()); in getData() [all …]
|
D | VertexFrame.java | 36 if (getFormat().getSize() <= 0) { in VertexFrame() 39 if (!nativeAllocate(getFormat().getSize())) { in VertexFrame() 91 if (getFormat().getSize() != bytes.length) { in setData()
|
D | GLFrame.java | 87 } 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()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 151 int parentDim = getSize((View) recyclerView.getParent(), testOrientation); in wrapContentAffectsOtherOrientation() 154 assertThat("first child test size", getSize(itemView1, testOrientation), in wrapContentAffectsOtherOrientation() 156 assertThat("first child dependant size", getSize(itemView1, mConfig.mOrientation), in wrapContentAffectsOtherOrientation() 160 assertThat("second child test size", getSize(itemView2, testOrientation), in wrapContentAffectsOtherOrientation() 162 assertThat("second child dependant size", getSize(itemView2, mConfig.mOrientation), in wrapContentAffectsOtherOrientation() 166 assertThat("third child test size", getSize(itemView3, testOrientation), in wrapContentAffectsOtherOrientation() 168 assertThat("third child dependant size", getSize(itemView3, mConfig.mOrientation), in wrapContentAffectsOtherOrientation() 202 final int totalScrollSize = getSize(itemView1, mConfig.mOrientation) in wrapContentAffectsOtherOrientation() 203 + getSize(itemView2, mConfig.mOrientation) in wrapContentAffectsOtherOrientation() 204 + getSize(itemView3, mConfig.mOrientation); in wrapContentAffectsOtherOrientation() [all …]
|
D | GridLayoutManagerWrapContentWithAspectRatioTest.java | 137 final int parentSize = getSize((View) mRecyclerView.getParent(), mTestOrientation); in testChildWithMultipleSpans() 181 assertThat(getSize(child0, mTestOrientation), is(15)); in testChildWithMultipleSpans() 184 assertThat(getSize(child1, mTestOrientation), is(30)); in testChildWithMultipleSpans() 197 assertThat(getSize(mRecyclerView, mTestOrientation), is(45)); in testChildWithMultipleSpans() 198 assertThat(getSize(mRecyclerView, 1 - mTestOrientation), is(Math.max(10, mBehavior1Size))); in testChildWithMultipleSpans() 216 final int parentSize = getSize((View) mRecyclerView.getParent(), mTestOrientation); in testChildWithMatchParentInOtherDirection() 259 assertThat(getSize(child0, mTestOrientation), is(15)); in testChildWithMatchParentInOtherDirection() 262 assertThat(getSize(child1, mTestOrientation), is(15)); in testChildWithMatchParentInOtherDirection() 275 assertThat(getSize(mRecyclerView, mTestOrientation), is(45)); in testChildWithMatchParentInOtherDirection() 276 assertThat(getSize(mRecyclerView, 1 - mTestOrientation), is(Math.max(10, mBehavior1Size))); in testChildWithMatchParentInOtherDirection() [all …]
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 794 size_t getSize; in compressFpToFp() local 801 getSize = size > kBufSize ? kBufSize : size; in compressFpToFp() 802 memcpy(inBuf, data, getSize); in compressFpToFp() 803 data = ((const char*)data) + getSize; in compressFpToFp() 804 size -= getSize; in compressFpToFp() 806 getSize = fread(inBuf, 1, kBufSize, srcFp); in compressFpToFp() 812 if (getSize < kBufSize) { in compressFpToFp() 814 (int)getSize); in compressFpToFp() 818 crc = crc32(crc, inBuf, getSize); in compressFpToFp() 821 zstream.avail_in = getSize; in compressFpToFp() [all …]
|
/frameworks/base/core/java/android/os/ |
D | MemoryFile.java | 116 return mSharedMemory.getSize(); in length() 237 public static int getSize(FileDescriptor fd) throws IOException { in getSize() method in MemoryFile 249 if (mOffset >= mSharedMemory.getSize()) { in available() 252 return mSharedMemory.getSize() - mOffset; in available() 302 if (mOffset + n > mSharedMemory.getSize()) { in skip() 303 n = mSharedMemory.getSize() - mOffset; in skip()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | OffscreenBufferPoolTests.cpp | 76 EXPECT_EQ(0u, pool.getSize()) << "pool must be created empty"; in RENDERTHREAD_TEST() 91 ASSERT_EQ(layer->getSizeInBytes(), pool.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 95 ASSERT_EQ(0u, pool.getSize()) << "pool should have been emptied by removing only layer"; in RENDERTHREAD_OPENGL_PIPELINE_TEST() 100 EXPECT_EQ(0u, pool.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 115 ASSERT_EQ(layer->getSizeInBytes(), pool.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 119 ASSERT_EQ(0u, pool.getSize()) << "pool should have been emptied by removing only layer"; in RENDERTHREAD_OPENGL_PIPELINE_TEST() 124 EXPECT_EQ(0u, pool.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 141 EXPECT_EQ(0u, pool.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 175 EXPECT_EQ(layer->getSizeInBytes(), pool.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
D | GradientCacheTests.cpp | 36 ASSERT_EQ((uint32_t) texture->objectSize(), cache.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 37 ASSERT_TRUE(cache.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 39 ASSERT_EQ(cache.getSize(), 0u); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
D | TextDropShadowCacheTests.cpp | 51 ASSERT_EQ((uint32_t) texture->objectSize(), cache.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 52 ASSERT_TRUE(cache.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 54 ASSERT_EQ(cache.getSize(), 0u); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.cpp | 144 size_t newTotalSize = mTotalSize + valueSize - oldValueBlob->getSize(); in set() 148 if (!clean(index->getKey()->getSize() + valueSize, in set() 203 size_t valueBlobSize = valueBlob->getSize(); in get() 226 size += align4(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize() 252 size_t keySize = keyBlob->getSize(); in flatten() 253 size_t valueSize = valueBlob->getSize(); in flatten() 366 return entry.getKey()->getSize() + entry.getValue()->getSize(); in findDownTo() 403 const size_t entrySize = entry.getKey()->getSize() + entry.getValue()->getSize(); in clean() 451 size_t BlobCache::Blob::getSize() const { in getSize() function in android::BlobCache::Blob
|
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.cpp | 111 size_t newTotalSize = mTotalSize + valueSize - oldValueBlob->getSize(); in set() 151 size_t valueBlobSize = valueBlob->getSize(); in get() 171 size += align4(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize() 197 size_t keySize = keyBlob->getSize(); in flatten() 198 size_t valueSize = valueBlob->getSize(); in flatten() 297 mTotalSize -= entry.getKey()->getSize() + entry.getValue()->getSize(); in clean() 333 size_t BlobCache::Blob::getSize() const { in getSize() function in android::BlobCache::Blob
|
/frameworks/base/libs/androidfw/ |
D | ZipUtils.cpp | 100 unsigned long getSize; in inflateToBuffer() local 104 getSize = (compRemaining > kReadBufSize) ? in inflateToBuffer() 107 getSize, compRemaining); in inflateToBuffer() 110 const unsigned long nextSize = reader.read(&nextBuffer, getSize); in inflateToBuffer() 112 if (nextSize < getSize || nextBuffer == NULL) { in inflateToBuffer() 113 ALOGD("inflate read failed (%ld vs %ld)\n", nextSize, getSize); in inflateToBuffer()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | SingleRow.java | 120 edge = mProvider.getEdge(index - 1) - mProvider.getSize(index - 1) - mSpacing; in appendVisibleItems() 122 edge = mProvider.getEdge(index - 1) + mProvider.getSize(index - 1) + mSpacing; in appendVisibleItems() 156 int itemSizeWithSpace = mProvider.getSize(mLastVisibleIndex) + mSpacing; in collectAdjacentPrefetchPositions() 180 return mReversedFlow ? mProvider.getEdge(indexLimit) - mProvider.getSize(indexLimit) in findRowMin() 191 : mProvider.getEdge(indexLimit) + mProvider.getSize(indexLimit); in findRowMax()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameManager.java | 127 public int getSize() { in getSize() method in FrameManager.BackingCache 149 public int getSize() { in getSize() method in FrameManager.BackingCacheNone 182 mSize -= backing.getSize(); in fetchBacking() 193 if (reserve(backing.getSize())) { in cacheBacking() 225 mSize -= dropped.getSize(); in reserve() 303 return mCache.getSize(); in getCacheSize()
|
D | BackingStore.java | 357 public abstract int getSize(); in getSize() method in BackingStore.Backing 476 public int getSize() { in getSize() method in BackingStore.ObjectBacking 565 public int getSize() { in getSize() method in BackingStore.BitmapBacking 627 ByteBuffer pixels = ByteBuffer.allocateDirect(getSize()); in syncToAllocationBacking() 672 public int getSize() { in getSize() method in BackingStore.TextureBacking 753 float[] floats = new float[getSize() / 4]; in syncToAllocationBacking() 789 public int getSize() { in getSize() method in BackingStore.ByteBufferBacking 846 ByteBuffer pixels = ByteBuffer.allocateDirect(getSize()); in syncTo() 862 bytes = new byte[getSize()]; in syncTo() 902 public int getSize() { in getSize() method in BackingStore.AllocationBacking
|
/frameworks/av/media/libstagefright/ |
D | CallbackDataSource.cpp | 88 status_t CallbackDataSource::getSize(off64_t *size) { in getSize() function in android::CallbackDataSource 89 status_t err = mIDataSource->getSize(size); in getSize() 181 status_t TinyCacheSource::getSize(off64_t *size) { in getSize() function in android::TinyCacheSource 182 return mSource->getSize(size); in getSize()
|
/frameworks/rs/rsov/compiler/spirit/ |
D | module.cpp | 336 size_t Module::getSize(TypeVoidInst *) { return 0; } in getSize() function in android::spirit::Module 338 size_t Module::getSize(TypeIntInst *intTy) { return intTy->mOperand1 / 8; } in getSize() function in android::spirit::Module 340 size_t Module::getSize(TypeFloatInst *fpTy) { return fpTy->mOperand1 / 8; } in getSize() function in android::spirit::Module 342 size_t Module::getSize(TypeVectorInst *vTy) { in getSize() function in android::spirit::Module 343 return getSize(vTy->mOperand1.mInstruction) * vTy->mOperand2; in getSize() 346 size_t Module::getSize(TypePointerInst *) { in getSize() function in android::spirit::Module 350 size_t Module::getSize(TypeStructInst *structTy) { in getSize() function in android::spirit::Module 353 sz += getSize(ty.mInstruction); in getSize() 358 size_t Module::getSize(TypeFunctionInst *) { in getSize() function in android::spirit::Module 362 size_t Module::getSize(Instruction *inst) { in getSize() function in android::spirit::Module [all …]
|
/frameworks/av/media/img_utils/src/ |
D | TiffIfd.cpp | 120 valueOffset += mEntries[i]->getSize(); in writeData() 124 uint32_t footer = (mNextIfd != NULL) ? offset + getSize() : 0; in writeData() 136 if (mEntries[i]->getSize() > OFFSET_SIZE) { in writeData() 141 size_t actual = mEntries[i]->getSize(); in writeData() 148 assert(out->getCurrentOffset() == offset + getSize()); in writeData() 153 size_t TiffIfd::getSize() const { in getSize() function in android::img_utils::TiffIfd 158 total += mEntries[i]->getSize(); in getSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeadZone.java | 101 private float getSize(long now) { in getSize() method in DeadZone 140 int size = (int) getSize(event.getEventTime()); in onTouchEvent() 170 Slog.v(TAG, "poked! size=" + getSize(mLastPokeTime)); 189 final int size = (int) getSize(SystemClock.uptimeMillis());
|
/frameworks/base/core/java/android/os/health/ |
D | HealthStatsWriter.java | 66 final int timerCount = constants.getSize(HealthKeys.TYPE_TIMER); in HealthStatsWriter() 72 final int measurementCount = constants.getSize(HealthKeys.TYPE_MEASUREMENT); in HealthStatsWriter() 77 final int statsCount = constants.getSize(HealthKeys.TYPE_STATS); in HealthStatsWriter() 81 final int timersCount = constants.getSize(HealthKeys.TYPE_TIMERS); in HealthStatsWriter() 85 final int measurementsCount = constants.getSize(HealthKeys.TYPE_MEASUREMENTS); in HealthStatsWriter()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 216 return new JarFileInputStream(is, ze.getSize(), entry); in getInputStream() 249 ze.getDataOffset() + ze.getSize()); in getZipInputStream() 254 int bufSize = Math.max(1024, (int) Math.min(ze.getSize(), 65535L)); in getZipInputStream() 408 if (entry.getSize() != bytesRead) { in read() 410 + entry.getSize()); in read() 425 return super.available() == 0 ? 0 : (int) (entry.getSize() - bytesRead); in available()
|