Home
last modified time | relevance | path

Searched defs:bitmap (Results 1 – 25 of 631) sorted by relevance

12345678910>>...26

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapFactoryTest.java37 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldSetDescriptionAndCreatedFrom() local
47 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldSetDefaultBitmapConfig() local
61 Bitmap bitmap = in decodeResource_shouldPassABitmapConfig() local
68 Bitmap bitmap = BitmapFactory.decodeFile("/some/file.jpg"); in decodeFile_shouldSetDescriptionAndCreatedFrom() local
80 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); in decodeStream_shouldSetDescriptionAndCreatedFrom() local
92 Bitmap bitmap = BitmapFactory.decodeByteArray(yummyBites, 100, 100); in decodeBytes_shouldSetDescriptionAndCreatedFrom() local
104 Bitmap bitmap = BitmapFactory.decodeStream(inputStream, null, null); in decodeStream_shouldSetDescriptionWithNullOptions() local
114 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldGetWidthAndHeightFromHints() local
124 Bitmap bitmap = in decodeResource_canTakeOptions() local
135 Bitmap bitmap = in decodeResourceStream_canTakeOptions() local
[all …]
DShadowBitmapTest.java44 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in shouldCreateActiveBitmap() local
54 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in hasAlpha() local
63 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in hasMipmap() local
72 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in getAllocationByteCount() local
82 Bitmap bitmap = Bitmap.createBitmap(colors, 3, 2, Bitmap.Config.ARGB_8888); in shouldCreateBitmapWithColors() local
138 final Bitmap bitmap = Bitmap.createBitmap(metrics, 100, 100, Bitmap.Config.ARGB_8888); in shouldCreateMutableBitmapWithDisplayMetrics() local
145 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in shouldRecycleBitmap() local
191 Bitmap bitmap = create("Bitmap One"); in visualize_shouldReturnDescription() local
198 Bitmap bitmap = Shadow.newInstanceOf(Bitmap.class); in shouldCopyBitmap() local
232 …final Bitmap bitmap = Bitmap.createBitmap(new DisplayMetrics(), 100, 100, Bitmap.Config.ARGB_8888); in shouldSetDensity() local
[all …]
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/graphics/
DBitmapTest.java70 Bitmap bitmap = Bitmap.createBitmap(picture); in createBitmap() local
76 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testEraseColor() local
86 Bitmap bitmap = in testExtractAlpha() local
96 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testCopy() local
105 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in testCopyAndEraseColor() local
121 Bitmap bitmap = BitmapFactory.decodeResource(resources, R.drawable.an_image); in compress() local
131 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); in getConfigAfterCompress() local
143 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); in getConfigAfterCreateScaledBitmap() local
169 Bitmap bitmap = BitmapFactory.decodeStream(inputStream, null, options); in checkBitmapNotRecycled() local
177 Bitmap bitmap = BitmapFactory.decodeResource(resources, R.drawable.an_image, opt); in decodeResource_withMutableOpt_isMutable() local
[all …]
/external/e2fsprogs/lib/ext2fs/
Dbitops.h391 _INLINE_ int ext2fs_mark_block_bitmap(ext2fs_block_bitmap bitmap, in ext2fs_mark_block_bitmap()
398 _INLINE_ int ext2fs_unmark_block_bitmap(ext2fs_block_bitmap bitmap, in ext2fs_unmark_block_bitmap()
405 _INLINE_ int ext2fs_test_block_bitmap(ext2fs_block_bitmap bitmap, in ext2fs_test_block_bitmap()
412 _INLINE_ int ext2fs_mark_inode_bitmap(ext2fs_inode_bitmap bitmap, in ext2fs_mark_inode_bitmap()
419 _INLINE_ int ext2fs_unmark_inode_bitmap(ext2fs_inode_bitmap bitmap, in ext2fs_unmark_inode_bitmap()
426 _INLINE_ int ext2fs_test_inode_bitmap(ext2fs_inode_bitmap bitmap, in ext2fs_test_inode_bitmap()
433 _INLINE_ void ext2fs_fast_mark_block_bitmap(ext2fs_block_bitmap bitmap, in ext2fs_fast_mark_block_bitmap()
439 _INLINE_ void ext2fs_fast_unmark_block_bitmap(ext2fs_block_bitmap bitmap, in ext2fs_fast_unmark_block_bitmap()
445 _INLINE_ int ext2fs_fast_test_block_bitmap(ext2fs_block_bitmap bitmap, in ext2fs_fast_test_block_bitmap()
452 _INLINE_ void ext2fs_fast_mark_inode_bitmap(ext2fs_inode_bitmap bitmap, in ext2fs_fast_mark_inode_bitmap()
[all …]
Dblkmap64_ba.c43 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 …]
Dgen_bitmap.c37 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 …]
Dgen_bitmap64.c71 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()
374 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_fudge_generic_bmap_end() local
404 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_get_generic_bmap_start() local
420 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_get_generic_bmap_end() local
436 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_clear_generic_bmap() local
447 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_mark_generic_bmap() local
486 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_unmark_generic_bmap() local
518 ext2fs_generic_bitmap_64 bitmap = (ext2fs_generic_bitmap_64) gen_bitmap; in ext2fs_test_generic_bmap() local
[all …]
Dblkmap64_rb.c187 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 …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapFactoryTest.java52 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldSetDescriptionAndCreatedFrom() local
63 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldSetDefaultBitmapConfig() local
77 Bitmap bitmap = in decodeResource_shouldPassABitmapConfig() local
85 Bitmap bitmap = BitmapFactory.decodeResource(resources, R.drawable.an_image); in decodeResource_sameAs() local
99 Bitmap bitmap = BitmapFactory.decodeResource(resources, R.drawable.an_image, opts); in decodeResource_shouldGetCorrectColorFromPngImage() local
105 Bitmap bitmap = BitmapFactory.decodeFile("/some/file.jpg"); in decodeFile_shouldSetDescriptionAndCreatedFrom() local
117 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); in decodeStream_shouldSetDescriptionAndCreatedFrom() local
136 Bitmap bitmap = BitmapFactory.decodeByteArray(yummyBites, 100, 100); in decodeBytes_shouldSetDescriptionAndCreatedFrom() local
148 Bitmap bitmap = BitmapFactory.decodeByteArray(yummyBites, 100, 100, options); in decodeBytes_shouldSetDescriptionAndCreatedFromWithOptions() local
160 Bitmap bitmap = BitmapFactory.decodeStream(inputStream, null, null); in decodeStream_shouldSetDescriptionWithNullOptions() local
[all …]
DShadowBitmapTest.java99 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
118 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in hasMipmap() local
127 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in getAllocationByteCount() local
137 Bitmap bitmap = Bitmap.createBitmap(colors, 3, 2, Bitmap.Config.ARGB_8888); in shouldCreateBitmapWithColors() local
186 final Bitmap bitmap = Bitmap.createBitmap(metrics, 100, 100, Bitmap.Config.ARGB_8888); in shouldCreateMutableBitmapWithDisplayMetrics() local
193 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in shouldRecycleBitmap() local
240 Bitmap bitmap = create("Bitmap One"); in visualize_shouldReturnDescription() local
247 Bitmap bitmap = Shadow.newInstanceOf(Bitmap.class); in shouldCopyBitmap() local
281 …final Bitmap bitmap = Bitmap.createBitmap(new DisplayMetrics(), 100, 100, Bitmap.Config.ARGB_8888); in shouldSetDensity() local
[all …]
/external/mesa3d/src/gallium/frontends/hgl/
Dbitmap_wrapper.cpp54 get_bitmap_size(const Bitmap* bitmap, int32* width, int32* height) in get_bitmap_size()
67 get_bitmap_color_space(const Bitmap* bitmap) in get_bitmap_color_space()
77 copy_bitmap_bits(const Bitmap* bitmap, void* data, int32 length) in copy_bitmap_bits()
88 import_bitmap_bits(const Bitmap* bitmap, void* data, int32 length, in import_bitmap_bits()
100 delete_bitmap(Bitmap* bitmap) in delete_bitmap()
108 get_bitmap_bytes_per_row(const Bitmap* bitmap) in get_bitmap_bytes_per_row()
118 get_bitmap_bits_length(const Bitmap* bitmap) in get_bitmap_bits_length()
128 dump_bitmap(const Bitmap* bitmap) in dump_bitmap()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMediaMetadataRetriever.java115 public static void addFrame(DataSource ds, long time, Bitmap bitmap) { in addFrame()
123 DataSource ds, long time, int dstWidth, int dstHeight, Bitmap bitmap) { in addScaledFrame()
127 scaledFrames.get(ds).put(getScaledFrameKey(time, dstWidth, dstHeight), bitmap); in addScaledFrame() local
140 public static void addFrame(String path, long time, Bitmap bitmap) { in addFrame()
141 addFrame(toDataSource(path), time, bitmap); in addFrame() local
155 public static void addFrame(Context context, Uri uri, long time, Bitmap bitmap) { in addFrame()
156 addFrame(toDataSource(context, uri), time, bitmap); in addFrame() local
170 public static void addFrame(String uri, Map<String, String> headers, long time, Bitmap bitmap) { in addFrame()
171 addFrame(toDataSource(uri, headers), time, bitmap); in addFrame() local
184 public static void addFrame(FileDescriptor fd, long time, Bitmap bitmap) { in addFrame()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMediaMetadataRetriever.java101 public static void addFrame(DataSource ds, long time, Bitmap bitmap) { in addFrame()
120 public static void addFrame(String path, long time, Bitmap bitmap) { in addFrame()
121 addFrame(toDataSource(path), time, bitmap); in addFrame() local
137 public static void addFrame(Context context, Uri uri, long time, Bitmap bitmap) { in addFrame()
138 addFrame(toDataSource(context, uri), time, bitmap); in addFrame() local
154 public static void addFrame(String uri, Map<String, String> headers, long time, Bitmap bitmap) { in addFrame()
155 addFrame(toDataSource(uri, headers), time, bitmap); in addFrame() local
170 public static void addFrame(FileDescriptor fd, long time, Bitmap bitmap) { in addFrame()
171 addFrame(toDataSource(fd), time, bitmap); in addFrame() local
189 long time, Bitmap bitmap) { in addFrame()
[all …]
DShadowBitmapFactory.java41 Bitmap bitmap = directlyOn(BitmapFactory.class, "decodeResourceStream", in decodeResourceStream() local
66 Bitmap bitmap = create("resource:" + res.getResourceName(id), options, imageSizeFromStream); in decodeResource() local
79 Bitmap bitmap = create("file:" + pathName, options); in decodeFile() local
89 Bitmap bitmap = create("fd:" + fd, opts); in decodeFileDescriptor() local
127 Bitmap bitmap = create(name, opts, imageSize); in decodeStream() local
137 Bitmap bitmap = decodeByteArray(data, offset, length, new BitmapFactory.Options()); in decodeByteArray() local
165 Bitmap bitmap = Shadow.newInstanceOf(Bitmap.class); in create() local
/external/jemalloc_new/include/jemalloc/internal/
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()
/external/skia/gm/
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
/external/pdfium/fpdfsdk/
Dfpdf_transformpage_embeddertest.cpp221 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local
242 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local
268 ScopedFPDFBitmap bitmap = RenderSavedPage(saved_page); in TEST_F() local
300 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local
321 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local
348 ScopedFPDFBitmap bitmap = RenderSavedPage(saved_page); in TEST_F() local
436 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local
451 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local
470 ScopedFPDFBitmap bitmap = RenderSavedPage(saved_page); in TEST_F() local
504 ScopedFPDFBitmap bitmap = RenderLoadedPage(page); in TEST_F() local
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
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()
DLruPoolStrategy.java6 void put(Bitmap bitmap); in put()
9 String logBitmap(Bitmap bitmap); in logBitmap()
11 int getSize(Bitmap bitmap); in getSize()
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeBitmapTest.java73 private Bitmap bitmap; field in ShadowNativeBitmapTest
184 Bitmap bitmap = Bitmap.createBitmap(colors, 10, 10, Config.RGB_565); in testCreateBitmap1() local
323 Bitmap bitmap; in testCreateBitmap_displayMetrics_mutable() local
355 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_mutable() local
371 Bitmap bitmap; in testCreateBitmap_displayMetrics_immutable() local
384 Bitmap bitmap; in testCreateBitmap_noDisplayMetrics_immutable() local
424 Bitmap bitmap = Bitmap.createBitmap(10, 10, Config.ARGB_8888); in testGenerationId() local
890 Bitmap bitmap = Bitmap.createBitmap(10, 10, fromConfig); in testAlphaAndPremul() local
939 Bitmap bitmap, boolean expectedAlpha, boolean expectedPremul, boolean convertedFrom565) { in verifyAlphaAndPremul()
1328 Bitmap bitmap = Bitmap.createBitmap(1, 1, config); in verifyPremultipliedBitmapConfig() local
[all …]
DShadowNativeBitmapShaderTest.java59 private void verifyTile(Bitmap bitmap, int tileX, int tileY) { in verifyTile()
78 private void verifyColor(int color, Bitmap bitmap, int x, int y) { in verifyColor()
86 Bitmap bitmap = Bitmap.createBitmap(2, 1, Bitmap.Config.ARGB_8888); in testClamp() local
106 Bitmap bitmap = Bitmap.createBitmap(2, 1, Bitmap.Config.ARGB_8888); in testRepeat() local
126 Bitmap bitmap = Bitmap.createBitmap(2, 1, Bitmap.Config.ARGB_8888); in testMirror() local
/external/connectedappssdk/processor/src/main/resources/parcelablewrappers/
DParcelableBitmap.java28 private final Bitmap bitmap; field in ParcelableBitmap
31 public static ParcelableBitmap of(Bundler bundler, BundlerType type, Bitmap bitmap) { in of()
35 private ParcelableBitmap(Bitmap bitmap) { in ParcelableBitmap()
96 private static int[] bitmapToPixelArray(Bitmap bitmap) { in bitmapToPixelArray()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DBitmapResource.java13 private final Bitmap bitmap; field in BitmapResource
23 public static BitmapResource obtain(Bitmap bitmap, BitmapPool bitmapPool) { in obtain()
31 public BitmapResource(Bitmap bitmap, BitmapPool bitmapPool) { in BitmapResource()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/
DBitmapContainer.java29 private final Bitmap bitmap; field in BitmapContainer
36 static BitmapContainer create(Bitmap bitmap) { in create()
40 private BitmapContainer(Bitmap bitmap) { in BitmapContainer()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DImageSource.java25 private final Bitmap bitmap; field in ImageSource
33 private ImageSource(Bitmap bitmap, boolean cached) { in ImageSource()
126 public static ImageSource bitmap(Bitmap bitmap) { in bitmap() argument
140 public static ImageSource cachedBitmap(Bitmap bitmap) { in cachedBitmap()

12345678910>>...26