Searched defs:bitmap (Results 76 - 100 of 826) sorted by relevance

1234567891011>>

/external/chromium_org/tools/telemetry/telemetry/core/
H A Dvideo.py7 from telemetry.core import bitmap namespace
11 HIGHLIGHT_ORANGE_FRAME = bitmap.WEB_PAGE_TEST_ORANGE
41 (time_ms, bitmap) tuples representing each video keyframe. Only the first
44 bitmap is a telemetry.core.Bitmap.
169 bitmap.Bitmap(3, dimensions[0], dimensions[1], frame_data))
/external/chromium_org/ui/base/dragdrop/
H A Ddrag_utils_win.cc48 HBITMAP bitmap = local
51 if (!bitmap || !bits)
57 return bitmap;
65 // by premultiplied colors, so unpremultiply the bitmap.
66 // SetDragImageOnDataObject(HBITMAP) takes ownership of the bitmap.
67 HBITMAP bitmap = CreateHBITMAPFromSkBitmap( local
68 SkBitmapOperations::UnPreMultiply(*image_skia.bitmap()));
69 if (bitmap) {
70 // Attach 'bitmap' to the data_object.
72 bitmap,
[all...]
/external/chromium_org/ui/snapshot/
H A Dsnapshot_async.cc37 scoped_refptr<base::RefCountedBytes> EncodeBitmap(const SkBitmap& bitmap) { argument
39 SkAutoLockPixels lock(bitmap);
40 unsigned char* pixels = reinterpret_cast<unsigned char*>(bitmap.getPixels());
50 gfx::Size(bitmap.width(), bitmap.height()),
51 base::checked_cast<int>(bitmap.rowBytes()),
/external/chromium_org/ui/views/controls/button/
H A Dimage_button_unittest.cc14 SkBitmap bitmap; local
15 bitmap.allocN32Pixels(width, height);
16 return gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
/external/chromium_org/ui/views/controls/table/
H A Dtest_table_model.cc31 SkBitmap bitmap; local
32 bitmap.setInfo(SkImageInfo::MakeN32Premul(16, 16));
33 return gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
/external/chromium_org/ui/wm/core/
H A Dimage_grid_unittest.cc19 SkBitmap bitmap; local
20 bitmap.setInfo(SkImageInfo::MakeN32Premul(size.width(), size.height()));
21 return new gfx::Image(gfx::ImageSkia::CreateFrom1xBitmap(bitmap));
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DLruPoolStrategy.java6 public void put(Bitmap bitmap); argument
9 public String logBitmap(Bitmap bitmap); argument
11 public int getSize(Bitmap bitmap); argument
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
8 * A bitmap decoder for a given resource type.
14 * Returns a decoded bitmap for a given resource and target dimensions.
17 * @param bitmapPool A bitmap pool that can be used to reuse bitmaps during the load. Any bitmaps created or
18 * obtained from the pool other than the bitmap returned by this method should be returned to the
20 * @param outWidth The target width for the returned bitmap (need not match exactly).
21 * @param outHeight The target height for the returned bitmap (need not match exactly).
22 * @param decodeFormat The desired configuration for the returned bitmap.
H A DBitmapDrawableResource.java1 package com.bumptech.glide.load.resource.bitmap;
H A DCenterCrop.java1 package com.bumptech.glide.load.resource.bitmap;
43 return "CenterCrop.com.bumptech.glide.load.resource.bitmap";
H A DFileDescriptorBitmapDataLoadProvider.java1 package com.bumptech.glide.load.resource.bitmap;
H A DFileDescriptorBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
31 Bitmap bitmap = bitmapDecoder.decode(source, bitmapPool, width, height, decodeFormat);
32 if (bitmap == null) {
35 return new BitmapResource(bitmap, bitmapPool);
41 return "FileDescriptorBitmapDecoder.com.bumptech.glide.load.data.bitmap";
H A DFitCenter.java1 package com.bumptech.glide.load.resource.bitmap;
35 return "FitCenter.com.bumptech.glide.load.resource.bitmap";
H A DImageVideoBitmapDecoder.java1 package com.bumptech.glide.load.resource.bitmap;
49 return "ImageVideoBitmapDecoder.com.bumptech.glide.load.resource.bitmap";
H A DImageVideoDataLoadProvider.java1 package com.bumptech.glide.load.resource.bitmap;
H A DStreamBitmapDataLoadProvider.java1 package com.bumptech.glide.load.resource.bitmap;
/external/glide/library/src/main/java/com/bumptech/glide/util/
H A DUtil.java31 public static int getSize(Bitmap bitmap) { argument
33 return bitmap.getAllocationByteCount();
35 return bitmap.getHeight() * bitmap.getRowBytes();
/external/jemalloc/src/
H A Dbitmap.c64 bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo) argument
70 * Bits are actually inverted with regard to the external bitmap
71 * interface, so the bitmap starts out with all 1 bits, except for
76 memset(bitmap, 0xffU, binfo->levels[binfo->nlevels].group_offset <<
81 bitmap[binfo->levels[1].group_offset - 1] >>= extra;
88 bitmap[binfo->levels[i+1].group_offset - 1] >>= extra;
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dbitmap.c2 * From lib/bitmap.c
3 * Helper functions for bitmap.h.
8 #include <linux/bitmap.h>
10 int __bitmap_weight(const unsigned long *bitmap, int bits) argument
15 w += hweight_long(bitmap[k]);
18 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits));
/external/oprofile/libdb/
H A Ddb_debug.c21 unsigned char * bitmap = malloc(data->descr->current_size); local
22 memset(bitmap, '\0', data->descr->current_size);
29 if (bitmap[index])
32 bitmap[index] = 1;
41 memset(bitmap, '\0', data->descr->current_size);
46 if (bitmap[index])
49 bitmap[index] = 1;
59 bitmap[index] = 1;
64 free(bitmap);
73 unsigned char * bitmap local
[all...]
/external/pdfium/fpdfsdk/src/
H A Dfpdf_progressive.cpp17 DLLEXPORT int STDCALL FPDF_RenderPageBitmap_Start( FPDF_BITMAP bitmap, FPDF_PAGE page, argument
22 if (bitmap == NULL || page == NULL)
40 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE);
42 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap);
46 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE);
48 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap);
/external/skia/dm/
H A DDMCpuGMTask.cpp28 SkBitmap bitmap; local
29 AllocatePixels(fColorType, fGM->getISize().width(), fGM->getISize().height(), &bitmap);
31 SkCanvas canvas(bitmap);
37 SPAWN(ExpectationsTask, fExpectations, bitmap);
39 SPAWN(PipeTask, fGMFactory(NULL), bitmap, PipeTask::kInProcess_Mode);
40 SPAWN(PipeTask, fGMFactory(NULL), bitmap, PipeTask::kCrossProcess_Mode);
41 SPAWN(PipeTask, fGMFactory(NULL), bitmap, PipeTask::kSharedAddress_Mode);
42 SPAWN(QuiltTask, fGMFactory(NULL), bitmap);
43 SPAWN(RecordTask, fGMFactory(NULL), bitmap, RecordTask::kOptimize_Mode);
44 SPAWN(RecordTask, fGMFactory(NULL), bitmap, RecordTas
[all...]
H A DDMGpuGMTask.cpp39 SkBitmap bitmap; local
40 bitmap.setInfo(info);
41 canvas->readPixels(&bitmap, 0, 0);
43 this->spawnChild(SkNEW_ARGS(ExpectationsTask, (*this, fExpectations, bitmap)));
44 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap)));
H A DDMPipeTask.cpp9 DEFINE_bool(pipe, true, "If true, check several pipe variants against the reference bitmap.");
47 SkBitmap bitmap; local
48 AllocatePixels(fReference, &bitmap);
50 SkCanvas canvas(bitmap);
56 bitmap.width(),
57 bitmap.height());
62 if (!BitmapsEqual(bitmap, fReference)) {
64 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap)));
H A DDMRecordTask.cpp47 // Draw the SkRecord back into a bitmap.
48 SkBitmap bitmap; local
49 AllocatePixels(fReference, &bitmap);
50 SkCanvas target(bitmap);
53 if (!BitmapsEqual(bitmap, fReference)) {
55 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap)));

Completed in 326 milliseconds

1234567891011>>