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

/frameworks/base/libs/hwui/
H A DDither.cpp49 float dither = 1.0f / (255.0f * DITHER_KERNEL_SIZE * DITHER_KERNEL_SIZE); local
51 0 * dither, 8 * dither, 2 * dither, 10 * dither,
52 12 * dither, 4 * dither, 14 * dither, 6 * dither,
53 3 * dither, 1
[all...]
H A DCaches.h163 Dither dither; member in class:android::uirenderer::Caches
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
H A DDrawableWrapperDonut.java111 public void setDither(boolean dither) { argument
112 mDrawable.setDither(dither);
H A DRoundedBitmapDrawable.java211 public void setDither(boolean dither) { argument
212 mPaint.setDither(dither);
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawableWrapper.java66 public void setDither(boolean dither) { argument
67 mDrawable.setDither(dither);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java360 public void setDither(boolean dither) { argument
362 if (mPaint == null && dither == DEFAULT_DITHER) {
363 // Fast common case -- leave at default dither.
367 getPaint().setDither(dither);
607 @Nullable Rect opticalInsets, boolean dither, boolean autoMirror) {
611 mDither = dither;
606 NinePatchState(@onNull NinePatch ninePatch, @Nullable Rect padding, @Nullable Rect opticalInsets, boolean dither, boolean autoMirror) argument
H A DShapeDrawable.java326 public void setDither(boolean dither) { argument
327 mShapeState.mPaint.setDither(dither);
446 boolean dither = paint.isDither();
447 dither = a.getBoolean(R.styleable.ShapeDrawable_dither, dither);
448 paint.setDither(dither);
H A DBitmapDrawable.java362 public void setDither(boolean dither) { argument
363 mBitmapState.mPaint.setDither(dither);
H A DDrawable.java321 * Set to true to have the drawable dither its colors when drawn to a
328 public void setDither(boolean dither) {} argument
H A DDrawableContainer.java50 * To be proper, we should have a getter for dither (and alpha, etc.)
56 * The initial setting for dither is now true, since it almost always seems
165 public void setDither(boolean dither) { argument
166 if (mDrawableContainerState.mDither != dither) {
167 mDrawableContainerState.mDither = dither;
H A DGradientDrawable.java709 /* if we're not using a layer, apply the dither/filter to our
980 public void setDither(boolean dither) { argument
981 if (dither != mGradientState.mDither) {
982 mGradientState.mDither = dither;
H A DLayerDrawable.java1328 public void setDither(boolean dither) { argument
1334 dr.setDither(dither);
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java237 public void setDither(boolean dither) { argument
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp187 static void setDither(JNIEnv* env, jobject, jlong paintHandle, jboolean dither) { argument
188 reinterpret_cast<Paint*>(paintHandle)->setDither(dither);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java344 /*package*/ static void nSetDither(Paint thisPaint, long nativePaint, boolean dither) { argument
345 setFlag(nativePaint, Paint.DITHER_FLAG, dither);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java131 * <p>Enabling this flag applies a dither to any blit operation where the
688 * @param dither true to set the dithering bit in flags, false to clear it
690 public void setDither(boolean dither) { argument
691 nSetDither(mNativePaint, dither);
694 private 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

Completed in 240 milliseconds