/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GradientStopsActivity.java | 51 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()
|
D | AdvancedGradientsActivity.java | 77 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()
|
D | ShadersActivity.java | 111 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()
|
D | AdvancedBlendActivity.java | 108 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()
|
D | GradientsActivity.java | 101 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()
|
D | MoreShadersActivity.java | 121 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()
|
D | FramebufferBlendActivity.java | 88 mPaint.setShader(null); in drawBlendedBitmap() 92 mPaint.setShader(mHorGradient); in drawBlendedBitmap() 101 mPaint.setShader(mHorGradient); in drawBlendedBitmapInverse() 105 mPaint.setShader(null); in drawBlendedBitmapInverse()
|
D | LinesActivity.java | 125 mLargePaint.setShader(mShader); in onDraw() 133 mLargePaint.setShader(null); in onDraw() 144 mAlphaPaint.setShader(mShader); in onDraw() 146 mAlphaPaint.setShader(null); in onDraw()
|
D | PathsActivity.java | 120 mLargePaint.setShader(mShader); in onDraw() 123 mLargePaint.setShader(null); in onDraw() 137 mLargePaint.setShader(mShader); in onDraw() 141 mLargePaint.setShader(null); in onDraw()
|
D | BigGradientActivity.java | 44 p.setShader(new LinearGradient(0.0f, 0.0f, 0.0f, getHeight(), 0xff000000, in onDraw()
|
D | Alpha8BitmapActivity.java | 71 mBitmapPaint.setShader(shader); in BitmapsView()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | DisplayModifier.java | 268 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/ |
D | ShaderCacheTests.cpp | 100 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/ |
D | MinimizedDockShadow.java | 64 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/ |
D | BitmapShaders.cpp | 51 paint.setShader(std::move(repeatShader)); in createContent() 57 paint.setShader(std::move(mirrorShader)); in createContent()
|
D | ListOfFadedTextAnimation.cpp | 53 fadingPaint.setShader(s->makeWithLocalMatrix(matrix)); in createListItem()
|
D | SimpleGradientAnimation.cpp | 59 paint.setShader(SkGradientShader::MakeLinear(pts, colors + (i % 2), pos, 2, in createCard()
|
D | HwBitmapInCompositeShader.cpp | 69 paint.setShader(std::move(compositeShader)); in createContent()
|
D | SimpleColorMatrixAnimation.cpp | 77 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, in createCard()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | RectShadowPainter.java | 87 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/ |
D | ImageGradientColorizer.java | 75 paint.setShader(linearGradient); in colorize() 97 paint.setShader(linearGradient); in colorize()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Program.java | 247 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/ |
D | FakeShadowDrawable.java | 255 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/ |
D | KeyguardUserSwitcherScrim.java | 103 mRadialGradientPaint.setShader( in updatePaint()
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
D | FrameSequenceDrawable.java | 430 mPaint.setShader(mFrontBitmapShader); in draw() 434 mPaint.setShader(null); in draw()
|