Home
last modified time | relevance | path

Searched refs:draw (Results 1 – 25 of 123) sorted by relevance

12345

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DShaderTests.java49 public void draw(Canvas canvas, int width, int height) { in testSinglePixelBitmapShader()
69 public void draw(Canvas canvas, int width, int height) { in testSinglePixelComposeShader()
111 public void draw(Canvas canvas, int width, int height) { in testComplexShaderUsage()
150 public void draw(Canvas canvas, int width, int height) { in testRepeatAlphaGradientShader()
168 public void draw(Canvas canvas, int width, int height) { in testClampAlphaGradientShader()
DEdgeEffectTests.java110 edgeEffect.draw(canvas); in assertEdgeEffect()
181 assertFalse(effect.draw(new Canvas())); in testFinish()
213 edgeEffect.draw(canvas); in verifyAlpha()
219 edgeEffect.draw(canvas); in verifyAlpha()
DPictureTest.java60 pic.draw(canvas); // should be clipped out in testPictureRespectsClip()
72 pic.draw(canvas); // should be offset in testPictureRespectsTranslate()
DVectorDrawableTests.java53 vd.draw(canvas); in testScaleDown()
71 mVd.draw(canvas); in onDraw()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DCanvasClientView.java70 mCanvasClient.draw(pictureCanvas, ActivityTestBase.TEST_WIDTH, in onDraw()
73 picture.draw(canvas); in onDraw()
75 mCanvasClient.draw(canvas, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in onDraw()
DCanvasClientDrawable.java30 public void draw(Canvas canvas) { in draw() method in CanvasClientDrawable
33 mCanvasClient.draw(canvas, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in draw()
DCanvasClient.java27 void draw(Canvas canvas, int width, int height); in draw() method
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DCanvasClientView.java70 mCanvasClient.draw(pictureCanvas, ActivityTestBase.TEST_WIDTH, in onDraw()
73 picture.draw(canvas); in onDraw()
75 mCanvasClient.draw(canvas, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in onDraw()
DCanvasClientDrawable.java30 public void draw(Canvas canvas) { in draw() method in CanvasClientDrawable
33 mCanvasClient.draw(canvas, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in draw()
/cts/tests/openglperf2/jni/graphics/
DSceneGraphNode.cpp26 void SceneGraphNode::draw(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in draw() function in SceneGraphNode
29 mChildren[i]->draw(program, model, view, projection); in draw()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAdaptiveIconDrawableTest.java82 dr.draw(c); in testDraw()
90 iconDrawable.draw(null); in testDrawNull()
163 iconDrawable.draw(can1); in testDrawWithoutSetBounds()
190 iconDrawable.draw(can_org); in testDrawSetBounds()
198 iconDrawable.draw(can_test); in testDrawSetBounds()
237 iconDrawable.draw(canvas); in testSetAlpha()
242 iconDrawable.draw(canvas); in testSetAlpha()
247 iconDrawable.draw(canvas); in testSetAlpha()
DDrawableWrapperTest.java169 doNothing().when(mockDrawable).draw(any()); in testDraw()
172 wrapper.draw(new Canvas()); in testDraw()
173 verify(mockDrawable, times(1)).draw(any()); in testDraw()
176 doNothing().when(mockDrawable).draw(any()); in testDraw()
177 wrapper.draw(null); in testDraw()
178 verify(mockDrawable, times(1)).draw(any()); in testDraw()
423 public void draw(Canvas canvas) { in draw() method in DrawableWrapperTest.MockDrawable
DAnimatedImageDrawableTest.java293 drawable.draw(canvas); in testLifeCycleSoftware()
303 drawable.draw(canvas); in testLifeCycleSoftware()
318 drawable.draw(canvas); in testLifeCycleSoftware()
442 drawable.draw(canvas); in testColorFilter()
481 drawable.draw(canvas); in testPostProcess()
522 testDrawable.draw(canvas); in testPostProcess()
603 drawable.draw(canvas); in drawAndCompare()
617 drawable.draw(canvas); in testAutoMirroredDrawing()
625 drawable.draw(canvas); in testAutoMirroredDrawing()
DScaleDrawableTest.java155 scaleDrawable.draw(new Canvas()); in testDraw()
156 verify(mockDrawable, never()).draw(any()); in testDraw()
161 scaleDrawable.draw(new Canvas()); in testDraw()
162 verify(mockDrawable, times(1)).draw(any()); in testDraw()
165 doNothing().when(mockDrawable).draw(any()); in testDraw()
166 scaleDrawable.draw(null); in testDraw()
167 verify(mockDrawable, times(1)).draw(any()); in testDraw()
514 public void draw(Canvas canvas) { in draw() method in ScaleDrawableTest.MockDrawable
DDrawableContainerTest.java102 mDrawableContainer.draw(null); in testDraw()
103 mDrawableContainer.draw(new Canvas()); in testDraw()
110 doNothing().when(dr).draw(any()); in testDraw()
111 mDrawableContainer.draw(null); in testDraw()
112 verify(dr, times(1)).draw(any()); in testDraw()
115 doNothing().when(dr).draw(any()); in testDraw()
116 mDrawableContainer.draw(new Canvas()); in testDraw()
117 verify(dr, times(1)).draw(any()); in testDraw()
903 public void draw(Canvas canvas) { in draw() method in DrawableContainerTest.MockDrawable
DTransitionDrawableTest.java174 mTransitionDrawable.draw(null); in testDrawWithNullCanvas()
197 mTransitionDrawable.draw(mCanvas); in verifyTransitionStart()
247 mTransitionDrawable.draw(mCanvas); in drawAfterDelaySync()
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DShapeTest.java118 shape.draw(canvas, paint); in testDraw()
122 shape.draw(canvas, paint); in testDraw()
139 public void draw(Canvas canvas, Paint paint) { in draw() method in ShapeTest.MockShape
DArcShapeTest.java80 arcShape.draw(canvas, paint); in testDraw()
88 arcShape.draw(canvas, paint); in testDraw()
DPathShapeTest.java74 pathShape.draw(canvas, paint); in testDraw()
81 pathShape.draw(canvas, paint); in testDraw()
DOvalShapeTest.java65 ovalShape.draw(canvas, paint); in testDraw()
72 ovalShape.draw(canvas, paint); in testDraw()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSurfaceViewCtsActivity.java99 public void draw(Canvas canvas) { in draw() method in SurfaceViewCtsActivity.MockSurfaceView
100 super.draw(canvas); in draw()
185 draw(mCanvas); in surfaceCreated()
/cts/tests/tests/text/src/android/text/style/cts/
DDynamicDrawableSpanTest.java86 dynamicDrawableSpan.draw(canvas, null /* text */, 0 /* start */, 0 /* end */, 1.0f /* x */, in testDraw()
94 dynamicDrawableSpan.draw(null /* canvas */, null /* text */, 0 /* start */, 0 /* end */, in testDrawNullCanvas()
108 dynamicDrawableSpan.draw(canvas, null /* text */, 0 /* start */, 0 /* end */, 0f /* x */, in testCenterAligned()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPictureTest.java67 original.draw(drawDest); in testSaveRestoreBalance()
115 picture.draw(canvas); in testPicture()
122 pic.draw(canvas); in testPicture()
DNinePatchTest.java120 mNinePatch.draw(c, rectf); in testDraw()
128 mNinePatch.draw(c, rect); in testDraw()
138 mNinePatch.draw(c, rect, p); in testDraw()
146 mNinePatch.draw(c, rectf); in testDraw()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
DCubeRenderer.java69 mCube.draw(gl); in onDrawFrame()
74 mCube.draw(gl); in onDrawFrame()

12345