/frameworks/base/libs/hwui/ |
D | OpenGLReadback.h | 30 SkBitmap* bitmap) override; 32 SkBitmap* bitmap) override; 39 int imgWidth, int imgHeight, const Rect& srcRect, SkBitmap* bitmap) = 0; 42 const Rect& srcRect, SkBitmap* bitmap); 53 SkBitmap* bitmap); 57 int imgWidth, int imgHeight, const Rect& srcRect, SkBitmap* bitmap) override;
|
D | OpenGLReadback.cpp | 35 SkBitmap* bitmap) { in copySurfaceInto() 66 Matrix4& texTransform, const Rect& srcRect, SkBitmap* bitmap) { in copyGraphicBufferInto() 103 CopyResult OpenGLReadback::copyGraphicBufferInto(GraphicBuffer* graphicBuffer, SkBitmap* bitmap) { in copyGraphicBufferInto() 125 SkBitmap* bitmap) { in copyTextureInto() 245 SkBitmap* bitmap) { in copyImageInto() 271 GlLayer& layer, SkBitmap* bitmap) { in copyLayerInto()
|
D | Readback.h | 45 SkBitmap* bitmap) = 0; 46 virtual CopyResult copyGraphicBufferInto(GraphicBuffer* graphicBuffer, SkBitmap* bitmap) = 0;
|
D | SkiaCanvasProxy.h | 65 virtual void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, 67 virtual void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, 69 virtual void onDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
|
D | Texture.cpp | 247 SkBitmap Texture::uploadToN32(const SkBitmap& bitmap, bool hasLinearBlending, in uploadToN32() 249 SkBitmap rgbaBitmap; in uploadToN32() 356 SkBitmap skBitmap; in upload() 359 SkBitmap rgbaBitmap = uploadToN32(skBitmap, hasLinearBlending, std::move(sRGB)); in upload()
|
/frameworks/base/libs/hwui/tests/common/ |
D | BitmapAllocationTestUtils.h | 31 SkColorType colorType, std::function<void(SkBitmap& bitmap)> setup) { in allocateHeapBitmap() 33 SkBitmap skBitmap; in allocateHeapBitmap() 40 SkColorType colorType, std::function<void(SkBitmap& bitmap)> setup) { in allocateHardwareBitmap() 41 SkBitmap skBitmap; in allocateHardwareBitmap() 50 std::function<void(SkBitmap& bitmap)> setup);
|
/frameworks/base/libs/hwui/hwui/ |
D | Bitmap.h | 47 static sk_sp<Bitmap> allocateHeapBitmap(SkBitmap* bitmap, SkColorTable* ctable); 50 static sk_sp<Bitmap> allocateHardwareBitmap(SkBitmap& bitmap); 52 static sk_sp<Bitmap> allocateAshmemBitmap(SkBitmap* bitmap, SkColorTable* ctable); 61 SkBitmap& bitmap); 89 void getSkBitmap(SkBitmap* outBitmap); 93 void getSkBitmapForShaders(SkBitmap* outBitmap);
|
D | Bitmap.cpp | 56 static sk_sp<Bitmap> allocateBitmap(SkBitmap* bitmap, SkColorTable* ctable, AllocPixeRef alloc) { in allocateBitmap() 82 sk_sp<Bitmap> Bitmap::allocateAshmemBitmap(SkBitmap* bitmap, SkColorTable* ctable) { in allocateAshmemBitmap() 171 static bool uploadBitmapToGraphicBuffer(uirenderer::Caches& caches, SkBitmap& bitmap, in uploadBitmapToGraphicBuffer() 217 SkBitmap& skBitmap) { in allocateHardwareBitmap() 246 SkBitmap bitmap; in allocateHardwareBitmap() 261 sk_sp<Bitmap> Bitmap::allocateHardwareBitmap(SkBitmap& bitmap) { in allocateHardwareBitmap() 265 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(SkBitmap* bitmap, SkColorTable* ctable) { in allocateHeapBitmap() 484 void Bitmap::getSkBitmap(SkBitmap* outBitmap) { in getSkBitmap() 501 void Bitmap::getSkBitmapForShaders(SkBitmap* outBitmap) { in getSkBitmapForShaders()
|
/frameworks/base/core/jni/android/graphics/ |
D | GraphicsJNI.h | 65 static void getSkBitmap(JNIEnv*, jobject bitmap, SkBitmap* outBitmap); 93 static android::Bitmap* mapAshmemBitmap(JNIEnv* env, SkBitmap* bitmap, 102 static bool allocatePixels(JNIEnv* env, SkBitmap* bitmap, SkColorTable* ctable); 110 const SkBitmap& dstBitmap); 130 virtual bool allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable) override; 179 virtual bool allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable) override; 201 SkBitmap* mSkiaBitmap; 205 class AshmemPixelAllocator : public SkBitmap::Allocator { 209 virtual bool allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable);
|
D | Movie.h | 50 const SkBitmap& bitmap(); 62 virtual bool onGetBitmap(SkBitmap*) = 0; 70 SkBitmap fBitmap;
|
D | GIFMovie.cpp | 30 virtual bool onGetBitmap(SkBitmap*); 36 SkBitmap fBackup; 132 static void copyInterlaceGroup(SkBitmap* bm, const unsigned char*& src, in copyInterlaceGroup() 149 static void blitInterlace(SkBitmap* bm, const SavedImage* frame, const ColorMapObject* cmap, in blitInterlace() 180 static void blitNormal(SkBitmap* bm, const SavedImage* frame, const ColorMapObject* cmap, in blitNormal() 204 static void fillRect(SkBitmap* bm, GifWord left, GifWord top, GifWord width, GifWord height, in fillRect() 226 static void drawFrame(SkBitmap* bm, const SavedImage* frame, const ColorMapObject* cmap) in drawFrame() 306 static void disposeFrameIfNeeded(SkBitmap* bm, const SavedImage* cur, const SavedImage* next, in disposeFrameIfNeeded() 307 SkBitmap* backup, SkColor color) in disposeFrameIfNeeded() 344 bool GIFMovie::onGetBitmap(SkBitmap* bm) in onGetBitmap()
|
D | Bitmap.cpp | 77 void getSkBitmap(SkBitmap* outBitmap) { in getSkBitmap() 219 void toSkBitmap(jlong bitmapHandle, SkBitmap* outBitmap) { in toSkBitmap() 420 static FromColorProc ChooseFromColorProc(const SkBitmap& bitmap) { in ChooseFromColorProc() 440 int x, int y, int width, int height, const SkBitmap& dstBitmap) { in SetPixels() 629 static ToColorProc ChooseToColorProc(const SkBitmap& src) { in ChooseToColorProc() 731 SkBitmap bitmap; in Bitmap_creator() 756 static bool bitmapCopyTo(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src, in bitmapCopyTo() 757 SkBitmap::Allocator* alloc) { in bitmapCopyTo() 813 SkBitmap src; in Bitmap_copy() 824 SkBitmap result; in Bitmap_copy() [all …]
|
D | BitmapFactory.cpp | 144 class ScaleCheckingAllocator : public SkBitmap::HeapAllocator { 150 virtual bool allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable) { in allocPixelRef() 162 return SkBitmap::HeapAllocator::allocPixelRef(bitmap, ctable); in allocPixelRef() 169 class RecyclingPixelAllocator : public SkBitmap::Allocator { 178 virtual bool allocPixelRef(SkBitmap* bitmap, SkColorTable* ctable) { in allocPixelRef() 387 SkBitmap::HeapAllocator heapAllocator; in doDecode() 388 SkBitmap::Allocator* decodeAllocator; in doDecode() 443 SkBitmap decodingBitmap; in doDecode() 508 SkBitmap outputBitmap; in doDecode() 519 SkBitmap::Allocator* outputAllocator; in doDecode()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaBehaviorTests.cpp | 29 SkBitmap createSkBitmap(int width, int height) { in createSkBitmap() 30 SkBitmap bitmap; in createSkBitmap() 42 SkBitmap origBitmap = createSkBitmap(1, 1); in TEST() 49 SkBitmap bitmap; in TEST() 59 SkBitmap bitmap = createSkBitmap(100, 100); in TEST()
|
D | FatalTestCanvas.h | 107 void onDrawBitmap(const SkBitmap&, SkScalar dx, SkScalar dy, const SkPaint*) { in onDrawBitmap() argument 110 void onDrawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, const SkPaint*, in onDrawBitmapRect() argument 114 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, in onDrawBitmapNine() argument 118 void onDrawBitmapLattice(const SkBitmap&, const Lattice& lattice, const SkRect& dst, in onDrawBitmapLattice() argument
|
D | BitmapTests.cpp | 34 SkBitmap* bm = new SkBitmap(); in TEST()
|
D | SkiaCanvasTests.cpp | 90 SkBitmap adobeSkBitmap; in TEST() 97 SkBitmap skBitmap; in TEST() 143 SkBitmap skBitmap; in TEST()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ReadbackFromHardwareBitmap.cpp | 30 SkBitmap skBitmap; in createHardwareBitmap() 48 SkBitmap readback; in createContent() 51 SkBitmap canvasBitmap; in createContent()
|
D | BitmapShaders.cpp | 38 [](SkBitmap& skBitmap) { in createContent() 48 SkBitmap bitmap; in createContent()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderProxy.h | 96 ANDROID_API bool copyLayerInto(DeferredLayerUpdater* layer, SkBitmap& bitmap); 132 int left, int top, int right, int bottom, SkBitmap* bitmap); 135 static sk_sp<Bitmap> allocateHardwareBitmap(SkBitmap& bitmap); 137 static int copyGraphicBufferInto(GraphicBuffer* buffer, SkBitmap* bitmap);
|
/frameworks/base/libs/hwui/utils/ |
D | TestWindowContext.h | 21 class SkBitmap; variable 54 bool capturePixels(SkBitmap* bmp);
|
D | TestWindowContext.cpp | 111 bool capturePixels(SkBitmap* bmp) { in capturePixels() 143 SkBitmap nativeWrapper; in capturePixels() 205 bool TestWindowContext::capturePixels(SkBitmap* bmp) { in capturePixels()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaRecordingCanvas.cpp | 130 SkBitmap bitmap; in onDraw() 171 SkBitmap skBitmap; in drawBitmap() 184 SkBitmap bitmap; in drawBitmap() 199 SkBitmap bitmap; in drawBitmap() 213 SkBitmap bitmap; in drawNinePatch()
|
/frameworks/base/core/jni/ |
D | android_view_PointerIcon.h | 71 SkBitmap bitmap; 74 std::vector<SkBitmap> bitmapFrames;
|
/frameworks/base/libs/input/ |
D | SpriteController.h | 59 inline SpriteIcon(const SkBitmap& bitmap, float hotSpotX, float hotSpotY) : in SpriteIcon() 62 SkBitmap bitmap; 67 SkBitmap bitmapCopy; in copy()
|