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/
DXfermodeTest.java168 int sc = canvas.saveLayer(0, 0, TEST_WIDTH, TEST_HEIGHT, null);
DLayerTests.java341 canvas.saveLayer(40, 5, 80, 70, firstLayerPaint); in testSaveLayerWithColorFilter()
342 canvas.saveLayer(5, 40, 70, 80, secondLayerPaint); in testSaveLayerWithColorFilter()
375 canvas.saveLayer(0, 0, width, height, p); in testSaveLayerRestoreBehavior()
DExactCanvasTests.java227 canvas.saveLayer(10, 10, 80, 80, p); in testEmptyLayer()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCanvasTest.java242 mCanvas.saveLayer(rF, p); in testSaveLayer1()
270 mCanvas.saveLayer(10, 0, 0, 31, p); in testSaveLayer2()
352 mCanvas.saveLayer(new RectF(), new Paint()); in testGetSaveCount()