Home
last modified time | relevance | path

Searched refs:LinearGradient (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGradientStopsActivity.java23 import android.graphics.LinearGradient;
47 LinearGradient gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, in onDraw()
57 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, in onDraw()
67 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, in onDraw()
76 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, in onDraw()
84 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, in onDraw()
92 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, in onDraw()
100 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, in onDraw()
108 gradient = new LinearGradient(0.0f, 0.0f, 768.0f, 0.0f, in onDraw()
116 gradient = new LinearGradient(0.0f, 0.0f, 512.0f, 0.0f, in onDraw()
DShadersActivity.java26 import android.graphics.LinearGradient;
51 private LinearGradient mHorGradient;
52 private LinearGradient mDiagGradient;
53 private LinearGradient mVertGradient;
84 mHorGradient = new LinearGradient(0.0f, 0.0f, 1.0f, 0.0f, in ShadersView()
92 mDiagGradient = new LinearGradient(0.0f, 0.0f, mDrawWidth / 1.5f, mDrawHeight, in ShadersView()
95 mVertGradient = new LinearGradient(0.0f, 0.0f, 0.0f, mDrawHeight / 2.0f, in ShadersView()
DMoreShadersActivity.java29 import android.graphics.LinearGradient;
53 private LinearGradient mHorGradient;
54 private LinearGradient mVertGradient;
83 mHorGradient = new LinearGradient(0.0f, 0.0f, mDrawWidth, 0.0f, in ShadersView()
89 mVertGradient = new LinearGradient(0.0f, 0.0f, 0.0f, mDrawHeight / 2.0f, in ShadersView()
DGradientsActivity.java25 import android.graphics.LinearGradient;
123 LinearGradient gradient = new LinearGradient(0, 0, 200, 0, 0xFF000000, 0, in GradientView()
195 private final LinearGradient mGradient;
196 private final LinearGradient mGradientStops;
205 mGradient = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP); in ShadersView()
206 mGradientStops = new LinearGradient(0, 0, 0, 1, in ShadersView()
DBigGradientActivity.java22 import android.graphics.LinearGradient;
44 p.setShader(new LinearGradient(0.0f, 0.0f, 0.0f, getHeight(), 0xff000000, in onDraw()
DFramebufferBlendActivity.java26 import android.graphics.LinearGradient;
47 private LinearGradient mHorGradient;
57 mHorGradient = new LinearGradient(0.0f, 0.0f, mTexWidth, 0.0f, in BlendView()
DAdvancedBlendActivity.java27 import android.graphics.LinearGradient;
51 private LinearGradient mHorGradient;
81 mHorGradient = new LinearGradient(0.0f, 0.0f, mDrawWidth, 0.0f, in ShadersView()
/frameworks/base/graphics/java/android/graphics/
DLinearGradient.java26 public class LinearGradient extends Shader { class
68 public LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorInt int[] colors, in LinearGradient() method in LinearGradient
91 public LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorLong long[] colors, in LinearGradient() method in LinearGradient
100 private LinearGradient(float x0, float y0, float x1, float y1, in LinearGradient() method in LinearGradient
128 public LinearGradient(float x0, float y0, float x1, float y1, in LinearGradient() method in LinearGradient
148 public LinearGradient(float x0, float y0, float x1, float y1, in LinearGradient() method in LinearGradient
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DResourceModifiers.java27 import android.graphics.LinearGradient;
42 public final LinearGradient mHorGradient;
43 public final LinearGradient mDiagGradient;
44 public final LinearGradient mVertGradient;
88 mHorGradient = new LinearGradient(0.0f, 0.0f, 1.0f, 0.0f, in ResourceModifiers()
96 mDiagGradient = new LinearGradient(0.0f, 0.0f, mDrawWidth / 2.0f, mDrawHeight / 2.0f, in ResourceModifiers()
99 mVertGradient = new LinearGradient(0.0f, 0.0f, 0.0f, mDrawHeight / 2.0f, in ResourceModifiers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DMinimizedDockShadow.java23 import android.graphics.LinearGradient;
64 mShadowPaint.setShader(new LinearGradient( in updatePaint()
69 mShadowPaint.setShader(new LinearGradient( in updatePaint()
74 mShadowPaint.setShader(new LinearGradient( in updatePaint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DImageGradientColorizer.java24 import android.graphics.LinearGradient;
72 LinearGradient linearGradient = new LinearGradient(0, 0, size, 0, in colorize()
94 linearGradient = new LinearGradient(0, 0, size, 0, in colorize()
/frameworks/layoutlib/bridge/src/android/view/
DRectShadowPainter.java26 import android.graphics.LinearGradient;
89 edgePaint.setShader(new LinearGradient(0, 0, -shadowSize, 0, colors[0], colors[2], in paintShadow()
115 edgePaint.setShader(new LinearGradient(edgeShadowRect.right, 0, edgeShadowRect.left, 0, in paintShadow()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java21 import android.graphics.LinearGradient;
263 mEdgeShadowPaint.setShader(new LinearGradient(0, -mCornerRadius + mShadowSize, 0, in buildShadowCorners()
/frameworks/base/core/java/android/content/res/
DGradientColor.java32 import android.graphics.LinearGradient;
473 mShader = new LinearGradient(mStartX, mStartY, mEndX, mEndY, tempColors, tempOffsets, in onColorsChange()
/frameworks/layoutlib/bridge/src/android/graphics/
DLinearGradient_Delegate.java62 /*package*/ static long nativeCreate(LinearGradient thisGradient, long matrix, in nativeCreate()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java57 import android.graphics.LinearGradient;
2342 mHorizontalResizeShadowPaint.setShader(new LinearGradient( in initResizingPaints()
2345 mVerticalResizeShadowPaint.setShader(new LinearGradient( in initResizingPaints()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java38 import android.graphics.LinearGradient;
1308 mFillPaint.setShader(new LinearGradient(x0, y0, x1, y1,
/frameworks/base/core/java/android/view/
DView.java62 import android.graphics.LinearGradient;
28902 shader = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP); in ScrollabilityCache()
28914 shader = new LinearGradient(0, 0, 0, 1, color | 0xFF000000, in setFadeColor()
28920 shader = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP); in setFadeColor()
/frameworks/base/config/
Dpreloaded-classes1206 android.graphics.LinearGradient
Dboot-image-profile.txt5742 HSPLandroid/graphics/LinearGradient;-><init>(FFFFIILandroid/graphics/Shader$TileMode;)V
5743 HSPLandroid/graphics/LinearGradient;-><init>(FFFF[I[FLandroid/graphics/Shader$TileMode;)V
5744 HSPLandroid/graphics/LinearGradient;-><init>(FFFF[J[FLandroid/graphics/Shader$TileMode;)V
5745 HSPLandroid/graphics/LinearGradient;-><init>(FFFF[J[FLandroid/graphics/Shader$TileMode;Landroid/gra…
5746 HSPLandroid/graphics/LinearGradient;->createNativeInstance(J)J
33369 Landroid/graphics/LinearGradient;
Dhiddenapi-greylist-max-o.txt20825 Landroid/graphics/LinearGradient;->copy()Landroid/graphics/Shader;
20826 Landroid/graphics/LinearGradient;->createNativeInstance(J)J
20827 Landroid/graphics/LinearGradient;->mType:I
20828 Landroid/graphics/LinearGradient;->nativeCreate1(JFFFF[I[FI)J
20829 Landroid/graphics/LinearGradient;->nativeCreate2(JFFFFIII)J
20830 Landroid/graphics/LinearGradient;->TYPE_COLORS_AND_POSITIONS:I
20831 Landroid/graphics/LinearGradient;->TYPE_COLOR_START_AND_COLOR_END:I
/frameworks/base/non-updatable-api/
Dcurrent.txt14333 public class LinearGradient extends android.graphics.Shader {
14334 …ctor public LinearGradient(float, float, float, float, @ColorInt @NonNull int[], @Nullable float[]…
14335 …ctor public LinearGradient(float, float, float, float, @ColorLong @NonNull long[], @Nullable float…
14336 …ctor public LinearGradient(float, float, float, float, @ColorInt int, @ColorInt int, @NonNull andr…
14337 …ctor public LinearGradient(float, float, float, float, @ColorLong long, @ColorLong long, @NonNull …
/frameworks/base/api/
Dcurrent.txt14333 public class LinearGradient extends android.graphics.Shader {
14334 …ctor public LinearGradient(float, float, float, float, @ColorInt @NonNull int[], @Nullable float[]…
14335 …ctor public LinearGradient(float, float, float, float, @ColorLong @NonNull long[], @Nullable float…
14336 …ctor public LinearGradient(float, float, float, float, @ColorInt int, @ColorInt int, @NonNull andr…
14337 …ctor public LinearGradient(float, float, float, float, @ColorLong long, @ColorLong long, @NonNull …
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10832 public class LinearGradient extends android.graphics.Shader {
10833 …ctor public LinearGradient(float, float, float, float, int[], float[], android.graphics.Shader.Til…
10834 …ctor public LinearGradient(float, float, float, float, int, int, android.graphics.Shader.TileMode);