Searched refs:mCanvas (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CanvasTest.java | 32 Canvas mCanvas; field in CanvasTest 37 mCanvas = new Canvas(bm); in setup() 42 mCanvas.drawColor(Color.convert(Color.BLUE, ColorSpace.get(ColorSpace.Named.CIE_XYZ))); in testDrawColorXYZ() 47 mCanvas.drawColor(Color.convert(Color.BLUE, ColorSpace.get(ColorSpace.Named.CIE_LAB))); in testDrawColorLAB() 52 mCanvas.drawColor(-1L); in testDrawColorUnknown()
|
D | SweepGradientTest.java | 55 private Canvas mCanvas; field in SweepGradientTest 63 mCanvas = new Canvas(mBitmap); in setup() 72 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in test2Colors() 82 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testColorArray() 94 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testMultiColor()
|
D | BitmapTest.java | 1943 Canvas mCanvas = new Canvas(mMutableBitmap); in testGetScaledHeight3() local 1945 mCanvas.setDensity(DisplayMetrics.DENSITY_HIGH); in testGetScaledHeight3() 1947 ret.getHeight(), ret.getDensity(), mCanvas.getDensity()); in testGetScaledHeight3() 1948 assertEquals(scaledHeight, ret.getScaledHeight(mCanvas)); in testGetScaledHeight3() 1973 Canvas mCanvas = new Canvas(mMutableBitmap); in testGetScaledWidth3() local 1975 mCanvas.setDensity(DisplayMetrics.DENSITY_HIGH); in testGetScaledWidth3() 1976 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), mCanvas.getDensity()); in testGetScaledWidth3() 1977 assertEquals(scaledWidth, ret.getScaledWidth(mCanvas)); in testGetScaledWidth3()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SurfaceViewCtsActivity.java | 58 private Canvas mCanvas; field in SurfaceViewCtsActivity.MockSurfaceView 185 mCanvas = new Canvas(Bitmap.createBitmap( BITMAP_WIDTH, in surfaceCreated() 188 draw(mCanvas); in surfaceCreated()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | TransitionDrawableTest.java | 61 private Canvas mCanvas; field in TransitionDrawableTest 70 mCanvas = new Canvas(mBitmap); in setup() 197 mTransitionDrawable.draw(mCanvas); in verifyTransitionStart() 247 mTransitionDrawable.draw(mCanvas); in drawAfterDelaySync()
|
D | VectorDrawableTest.java | 193 private Canvas mCanvas; field in VectorDrawableTest 202 mCanvas = new Canvas(mBitmap); in setup() 276 vectorDrawable.draw(mCanvas); in verifyVectorDrawables()
|