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() 39 EXPECT_EQ(Matrix4::identity(), layerUpdater->backingLayer()->getTexTransform()); in RENDERTHREAD_TEST() 46 layerUpdater->updateLayer(true, scaledMatrix, layerImage); in RENDERTHREAD_TEST() 49 EXPECT_EQ(100u, layerUpdater->backingLayer()->getWidth()); 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, SkMatrix::I(), nullptr); in createTextureLayerUpdater() 78 return layerUpdater; in createTextureLayerUpdater()
|
/frameworks/base/core/java/android/view/ |
D | TextureLayer.java | 148 private static native boolean nPrepare(long layerUpdater, int width, int height, in nPrepare() argument 150 private static native void nSetLayerPaint(long layerUpdater, long paint); in nSetLayerPaint() argument 151 private static native void nSetTransform(long layerUpdater, long matrix); in nSetTransform() argument 152 private static native void nSetSurfaceTexture(long layerUpdater, SurfaceTexture surface); in nSetSurfaceTexture() argument 153 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 | 104 void SkiaRecordingCanvas::drawLayer(uirenderer::DeferredLayerUpdater* layerUpdater) { in drawLayer() argument 105 if (layerUpdater != nullptr) { in drawLayer() 107 sk_sp<SkDrawable> drawable(new LayerDrawable(layerUpdater)); in drawLayer()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.cpp | 786 void SkiaCanvas::drawLayer(uirenderer::DeferredLayerUpdater* layerUpdater) { in drawLayer() argument
|