Home | History | Annotate | Download | only in emoji

Lines Matching refs:bitmap

65     encoded data and length. The bitmap field is initialized to 0, and is not
98 /* Return the bitmap associated with the local index, or NULL if none is
99 available. Note that this will try to cache the bitmap the first time it
104 SkBitmap* bitmap = NULL;
106 bitmap = rec->fBitmap;
107 if (NULL == bitmap) {
108 bitmap = new SkBitmap;
109 if (!SkImageDecoder::DecodeMemory(rec->fData, rec->fSize, bitmap)) {
110 delete bitmap;
116 rec->fBitmap = bitmap;
117 // todo: we never know if/when to let go of this cached bitmap
122 return bitmap;
169 const SkBitmap* bitmap = get_bitmap(glyphID - kGlyphBase);
170 if (NULL == bitmap) {
189 const SkBitmap* bitmap = get_bitmap(glyphID - kGlyphBase);
190 if (bitmap && !bitmap->empty()) {
195 canvas->drawBitmapRect(*bitmap, NULL, dst, &paint);