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

/frameworks/base/libs/hwui/
H A DDither.cpp48 float dither = 1.0f / (255.0f * DITHER_KERNEL_SIZE * DITHER_KERNEL_SIZE); local
50 0 * dither, 8 * dither, 2 * dither, 10 * dither,
51 12 * dither, 4 * dither, 14 * dither, 6 * dither,
52 3 * dither, 1
[all...]
H A DCaches.h349 Dither dither; member in class:android::uirenderer::Caches
H A DSkiaShader.cpp410 caches->dither.setupProgram(program, textureUnit);
H A DCaches.cpp365 dither.clear();
/frameworks/base/graphics/java/android/graphics/drawable/
H A DPictureDrawable.java94 public void setDither(boolean dither) {} argument
H A DShapeDrawable.java326 public void setDither(boolean dither) { argument
327 mShapeState.mPaint.setDither(dither);
439 boolean dither = paint.isDither();
440 dither = a.getBoolean(R.styleable.ShapeDrawable_dither, dither);
441 paint.setDither(dither);
H A DNinePatchDrawable.java364 public void setDither(boolean dither) { argument
366 if (mPaint == null && dither == DEFAULT_DITHER) {
367 // Fast common case -- leave at default dither.
371 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.java44 * To be proper, we should have a getter for dither (and alpha, etc.)
50 * The initial setting for dither is now true, since it almost always seems
156 public void setDither(boolean dither) { argument
157 if (mDrawableContainerState.mDither != dither) {
158 mDrawableContainerState.mDither = dither;
H A DGradientDrawable.java559 /* if we're not using a layer, apply the dither/filter to our
806 public void setDither(boolean dither) { argument
807 if (dither != mGradientState.mDither) {
808 mGradientState.mDither = dither;
H A DBitmapDrawable.java354 public void setDither(boolean dither) { argument
355 mBitmapState.mPaint.setDither(dither);
H A DLayerDrawable.java662 public void setDither(boolean dither) { argument
666 array[i].mDrawable.setDither(dither);
H A DDrawable.java269 * Set to true to have the drawable dither its colors when drawn to a device
273 public void setDither(boolean dither) {} argument
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawable.java208 public void setDither(boolean dither) { argument
209 mPaint.setDither(dither);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DDrawableWrapper.java67 public void setDither(boolean dither) { argument
68 mDrawable.setDither(dither);
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java785 boolean depthMask, boolean dither,
788 boolean depthMask, boolean dither,
791 return rsnProgramStoreCreate(mContext, r, g, b, a, depthMask, dither, srcMode,
784 rsnProgramStoreCreate(long con, boolean r, boolean g, boolean b, boolean a, boolean depthMask, boolean dither, int srcMode, int dstMode, int depthFunc) argument
787 nProgramStoreCreate(boolean r, boolean g, boolean b, boolean a, boolean depthMask, boolean dither, int srcMode, int dstMode, int depthFunc) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java328 /*package*/ static void setDither(Paint thisPaint, boolean dither) { argument
329 setFlag(thisPaint, Paint.DITHER_FLAG, dither);
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java195 public void setDither(boolean dither) { argument
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp181 static void setDither(JNIEnv* env, jobject paint, jboolean dither) { argument
183 GraphicsJNI::getNativePaint(env, paint)->setDither(dither);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java104 * <p>Enabling this flag applies a dither to any blit operation where the
626 * @param dither true to set the dithering bit in flags, false to clear it
628 public native void setDither(boolean dither); argument

Completed in 407 milliseconds