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

/frameworks/base/graphics/java/android/graphics/drawable/
H A DPictureDrawable.java98 public void setDither(boolean dither) {} argument
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 DBitmapDrawable.java277 public void setDither(boolean dither) { argument
278 mBitmapState.mPaint.setDither(dither);
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 DDrawable.java239 * Set to true to have the drawable dither its colors when drawn to a device
243 public void setDither(boolean dither) {} argument
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 DLayerDrawable.java389 public void setDither(boolean dither) { argument
393 array[i].mDrawable.setDither(dither);
H A DGradientDrawable.java474 /* if we're not using a layer, apply the dither/filter to our
635 public void setDither(boolean dither) { argument
636 if (dither != mDither) {
637 mDither = dither;
798 boolean dither = a.getBoolean(
821 setDither(dither);
/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/core/java/android/app/
H A DWallpaperManager.java168 public void setDither(boolean dither) { argument
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp148 static void setDither(JNIEnv* env, jobject paint, jboolean dither) { argument
150 GraphicsJNI::getNativePaint(env, paint)->setDither(dither);
/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/graphics/java/android/graphics/
H A DPaint.java529 * @param dither true to set the dithering bit in flags, false to clear it
531 public native void setDither(boolean dither); argument
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java573 boolean depthMask, boolean dither,
576 boolean depthMask, boolean dither,
579 return rsnProgramStoreCreate(mContext, r, g, b, a, depthMask, dither, srcMode,
572 rsnProgramStoreCreate(int con, boolean r, boolean g, boolean b, boolean a, boolean depthMask, boolean dither, int srcMode, int dstMode, int depthFunc) argument
575 nProgramStoreCreate(boolean r, boolean g, boolean b, boolean a, boolean depthMask, boolean dither, int srcMode, int dstMode, int depthFunc) argument

Completed in 1600 milliseconds