Home
last modified time | relevance | path

Searched refs:setShader (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGradientStopsActivity.java51 paint.setShader(gradient); in onDraw()
60 paint.setShader(gradient); in onDraw()
70 paint.setShader(gradient); in onDraw()
79 paint.setShader(gradient); in onDraw()
87 paint.setShader(gradient); in onDraw()
95 paint.setShader(gradient); in onDraw()
103 paint.setShader(gradient); in onDraw()
111 paint.setShader(gradient); in onDraw()
119 paint.setShader(gradient); in onDraw()
DAdvancedGradientsActivity.java77 mPaint.setShader(mSweepGradient); in onDraw()
83 mPaint.setShader(mSweepGradient); in onDraw()
89 mPaint.setShader(mSweepGradient); in onDraw()
95 mPaint.setShader(mRadialGradient); in onDraw()
101 mPaint.setShader(mRadialGradient); in onDraw()
107 mPaint.setShader(mRadialGradient); in onDraw()
DShadersActivity.java111 mPaint.setShader(mRepeatShader); in onDraw()
115 mPaint.setShader(mTranslatedShader); in onDraw()
119 mPaint.setShader(mScaledShader); in onDraw()
128 mPaint.setShader(mHorGradient); in onDraw()
132 mPaint.setShader(mDiagGradient); in onDraw()
136 mPaint.setShader(mVertGradient); in onDraw()
DAdvancedBlendActivity.java108 mPaint.setShader(mComposeShader); in onDraw()
112 mPaint.setShader(mCompose2Shader); in onDraw()
116 mPaint.setShader(mCompose3Shader); in onDraw()
124 mPaint.setShader(mCompose4Shader); in onDraw()
128 mPaint.setShader(mCompose5Shader); in onDraw()
132 mPaint.setShader(mCompose6Shader); in onDraw()
DGradientsActivity.java101 mPaint.setShader(shader); in BitmapView()
126 mPaint.setShader(gradient); in GradientView()
151 mPaint.setShader(gradient); in RadialGradientView()
175 mPaint.setShader(gradient); in SweepGradientView()
230 mPaint.setShader(mGradient); in onDraw()
239 mPaint.setShader(mGradient); in onDraw()
251 mPaint.setShader(mGradient); in onDraw()
261 mPaint.setShader(mGradient); in onDraw()
273 mPaint.setShader(mGradientStops); in onDraw()
DMoreShadersActivity.java121 mPaint.setShader(mComposeShader); in onDraw()
125 mPaint.setShader(mCompose2Shader); in onDraw()
133 mLargePaint.setShader(mHorGradient); in onDraw()
136 mLargePaint.setShader(mScaled2Shader); in onDraw()
139 mLargePaint.setShader(mCompose2Shader); in onDraw()
145 mLargePaint.setShader(mVertGradient); in onDraw()
DFramebufferBlendActivity.java88 mPaint.setShader(null); in drawBlendedBitmap()
92 mPaint.setShader(mHorGradient); in drawBlendedBitmap()
101 mPaint.setShader(mHorGradient); in drawBlendedBitmapInverse()
105 mPaint.setShader(null); in drawBlendedBitmapInverse()
DLinesActivity.java125 mLargePaint.setShader(mShader); in onDraw()
133 mLargePaint.setShader(null); in onDraw()
144 mAlphaPaint.setShader(mShader); in onDraw()
146 mAlphaPaint.setShader(null); in onDraw()
DPathsActivity.java120 mLargePaint.setShader(mShader); in onDraw()
123 mLargePaint.setShader(null); in onDraw()
137 mLargePaint.setShader(mShader); in onDraw()
141 mLargePaint.setShader(null); in onDraw()
DBigGradientActivity.java44 p.setShader(new LinearGradient(0.0f, 0.0f, 0.0f, getHeight(), 0xff000000, in onDraw()
DAlpha8BitmapActivity.java71 mBitmapPaint.setShader(shader); in BitmapsView()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DDisplayModifier.java268 paint.setShader(ResourceModifiers.instance().mRepeatShader);
276 paint.setShader(ResourceModifiers.instance().mTranslatedShader);
282 paint.setShader(ResourceModifiers.instance().mScaledShader);
288 paint.setShader(ResourceModifiers.instance().mHorGradient);
294 paint.setShader(ResourceModifiers.instance().mDiagGradient);
302 paint.setShader(ResourceModifiers.instance().mVertGradient);
308 paint.setShader(ResourceModifiers.instance().mRadGradient);
314 paint.setShader(ResourceModifiers.instance().mSweepGradient);
320 paint.setShader(ResourceModifiers.instance().mComposeShader);
326 paint.setShader(ResourceModifiers.instance().mBadComposeShader);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DMinimizedDockShadow.java64 mShadowPaint.setShader(new LinearGradient( in updatePaint()
69 mShadowPaint.setShader(new LinearGradient( in updatePaint()
74 mShadowPaint.setShader(new LinearGradient( in updatePaint()
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java248 mPaint.setShader(mBitmapShader); in updateDstRect()
304 mPaint.setShader(mBitmapShader); in setCircular()
331 mPaint.setShader(mBitmapShader); in setCornerRadius()
333 mPaint.setShader(null); in setCornerRadius()
/frameworks/base/libs/hwui/tests/common/scenes/
DBitmapShaders.cpp56 paint.setShader(std::move(repeatShader)); in createContent()
63 paint.setShader(std::move(mirrorShader)); in createContent()
DListOfFadedTextAnimation.cpp54 fadingPaint.setShader(s->makeWithLocalMatrix(matrix)); in createListItem()
DSimpleGradientAnimation.cpp59 paint.setShader(SkGradientShader::MakeLinear(pts, colors + (i % 2), pos, 2, in createCard()
DHwBitmapInCompositeShader.cpp71 paint.setShader(std::move(compositeShader)); in createContent()
DSimpleColorMatrixAnimation.cpp74 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, in createCard()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DImageGradientColorizer.java77 paint.setShader(linearGradient); in colorize()
99 paint.setShader(linearGradient); in colorize()
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/data/
DVideoProvider.java119 paint.setShader(shader); in makeIcon()
130 paint.setShader(shader); in makeIcon()
/frameworks/base/rs/java/android/renderscript/
DProgram.java235 public BaseProgramBuilder setShader(String s) { in setShader() method in Program.BaseProgramBuilder
248 public BaseProgramBuilder setShader(Resources resources, int resourceID) { in setShader() method in Program.BaseProgramBuilder
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DHorizontalGridView.java348 mTempPaint.setShader(mLowFadeShader); in draw()
368 mTempPaint.setShader(mHighFadeShader); in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java255 mCornerShadowPaint.setShader(new RadialGradient(0, 0, mCornerRadius + mShadowSize, in buildShadowCorners()
263 mEdgeShadowPaint.setShader(new LinearGradient(0, -mCornerRadius + mShadowSize, 0, in buildShadowCorners()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherScrim.java103 mRadialGradientPaint.setShader( in updatePaint()

123