Home
last modified time | relevance | path

Searched refs:saveLayer (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/
DBitmapView.java43 public BitmapView(Context context, Bitmap b, boolean saveLayer) { in BitmapView() argument
46 mSaveLayer = saveLayer; in BitmapView()
61 public void setSaveLayer(boolean saveLayer) { in setSaveLayer() argument
62 mSaveLayer = saveLayer; in setSaveLayer()
69 canvas.saveLayer(0.0f, 0.0f, getWidth(), getHeight(), null); in onDraw()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DLayerTests.java340 canvas.saveLayer(40, 5, 80, 70, firstLayerPaint); in testSaveLayerWithColorFilter()
341 canvas.saveLayer(5, 40, 70, 80, secondLayerPaint); in testSaveLayerWithColorFilter()
374 canvas.saveLayer(0, 0, width, height, p); in testSaveLayerRestoreBehavior()
DXfermodeTest.java169 int sc = canvas.saveLayer(0, 0, TEST_WIDTH, TEST_HEIGHT, null);
DExactCanvasTests.java240 canvas.saveLayer(10, 10, 80, 80, p); in testEmptyLayer()
DBlendModeTest.java65 int sc = canvas.saveLayer(0, 0, TEST_WIDTH, TEST_HEIGHT, null); in draw()