Home
last modified time | relevance | path

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

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGradientStopsActivity.java47 LinearGradient gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, in onDraw() local
51 paint.setShader(gradient); in onDraw()
57 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, in onDraw()
60 paint.setShader(gradient); in onDraw()
67 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, in onDraw()
70 paint.setShader(gradient); in onDraw()
76 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, in onDraw()
79 paint.setShader(gradient); in onDraw()
84 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, in onDraw()
87 paint.setShader(gradient); in onDraw()
[all …]
DGradientsActivity.java123 LinearGradient gradient = new LinearGradient(0, 0, 200, 0, 0xFF000000, 0, in GradientView() local
126 mPaint.setShader(gradient); in GradientView()
148 RadialGradient gradient = new RadialGradient(0.0f, 0.0f, 100.0f, 0xff000000, 0xffffffff, in RadialGradientView() local
151 mPaint.setShader(gradient); in RadialGradientView()
173 SweepGradient gradient = new SweepGradient(100.0f, 100.0f, 0xff000000, 0xffffffff); in SweepGradientView() local
175 mPaint.setShader(gradient); in SweepGradientView()
DTransparentListActivity.java82 getWindow().setBackgroundDrawable(getResources().getDrawable(R.drawable.gradient)); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipDismissViewController.java90 Drawable gradient = mContext.getResources().getDrawable(R.drawable.pip_dismiss_scrim); in createDismissTarget() local
91 gradient.setAlpha((int) (255 * 0.85f)); in createDismissTarget()
92 mDismissView.setBackground(gradient); in createDismissTarget()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/android/layoutlib/test/myapplication/
DR$color.class ... complex_gradient public static final int complex_radial_gradient public static final int gradient public static final int multiple_alpha_items_gradient public static final int multiple_offset_items_gradient ...
DR$drawable.class ... avd_color_interpolator public static final int clipped_even_odd public static final int gradient public static final int headset public static final int ic_launcher ...
/frameworks/base/libs/hwui/
DVectorDrawable.h230 void setFillGradient(SkShader* gradient) { in setFillGradient() argument
231 if (fillGradient.get() != gradient) { in setFillGradient()
232 fillGradient = sk_ref_sp(gradient); in setFillGradient()
236 void setStrokeGradient(SkShader* gradient) { in setStrokeGradient() argument
237 if (strokeGradient.get() != gradient) { in setStrokeGradient()
238 strokeGradient = sk_ref_sp(gradient); in setStrokeGradient()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java469 public void setGradientType(@GradientType int gradient) { in setGradientType() argument
470 mGradientState.setGradientType(gradient); in setGradientType()
2178 public void setGradientType(@GradientType int gradient) { in setGradientType() argument
2179 mGradient = gradient; in setGradientType()
/frameworks/ml/nn/tools/api/
Dtypes.spec5573 * Networks, but is actually the transpose (gradient) of