Home
last modified time | relevance | path

Searched refs:dither (Results 1 – 20 of 20) sorted by relevance

/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Dsnow_effect.agsl90 // Add dither to give texture to the snow and ruffle the edges.
91 float dither = abs(triangleNoise(fragCoord * 0.01));
98 accSnowMask = map(accSnowMask, 1. - cloudsNoise.b - 0.3 * dither, 1., 0., 1.);
99 // Load snow texture and dither. Make it have gray-ish values.
101 accSnowTexture = map(accSnowTexture, dither - 1, 1, 0, 1);
104 accSnowMask = map(accSnowMask, 0., 1., 0., 1.- 0.6 * accSnowTexture - 0.35 * dither);
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java342 public void setDither(boolean dither) { in setDither() argument
343 mShapeState.mPaint.setDither(dither); in setDither()
468 boolean dither = paint.isDither(); in updateStateFromTypedArray()
469 dither = a.getBoolean(R.styleable.ShapeDrawable_dither, dither); in updateStateFromTypedArray()
470 paint.setDither(dither); in updateStateFromTypedArray()
DNinePatchDrawable.java360 public void setDither(boolean dither) { in setDither() argument
362 if (mPaint == null && dither == DEFAULT_DITHER) { in setDither()
367 getPaint().setDither(dither); in setDither()
620 @Nullable Rect opticalInsets, boolean dither, boolean autoMirror) { in NinePatchState() argument
624 mDither = dither; in NinePatchState()
DDrawableContainer.java163 public void setDither(boolean dither) { in setDither() argument
164 if (mDrawableContainerState.mDither != dither) { in setDither()
165 mDrawableContainerState.mDither = dither; in setDither()
DBitmapDrawable.java390 public void setDither(boolean dither) { in setDither() argument
391 mBitmapState.mPaint.setDither(dither); in setDither()
DAdaptiveIconDrawable.java704 public void setDither(boolean dither) { in setDither() argument
709 dr.setDither(dither); in setDither()
DGradientDrawable.java1207 public void setDither(boolean dither) {
1208 if (dither != mGradientState.mDither) {
1209 mGradientState.mDither = dither;
DDrawable.java370 public void setDither(boolean dither) {} in setDither() argument
DLayerDrawable.java1347 public void setDither(boolean dither) { in setDither() argument
1353 dr.setDither(dither); in setDither()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/paint/
DTextPaint.java21 void setDither(boolean dither); in setDither() argument
/frameworks/rs/script_api/
Drs_graphics.spec976 summary: Get program store dither state
978 Get program store dither state
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java905 boolean depthMask, boolean dither, in rsnProgramStoreCreate() argument
908 boolean depthMask, boolean dither, in nProgramStoreCreate() argument
911 return rsnProgramStoreCreate(mContext, r, g, b, a, depthMask, dither, srcMode, in nProgramStoreCreate()
/frameworks/base/graphics/java/android/graphics/
DPaint.java921 public void setDither(boolean dither) { in setDither() argument
922 nSetDither(mNativePaint, dither); in setDither()
3783 private static native void nSetDither(long paintPtr, boolean dither); in nSetDither() argument
/frameworks/base/libs/hwui/jni/
DPaint.cpp781 static void setDither(CRITICAL_JNI_PARAMS_COMMA jlong paintHandle, jboolean dither) { in setDither() argument
782 reinterpret_cast<Paint*>(paintHandle)->setDither(dither); in setDither()
/frameworks/rs/script_api/include/
Drs_graphics.rsh1502 * rsgProgramStoreIsDitherEnabled: Get program store dither state
1506 * Get program store dither state
/frameworks/base/core/java/android/app/
DWallpaperManager.java458 public void setDither(boolean dither) { in setDither() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt489 field public static final int dither = 16843036; // 0x101011c
/frameworks/base/core/api/
Dcurrent.txt722 field public static final int dither = 16843036; // 0x101011c
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt75073 Lcom/android/internal/R$attr;->dither:I