Searched refs:mCanvas (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CanvasTest.java | 67 private Canvas mCanvas; field in CanvasTest 84 mCanvas = new Canvas(mMutableBitmap); in setUp() 117 mCanvas.setBitmap(mImmutableBitmap); in testSetBitmap() 127 mCanvas.setBitmap(mMutableBitmap); in testSetBitmap() 135 mCanvas.setBitmap(mMutableBitmap); in testSetBitmap() 136 assertEquals(BITMAP_WIDTH, mCanvas.getWidth()); in testSetBitmap() 137 assertEquals(31, mCanvas.getHeight()); in testSetBitmap() 141 assertFalse(mCanvas.isOpaque()); in testIsOpaque() 147 mCanvas.restore(); in testRestore() 154 mCanvas.save(); in testRestore() [all …]
|
D | SweepGradientTest.java | 34 private Canvas mCanvas; field in SweepGradientTest 49 mCanvas = new Canvas(mBitmap); in setUp() 57 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in test2Colors() 66 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testColorArray() 77 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testMultiColor()
|
D | BitmapTest.java | 654 Canvas mCanvas = new Canvas(mMutableBitmap); in testGetScaledHeight3() local 656 mCanvas.setDensity(DisplayMetrics.DENSITY_HIGH); in testGetScaledHeight3() 658 ret.getHeight(), ret.getDensity(), mCanvas.getDensity()); in testGetScaledHeight3() 659 assertEquals(scaledHeight, ret.getScaledHeight(mCanvas)); in testGetScaledHeight3() 681 Canvas mCanvas = new Canvas(mMutableBitmap); in testGetScaledWidth3() local 683 mCanvas.setDensity(DisplayMetrics.DENSITY_HIGH); in testGetScaledWidth3() 684 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), mCanvas.getDensity()); in testGetScaledWidth3() 685 assertEquals(scaledWidth, ret.getScaledWidth(mCanvas)); in testGetScaledWidth3()
|
/cts/tests/src/android/view/cts/ |
D | SurfaceViewStubActivity.java | 56 private MockCanvas mCanvas; field in SurfaceViewStubActivity.MockSurfaceView 174 mCanvas = new MockCanvas(Bitmap.createBitmap( BITMAP_WIDTH, in surfaceCreated() 177 draw(mCanvas); in surfaceCreated() 233 if (mCanvas != null) { in isDrawColor() 234 return mCanvas.isDrawColor(); in isDrawColor() 245 if (mCanvas != null) { in setDrawColor() 246 mCanvas.setDrawColor(isDrawColor); in setDrawColor()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | TransitionDrawableTest.java | 42 private Canvas mCanvas; field in TransitionDrawableTest 52 mCanvas = new Canvas(mBitmap); in setUp() 181 mTransitionDrawable.draw(mCanvas); in assertTransitionStart() 232 mTransitionDrawable.draw(mCanvas); in drawAfterDelaySync()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 84951 private android.graphics.Canvas mCanvas 86690 android.graphics.Canvas mCanvas
|