Searched refs:gradient (Results 1 – 8 of 8) sorted by relevance
/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);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SweepTests.java | 58 LinearGradient gradient = new LinearGradient(15, 45, 75, 45, mColors, null, 62 p.setShader(gradient);
|
/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 | 128 diffs = np.gradient(times)
|
D | test_lens_position.py | 169 diffs = np.gradient(times)
|
/cts/apps/CameraITS/pymodules/its/ |
D | image.py | 733 grads.append(numpy.amax(numpy.gradient(img[:, :, i]))) 817 [gy, gx] = numpy.gradient(luma)
|