Searched refs:gradient (Results 1 – 11 of 11) sorted by relevance
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | GradientTests.java | 82 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()
|
D | SweepTests.java | 58 LinearGradient gradient = new LinearGradient(15, 45, 75, 45, mColors, null, 62 p.setShader(gradient);
|
D | RenderNodeTests.java | 811 LinearGradient gradient = new LinearGradient( in testShaderRenderEffect() local 819 RenderEffect shaderEffect = RenderEffect.createShaderEffect(gradient); in testShaderRenderEffect()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RadialGradientTest.java | 48 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()
|
D | SweepGradientTest.java | 156 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()
|
D | LinearGradientTest.java | 149 LinearGradient gradient = new LinearGradient(0.5f, 0, 1.5f, 0, 153 gradient.setLocalMatrix(m); 154 Bitmap bitmap = drawLinearGradient(gradient, Config.ARGB_8888);
|
D | BitmapTest.java | 2779 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/ |
D | AnimationActivity.java | 256 RadialGradient gradient = new RadialGradient(37.5f, 12.5f, in addBall() local 258 paint.setShader(gradient); in addBall()
|
/cts/apps/CameraITS/tests/scene3/ |
D | test_lens_movement_reporting.py | 142 frame_diffs = np.gradient([v['timestamp'] for v in d.values()])
|
D | test_lens_position.py | 64 diffs = np.gradient(times)
|
/cts/apps/CameraITS/utils/ |
D | image_processing_utils.py | 660 gy, gx = numpy.gradient(luma) 676 grads.append(numpy.amax(numpy.gradient(img[:, :, i])))
|