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

/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_program_store.java114 boolean dither) {
123 _RS_ASSERT("ps.isDitherEnabled() == dither", ps.isDitherEnabled() == dither);
139 for (int dither = 0; dither <= 1; dither++) {
140 boolean isDither = (dither == 1);
105 checkObject(ProgramStore ps, boolean depthMask, DepthFunc df, BlendSrcFunc bsf, BlendDstFunc bdf, boolean R, boolean G, boolean B, boolean A, boolean dither) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java264 public void setDither(boolean dither) { argument
265 if (mPaint == null && dither == DEFAULT_DITHER) {
266 // Fast common case -- leave at default dither.
269 getPaint().setDither(dither);
292 final boolean dither = a.getBoolean(
296 if (dither) {
326 padding, layoutInsets, dither), r);
413 NinePatchState(NinePatch ninePatch, Rect rect, Rect layoutInsets, boolean dither) { argument
417 mDither = dither;
H A DPictureDrawable.java98 public void setDither(boolean dither) {} argument
H A DShapeDrawable.java278 public void setDither(boolean dither) { argument
279 mShapeState.mPaint.setDither(dither);
326 boolean dither = a.getBoolean(com.android.internal.R.styleable.ShapeDrawable_dither, false);
327 mShapeState.mPaint.setDither(dither);
H A DGradientDrawable.java475 /* if we're not using a layer, apply the dither/filter to our
642 public void setDither(boolean dither) { argument
643 if (dither != mDither) {
644 mDither = dither;
814 boolean dither = a.getBoolean(
837 setDither(dither);
H A DDrawableContainer.java37 * To be proper, we should have a getter for dither (and alpha, etc.)
43 * The initial setting for dither is now true, since it almost always seems
117 public void setDither(boolean dither) { argument
118 if (mDrawableContainerState.mDither != dither) {
119 mDrawableContainerState.mDither = dither;
H A DBitmapDrawable.java277 public void setDither(boolean dither) { argument
278 mBitmapState.mPaint.setDither(dither);
H A DLayerDrawable.java389 public void setDither(boolean dither) { argument
393 array[i].mDrawable.setDither(dither);
H A DDrawable.java240 * Set to true to have the drawable dither its colors when drawn to a device
244 public void setDither(boolean dither) {} argument
/frameworks/base/libs/hwui/
H A DCaches.h267 Dither dither; member in class:android::uirenderer::Caches
H A DSkiaShader.cpp242 Caches::getInstance().dither.setupProgram(program, textureUnit);
362 Caches::getInstance().dither.setupProgram(program, textureUnit);
H A DCaches.cpp278 dither.clear();
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselRS.java445 final boolean dither = true;
452 .setDitherEnabled(dither)
461 .setDitherEnabled(dither)
470 .setDitherEnabled(dither)
571 final boolean dither = true;
581 .setDitherEnabled(dither)
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java615 boolean depthMask, boolean dither,
618 boolean depthMask, boolean dither,
621 return rsnProgramStoreCreate(mContext, r, g, b, a, depthMask, dither, srcMode,
614 rsnProgramStoreCreate(int con, boolean r, boolean g, boolean b, boolean a, boolean depthMask, boolean dither, int srcMode, int dstMode, int depthFunc) argument
617 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.java326 /*package*/ static void setDither(Paint thisPaint, boolean dither) { argument
327 setFlag(thisPaint, Paint.DITHER_FLAG, dither);
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java170 public void setDither(boolean dither) { argument
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp150 static void setDither(JNIEnv* env, jobject paint, jboolean dither) { argument
152 GraphicsJNI::getNativePaint(env, paint)->setDither(dither);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java547 * @param dither true to set the dithering bit in flags, false to clear it
549 public native void setDither(boolean dither); argument

Completed in 215 milliseconds