HomeSort by relevance Sort by last modified time
    Searched defs:Bitmap (Results 1 - 25 of 69) sorted by null

1 2 3

  /external/fonttools/Lib/fontTools/ttLib/tables/
sbixBitmap.py 18 class Bitmap(object):
37 #print "Bitmap %i header too short: Expected %x, got %x." % (self.gid, sbixBitmapHeaderFormatSize, len(self.rawdata))
38 raise ttLib.TTLibError("Bitmap header too short.")
43 # bitmap is a reference to another glyph's bitmap
56 raise ttLib.TTLibError("Can't compile bitmap without glyph name")
68 # a bitmap entry is required for each glyph,
70 xmlWriter.simpletag("bitmap", glyphname=self.glyphName)
73 xmlWriter.begintag("bitmap", format=self.imageFormatTag, glyphname=self.glyphName)
88 xmlWriter.endtag("bitmap")
    [all...]
  /art/runtime/gc/accounting/
bitmap.cc 17 #include "bitmap-inl.h"
30 Bitmap* Bitmap::CreateFromMemMap(MemMap* mem_map, size_t num_bits) {
32 return new Bitmap(mem_map, num_bits);
35 Bitmap::Bitmap(MemMap* mem_map, size_t bitmap_size)
42 Bitmap::~Bitmap() {
46 MemMap* Bitmap::AllocateMemMap(const std::string& name, size_t num_bits) {
54 LOG(ERROR) << "Failed to allocate bitmap " << name << ": " << error_msg
    [all...]
bitmap.h 38 class Bitmap {
40 // Create and initialize a bitmap with size num_bits. Storage is allocated with a MemMap.
41 static Bitmap* Create(const std::string& name, size_t num_bits);
43 // Initialize a space bitmap using the provided mem_map as the live bits. Takes ownership of the
46 static Bitmap* CreateFromMemMap(MemMap* mem_map, size_t num_bits);
75 // Fill the bitmap with zeroes. Returns the bitmap's memory to the system as a side-effect.
83 void CopyFrom(Bitmap* source_bitmap);
90 // Size of our bitmap in bits.
105 Bitmap(MemMap* mem_map, size_t bitmap_size)
    [all...]
  /art/test/079-phantom/src/
Main.java 18 Bitmap mBitmap1, mBitmap2, mBitmap3, mBitmap4;
66 Bitmap.shutDown();
79 Bitmap.NativeWrapper dataA = Bitmap.allocNativeStorage(10, 10);
80 Bitmap.NativeWrapper dataB = Bitmap.allocNativeStorage(20, 20);
81 mBitmap1 = new Bitmap("one", 10, 10, dataA);
82 mBitmap2 = new Bitmap("two", 20, 20, dataB);
83 mBitmap3 = mBitmap4 = new Bitmap("three/four", 20, 20, dataB);
Bitmap.java 21 public class Bitmap {
24 Bitmap.NativeWrapper mNativeWrapper;
36 Bitmap(String name, int width, int height, Bitmap.NativeWrapper nativeData) {
46 return "Bitmap " + mName + ": " + mWidth + "x" + mHeight + " (" +
61 System.out.println("Bitmap has shut down");
68 static Bitmap.NativeWrapper allocNativeStorage(int width, int height) {
71 synchronized (Bitmap.class) {
75 Bitmap.NativeWrapper wrapper = new Bitmap.NativeWrapper(nativeData)
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/
BitmapTypeRequest.java 3 import android.graphics.Bitmap;
17 * A class for creating a load request that either loads an {@link Bitmap} directly or that adds an
18 * {@link com.bumptech.glide.load.resource.transcode.ResourceTranscoder} to transcode the {@link Bitmap} into another
21 * @param <ModelType> The type of model to load the {@link Bitmap} or transcoded class from.
23 public class BitmapTypeRequest<ModelType> extends BitmapRequestBuilder<ModelType, Bitmap> {
29 private static <A, R> FixedLoadProvider<A, ImageVideoWrapper, Bitmap, R> buildProvider(Glide glide,
32 Class<R> transcodedClass, ResourceTranscoder<Bitmap, R> transcoder) {
38 transcoder = glide.buildTranscoder(Bitmap.class, transcodedClass);
40 DataLoadProvider<ImageVideoWrapper, Bitmap> loadProvider = glide.buildDataProvider(ImageVideoWrapper.class,
41 Bitmap.class)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdiplusheaders.h 4 * GDI+ Bitmap, CachedBitmap, CustomLineCap, Font, FontCollection,
42 class Bitmap;
53 friend class Bitmap;
156 class Bitmap: public Image
159 static Bitmap* FromBITMAPINFO(const BITMAPINFO *gdiBitmapInfo,
161 static Bitmap* FromDirectDrawSurface7(IDirectDrawSurface7 *surface);
162 static Bitmap* FromFile(const WCHAR *filename,
164 static Bitmap* FromHBITMAP(HBITMAP hbm, HPALETTE hpal);
165 static Bitmap* FromHICON(HICON icon);
166 static Bitmap* FromResource(HINSTANCE hInstance
    [all...]
  /external/llvm/include/llvm/DebugInfo/PDB/Raw/
PublicsStream.h 61 ArrayRef<uint8_t> Bitmap;
  /external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
_bitmap.py 6 Bitmap is a basic wrapper for image pixels. It includes some basic processing
86 class Bitmap(object):
87 """Utilities for parsing and inspecting a bitmap."""
155 return Bitmap(4 if meta['alpha'] else 3, width, height, pixels, meta)
160 return Bitmap.FromPng(f.read())
210 # written into an in-memory buffer and read back into a Bitmap
218 diff = Bitmap.FromPng(output.getvalue())
bitmaptools.cc 69 // Represents a bitmap buffer with a crop box.
70 struct Bitmap {
71 Bitmap() : pixels(NULL) {}
73 ~Bitmap() {
85 fprintf(stderr, "Could not parse Bitmap initializer.\n");
107 fprintf(stderr, "Crop box overflows the bitmap.\n");
169 bool Histogram(const Bitmap& bmp) {
198 bool BoundingBox(const Bitmap& bmp) {
233 Bitmap bmp;
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BitmapFactory_Delegate.java 51 /*package*/ static Bitmap nativeDecodeStream(InputStream is, byte[] storage,
53 Bitmap bm = null;
70 // load the bitmap as a nine patch
74 // get the bitmap and chunk objects.
79 // put the chunk in the bitmap
91 // load the bitmap directly.
102 /*package*/ static Bitmap nativeDecodeFileDescriptor(FileDescriptor fd,
109 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) {
115 /*package*/ static Bitmap nativeDecodeByteArray(byte[] data, int offset,
127 * Set the newly decoded bitmap's density based on the Options
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiImage/
HiiImage.h 48 EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Bitmap;
57 EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Bitmap;
123 EFI_OUT_OF_RESOURCES - The bitmap could not be retrieved because there was not
171 This function renders an image to a bitmap or the screen using the specified
172 color and options. It draws the image on an existing bitmap, allocates a new
173 bitmap or uses the screen. The images can be clipped.
213 This function renders an image to a bitmap or the screen using the specified
214 color and options. It draws the image on an existing bitmap, allocates a new
215 bitmap or uses the screen. The images can be clipped.
  /device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
HiiImage.h 41 @param Bitmap A pointer to the actual bitmap, organized left-to-right,
42 top-to-bottom. The size of the bitmap is
51 EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Bitmap;
117 @retval EFI_OUT_OF_RESOURCES The bitmap could not be retrieved because there was not
184 @param Bitmap Points to the output bitmap.
195 EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Bitmap;
203 This function renders an image to a bitmap or the screen using
205 existing bitmap, allocates a new bitmap or uses the screen. The
    [all...]
  /frameworks/base/libs/hwui/
LayerBuilder.h 46 Bitmap,
  /frameworks/base/libs/hwui/hwui/
Bitmap.h 45 class ANDROID_API Bitmap : public SkPixelRef {
47 static sk_sp<Bitmap> allocateHeapBitmap(SkBitmap* bitmap, SkColorTable* ctable);
48 static sk_sp<Bitmap> allocateHeapBitmap(const SkImageInfo& info);
50 static sk_sp<Bitmap> allocateHardwareBitmap(SkBitmap& bitmap);
52 static sk_sp<Bitmap> allocateAshmemBitmap(SkBitmap* bitmap, SkColorTable* ctable);
53 static sk_sp<Bitmap> allocateAshmemBitmap(size_t allocSize, const SkImageInfo& info,
56 static sk_sp<Bitmap> createFrom(sp<GraphicBuffer> graphicBuffer)
    [all...]
Bitmap.cpp 16 #include "Bitmap.h"
53 typedef sk_sp<Bitmap> (*AllocPixeRef)(size_t allocSize, const SkImageInfo& info, size_t rowBytes,
56 static sk_sp<Bitmap> allocateBitmap(SkBitmap* bitmap, SkColorTable* ctable, AllocPixeRef alloc) {
57 const SkImageInfo& info = bitmap->info();
59 LOG_ALWAYS_FATAL("unknown bitmap configuration");
65 // we must respect the rowBytes value already set on the bitmap instead of
67 const size_t rowBytes = bitmap->rowBytes();
68 if (!computeAllocationSize(rowBytes, bitmap->height(), &size)) {
74 wrapper->getSkBitmap(bitmap);
246 SkBitmap bitmap; local
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapColorSpaceTest.java 28 import android.graphics.Bitmap;
64 Bitmap b;
70 b = Bitmap.createBitmap(32, 32, Bitmap.Config.ARGB_8888, true, sRGB);
75 b = Bitmap.createBitmap(32, 32, Bitmap.Config.ARGB_8888, true,
81 b = Bitmap.createBitmap(32, 32, Bitmap.Config.RGBA_F16, true, sRGB);
86 b = Bitmap.createBitmap(32, 32, Bitmap.Config.RGBA_F16, true
133 Bitmap bitmap = Bitmap.createBitmap(32, 32, config, true); local
    [all...]
  /external/v8/src/heap/
marking.h 49 // Bitmap is a sequence of cells each containing fixed number of bits.
50 class Bitmap {
95 INLINE(static Bitmap* FromAddress(Address addr)) {
96 return reinterpret_cast<Bitmap*>(addr);
111 unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2;
112 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index);
114 unsigned int end_cell_index = end_index >> Bitmap::kBitsPerCellLog2;
115 MarkBit::CellType end_index_mask = 1u << Bitmap::IndexInCell(end_index);
134 unsigned int start_cell_index = start_index >> Bitmap::kBitsPerCellLog2;
135 MarkBit::CellType start_index_mask = 1u << Bitmap::IndexInCell(start_index)
    [all...]
  /frameworks/base/graphics/java/android/graphics/
BitmapFactory.java 34 * Creates Bitmap objects from various sources, including files, streams,
52 * reuse this bitmap when loading content. If the decode operation
53 * cannot use this bitmap, the decode method will throw an
55 * current implementation necessitates that the reused bitmap be
56 * mutable, and the resulting reused bitmap will continue to remain
58 * an immutable bitmap.</p>
60 * <p>You should still always use the returned Bitmap of the decode
61 * method and not assume that reusing the bitmap worked, due to the
64 * set in the Options structure will indicate if the bitmap was reused,
65 * but in all cases you should use the Bitmap returned by the decodin
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/lib-tk/
Canvas.py 93 class Bitmap(CanvasItem):
95 CanvasItem.__init__(self, canvas, 'bitmap', *args, **kw)
  /prebuilts/gdb/linux-x86/lib/python2.7/lib-tk/
Canvas.py 93 class Bitmap(CanvasItem):
95 CanvasItem.__init__(self, canvas, 'bitmap', *args, **kw)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/
Canvas.py 93 class Bitmap(CanvasItem):
95 CanvasItem.__init__(self, canvas, 'bitmap', *args, **kw)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/
Canvas.py 93 class Bitmap(CanvasItem):
95 CanvasItem.__init__(self, canvas, 'bitmap', *args, **kw)
  /external/regex-re2/re2/
prog.h 17 // Simple fixed-size bitmap.
19 class Bitmap {
21 Bitmap() { Reset(); }
45 DISALLOW_EVIL_CONSTRUCTORS(Bitmap);
207 const Bitmap<256>& byterange() { return byterange_; }
363 Bitmap<256> byterange_; // byterange.Get(x) true if x ends a
  /external/mesa3d/src/mesa/main/
dd.h 179 void (*Bitmap)( struct gl_context *ctx,
182 const GLubyte *bitmap );
    [all...]

Completed in 1979 milliseconds

1 2 3