Home
last modified time | relevance | path

Searched refs:gradient (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DGradientTests.java82 RadialGradient gradient = new RadialGradient( in testRadialGradientWithFocalPoint() local
93 paint.setShader(gradient); in testRadialGradientWithFocalPoint()
122 RadialGradient gradient = new RadialGradient( in testRadialGradientSameStartEndCircles() local
133 paint.setShader(gradient); in testRadialGradientSameStartEndCircles()
219 RadialGradient gradient = new RadialGradient( in testRadialGradientWithFocalPointMatchesRegularRadialGradient() local
230 paint.setShader(gradient); in testRadialGradientWithFocalPointMatchesRegularRadialGradient()
278 RadialGradient gradient = new RadialGradient( in testMatrixTransformation() local
291 gradient.setLocalMatrix(matrix); in testMatrixTransformation()
292 paint.setShader(gradient); in testMatrixTransformation()
DSweepTests.java58 LinearGradient gradient = new LinearGradient(15, 45, 75, 45, mColors, null,
62 p.setShader(gradient);
DRenderNodeTests.java811 LinearGradient gradient = new LinearGradient( in testShaderRenderEffect() local
819 RenderEffect shaderEffect = RenderEffect.createShaderEffect(gradient); in testShaderRenderEffect()
/cts/tests/tests/graphics/src/android/graphics/cts/
DRadialGradientTest.java48 RadialGradient gradient = new RadialGradient(0.5f, 0.5f, 1, in testZeroScaleMatrix() local
53 gradient.setLocalMatrix(m); in testZeroScaleMatrix()
60 paint.setShader(gradient); in testZeroScaleMatrix()
73 RadialGradient gradient = new RadialGradient(50, 50, 25, red, blue, TileMode.CLAMP); in testColorLong() local
80 paint.setShader(gradient); in testColorLong()
DSweepGradientTest.java156 SweepGradient gradient = new SweepGradient(1, 0.5f, in testZeroScaleMatrix() local
160 gradient.setLocalMatrix(m); in testZeroScaleMatrix()
167 paint.setShader(gradient); in testZeroScaleMatrix()
260 SweepGradient gradient = new SweepGradient(50, 50, red, blue); in testColorLong() local
267 paint.setShader(gradient); in testColorLong()
DLinearGradientTest.java149 LinearGradient gradient = new LinearGradient(0.5f, 0, 1.5f, 0,
153 gradient.setLocalMatrix(m);
154 Bitmap bitmap = drawLinearGradient(gradient, Config.ARGB_8888);
DBitmapTest.java2779 LinearGradient gradient = new LinearGradient(0, 0, 10, 10, color0, color1, in drawGradient() local
2782 paint.setShader(gradient); in drawGradient()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimationActivity.java256 RadialGradient gradient = new RadialGradient(37.5f, 12.5f, in addBall() local
258 paint.setShader(gradient); in addBall()
/cts/apps/CameraITS/tests/scene3/
Dtest_lens_movement_reporting.py142 frame_diffs = np.gradient([v['timestamp'] for v in d.values()])
Dtest_lens_position.py64 diffs = np.gradient(times)
/cts/apps/CameraITS/utils/
Dimage_processing_utils.py660 gy, gx = numpy.gradient(luma)
676 grads.append(numpy.amax(numpy.gradient(img[:, :, i])))