/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GradientStopsActivity.java | 23 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()
|
D | ShadersActivity.java | 26 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()
|
D | MoreShadersActivity.java | 29 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()
|
D | GradientsActivity.java | 25 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()
|
D | BigGradientActivity.java | 22 import android.graphics.LinearGradient; 44 p.setShader(new LinearGradient(0.0f, 0.0f, 0.0f, getHeight(), 0xff000000, in onDraw()
|
D | FramebufferBlendActivity.java | 26 import android.graphics.LinearGradient; 47 private LinearGradient mHorGradient; 57 mHorGradient = new LinearGradient(0.0f, 0.0f, mTexWidth, 0.0f, in BlendView()
|
D | AdvancedBlendActivity.java | 27 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/ |
D | LinearGradient.java | 23 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/ |
D | ResourceModifiers.java | 27 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/ |
D | MinimizedDockShadow.java | 23 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/ |
D | ImageGradientColorizer.java | 25 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/ |
D | HorizontalGridView.java | 21 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/ |
D | VideoProvider.java | 24 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/ |
D | CircularBorderDrawable.java | 22 import android.graphics.LinearGradient; 205 return new LinearGradient( in createGradientShader()
|
D | ShadowDrawableWrapper.java | 21 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/ |
D | LinearGradient_Delegate.java | 59 /*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/ |
D | FakeShadowDrawable.java | 21 import android.graphics.LinearGradient; 263 mEdgeShadowPaint.setShader(new LinearGradient(0, -mCornerRadius + mShadowSize, 0, in buildShadowCorners()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | UsageGraph.java | 23 import android.graphics.LinearGradient; 192 mFillPaint.setShader(new LinearGradient(0, 0, 0, getHeight(), in updateGradient()
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
D | RoundRectDrawableWithShadow.java | 23 import android.graphics.LinearGradient; 322 mEdgeShadowPaint.setShader(new LinearGradient(0, -mCornerRadius + mShadowSize, 0, in buildShadowCorners()
|
/frameworks/base/core/java/android/content/res/ |
D | GradientColor.java | 32 import android.graphics.LinearGradient; 468 mShader = new LinearGradient(mStartX, mStartY, mEndX, mEndY, tempColors, tempOffsets, in onColorsChange()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 46 import android.graphics.LinearGradient; 2183 mHorizontalResizeShadowPaint.setShader(new LinearGradient( 2186 mVerticalResizeShadowPaint.setShader(new LinearGradient(
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 33 import android.graphics.LinearGradient; 1140 mFillPaint.setShader(new LinearGradient(x0, y0, x1, y1,
|
/frameworks/base/core/java/android/view/ |
D | View.java | 49 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/ |
D | preloaded-classes | 985 android.graphics.LinearGradient
|
/frameworks/base/services/ |
D | profile-classes | 867 Landroid/graphics/LinearGradient;
|