Searched refs:layerUpdater (Results 1 - 4 of 4) sorted by last modified time

/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.cpp49 sp<DeferredLayerUpdater> layerUpdater = new DeferredLayerUpdater(layer); local
50 layerUpdater->setSize(width, height);
51 layerUpdater->setTransform(&transform);
60 return layerUpdater;
/frameworks/base/libs/hwui/tests/unit/
H A DFrameBuilderTests.cpp616 auto layerUpdater = TestUtils::createTextureLayerUpdater(renderThread, 100, 100, local
620 [&layerUpdater](RenderProperties& props, RecordingCanvas& canvas) {
623 canvas.drawLayer(layerUpdater.get());
648 auto layerUpdater = TestUtils::createTextureLayerUpdater(renderThread, 100, 100, local
652 [&layerUpdater](RenderProperties& props, RecordingCanvas& canvas) {
655 canvas.drawLayer(layerUpdater.get());
669 auto layerUpdater = TestUtils::createTextureLayerUpdater(renderThread, 100, 100, local
671 layerUpdater->backingLayer()->setRenderTarget(GL_NONE); // Should be rejected
674 [&layerUpdater](RenderProperties& props, RecordingCanvas& canvas) {
675 canvas.drawLayer(layerUpdater
[all...]
H A DRecordingCanvasTests.cpp295 auto layerUpdater = TestUtils::createTextureLayerUpdater(renderThread, 100, 100, local
299 [&layerUpdater](RecordingCanvas& canvas) {
300 canvas.drawLayer(layerUpdater.get());
/frameworks/base/core/java/android/view/
H A DHardwareLayer.java148 private static native boolean nPrepare(long layerUpdater, int width, int height, boolean isOpaque); argument
149 private static native void nSetLayerPaint(long layerUpdater, long paint); argument
150 private static native void nSetTransform(long layerUpdater, long matrix); argument
151 private static native void nSetSurfaceTexture(long layerUpdater, argument
153 private static native void nUpdateSurfaceTexture(long layerUpdater); argument

Completed in 35 milliseconds