Home
last modified time | relevance | path

Searched refs:dither (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/libs/hwui/
DDither.cpp45 float dither = 1.0f / (255.0f * DITHER_KERNEL_SIZE * DITHER_KERNEL_SIZE); in bindDitherTexture() local
47 0 * dither, 8 * dither, 2 * dither, 10 * dither, in bindDitherTexture()
48 12 * dither, 4 * dither, 14 * dither, 6 * dither, in bindDitherTexture()
49 3 * dither, 11 * dither, 1 * dither, 9 * dither, in bindDitherTexture()
50 15 * dither, 7 * dither, 13 * dither, 5 * dither in bindDitherTexture()
DCaches.h290 Dither dither; variable
DSkiaShader.cpp242 Caches::getInstance().dither.setupProgram(program, textureUnit); in setupProgram()
362 Caches::getInstance().dither.setupProgram(program, textureUnit); in setupProgram()
DCaches.cpp308 dither.clear(); in flush()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_program_store.java114 boolean dither) { in checkObject() argument
123 _RS_ASSERT("ps.isDitherEnabled() == dither", ps.isDitherEnabled() == dither); in checkObject()
139 for (int dither = 0; dither <= 1; dither++) { in varyBuilderColorAndDither()
140 boolean isDither = (dither == 1); in varyBuilderColorAndDither()
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java264 public void setDither(boolean dither) { in setDither() argument
265 if (mPaint == null && dither == DEFAULT_DITHER) { in setDither()
269 getPaint().setDither(dither); in setDither()
292 final boolean dither = a.getBoolean( in inflate()
296 if (dither) { in inflate()
326 padding, opticalInsets, dither), r); in inflate()
413 NinePatchState(NinePatch ninePatch, Rect rect, Rect opticalInsets, boolean dither) { in NinePatchState() argument
417 mDither = dither; in NinePatchState()
DShapeDrawable.java281 public void setDither(boolean dither) { in setDither() argument
282 mShapeState.mPaint.setDither(dither); in setDither()
329 boolean dither = a.getBoolean(com.android.internal.R.styleable.ShapeDrawable_dither, false); in inflate()
330 mShapeState.mPaint.setDither(dither); in inflate()
DPictureDrawable.java98 public void setDither(boolean dither) {} in setDither() argument
DDrawableContainer.java117 public void setDither(boolean dither) { in setDither() argument
118 if (mDrawableContainerState.mDither != dither) { in setDither()
119 mDrawableContainerState.mDither = dither; in setDither()
DGradientDrawable.java642 public void setDither(boolean dither) {
643 if (dither != mDither) {
644 mDither = dither;
814 boolean dither = a.getBoolean(
837 setDither(dither);
DBitmapDrawable.java324 public void setDither(boolean dither) { in setDither() argument
325 mBitmapState.mPaint.setDither(dither); in setDither()
DLayerDrawable.java389 public void setDither(boolean dither) { in setDither() argument
393 array[i].mDrawable.setDither(dither); in setDither()
DDrawable.java249 public void setDither(boolean dither) {} in setDither() argument
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselRS.java445 final boolean dither = true; in initProgramStore()
452 .setDitherEnabled(dither) in initProgramStore()
461 .setDitherEnabled(dither) in initProgramStore()
470 .setDitherEnabled(dither) in initProgramStore()
571 final boolean dither = true; in setStoreConfigs()
581 .setDitherEnabled(dither) in setStoreConfigs()
/frameworks/support/v4/java/android/support/v4/app/
DActionBarDrawerToggle.java426 public void setDither(boolean dither) { in setDither() argument
427 mWrapped.setDither(dither); in setDither()
/frameworks/rs/scriptc/
Drs_program.rsh92 * Get program store dither state
/frameworks/base/graphics/java/android/renderscript/
DRenderScript.java729 boolean depthMask, boolean dither, in rsnProgramStoreCreate() argument
732 boolean depthMask, boolean dither, in nProgramStoreCreate() argument
735 return rsnProgramStoreCreate(mContext, r, g, b, a, depthMask, dither, srcMode, in nProgramStoreCreate()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java326 /*package*/ static void setDither(Paint thisPaint, boolean dither) { in setDither() argument
327 setFlag(thisPaint, Paint.DITHER_FLAG, dither); in setDither()
/frameworks/base/core/java/android/app/
DWallpaperManager.java170 public void setDither(boolean dither) { in setDither() argument
/frameworks/base/core/jni/android/graphics/
DPaint.cpp150 static void setDither(JNIEnv* env, jobject paint, jboolean dither) { in setDither() argument
152 GraphicsJNI::getNativePaint(env, paint)->setDither(dither); in setDither()
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd172 android:dither=["true" | "false"]
201 <dt><code>android:dither</code></dt>
398 android:dither=["true" | "false"] /&gt;
418 <dt><code>android:dither</code></dt>
435 android:dither="false" /&gt;
645 android:dither=["true" | "false"]
679 <dt><code>android:dither</code></dt>
/frameworks/base/docs/html/guide/appendix/
Dmedia-formats.jd134 no dither applied for 24-bit.
/frameworks/base/graphics/java/android/graphics/
DPaint.java549 public native void setDither(boolean dither); in setDither() argument
/frameworks/base/docs/html/guide/topics/graphics/
D2d-graphics.jd409 alpha transparency, color filter, dither, opacity and color.</p>
/frameworks/base/api/
Dcurrent.txt415 field public static final int dither = 16843036; // 0x101011c