Home
last modified time | relevance | path

Searched refs:setShader (Results 1 – 25 of 54) 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/libs/hwui/tests/unit/
DShaderCacheTests.cpp100 void setShader(sk_sp<SkData>& shader, const char* program) { in setShader() function
105 void setShader(sk_sp<SkData>& shader, std::vector<T>& buffer) { in setShader() function
142 setShader(inVS, "sassas"); in TEST()
144 setShader(inVS, "someVS"); in TEST()
168 setShader(inVS, "ewData1"); in TEST()
179 setShader(inVS, dataBuffer); in TEST()
224 setShader(key, keyBuffer); in TEST()
225 setShader(data, dataBuffer); in TEST()
/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/base/libs/hwui/tests/common/scenes/
DBitmapShaders.cpp51 paint.setShader(std::move(repeatShader)); in createContent()
57 paint.setShader(std::move(mirrorShader)); in createContent()
DListOfFadedTextAnimation.cpp53 fadingPaint.setShader(s->makeWithLocalMatrix(matrix)); in createListItem()
DSimpleGradientAnimation.cpp59 paint.setShader(SkGradientShader::MakeLinear(pts, colors + (i % 2), pos, 2, in createCard()
DHwBitmapInCompositeShader.cpp69 paint.setShader(std::move(compositeShader)); in createContent()
DSimpleColorMatrixAnimation.cpp77 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, in createCard()
/frameworks/layoutlib/bridge/src/android/view/
DRectShadowPainter.java87 cornerPaint.setShader(new RadialGradient(0, 0, outerArcRadius, colors, in paintShadow()
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/src/com/android/systemui/statusbar/notification/
DImageGradientColorizer.java75 paint.setShader(linearGradient); in colorize()
97 paint.setShader(linearGradient); in colorize()
/frameworks/base/rs/java/android/renderscript/
DProgram.java247 public BaseProgramBuilder setShader(String s) { in setShader() method in Program.BaseProgramBuilder
260 public BaseProgramBuilder setShader(Resources resources, int resourceID) { in setShader() method in Program.BaseProgramBuilder
/frameworks/base/packages/SystemUI/legacy/recents/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()
/frameworks/ex/framesequence/src/android/support/rastermill/
DFrameSequenceDrawable.java430 mPaint.setShader(mFrontBitmapShader); in draw()
434 mPaint.setShader(null); in draw()

123