/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | FramebufferBlendActivity.java | 28 import android.graphics.PorterDuff; 71 drawBlendedBitmap(canvas, PorterDuff.Mode.DARKEN); in onDraw() 72 drawBlendedBitmap(canvas, PorterDuff.Mode.LIGHTEN); in onDraw() 73 drawBlendedBitmap(canvas, PorterDuff.Mode.MULTIPLY); in onDraw() 80 drawBlendedBitmap(canvas, PorterDuff.Mode.SCREEN); in onDraw() 81 drawBlendedBitmap(canvas, PorterDuff.Mode.ADD); in onDraw() 82 drawBlendedBitmapInverse(canvas, PorterDuff.Mode.OVERLAY); in onDraw() 87 private void drawBlendedBitmap(Canvas canvas, PorterDuff.Mode mode) { in drawBlendedBitmap() 99 private void drawBlendedBitmapInverse(Canvas canvas, PorterDuff.Mode mode) { in drawBlendedBitmapInverse()
|
D | AdvancedBlendActivity.java | 30 import android.graphics.PorterDuff; 85 PorterDuff.Mode.DARKEN); in ShadersView() 87 PorterDuff.Mode.LIGHTEN); in ShadersView() 89 PorterDuff.Mode.MULTIPLY); in ShadersView() 91 PorterDuff.Mode.SCREEN); in ShadersView() 93 PorterDuff.Mode.ADD); in ShadersView() 95 PorterDuff.Mode.OVERLAY); in ShadersView()
|
D | LayersActivity.java | 23 import android.graphics.PorterDuff; 81 mLayerPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_OUT)); in onDraw() 98 mLayerPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.DST_ATOP)); in onDraw()
|
D | XfermodeActivity.java | 23 import android.graphics.PorterDuff; 28 import static android.graphics.PorterDuff.Mode; 127 private void drawRects(Canvas canvas, PorterDuff.Mode mode) { in drawRects()
|
D | OpaqueActivity.java | 22 import android.graphics.PorterDuff; 54 canvas.drawColor(0xffff0000, PorterDuff.Mode.SRC); in onDraw()
|
D | ViewLayersActivity.java | 24 import android.graphics.PorterDuff; 72 p.setColorFilter(new PorterDuffColorFilter(0xffff0000, PorterDuff.Mode.MULTIPLY)); in onCreate() 78 p3.setColorFilter(new PorterDuffColorFilter(0xff00ff00, PorterDuff.Mode.MULTIPLY)); in onCreate()
|
D | MoreShadersActivity.java | 32 import android.graphics.PorterDuff; 89 PorterDuff.Mode.SRC_OVER); in ShadersView() 91 PorterDuff.Mode.SRC_OUT); in ShadersView()
|
D | ClearActivity.java | 26 import android.graphics.PorterDuff; 51 mClearPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.CLEAR)); in PathsView()
|
D | CanvasTextureViewActivity.java | 22 import android.graphics.PorterDuff; 92 canvas.drawColor(0x00000000, PorterDuff.Mode.CLEAR); in run()
|
D | ViewLayersActivity5.java | 23 import android.graphics.PorterDuff; 54 p.setColorFilter(new PorterDuffColorFilter(0xff00ff00, PorterDuff.Mode.MULTIPLY)); in setupList()
|
D | ColorFiltersActivity.java | 28 import android.graphics.PorterDuff; 65 PorterDuff.Mode.SRC_OVER)); in BitmapsView()
|
D | ViewLayersActivity6.java | 23 import android.graphics.PorterDuff; 43 mPaint.setColorFilter(new PorterDuffColorFilter(0xff00ff00, PorterDuff.Mode.MULTIPLY)); in onCreate()
|
D | TextGammaActivity.java | 24 import android.graphics.PorterDuff; 52 c.drawColor(0, PorterDuff.Mode.CLEAR); in onCreate()
|
D | BitmapsActivity.java | 25 import android.graphics.PorterDuff; 75 mDstIn = new PorterDuffXfermode(PorterDuff.Mode.DST_IN); in BitmapsView()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | PorterDuffXfermode_Delegate.java | 50 public PorterDuff.Mode getMode() { in getMode() 70 public static PorterDuff.Mode getPorterDuffMode(int mode) { in getPorterDuffMode() 71 for (PorterDuff.Mode m : PorterDuff.Mode.values()) { in getPorterDuffMode() 80 return PorterDuff.Mode.SRC_OVER; in getPorterDuffMode() 83 public static Composite getComposite(PorterDuff.Mode mode, int alpha) { in getComposite()
|
D | Canvas_Delegate.java | 595 PorterDuff.Mode.SRC_OVER.nativeInt); in native_drawRGB() 602 PorterDuff.Mode.SRC_OVER.nativeInt); in native_drawARGB() 607 native_drawColor(nativeCanvas, color, PorterDuff.Mode.SRC_OVER.nativeInt); in native_drawColor() 1326 PorterDuff.Mode mode = in getImageToDraw() 1329 forceSrcMode[0] = mode == PorterDuff.Mode.SRC_OVER || in getImageToDraw() 1330 mode == PorterDuff.Mode.SRC; in getImageToDraw()
|
/frameworks/base/graphics/java/android/graphics/ |
D | PorterDuffXfermode.java | 23 public final PorterDuff.Mode mode; 30 public PorterDuffXfermode(PorterDuff.Mode mode) { in PorterDuffXfermode()
|
D | ComposeShader.java | 45 PorterDuff.Mode pdMode = ((PorterDuffXfermode) mode).mode; in ComposeShader() 61 public ComposeShader(Shader shaderA, Shader shaderB, PorterDuff.Mode mode) { in ComposeShader()
|
D | PorterDuffColorFilter.java | 27 public PorterDuffColorFilter(int srcColor, PorterDuff.Mode mode) { in PorterDuffColorFilter()
|
D | PorterDuff.java | 19 public class PorterDuff { class
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | KeyguardViewBase.java | 24 import android.graphics.PorterDuff; 54 canvas.drawColor(BACKGROUND_COLOR, PorterDuff.Mode.SRC);
|
D | IconUtilities.java | 31 import android.graphics.PorterDuff; 178 dest.drawColor(0, PorterDuff.Mode.CLEAR); in createSelectedBitmap()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | Watermark.java | 22 import android.graphics.PorterDuff; 146 c.drawColor(0, PorterDuff.Mode.CLEAR); in drawIfNeeded()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperManager.java | 28 import android.graphics.PorterDuff; 120 mPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC)); in FastBitmapDrawable() 744 paint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC)); in generateBitmap()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceView.java | 27 import android.graphics.PorterDuff; 357 canvas.drawColor(0, PorterDuff.Mode.CLEAR); in draw() 369 canvas.drawColor(0, PorterDuff.Mode.CLEAR); in dispatchDraw()
|