/aosp_15_r20/external/e2fsprogs/lib/ext2fs/ |
H A D | bitops.h | 297 _INLINE_ int ext2fs_mark_block_bitmap(ext2fs_block_bitmap bitmap, in ext2fs_mark_block_bitmap() 304 _INLINE_ int ext2fs_unmark_block_bitmap(ext2fs_block_bitmap bitmap, in ext2fs_unmark_block_bitmap() 311 _INLINE_ int ext2fs_test_block_bitmap(ext2fs_block_bitmap bitmap, in ext2fs_test_block_bitmap() 318 _INLINE_ int ext2fs_mark_inode_bitmap(ext2fs_inode_bitmap bitmap, in ext2fs_mark_inode_bitmap() 325 _INLINE_ int ext2fs_unmark_inode_bitmap(ext2fs_inode_bitmap bitmap, in ext2fs_unmark_inode_bitmap() 332 _INLINE_ int ext2fs_test_inode_bitmap(ext2fs_inode_bitmap bitmap, in ext2fs_test_inode_bitmap() 339 _INLINE_ void ext2fs_fast_mark_block_bitmap(ext2fs_block_bitmap bitmap, in ext2fs_fast_mark_block_bitmap() 345 _INLINE_ void ext2fs_fast_unmark_block_bitmap(ext2fs_block_bitmap bitmap, in ext2fs_fast_unmark_block_bitmap() 351 _INLINE_ int ext2fs_fast_test_block_bitmap(ext2fs_block_bitmap bitmap, in ext2fs_fast_test_block_bitmap() 358 _INLINE_ void ext2fs_fast_mark_inode_bitmap(ext2fs_inode_bitmap bitmap, in ext2fs_fast_mark_inode_bitmap() [all …]
|
H A D | gen_bitmap.c | 37 char * bitmap; member 61 ext2fs_generic_bitmap_32 bitmap = (ext2fs_generic_bitmap_32) gen_bitmap; in ext2fs_warn_bitmap2() local 72 static errcode_t check_magic(ext2fs_generic_bitmap bitmap) in check_magic() 86 ext2fs_generic_bitmap_32 bitmap; in ext2fs_make_generic_bitmap() local 162 ext2fs_generic_bitmap_32 bitmap = (ext2fs_generic_bitmap_32) gen_bitmap; in ext2fs_free_generic_bitmap() local 179 int ext2fs_test_generic_bitmap(ext2fs_generic_bitmap bitmap, in ext2fs_test_generic_bitmap() 203 int ext2fs_mark_generic_bitmap(ext2fs_generic_bitmap bitmap, in ext2fs_mark_generic_bitmap() 227 int ext2fs_unmark_generic_bitmap(ext2fs_generic_bitmap bitmap, in ext2fs_unmark_generic_bitmap() 251 __u32 ext2fs_get_generic_bitmap_start(ext2fs_generic_bitmap bitmap) in ext2fs_get_generic_bitmap_start() 270 __u32 ext2fs_get_generic_bitmap_end(ext2fs_generic_bitmap bitmap) in ext2fs_get_generic_bitmap_end() [all …]
|
H A D | blkmap64_ba.c | 43 static errcode_t ba_alloc_private_data (ext2fs_generic_bitmap_64 bitmap) in ba_alloc_private_data() 72 ext2fs_generic_bitmap_64 bitmap) in ba_new_bmap() 89 static void ba_free_bmap(ext2fs_generic_bitmap_64 bitmap) in ba_free_bmap() 165 static int ba_mark_bmap(ext2fs_generic_bitmap_64 bitmap, __u64 arg) in ba_mark_bmap() 173 static int ba_unmark_bmap(ext2fs_generic_bitmap_64 bitmap, __u64 arg) in ba_unmark_bmap() 181 static int ba_test_bmap(ext2fs_generic_bitmap_64 bitmap, __u64 arg) in ba_test_bmap() 189 static void ba_mark_bmap_extent(ext2fs_generic_bitmap_64 bitmap, __u64 arg, in ba_mark_bmap_extent() 200 static void ba_unmark_bmap_extent(ext2fs_generic_bitmap_64 bitmap, __u64 arg, in ba_unmark_bmap_extent() 211 static int ba_test_clear_bmap_extent(ext2fs_generic_bitmap_64 bitmap, in ba_test_clear_bmap_extent() 285 static errcode_t ba_set_bmap_range(ext2fs_generic_bitmap_64 bitmap, in ba_set_bmap_range() [all …]
|
H A D | gen_bitmap64.c | 71 static void warn_bitmap(ext2fs_generic_bitmap_64 bitmap, in warn_bitmap() 98 ext2fs_generic_bitmap_64 bitmap; in ext2fs_alloc_generic_bmap() local 180 static void ext2fs_print_bmap_statistics(ext2fs_generic_bitmap_64 bitmap) in ext2fs_print_bmap_statistics() 372 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_fudge_generic_bmap_end() local 402 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_get_generic_bmap_start() local 418 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_get_generic_bmap_end() local 434 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_clear_generic_bmap() local 445 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_mark_generic_bmap() local 484 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_unmark_generic_bmap() local 516 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_test_generic_bmap() local [all …]
|
H A D | blkmap64_rb.c | 187 static errcode_t rb_alloc_private_data (ext2fs_generic_bitmap_64 bitmap) in rb_alloc_private_data() 211 ext2fs_generic_bitmap_64 bitmap) in rb_new_bmap() 235 static void rb_free_bmap(ext2fs_generic_bitmap_64 bitmap) in rb_free_bmap() 585 static int rb_mark_bmap(ext2fs_generic_bitmap_64 bitmap, __u64 arg) in rb_mark_bmap() 598 static int rb_unmark_bmap(ext2fs_generic_bitmap_64 bitmap, __u64 arg) in rb_unmark_bmap() 613 static int rb_test_bmap(ext2fs_generic_bitmap_64 bitmap, __u64 arg) in rb_test_bmap() 623 static void rb_mark_bmap_extent(ext2fs_generic_bitmap_64 bitmap, __u64 arg, in rb_mark_bmap_extent() 635 static void rb_unmark_bmap_extent(ext2fs_generic_bitmap_64 bitmap, __u64 arg, in rb_unmark_bmap_extent() 647 static int rb_test_clear_bmap_extent(ext2fs_generic_bitmap_64 bitmap, in rb_test_clear_bmap_extent() 703 static errcode_t rb_set_bmap_range(ext2fs_generic_bitmap_64 bitmap, in rb_set_bmap_range() [all …]
|
/aosp_15_r20/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/graphics/ |
H A D | BitmapTest.java | 65 Bitmap bitmap = Bitmap.createBitmap(picture); in createBitmap() local 71 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testEraseColor() local 81 Bitmap bitmap = in testExtractAlpha() local 91 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testCopy() local 100 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testCopyAndEraseColor() local 116 Bitmap bitmap = BitmapFactory.decodeResource(resources, R.drawable.an_image); in compress() local 126 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); in getConfigAfterCompress() local 138 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); in getConfigAfterCreateScaledBitmap() local 163 Bitmap bitmap = BitmapFactory.decodeStream(inputStream, null, options); in checkBitmapNotRecycled() local 171 Bitmap bitmap = BitmapFactory.decodeResource(resources, R.drawable.an_image, opt); in decodeResource_withMutableOpt_isMutable() local [all …]
|
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
H A D | ShadowBitmapFactoryTest.java | 55 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldSetDescriptionAndCreatedFrom() local 66 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldSetDefaultBitmapConfig() local 80 Bitmap bitmap = in decodeResource_shouldPassABitmapConfig() local 88 Bitmap bitmap = BitmapFactory.decodeResource(resources, R.drawable.an_image); in decodeResource_sameAs() local 102 Bitmap bitmap = BitmapFactory.decodeResource(resources, R.drawable.an_image, opts); in decodeResource_shouldGetCorrectColorFromPngImage() local 108 Bitmap bitmap = BitmapFactory.decodeFile("/some/file.jpg"); in decodeFile_shouldSetDescriptionAndCreatedFrom() local 120 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); in decodeStream_shouldSetDescriptionAndCreatedFrom() local 139 Bitmap bitmap = BitmapFactory.decodeByteArray(yummyBites, 100, 100); in decodeBytes_shouldSetDescriptionAndCreatedFrom() local 151 Bitmap bitmap = BitmapFactory.decodeByteArray(yummyBites, 100, 100, options); in decodeBytes_shouldSetDescriptionAndCreatedFromWithOptions() local 163 Bitmap bitmap = BitmapFactory.decodeStream(inputStream, null, null); in decodeStream_shouldSetDescriptionWithNullOptions() local [all …]
|
H A D | ShadowBitmapTest.java | 99 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in shouldCreateActiveBitmap() local 109 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in hasAlpha() local 117 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in hasMipmap() local 125 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in getAllocationByteCount() local 136 Bitmap bitmap = Bitmap.createBitmap(colors, 3, 2, Bitmap.Config.ARGB_8888); in shouldCreateBitmapWithColors() local 184 final Bitmap bitmap = Bitmap.createBitmap(metrics, 100, 100, Bitmap.Config.ARGB_8888); in shouldCreateMutableBitmapWithDisplayMetrics() local 191 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in shouldRecycleBitmap() local 238 Bitmap bitmap = create("Bitmap One"); in visualize_shouldReturnDescription() local 244 Bitmap bitmap = Shadow.newInstanceOf(Bitmap.class); in shouldCopyBitmap() local 276 final Bitmap bitmap = in shouldSetDensity() local [all …]
|
H A D | ShadowGainmapTest.java | 23 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testGainmap_getSetRatioMin() local 31 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testGainmap_getSetRatioMax() local 39 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testGainmap_getSetGamma() local 47 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testGainmap_getSetEpsilonSdr() local 55 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testGainmap_getSetEpsilonHdr() local 63 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testGainmap_getSetDisplayRatioForFullHdr() local 71 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testGainmap_getSetMinDisplayRatioForHdrTransition() local 79 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testGainmap_writeToParcel() local 93 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testBitmap_writeToParcel_with_Gainmap() local 109 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in setGainmap_recycledBitmap() local [all …]
|
/aosp_15_r20/cts/tests/tests/view/src/android/view/cts/ |
H A D | PixelCopyTest.java | 240 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerFullsize() local 255 Bitmap bitmap = result.getBitmap(); in testGlProducerAutoSize() local 266 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropTopLeft() local 276 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropCenter() local 286 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropBottomHalf() local 296 Bitmap bitmap = Bitmap.createBitmap(100, 100, Config.ARGB_8888); in testGlProducerCropClamping() local 308 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testGlProducerScaling() local 324 Bitmap bitmap = Bitmap.createBitmap(20, 20, Config.ARGB_8888); in testReuseBitmap() local 365 final Bitmap bitmap = Bitmap.createBitmap(src.width(), src.height(), in testViewProducer() local 387 final Bitmap bitmap = result.getBitmap(); in testWindowProducerAutoSize() local [all …]
|
/aosp_15_r20/cts/tests/tests/graphics/src/android/graphics/cts/ |
H A D | BitmapTest.java | 228 Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ALPHA_8); in testCompressAlpha8Fails() local 253 Bitmap bitmap = mBitmap.copy(Config.ARGB_8888, false); in testCopy() local 321 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), in testCopyPixelsToBuffer() local 341 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() local 550 Bitmap bitmap; in testCreateBitmap_displayMetrics_mutable() local 581 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_mutable() local 598 Bitmap bitmap; in testCreateBitmap_displayMetrics_immutable() local 611 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_immutable() local 634 Bitmap bitmap; in testCreateBitmap_Picture_immutable() local 660 Bitmap bitmap = Bitmap.wrapHardwareBuffer(hwBuffer, ColorSpace.get(Named.SRGB)); in testWrapHardwareBufferSucceeds() local [all …]
|
H A D | BitmapShaderTest.java | 91 private void verifyTile(Bitmap bitmap, int tileX, int tileY) { in verifyTile() 109 private void verifyColor(int color, Bitmap bitmap, int x, int y) { in verifyColor() 118 Bitmap bitmap = Bitmap.createBitmap(2, 1, config); in testClamp() local 141 Bitmap bitmap = Bitmap.createBitmap(2, 1, config); in testRepeat() local 164 Bitmap bitmap = Bitmap.createBitmap(2, 1, config); in testMirror() local 187 Bitmap bitmap = Bitmap.createBitmap(2, 2, config); in testFiltering() local 230 Bitmap bitmap = Bitmap.createBitmap(2, 2, Bitmap.Config.ARGB_8888); in testAnisotropicFiltering() local 252 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in testRecycledBitmapThrowsISE() local 269 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in testBitmapShaderAppliesGainmapHLG() local
|
/aosp_15_r20/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/ |
H A D | ImageLoaderTest.kt | 45 val bitmap = in setUp() constant 109 val bitmap = in validBitmapResource_loadDrawable_returnsBitmapDrawable() constant 128 val bitmap = in validBitmapResource_loadBitmap_returnsBitmapDrawable() constant 141 val bitmap = in validBitmapUri_returnsBitmapDrawable() constant 156 val bitmap = BitmapFactory.decodeFile(imgFile.absolutePath) in validBitmapFile_returnsBitmapDrawable() constant 164 val bitmap = BitmapFactory.decodeFile(imgFile.absolutePath) in validInputStream_returnsBitmapDrawable() constant 173 val bitmap = in validBitmapIcon_returnsBitmapDrawable() constant 185 val bitmap = in validBitmapIcon_loadSize_returnsNull() constant 196 val bitmap = in validUriIcon_returnsBitmapDrawable() constant 221 val bitmap = in validDataIcon_returnsBitmapDrawable() constant [all …]
|
/aosp_15_r20/frameworks/base/libs/hwui/jni/ |
H A D | Bitmap.cpp | 43 explicit BitmapWrapper(Bitmap* bitmap) in BitmapWrapper() 60 Bitmap& bitmap() { in bitmap() function in android::BitmapWrapper 166 namespace bitmap { namespace 194 jobject createBitmap(JNIEnv* env, Bitmap* bitmap, in createBitmap() 224 LocalScopedBitmap bitmap(bitmapHandle); in toSkBitmap() local 240 static inline jlong getNativePtr(JNIEnv* env, jobject bitmap) { in getNativePtr() 246 Bitmap* GraphicsJNI::getNativeBitmap(JNIEnv* env, jobject bitmap) { in getNativeBitmap() 255 SkImageInfo GraphicsJNI::getBitmapInfo(JNIEnv* env, jobject bitmap, uint32_t* outRowBytes, in getBitmapInfo() 321 SkBitmap bitmap; in Bitmap_creator() local 389 sk_sp<Bitmap> bitmap(Bitmap::allocateHardwareBitmap(src)); in Bitmap_copy() local [all …]
|
/aosp_15_r20/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/shadows/ |
H A D | ShadowNativeBitmapTest.java | 76 private Bitmap bitmap; field in ShadowNativeBitmapTest 222 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() local 361 Bitmap bitmap; in testCreateBitmap_displayMetrics_mutable() local 393 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_mutable() local 409 Bitmap bitmap; in testCreateBitmap_displayMetrics_immutable() local 422 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_immutable() local 462 Bitmap bitmap = Bitmap.createBitmap(10, 10, Config.ARGB_8888); in testGenerationId() local 928 Bitmap bitmap = Bitmap.createBitmap(10, 10, fromConfig); in testAlphaAndPremul() local 977 Bitmap bitmap, boolean expectedAlpha, boolean expectedPremul, boolean convertedFrom565) { in verifyAlphaAndPremul() 1366 Bitmap bitmap = Bitmap.createBitmap(1, 1, config); in verifyPremultipliedBitmapConfig() local [all …]
|
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowMediaMetadataRetriever.java | 120 public static void addFrame(DataSource ds, long time, Bitmap bitmap) { in addFrame() 128 DataSource ds, long time, int dstWidth, int dstHeight, Bitmap bitmap) { in addScaledFrame() 132 scaledFrames.get(ds).put(getScaledFrameKey(time, dstWidth, dstHeight), bitmap); in addScaledFrame() local 145 public static void addFrame(String path, long time, Bitmap bitmap) { in addFrame() 146 addFrame(toDataSource(path), time, bitmap); in addFrame() local 160 public static void addFrame(Context context, Uri uri, long time, Bitmap bitmap) { in addFrame() 161 addFrame(toDataSource(context, uri), time, bitmap); in addFrame() local 175 public static void addFrame(String uri, Map<String, String> headers, long time, Bitmap bitmap) { in addFrame() 176 addFrame(toDataSource(uri, headers), time, bitmap); in addFrame() local 189 public static void addFrame(FileDescriptor fd, long time, Bitmap bitmap) { in addFrame() [all …]
|
/aosp_15_r20/frameworks/base/opengl/java/android/opengl/ |
H A D | GLUtils.java | 40 public static int getInternalFormat(Bitmap bitmap) { in getInternalFormat() 62 public static int getType(Bitmap bitmap) { in getType() 99 Bitmap bitmap, int border) { in texImage2D() 125 Bitmap bitmap, int type, int border) { in texImage2D() 146 public static void texImage2D(int target, int level, Bitmap bitmap, in texImage2D() 182 Bitmap bitmap) { in texSubImage2D() 207 Bitmap bitmap, int format, int type) { in texSubImage2D() 264 private static native int native_getInternalFormat(Bitmap bitmap); in native_getInternalFormat() 265 private static native int native_getType(Bitmap bitmap); in native_getType() 267 Bitmap bitmap, int type, int border); in native_texImage2D() [all …]
|
/aosp_15_r20/external/pdfium/core/fxcodec/ |
H A D | progressive_decoder_unittest.cpp | 50 const fxcrt::RetainPtr<CFX_DIBitmap>& bitmap) { in DecodeToBitmap() 81 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local 114 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local 145 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local 177 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local 209 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local 241 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local 280 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local 324 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local 355 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local [all …]
|
/aosp_15_r20/external/pdfium/fpdfsdk/ |
H A D | fpdf_transformpage_embeddertest.cpp | 231 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local 253 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local 279 ScopedFPDFBitmap bitmap = RenderSavedPage(saved_page); in TEST_F() local 308 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local 330 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local 358 ScopedFPDFBitmap bitmap = RenderSavedPage(saved_page); in TEST_F() local 438 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local 455 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local 475 ScopedFPDFBitmap bitmap = RenderSavedPage(saved_page); in TEST_F() local 498 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local [all …]
|
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/wallpapers/ |
H A D | WallpaperLocalColorExtractorTest.java | 108 Bitmap bitmap = mock(Bitmap.class); in getMockBitmap() local 202 Bitmap bitmap = getMockBitmap(width, height); in testMiniBitmapCreation() local 223 Bitmap bitmap = getMockBitmap(width, height); in testSmallMiniBitmapCreation() local 239 Bitmap bitmap = getMockBitmap(HIGH_BMP_WIDTH, HIGH_BMP_HEIGHT); in testNewColorExtraction() local 272 Bitmap bitmap = getMockBitmap(HIGH_BMP_WIDTH, HIGH_BMP_HEIGHT); in testRemoveColors() local 310 Bitmap bitmap = getMockBitmap(HIGH_BMP_WIDTH, HIGH_BMP_HEIGHT); in testRecomputeColorExtraction() local 357 Bitmap bitmap = getMockBitmap(HIGH_BMP_WIDTH, HIGH_BMP_HEIGHT); in testRecomputeColors() local 372 Bitmap bitmap = getMockBitmap(HIGH_BMP_WIDTH, HIGH_BMP_HEIGHT); in testRecomputeColorsBeforeBitmapLoaded() local 386 Bitmap bitmap = getMockBitmap(HIGH_BMP_WIDTH, HIGH_BMP_HEIGHT); in testRecomputeColorsOnDimChanged() local 400 Bitmap bitmap = getMockBitmap(HIGH_BMP_WIDTH, HIGH_BMP_HEIGHT); in testRecomputeColorsOnDimChangedBeforeBitmapLoaded() local [all …]
|
/aosp_15_r20/art/runtime/gc/accounting/ |
H A D | heap_bitmap-inl.h | 30 for (const auto& bitmap : continuous_space_bitmaps_) { in Visit() local 33 for (const auto& bitmap : large_object_bitmaps_) { in Visit() local 39 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); in Test() local 53 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); in Clear() local 68 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); in Set() local 85 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); in AtomicTestAndSet() local 100 for (const auto& bitmap : continuous_space_bitmaps_) { in GetContinuousSpaceBitmap() local 109 for (const auto& bitmap : large_object_bitmaps_) { in GetLargeObjectBitmap() local
|
/aosp_15_r20/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
H A D | HardwareBufferRendererTests.kt | 99 val bitmap = Bitmap.wrapHardwareBuffer(hardwareBuffer, colorSpace)!! in <lambda>() constant 108 fun testContentsPreservedSRGB() = preservedContentsTest() { bitmap -> in <lambda>() method 117 ) { bitmap -> in <lambda>() method 157 ) { bitmap -> in <lambda>() method 195 val bitmap = Bitmap.wrapHardwareBuffer(hardwareBuffer, colorSpace)!! in <lambda>() constant 252 val bitmap = Bitmap.wrapHardwareBuffer(hardwareBuffer, colorSpace)!! in <lambda>() constant 317 ) { bitmap -> in <lambda>() method 332 ) { bitmap -> in <lambda>() method 347 ) { bitmap -> in <lambda>() method 362 ) { bitmap -> in <lambda>() method [all …]
|
/aosp_15_r20/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 116 Bitmap bitmap, float scale, boolean recycle) { in resizeBitmapByScale() 130 private static Bitmap.Config getConfig(Bitmap bitmap) { in getConfig() 139 Bitmap bitmap, int maxLength, boolean recycle) { in resizeDownBySideLength() 148 public static Bitmap resizeAndCropCenter(Bitmap bitmap, int size, boolean recycle) { in resizeAndCropCenter() 169 public static void recycleSilently(Bitmap bitmap) { in recycleSilently() 184 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true); in rotateBitmap() local 207 Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length); in createVideoThumbnail() local 237 public static byte[] compressToBytes(Bitmap bitmap) { in compressToBytes() 241 public static byte[] compressToBytes(Bitmap bitmap, int quality) { in compressToBytes()
|
/aosp_15_r20/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 116 Bitmap bitmap, float scale, boolean recycle) { in resizeBitmapByScale() 130 private static Bitmap.Config getConfig(Bitmap bitmap) { in getConfig() 139 Bitmap bitmap, int maxLength, boolean recycle) { in resizeDownBySideLength() 148 public static Bitmap resizeAndCropCenter(Bitmap bitmap, int size, boolean recycle) { in resizeAndCropCenter() 169 public static void recycleSilently(Bitmap bitmap) { in recycleSilently() 184 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true); in rotateBitmap() local 207 Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length); in createVideoThumbnail() local 237 public static byte[] compressToBytes(Bitmap bitmap) { in compressToBytes() 241 public static byte[] compressToBytes(Bitmap bitmap, int quality) { in compressToBytes()
|
/aosp_15_r20/frameworks/base/tests/Input/src/com/android/server/input/ |
H A D | PointerIconCacheTest.kt | 75 val bitmap = in testSetPointerScale() constant 90 val bitmap = in testSetAccessibilityScaleFactor() constant 106 val bitmap = in testSetAccessibilityScaleFactorOnSecondaryDisplay() constant 126 val bitmap = in testSetPointerScaleAndAccessibilityScaleFactor() constant
|