Home
last modified time | relevance | path

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

/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);
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSweepTests.java58 LinearGradient gradient = new LinearGradient(15, 45, 75, 45, mColors, null,
62 p.setShader(gradient);
/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.py128 diffs = np.gradient(times)
Dtest_lens_position.py169 diffs = np.gradient(times)
/cts/apps/CameraITS/pymodules/its/
Dimage.py733 grads.append(numpy.amax(numpy.gradient(img[:, :, i])))
817 [gy, gx] = numpy.gradient(luma)