Home
last modified time | relevance | path

Searched defs:bitmap (Results 26 – 50 of 2998) sorted by relevance

12345678910>>...120

/aosp_15_r20/frameworks/base/libs/hwui/apex/
H A Dandroid_bitmap.cpp35 Bitmap* bitmap = GraphicsJNI::getNativeBitmap(env, bitmapObj); in ABitmap_acquireBitmapFromJava() local
43 void ABitmap_acquireRef(ABitmap* bitmap) { in ABitmap_acquireRef()
47 void ABitmap_releaseRef(ABitmap* bitmap) { in ABitmap_releaseRef()
138 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getInfo() local
143 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getDataSpace() local
156 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getPixels() local
172 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_notifyPixelsChanged() local
315 auto bitmap = Bitmap::createFrom(imageInfo, pixelRef); in ABitmap_compressWithGainmap() local
370 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getHardwareBuffer() local
/aosp_15_r20/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java141 public BitmapDrawable(Bitmap bitmap) { in BitmapDrawable()
152 public BitmapDrawable(Resources res, Bitmap bitmap) { in BitmapDrawable()
174 Bitmap bitmap = null; in BitmapDrawable() local
207 Bitmap bitmap = null; in BitmapDrawable() local
240 final Bitmap bitmap = mBitmapState.mBitmap; in computeBitmapSize() local
252 public void setBitmap(@Nullable Bitmap bitmap) { in setBitmap()
498 final Bitmap bitmap = mBitmapState.mBitmap; in onBoundsChange() local
507 final Bitmap bitmap = mBitmapState.mBitmap; in draw() local
584 private void updateShaderMatrix(@NonNull Bitmap bitmap, @NonNull Paint paint, in updateShaderMatrix()
850 Bitmap bitmap = null; in updateStateFromTypedArray() local
[all …]
/aosp_15_r20/external/lottie/snapshot-tests/src/androidTest/java/com/airbnb/lottie/snapshots/tests/
H A DComposeDynamicPropertiesTestCase.kt61 val bitmap = getBitmapFromAssets("Images/Heart-80.png") in run() constant
68 val bitmap = getBitmapFromAssets("Images/Heart-80.png") in run() constant
75 val bitmap = getBitmapFromAssets("Images/Heart-1200.png") in run() constant
82 val bitmap = getBitmapFromAssets("Images/Heart-1200.png") in run() constant
/aosp_15_r20/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DLruBitmapPool.java64 public synchronized boolean put(Bitmap bitmap) { in put()
180 void add(Bitmap bitmap); in add()
181 void remove(Bitmap bitmap); in remove()
190 public void add(Bitmap bitmap) { in add()
199 public void remove(Bitmap bitmap) { in remove()
209 public void add(Bitmap bitmap) { in add()
214 public void remove(Bitmap bitmap) { in remove()
/aosp_15_r20/cts/tests/tests/systemui/src/android/systemui/cts/
H A DLightBarTests.java140 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testLightStatusBarIcons() local
167 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testAppearanceCanOverwriteLegacyFlags() local
194 Bitmap bitmap = takeStatusBarScreenshot(mActivityRule.getActivity()); in testLegacyFlagsCannotOverwriteAppearance() local
214 Bitmap bitmap = takeNavigationBarScreenshot(activity); in testLightNavigationBar() local
242 Bitmap bitmap = takeStatusBarScreenshot(activity); in testLightBarIsNotAllowed_fitStatusBar() local
301 private void assertStats(Bitmap bitmap, Stats s, boolean light) { in assertStats()
368 private Stats evaluateLightBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateLightBarBitmap()
388 private Stats evaluateDarkBarBitmap(Bitmap bitmap, int background, int shiftY) { in evaluateDarkBarBitmap()
392 private Stats evaluateBarBitmap(Bitmap bitmap, int background, int shiftY, int iconColor, in evaluateBarBitmap()
/aosp_15_r20/external/pdfium/fpdfsdk/
H A Dfpdf_annot_embeddertest.cpp400 ScopedFPDFBitmap bitmap = RenderLoadedPageWithFlags(page, FPDF_ANNOT); in TEST_F() local
418 ScopedFPDFBitmap bitmap = RenderLoadedPageWithFlags(page, FPDF_ANNOT); in TEST_F() local
559 ScopedFPDFBitmap bitmap = RenderLoadedPageWithFlags(page, FPDF_ANNOT); in TEST_F() local
667 ScopedFPDFBitmap bitmap = RenderLoadedPageWithFlags(page, FPDF_ANNOT); in TEST_F() local
934 ScopedFPDFBitmap bitmap = RenderLoadedPageWithFlags(page, FPDF_ANNOT); in TEST_F() local
974 ScopedFPDFBitmap bitmap = RenderLoadedPageWithFlags(page, FPDF_ANNOT); in TEST_F() local
995 ScopedFPDFBitmap bitmap = RenderLoadedPageWithFlags(page, FPDF_ANNOT); in TEST_F() local
1015 ScopedFPDFBitmap bitmap = RenderLoadedPageWithFlags(page, FPDF_ANNOT); in TEST_F() local
1153 ScopedFPDFBitmap bitmap = RenderLoadedPageWithFlags(page, FPDF_ANNOT); in TEST_F() local
1177 ScopedFPDFBitmap bitmap = RenderLoadedPageWithFlags(page, FPDF_ANNOT); in TEST_F() local
[all …]
/aosp_15_r20/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DImageActionUtils.java100 Bitmap bitmap = bitmapSupplier.get(); in shareImage() local
137 Bitmap bitmap = bitmapSupplier.get(); in startShareActivity() local
153 Bitmap bitmap = bitmapSupplier.get(); in startShareActivity() local
167 public static void persistBitmapAndStartActivity(Context context, Bitmap bitmap, Rect crop, in persistBitmapAndStartActivity()
178 public static void persistBitmapAndStartActivity(Context context, Bitmap bitmap, Rect crop, in persistBitmapAndStartActivity()
202 public static void persistBitmapAndStartActivity(Context context, Bitmap bitmap, Rect crop, in persistBitmapAndStartActivity()
233 public static Uri getImageUri(Bitmap bitmap, Rect crop, Context context, String tag) { in getImageUri()
259 public static Bitmap cropBitmap(Bitmap bitmap, Rect crop) { in cropBitmap()
/aosp_15_r20/external/jemalloc_new/include/jemalloc/internal/
H A Dbit_util.h16 ffs_llu(unsigned long long bitmap) { in ffs_llu()
21 ffs_lu(unsigned long bitmap) { in ffs_lu()
26 ffs_u(unsigned bitmap) { in ffs_u()
31 ffs_zu(size_t bitmap) { in ffs_zu()
44 ffs_u64(uint64_t bitmap) { in ffs_u64()
55 ffs_u32(uint32_t bitmap) { in ffs_u32()
/aosp_15_r20/cts/tests/tests/view/src/android/view/cts/
H A DTextureViewTest.java169 final Bitmap bitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888); in testScaling() local
185 final Bitmap bitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888); in testRotateScale() local
227 final Bitmap bitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888); in testTransformScale() local
390 Bitmap bitmap = Bitmap.createBitmap(plane.getRowStride() / 4, image.getHeight(), in testSDRFromSurfaceViewAndTextureView() local
471 Bitmap bitmap = Bitmap.createBitmap(plane.getRowStride() / 4, image.getHeight(), in testCropRect() local
807 final Bitmap bitmap = activity.getContents(compareFunction.getConfig(), in testGetBitmap() local
903 private void assertBitmapQuadColor(Bitmap bitmap, in assertBitmapQuadColor()
906 bitmap, topLeft, topRight, bottomLeft, bottomRight); in assertBitmapQuadColor() local
909 private void assertBitmapEdgeColor(Bitmap bitmap, int edgeColor) { in assertBitmapEdgeColor()
929 private void failBitmap(Bitmap bitmap, String message) { in failBitmap()
[all …]
/aosp_15_r20/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DBitmapCache.java55 Bitmap bitmap; field in BitmapCache.BitmapTracking
61 private void track(Bitmap bitmap, int type) { in track()
75 private void untrack(Bitmap bitmap) { in untrack()
125 Bitmap bitmap = buffer.getBitmap(); in cache() local
129 public synchronized boolean cache(Bitmap bitmap) { in cache()
185 Bitmap bitmap = null; in getBitmap() local
207 Bitmap bitmap = getBitmap(source.getWidth(), source.getHeight(), type); in getBitmapCopy() local
/aosp_15_r20/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCachingPipeline.java119 public void setOriginal(Bitmap bitmap) { in setOriginal()
146 Bitmap bitmap = PrimaryImage.getImage().getOriginalBitmapHighres(); in renderHighres() local
168 Bitmap bitmap = PrimaryImage.getImage().getOriginalBitmapHighres(); in renderGeometry() local
187 Bitmap bitmap = PrimaryImage.getImage().getOriginalBitmapHighres(); in renderFilters() local
216 Bitmap bitmap = request.getBitmap(); in render() local
297 public synchronized Bitmap renderFinalImage(Bitmap bitmap, ImagePreset preset) { in renderFinalImage()
309 public Bitmap renderGeometryIcon(Bitmap bitmap, ImagePreset preset) { in renderGeometryIcon()
/aosp_15_r20/external/e2fsprogs/lib/ext2fs/
H A Dbitmaps.c33 void ext2fs_free_inode_bitmap(ext2fs_inode_bitmap bitmap) in ext2fs_free_inode_bitmap()
38 void ext2fs_free_block_bitmap(ext2fs_block_bitmap bitmap) in ext2fs_free_block_bitmap()
167 int ext2fs_get_bitmap_granularity(ext2fs_block_bitmap bitmap) in ext2fs_get_bitmap_granularity()
177 errcode_t ext2fs_fudge_inode_bitmap_end(ext2fs_inode_bitmap bitmap, in ext2fs_fudge_inode_bitmap_end()
191 errcode_t ext2fs_fudge_block_bitmap_end(ext2fs_block_bitmap bitmap, in ext2fs_fudge_block_bitmap_end()
200 errcode_t ext2fs_fudge_block_bitmap_end2(ext2fs_block_bitmap bitmap, in ext2fs_fudge_block_bitmap_end2()
208 void ext2fs_clear_inode_bitmap(ext2fs_inode_bitmap bitmap) in ext2fs_clear_inode_bitmap()
213 void ext2fs_clear_block_bitmap(ext2fs_block_bitmap bitmap) in ext2fs_clear_block_bitmap()
/aosp_15_r20/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
H A DScreenshotTestRuleTest.kt240 val bitmap = loadBitmap("round_rect_green") in goldenIdentifierResolver() constant
259 val bitmap = loadBitmap("round_rect_green") in goldenIdentifierResolver() constant
283 val bitmap = loadBitmap("round_rect_green") in goldenIdentifierResolver() constant
300 val bitmap = loadBitmap("round_rect_green") in goldenIdentifierResolver() constant
311 val bitmap = loadBitmap("round_rect_green") in goldenIdentifierResolver() constant
/aosp_15_r20/external/lottie/snapshot-tests/src/androidTest/java/com/airbnb/lottie/snapshots/
H A DSnapshotTestCaseContext.kt66 val bitmap = bitmapPool.acquire(drawable.intrinsicWidth, drawable.intrinsicHeight) in withDrawable() constant
102 val bitmap = bitmapPool.acquire(animationView.width, animationView.height) in withAnimationView() constant
160 val bitmap = bitmapPool.acquire(filmStripView.width, filmStripView.height) in snapshotComposition() constant
211 var bitmap = bitmapPool.acquire(composeView.width, composeView.height) in snapshotComposable() variable
/aosp_15_r20/external/pdfium/core/fxge/dib/
H A Dcfx_dibbase_unittest.cpp26 void RunOverlapRectTest(const CFX_DIBitmap* bitmap, in RunOverlapRectTest()
59 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local
72 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local
85 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local
98 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local
111 auto bitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in TEST() local
/aosp_15_r20/frameworks/base/libs/hwui/platform/host/
H A DReadback.cpp27 CopyResult Readback::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto()
31 CopyResult Readback::copyLayerInto(DeferredLayerUpdater* deferredLayer, SkBitmap* bitmap) { in copyLayerInto()
35 CopyResult Readback::copyImageInto(const sk_sp<SkImage>& image, SkBitmap* bitmap) { in copyImageInto()
40 SkBitmap* bitmap) { in copyImageInto()
45 SkBitmap* bitmap) { in copyLayerInto()
/aosp_15_r20/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DCustomActionsInteractorTest.kt44 val bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ALPHA_8) in <lambda>() constant
74 val bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ALPHA_8) in <lambda>() constant
92 val bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ALPHA_8) in <lambda>() constant
/aosp_15_r20/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/
H A DWalletCardTest.java62 Bitmap bitmap = Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888); in testParcel_toParcel() local
107 Bitmap bitmap = Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888); in testParcel_noIconOrLabel_toParcel() local
135 Bitmap bitmap = Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888); in testBuilder_defaultsToUnknownCardType() local
151 Bitmap bitmap = Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888); in testSetNonPaymentCardSecondaryImage_throwsException() local
168 Bitmap bitmap = Bitmap.createBitmap(70, 44, Bitmap.Config.ARGB_8888); in testSetCardLocationsNull_throwsException() local
/aosp_15_r20/frameworks/base/libs/hwui/
H A DReadback.cpp176 SkBitmap* bitmap = &skBitmap; in copySurfaceInto() local
274 CopyResult Readback::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto()
281 CopyResult Readback::copyLayerInto(DeferredLayerUpdater* deferredLayer, SkBitmap* bitmap) { in copyLayerInto()
301 CopyResult Readback::copyImageInto(const sk_sp<SkImage>& image, SkBitmap* bitmap) { in copyImageInto()
307 SkBitmap* bitmap) { in copyImageInto()
347 SkBitmap* bitmap) { in copyLayerInto()
/aosp_15_r20/cts/tests/tests/graphics/src/android/graphics/cts/
H A DGainmapTest.java158 private void checkGainmap(Bitmap bitmap) throws Exception { in checkGainmap()
191 private void checkFountainGainmap(Bitmap bitmap) throws Exception { in checkFountainGainmap()
227 private void checkIsoGainmap(Bitmap bitmap) throws Exception { in checkIsoGainmap()
328 Bitmap bitmap = BitmapFactory.decodeResource(sContext.getResources(), R.raw.gainmap, in testDecodeGainmapBitmapFactoryReuse() local
577 Bitmap bitmap = ImageDecoder.decodeBitmap( in testWriteToParcel() local
725 Bitmap bitmap = ImageDecoder.decodeBitmap( in testHardwareGainmapCopy() local
741 Bitmap bitmap = ImageDecoder.decodeBitmap( in testCopyPreservesGainmap() local
752 private static void assertBitmapQuadColor(Bitmap bitmap, int topLeft, int topRight, in assertBitmapQuadColor()
786 private static void assertBitmapColor(String debug, Bitmap bitmap, int color, int x, int y, in assertBitmapColor()
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowBitmapFactory.java57 Bitmap bitmap = in decodeResourceStream() local
86 Bitmap bitmap = create("resource:" + resourceName, options, image); in decodeResource() local
117 Bitmap bitmap = create("file:" + pathName, options, image); in decodeFile() local
144 Bitmap bitmap = create("fd:" + fd, null, outPadding, opts, null, image); in decodeFileDescriptor() local
185 Bitmap bitmap = create(name, null, outPadding, opts, null, image); in decodeStream() local
220 Bitmap bitmap = create(desc, data, null, opts, null, image); in decodeByteArray() local
240 Bitmap bitmap = Shadow.newInstanceOf(Bitmap.class); in create() local
/aosp_15_r20/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
H A DBitmapDumper.java75 public static void dumpBitmap(Bitmap bitmap) { in dumpBitmap()
82 public static void dumpBitmap(Bitmap bitmap, String label) { in dumpBitmap()
94 private static void logIfBitmapSolidColor(String fileName, Bitmap bitmap) { in logIfBitmapSolidColor()
107 private static void saveBitmap(Bitmap bitmap, File file) { in saveBitmap()
108 logIfBitmapSolidColor(file.getName(), bitmap); in saveBitmap() local
/aosp_15_r20/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
H A DColorSpaceTests.java94 Bitmap bitmap = loadAsset("green-p3.png", RGB_565); in testDrawDisplayP3Config565() local
126 Bitmap bitmap = loadAsset("orange-prophotorgb.png", RGB_565); in testDrawProPhotoRGBConfig565() local
310 private void drawAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawAsset()
340 Bitmap bitmap; in loadAsset() local
353 private void drawTranslucentAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawTranslucentAsset()
363 Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.RGBA_F16, false, dest); in transformViaBitmap() local
/aosp_15_r20/external/skia/gm/
H A Dbitmappremul.cpp32 static void init_bitmap(SkColorType ct, SkBitmap* bitmap) { in init_bitmap()
39 SkBitmap bitmap; in make_argb8888_gradient() local
51 SkBitmap bitmap; in make_argb4444_gradient() local
61 SkBitmap bitmap; in make_argb8888_stripes() local
80 SkBitmap bitmap; in make_argb4444_stripes() local
/aosp_15_r20/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
H A DImageLoader.java78 Bitmap bitmap = null; in loadImage() local
210 Bitmap bitmap = null; in doInBackground() local
247 protected void onPostExecute(Bitmap bitmap) { in onPostExecute()
263 protected void onCancelled(Bitmap bitmap) { in onCancelled()
295 public AsyncDrawable(Resources res, Bitmap bitmap, BitmapWorkerTask bitmapWorkerTask) { in AsyncDrawable()
312 private void setImageBitmap(ImageView imageView, Bitmap bitmap) { in setImageBitmap()

12345678910>>...120