Home
last modified time | relevance | path

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

12

/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.java23 public class LinearGradient extends Shader { class
58 public LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorInt int colors[], in LinearGradient() method in LinearGradient
87 public LinearGradient(float x0, float y0, float x1, float y1, in LinearGradient() method in LinearGradient
118 final LinearGradient copy; in copy()
120 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColors.clone(), in copy()
123 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColor0, mColor1, mTileMode); in copy()
/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.java25 import android.graphics.LinearGradient;
74 LinearGradient linearGradient = new LinearGradient(0, 0, size, 0, in colorize()
96 linearGradient = new LinearGradient(0, 0, size, 0, in colorize()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DHorizontalGridView.java21 import android.graphics.LinearGradient;
57 private LinearGradient mLowFadeShader;
61 private LinearGradient mHighFadeShader;
148 mLowFadeShader = new LinearGradient(0, 0, mLowFadeShaderLength, 0, in setFadingLeftEdgeLength()
214 mHighFadeShader = new LinearGradient(0, 0, mHighFadeShaderLength, 0, in setFadingRightEdgeLength()
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/data/
DVideoProvider.java24 import android.graphics.LinearGradient;
117 Shader shader = new LinearGradient(0, 0, width - 1, height - 1, COLORS.get(0), in makeIcon()
128 shader = new LinearGradient(wOffset, height - hOffset, width - wOffset, hOffset, in makeIcon()
/frameworks/support/design/base/android/support/design/widget/
DCircularBorderDrawable.java22 import android.graphics.LinearGradient;
205 return new LinearGradient( in createGradientShader()
DShadowDrawableWrapper.java21 import android.graphics.LinearGradient;
314 mEdgeShadowPaint.setShader(new LinearGradient(0, innerBounds.top, 0, outerBounds.top, in buildShadowCorners()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DLinearGradient_Delegate.java59 /*package*/ static long nativeCreate1(LinearGradient thisGradient, long matrix, in nativeCreate1()
68 /*package*/ static long nativeCreate2(LinearGradient thisGradient, long matrix, in nativeCreate2()
/frameworks/base/packages/SystemUI/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/packages/SettingsLib/src/com/android/settingslib/graph/
DUsageGraph.java23 import android.graphics.LinearGradient;
192 mFillPaint.setShader(new LinearGradient(0, 0, 0, getHeight(), in updateGradient()
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DRoundRectDrawableWithShadow.java23 import android.graphics.LinearGradient;
322 mEdgeShadowPaint.setShader(new LinearGradient(0, -mCornerRadius + mShadowSize, 0, in buildShadowCorners()
/frameworks/base/core/java/android/content/res/
DGradientColor.java32 import android.graphics.LinearGradient;
468 mShader = new LinearGradient(mStartX, mStartY, mEndX, mEndY, tempColors, tempOffsets, in onColorsChange()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java46 import android.graphics.LinearGradient;
2183 mHorizontalResizeShadowPaint.setShader(new LinearGradient(
2186 mVerticalResizeShadowPaint.setShader(new LinearGradient(
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java33 import android.graphics.LinearGradient;
1140 mFillPaint.setShader(new LinearGradient(x0, y0, x1, y1,
/frameworks/base/core/java/android/view/
DView.java49 import android.graphics.LinearGradient;
25615 shader = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP);
25627 shader = new LinearGradient(0, 0, 0, 1, color | 0xFF000000,
25633 shader = new LinearGradient(0, 0, 0, 1, 0xFF000000, 0, Shader.TileMode.CLAMP);
/frameworks/base/
Dpreloaded-classes985 android.graphics.LinearGradient
/frameworks/base/services/
Dprofile-classes867 Landroid/graphics/LinearGradient;

12