Searched refs:layerUpdater (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | DeferredLayerUpdaterTests.cpp | 30 sp<DeferredLayerUpdater> layerUpdater = TestUtils::createTextureLayerUpdater(renderThread); in RENDERTHREAD_TEST() local 31 layerUpdater->setSize(100, 100); in RENDERTHREAD_TEST() 32 layerUpdater->setBlend(true); in RENDERTHREAD_TEST() 35 EXPECT_EQ(0u, layerUpdater->backingLayer()->getWidth()); in RENDERTHREAD_TEST() 36 EXPECT_EQ(0u, layerUpdater->backingLayer()->getHeight()); in RENDERTHREAD_TEST() 37 EXPECT_FALSE(layerUpdater->backingLayer()->getForceFilter()); in RENDERTHREAD_TEST() 38 EXPECT_FALSE(layerUpdater->backingLayer()->isBlend()); in RENDERTHREAD_TEST() 44 layerUpdater->updateLayer(true, layerImage, 0, SkRect::MakeEmpty()); in RENDERTHREAD_TEST() 47 EXPECT_EQ(100u, layerUpdater->backingLayer()->getWidth()); in RENDERTHREAD_TEST() 48 EXPECT_EQ(100u, layerUpdater->backingLayer()->getHeight()); in RENDERTHREAD_TEST() [all …]
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.cpp | 62 sp<DeferredLayerUpdater> layerUpdater = pipeline->createTextureLayer(); in createTextureLayerUpdater() local 63 layerUpdater->apply(); in createTextureLayerUpdater() 65 return layerUpdater; in createTextureLayerUpdater() 71 sp<DeferredLayerUpdater> layerUpdater = createTextureLayerUpdater(renderThread); in createTextureLayerUpdater() local 72 layerUpdater->backingLayer()->getTransform() = transform; in createTextureLayerUpdater() 73 layerUpdater->setSize(width, height); in createTextureLayerUpdater() 74 layerUpdater->setTransform(&transform); in createTextureLayerUpdater() 77 layerUpdater->updateLayer(true, nullptr, 0, SkRect::MakeEmpty()); in createTextureLayerUpdater() 78 return layerUpdater; in createTextureLayerUpdater()
|
/frameworks/base/graphics/java/android/graphics/ |
D | TextureLayer.java | 146 private static native boolean nPrepare(long layerUpdater, int width, int height, in nPrepare() argument 148 private static native void nSetLayerPaint(long layerUpdater, long paint); in nSetLayerPaint() argument 149 private static native void nSetTransform(long layerUpdater, long matrix); in nSetTransform() argument 150 private static native void nSetSurfaceTexture(long layerUpdater, in nSetSurfaceTexture() argument 152 private static native void nUpdateSurfaceTexture(long layerUpdater); in nUpdateSurfaceTexture() argument
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | LayerDrawable.h | 33 explicit LayerDrawable(DeferredLayerUpdater* layerUpdater) : mLayerUpdater(layerUpdater) {} in LayerDrawable() argument
|
D | SkiaRecordingCanvas.cpp | 136 void SkiaRecordingCanvas::drawLayer(uirenderer::DeferredLayerUpdater* layerUpdater) { in drawLayer() argument 138 if (layerUpdater != nullptr) { in drawLayer() 140 sk_sp<SkDrawable> drawable(new LayerDrawable(layerUpdater)); in drawLayer()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.cpp | 840 void SkiaCanvas::drawLayer(uirenderer::DeferredLayerUpdater* layerUpdater) { in drawLayer() argument
|