/frameworks/base/libs/hwui/ |
H A D | Dither.cpp | 48 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 D | Caches.h | 341 Dither dither; member in class:android::uirenderer::Caches
|
H A D | SkiaShader.cpp | 246 Caches::getInstance().dither.setupProgram(program, textureUnit); 366 mCaches->dither.setupProgram(program, textureUnit);
|
H A D | Caches.cpp | 364 dither.clear();
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UT_program_store.java | 114 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 D | NinePatchDrawable.java | 293 public void setDither(boolean dither) { argument 295 if (mPaint == null && dither == DEFAULT_DITHER) { 296 // Fast common case -- leave at default dither. 299 getPaint().setDither(dither); 336 final boolean dither = a.getBoolean( 339 if (dither) { 371 padding, opticalInsets, dither, automirrored), r); 459 NinePatchState(NinePatch ninePatch, Rect rect, Rect opticalInsets, boolean dither, argument 464 mDither = dither;
|
H A D | PictureDrawable.java | 98 public void setDither(boolean dither) {} argument
|
H A D | ShapeDrawable.java | 286 public void setDither(boolean dither) { argument 287 mShapeState.mPaint.setDither(dither); 334 boolean dither = a.getBoolean(com.android.internal.R.styleable.ShapeDrawable_dither, false); 335 mShapeState.mPaint.setDither(dither);
|
H A D | GradientDrawable.java | 476 /* if we're not using a layer, apply the dither/filter to our 648 public void setDither(boolean dither) { argument 649 if (dither != mDither) { 650 mDither = dither; 817 boolean dither = a.getBoolean( 840 setDither(dither);
|
H A D | DrawableContainer.java | 39 * To be proper, we should have a getter for dither (and alpha, etc.) 45 * The initial setting for dither is now true, since it almost always seems 139 public void setDither(boolean dither) { argument 140 if (mDrawableContainerState.mDither != dither) { 141 mDrawableContainerState.mDither = dither;
|
H A D | BitmapDrawable.java | 330 public void setDither(boolean dither) { argument 331 mBitmapState.mPaint.setDither(dither);
|
H A D | LayerDrawable.java | 393 public void setDither(boolean dither) { argument 397 array[i].mDrawable.setDither(dither);
|
H A D | Drawable.java | 246 * Set to true to have the drawable dither its colors when drawn to a device 250 public void setDither(boolean dither) {} argument
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | CarouselRS.java | 445 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 D | RenderScript.java | 751 boolean depthMask, boolean dither, 754 boolean depthMask, boolean dither, 757 return rsnProgramStoreCreate(mContext, r, g, b, a, depthMask, dither, srcMode, 750 rsnProgramStoreCreate(int con, boolean r, boolean g, boolean b, boolean a, boolean depthMask, boolean dither, int srcMode, int dstMode, int depthFunc) argument 753 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 D | Paint_Delegate.java | 325 /*package*/ static void setDither(Paint thisPaint, boolean dither) { argument 326 setFlag(thisPaint, Paint.DITHER_FLAG, dither);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 154 static void setDither(JNIEnv* env, jobject paint, jboolean dither) { argument 156 GraphicsJNI::getNativePaint(env, paint)->setDither(dither);
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 187 public void setDither(boolean dither) { argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 120 * <p>Enabling this flag applies a dither to any blit operation where the 649 * @param dither true to set the dithering bit in flags, false to clear it 651 public native void setDither(boolean dither); argument
|