/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 | 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()
|
/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/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/support/v4/donut/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable.java | 246 mPaint.setShader(mBitmapShader); in updateDstRect() 300 mPaint.setShader(mBitmapShader); in setCircular() 327 mPaint.setShader(mBitmapShader); in setCornerRadius() 329 mPaint.setShader(null); in setCornerRadius()
|
/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/base/tools/layoutlib/bridge/src/android/view/ |
D | RectShadowPainter.java | 61 cornerPaint.setShader(new RadialGradient(0, 0, outerArcRadius, colors, in paintShadow() 63 edgePaint.setShader(new LinearGradient(0, 0, -shadowSize, 0, START_COLOR, END_COLOR, in paintShadow() 89 edgePaint.setShader(new LinearGradient(edgeShadowRect.right, 0, edgeShadowRect.left, 0, in paintShadow()
|
/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()
|
D | FullscreenBlur.java | 163 fb.setShader(res, resID); in getShader() 177 vb.setShader(res, R.raw.blur_vertex); in initShaders()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | BitmapDrawable.java | 482 mBitmapState.mPaint.setShader(shader); in onBoundsChange() 487 mBitmapState.mPaint.setShader(shader); in onBoundsChange() 506 paint.setShader(null); in draw() 508 paint.setShader(new BitmapShader(bitmap, in draw() 554 paint.setShader(shader); in draw() 559 paint.setShader(shader); in draw()
|
/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/ |
D | BitmapHelper.java | 44 paint.setShader(new BitmapShader(input, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP)); in createCircularClip()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskViewThumbnail.java | 129 mDrawPaint.setShader(mBitmapShader); in setThumbnail() 134 mDrawPaint.setShader(null); in setThumbnail()
|
/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()
|