Home
last modified time | relevance | path

Searched refs:getByteCount (Results 1 – 25 of 30) sorted by relevance

12

/aosp12/frameworks/opt/bitmap/src/com/android/bitmap/
H A DReusableBitmap.java73 public int getByteCount() { in getByteCount() method in ReusableBitmap
74 return bmp.getByteCount(); in getByteCount()
111 sb.append(bmp.getByteCount() >> 10); in toString()
141 public int getByteCount() { in getByteCount() method in ReusableBitmap.NullReusableBitmap
H A DUnrefedBitmapCache.java73 return value.getByteCount(); in sizeOf()
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilterTest.java79 int[] pixels = new int[bitmap.getByteCount()]; in testFaceSquareFilter()
158 int[] outputPixels = new int[outputBitmap.getByteCount()]; in testFaceSquareFilter()
162 for ( int i = 0; i < outputBitmap.getByteCount(); i++) { in testFaceSquareFilter()
167 if (equalCount + (0.05f*outputBitmap.getByteCount()) < outputBitmap.getByteCount()) { in testFaceSquareFilter()
169 assertEquals(equalCount, outputBitmap.getByteCount()); in testFaceSquareFilter()
/aosp12/packages/apps/Gallery2/src/com/android/photos/data/
H A DSparseArrayBitmapPool.java120 mSizeBytes -= n.bitmap.getByteCount(); in unlinkAndRecycleNode()
170 int bytes = b.getByteCount(); in put()
/aosp12/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeFrame.java177 int byteCount = rgbaBitmap.getByteCount(); in setBitmap()
193 int byteCount = result.getByteCount(); in getBitmap()
H A DGLFrame.java231 if (!setNativeBitmap(rgbaBitmap, rgbaBitmap.getByteCount())) { in setBitmap()
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
H A DThumbnailCacheTest.java61 MIDSIZE_BITMAP.getByteCount() + LARGE_BITMAP.getByteCount();
/aosp12/packages/apps/Dialer/java/com/android/dialer/contactphoto/
H A DContactPhotoManagerImpl.java161 return value.getByteCount(); in ContactPhotoManagerImpl()
293 + btk(bitmap.getByteCount())); in inflateBitmap()
318 bitmapBytes += b.getByteCount(); in dumpStats()
352 bitmapBytes += b.getByteCount(); in dumpStats()
564 if (cachedBitmap.getByteCount() < bitmapCache.maxSize() / 6) { in loadCachedPhoto()
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/
H A DBitmapTest.java49 assertEquals("byteCount", 80000, bm1.getByteCount()); in testBasic()
50 assertEquals("byteCount", 40000, bm2.getByteCount()); in testBasic()
51 assertEquals("byteCount", 80000, bm3.getByteCount()); in testBasic()
/aosp12/packages/apps/TV/src/com/android/tv/util/images/
H A DImageCache.java56 return (bitmapInfo.bitmap.getByteCount() + 1023) / 1024; in ImageCache()
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
H A DBitmapPoolTest.java100 assertTrue(resourceBitmap.getByteCount() > 0); in testDecodeFromResourceBitmap()
/aosp12/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/
H A DBitmapFetcher.java46 return value.getByteCount();
/aosp12/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
H A DBitmapLoader.java69 return value.getByteCount(); in getLruCache()
/aosp12/packages/apps/Contacts/src/com/android/contacts/
H A DContactPhotoManager.java719 return value.getByteCount(); in ContactPhotoManagerImpl()
782 bitmapBytes += b.getByteCount(); in dumpStats()
800 bitmapBytes += b.getByteCount(); in dumpStats()
983 if (cachedBitmap.getByteCount() < mBitmapCache.maxSize() / 6) { in loadCachedPhoto()
1072 + ", " + btk(bitmap.getByteCount())); in inflateBitmap()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
H A DBitmapCachingAsset.java78 return value.getByteCount();
/aosp12/frameworks/base/graphics/java/android/graphics/
H A DRecordingCanvas.java264 int bitmapSize = bitmap.getByteCount(); in throwIfCannotDraw()
H A DBitmap.java593 long pixelSize = getByteCount(); in copyPixelsToBuffer()
636 long bitmapBytes = getByteCount(); in copyPixelsFromBuffer()
1632 public final int getByteCount() { in getByteCount() method in Bitmap
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DThumbnailCache.java306 return value.mThumbnail.getByteCount(); in sizeOf()
/aosp12/packages/apps/Camera2/src/com/android/camera/
H A DStorage.java67 return value.getByteCount();
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DIconTest.java261 originalbits.getByteCount(), in testParcel()
/aosp12/packages/services/Car/car-lib/src/android/car/cluster/renderer/
H A DInstrumentClusterRenderingService.java122 return value.getByteCount();
/aosp12/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPageContentRepository.java431 return content.getBitmap().getByteCount(); in getSizeInBytes()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarIconView.java395 int byteCount = ((BitmapDrawable) drawable).getBitmap().getByteCount(); in updateDrawable()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDevice.java155 return bitmap.getBitmap().getByteCount() / 1024; in initDrawableCache()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityRecord.java965 ? taskDescription.getInMemoryIcon().getByteCount() + " bytes" in dump()

12