Home
last modified time | relevance | path

Searched refs:mAllocateTotalBytes (Results 1 – 3 of 3) sorted by relevance

/frameworks/layoutlib/bridge/src/android/util/imagepool/
DImagePoolStatsProdImpl.java27 @VisibleForTesting long mAllocateTotalBytes = 0; field in ImagePoolStatsProdImpl
33 mAllocateTotalBytes += (widthBucket * heightBucket * ESTIMATED_PIXEL_BYTES); in recordBucketCreation()
38 long newTotal = mAllocateTotalBytes + (width * height * ESTIMATED_PIXEL_BYTES); in fitsMaxCacheSize()
49 mAllocateTotalBytes = 0; in clear()
DImagePoolStatsDebugImpl.java154 builder.append(mAllocateTotalBytes / 1_000_000); in getStatistic()
160 double percent = (1.0 - (double) mRequestedTotalBytes / (mAllocateTotalBytes + in getStatistic()
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/
DImagePoolImplTest.java298 … return ((ImagePoolStatsProdImpl) ((ImagePoolImpl) pool).mImagePoolStats).mAllocateTotalBytes; in getAllocatedTotalBytes()