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.h341 Dither dither; member in class:android::uirenderer::Caches
H A DSkiaShader.cpp246 Caches::getInstance().dither.setupProgram(program, textureUnit);
366 mCaches->dither.setupProgram(program, textureUnit);
H A DCaches.cpp364 dither.clear();
/frameworks/rs/java/tests/RsTest/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.java293 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 DPictureDrawable.java98 public void setDither(boolean dither) {} argument
H A DShapeDrawable.java286 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 DGradientDrawable.java476 /* 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 DDrawableContainer.java39 * 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 DBitmapDrawable.java330 public void setDither(boolean dither) { argument
331 mBitmapState.mPaint.setDither(dither);
H A DLayerDrawable.java393 public void setDither(boolean dither) { argument
397 array[i].mDrawable.setDither(dither);
H A DDrawable.java246 * 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 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.java751 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 DPaint_Delegate.java325 /*package*/ static void setDither(Paint thisPaint, boolean dither) { argument
326 setFlag(thisPaint, Paint.DITHER_FLAG, dither);
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp154 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 DWallpaperManager.java187 public void setDither(boolean dither) { argument
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java120 * <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

Completed in 343 milliseconds