Searched refs:dither (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java341 public void setDither(boolean dither) { argument
342 mShapeState.mPaint.setDither(dither);
467 boolean dither = paint.isDither();
468 dither = a.getBoolean(R.styleable.ShapeDrawable_dither, dither);
469 paint.setDither(dither);
H A DNinePatchDrawable.java359 public void setDither(boolean dither) { argument
361 if (mPaint == null && dither == DEFAULT_DITHER) {
362 // Fast common case -- leave at default dither.
366 getPaint().setDither(dither);
612 @Nullable Rect opticalInsets, boolean dither, boolean autoMirror) {
616 mDither = dither;
611 NinePatchState(@onNull NinePatch ninePatch, @Nullable Rect padding, @Nullable Rect opticalInsets, boolean dither, boolean autoMirror) argument
H A DDrawableContainer.java47 * To be proper, we should have a getter for dither (and alpha, etc.)
53 * The initial setting for dither is now true, since it almost always seems
162 public void setDither(boolean dither) { argument
163 if (mDrawableContainerState.mDither != dither) {
164 mDrawableContainerState.mDither = dither;
H A DAdaptiveIconDrawable.java656 public void setDither(boolean dither) { argument
661 dr.setDither(dither);
H A DBitmapDrawable.java363 public void setDither(boolean dither) { argument
364 mBitmapState.mPaint.setDither(dither);
H A DGradientDrawable.java738 /* if we're not using a layer, apply the dither/filter to our
1018 public void setDither(boolean dither) { argument
1019 if (dither != mGradientState.mDither) {
1020 mGradientState.mDither = dither;
H A DDrawable.java339 * Set to true to have the drawable dither its colors when drawn to a
346 public void setDither(boolean dither) {} argument
H A DLayerDrawable.java1339 public void setDither(boolean dither) { argument
1345 dr.setDither(dither);
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawableWrapper.java70 public void setDither(boolean dither) { argument
71 mDrawable.setDither(dither);
/frameworks/support/compat/ics/android/support/v4/graphics/drawable/
H A DDrawableWrapperApi14.java119 public void setDither(boolean dither) { argument
120 mDrawable.setDither(dither);
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawable.java213 public void setDither(boolean dither) { argument
214 mPaint.setDither(dither);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java333 /*package*/ static void nSetDither(long nativePaint, boolean dither) { argument
334 setFlag(nativePaint, Paint.DITHER_FLAG, dither);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java141 * <p>Enabling this flag applies a dither to any blit operation where the
707 * @param dither true to set the dithering bit in flags, false to clear it
709 public void setDither(boolean dither) { argument
710 nSetDither(mNativePaint, dither);
2869 private static native void nSetDither(long paintPtr, boolean dither); argument
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java898 boolean depthMask, boolean dither,
901 boolean depthMask, boolean dither,
904 return rsnProgramStoreCreate(mContext, r, g, b, a, depthMask, dither, srcMode,
897 rsnProgramStoreCreate(long con, boolean r, boolean g, boolean b, boolean a, boolean depthMask, boolean dither, int srcMode, int dstMode, int depthFunc) argument
900 nProgramStoreCreate(boolean r, boolean g, boolean b, boolean a, boolean depthMask, boolean dither, int srcMode, int dstMode, int depthFunc) argument
/frameworks/rs/script_api/
H A Drs_graphics.spec976 summary: Get program store dither state
978 Get program store dither state
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp732 static void setDither(jlong paintHandle, jboolean dither) { argument
733 reinterpret_cast<Paint*>(paintHandle)->setDither(dither);
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java244 public void setDither(boolean dither) { argument

Completed in 3937 milliseconds