/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 | 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 | 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 | 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 | 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 | 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()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | VertexShader.java | 42 public Builder setShader(Resources resources, int resourceID) { in setShader() method in VertexShader.Builder 43 mBuilder.setShader(resources, resourceID); in setShader() 47 public Builder setShader(String code) { in setShader() method in VertexShader.Builder 48 mBuilder.setShader(code); in setShader()
|
D | FragmentShader.java | 46 public Builder setShader(Resources resources, int resourceID) { in setShader() method in FragmentShader.Builder 47 mBuilder.setShader(resources, resourceID); in setShader() 51 public Builder setShader(String code) { in setShader() method in FragmentShader.Builder 52 mBuilder.setShader(code); in setShader()
|
/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/packages/SystemUI/src/com/android/systemui/recent/ |
D | FadedEdgeDrawHelper.java | 99 mFadePaint.setShader(mFade); in drawCallback() 145 mFadePaint.setShader(mFade); in drawCallback() 161 mFadePaint.setShader(mFade); in drawCallback() 170 mFadePaint.setShader(mFade); in drawCallback() 179 mFadePaint.setShader(mFade); in drawCallback()
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | TorusTest.java | 165 pvbCustom.setShader(mRes, R.raw.shaderv); in initCustomShaders() 176 pfbCustom.setShader(mRes, R.raw.shaderf); in initCustomShaders() 186 pvbCustom.setShader(mRes, R.raw.shader2v); in initCustomShaders() 193 pvbCustom.setShader(mRes, R.raw.shader2movev); in initCustomShaders() 200 pfbCustom.setShader(mRes, R.raw.shader2f); in initCustomShaders() 207 pfbCustom.setShader(mRes, R.raw.multitexf); in initCustomShaders()
|
D | FillTest.java | 111 pfbCustom.setShader(mRes, R.raw.multitexf); in initCustomShaders() 118 pfbCustom.setShader(mRes, R.raw.singletexf); in initCustomShaders() 123 pfbCustom.setShader(mRes, R.raw.singletexfm); in initCustomShaders()
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
D | RsRenderStatesRS.java | 235 pvbCustom.setShader(mRes, R.raw.shaderv); in initCustomShaders() 246 pfbCustom.setShader(mRes, R.raw.shaderf); in initCustomShaders() 256 pvbCustom.setShader(mRes, R.raw.shaderarrayv); in initCustomShaders() 263 pfbCustom.setShader(mRes, R.raw.shaderarrayf); in initCustomShaders() 271 pvbCustom.setShader(mRes, R.raw.shadercubev); in initCustomShaders() 278 pfbCustom.setShader(mRes, R.raw.shadercubef); in initCustomShaders() 283 pfbCustom.setShader(mRes, R.raw.multitexf); in initCustomShaders()
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable.java | 273 mPaint.setShader(mBitmapShader); in setCornerRadius() 275 mPaint.setShader(null); in setCornerRadius()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
D | TestAppRS.java | 139 fb.setShader(mRes, id); in createFromResource() 174 fb.setShader(mRes, R.raw.plastic_lights); in initPaintShaders() 179 fb.setShader(mRes, R.raw.diffuse_lights); in initPaintShaders()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | BitmapDrawable.java | 475 mBitmapState.mPaint.setShader(shader); in onBoundsChange() 480 mBitmapState.mPaint.setShader(shader); in onBoundsChange() 499 paint.setShader(null); in draw() 501 paint.setShader(new BitmapShader(bitmap, in draw() 547 paint.setShader(shader); in draw() 552 paint.setShader(shader); in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BitmapHelper.java | 44 paint.setShader(new BitmapShader(input, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP)); in createCircularClip()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Program.java | 234 public BaseProgramBuilder setShader(String s) { in setShader() method in Program.BaseProgramBuilder 247 public BaseProgramBuilder setShader(Resources resources, int resourceID) { in setShader() method in Program.BaseProgramBuilder
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskViewThumbnail.java | 171 mDrawPaint.setShader(mBitmapShader); 176 mDrawPaint.setShader(null);
|
D | FakeShadowDrawable.java | 251 mCornerShadowPaint.setShader(new RadialGradient(0, 0, mCornerRadius + mShadowSize, in buildShadowCorners() 259 mEdgeShadowPaint.setShader(new LinearGradient(0, -mCornerRadius + mShadowSize, 0, in buildShadowCorners()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | UserAvatarView.java | 98 mBitmapPaint.setShader(new BitmapShader( in setBitmap() 101 mBitmapPaint.setShader(null); in setBitmap()
|