Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DDither.cpp48 float dither = 1.0f / (255.0f * DITHER_KERNEL_SIZE * DITHER_KERNEL_SIZE); in bindDitherTexture() local
50 0 * dither, 8 * dither, 2 * dither, 10 * dither, in bindDitherTexture()
51 12 * dither, 4 * dither, 14 * dither, 6 * dither, in bindDitherTexture()
52 3 * dither, 11 * dither, 1 * dither, 9 * dither, in bindDitherTexture()
53 15 * dither, 7 * dither, 13 * dither, 5 * dither in bindDitherTexture()
DCaches.h341 Dither dither; variable
DSkiaShader.cpp246 Caches::getInstance().dither.setupProgram(program, textureUnit); in setupProgram()
366 mCaches->dither.setupProgram(program, textureUnit); in setupProgram()
DCaches.cpp364 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.java293 public void setDither(boolean dither) { in setDither() argument
295 if (mPaint == null && dither == DEFAULT_DITHER) { in setDither()
299 getPaint().setDither(dither); in setDither()
336 final boolean dither = a.getBoolean( in inflate()
339 if (dither) { in inflate()
371 padding, opticalInsets, dither, automirrored), r); in inflate()
459 NinePatchState(NinePatch ninePatch, Rect rect, Rect opticalInsets, boolean dither, in NinePatchState() argument
464 mDither = dither; in NinePatchState()
DShapeDrawable.java286 public void setDither(boolean dither) { in setDither() argument
287 mShapeState.mPaint.setDither(dither); in setDither()
334 boolean dither = a.getBoolean(com.android.internal.R.styleable.ShapeDrawable_dither, false); in inflate()
335 mShapeState.mPaint.setDither(dither); in inflate()
DPictureDrawable.java98 public void setDither(boolean dither) {} in setDither() argument
DDrawableContainer.java139 public void setDither(boolean dither) { in setDither() argument
140 if (mDrawableContainerState.mDither != dither) { in setDither()
141 mDrawableContainerState.mDither = dither; in setDither()
DGradientDrawable.java648 public void setDither(boolean dither) {
649 if (dither != mDither) {
650 mDither = dither;
817 boolean dither = a.getBoolean(
840 setDither(dither);
DBitmapDrawable.java330 public void setDither(boolean dither) { in setDither() argument
331 mBitmapState.mPaint.setDither(dither); in setDither()
DLayerDrawable.java393 public void setDither(boolean dither) { in setDither() argument
397 array[i].mDrawable.setDither(dither); in setDither()
DDrawable.java250 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/rs/scriptc/
Drs_program.rsh92 * Get program store dither state
/frameworks/base/graphics/java/android/renderscript/
DRenderScript.java779 boolean depthMask, boolean dither, in rsnProgramStoreCreate() argument
782 boolean depthMask, boolean dither, in nProgramStoreCreate() argument
785 return rsnProgramStoreCreate(mContext, r, g, b, a, depthMask, dither, srcMode, in nProgramStoreCreate()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java325 /*package*/ static void setDither(Paint thisPaint, boolean dither) { in setDither() argument
326 setFlag(thisPaint, Paint.DITHER_FLAG, dither); in setDither()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp155 static void setDither(JNIEnv* env, jobject paint, jboolean dither) { in setDither() argument
157 GraphicsJNI::getNativePaint(env, paint)->setDither(dither); in setDither()
/frameworks/base/core/java/android/app/
DWallpaperManager.java185 public void setDither(boolean dither) { in setDither() argument
/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.java651 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.txt432 field public static final int dither = 16843036; // 0x101011c