Home
last modified time | relevance | path

Searched refs:dither (Results 1 – 25 of 25) 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.h348 Dither dither; variable
DSkiaShader.cpp410 caches->dither.setupProgram(program, textureUnit); in setupProgram()
DCaches.cpp355 dither.clear(); in flush()
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java326 public void setDither(boolean dither) { in setDither() argument
327 mShapeState.mPaint.setDither(dither); in setDither()
439 boolean dither = paint.isDither(); in updateStateFromTypedArray()
440 dither = a.getBoolean(R.styleable.ShapeDrawable_dither, dither); in updateStateFromTypedArray()
441 paint.setDither(dither); in updateStateFromTypedArray()
DNinePatchDrawable.java365 public void setDither(boolean dither) { in setDither() argument
367 if (mPaint == null && dither == DEFAULT_DITHER) { in setDither()
372 getPaint().setDither(dither); in setDither()
621 @Nullable Rect opticalInsets, boolean dither, boolean autoMirror) { in NinePatchState() argument
625 mDither = dither; in NinePatchState()
DPictureDrawable.java94 public void setDither(boolean dither) {} in setDither() argument
DDrawableContainer.java160 public void setDither(boolean dither) { in setDither() argument
161 if (mDrawableContainerState.mDither != dither) { in setDither()
162 mDrawableContainerState.mDither = dither; in setDither()
DBitmapDrawable.java355 public void setDither(boolean dither) { in setDither() argument
356 mBitmapState.mPaint.setDither(dither); in setDither()
DGradientDrawable.java817 public void setDither(boolean dither) {
818 if (dither != mGradientState.mDither) {
819 mGradientState.mDither = dither;
DLayerDrawable.java642 public void setDither(boolean dither) { in setDither() argument
646 array[i].mDrawable.setDither(dither); in setDither()
DDrawable.java274 public void setDither(boolean dither) {} in setDither() argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DDrawableWrapper.java66 public void setDither(boolean dither) { in setDither() argument
67 mDrawable.setDither(dither); in setDither()
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java208 public void setDither(boolean dither) { in setDither() argument
209 mPaint.setDither(dither); in setDither()
/frameworks/rs/scriptc/
Drs_program.rsh92 * Get program store dither state
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java785 boolean depthMask, boolean dither, in rsnProgramStoreCreate() argument
788 boolean depthMask, boolean dither, in nProgramStoreCreate() argument
791 return rsnProgramStoreCreate(mContext, r, g, b, a, depthMask, dither, srcMode, in nProgramStoreCreate()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java328 /*package*/ static void setDither(Paint thisPaint, boolean dither) { in setDither() argument
329 setFlag(thisPaint, Paint.DITHER_FLAG, dither); in setDither()
/frameworks/base/core/java/android/app/
DWallpaperManager.java195 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/core/jni/android/graphics/
DPaint.cpp181 static void setDither(JNIEnv* env, jobject paint, jboolean dither) { in setDither() argument
183 GraphicsJNI::getNativePaint(env, paint)->setDither(dither); in setDither()
/frameworks/base/docs/html/guide/appendix/
Dmedia-formats.jd134 no dither applied for 24-bit.
/frameworks/base/graphics/java/android/graphics/
DPaint.java628 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/
Dsystem-current.txt559 field public static final int dither = 16843036; // 0x101011c
Dcurrent.txt489 field public static final int dither = 16843036; // 0x101011c