/external/skia/include/core/ |
SkComposeShader.h | 28 a xfermode. 32 /** Create a new compose shader, given shaders A, B, and a combining xfermode mode. 33 When the xfermode is called, it will be given the result from shader A as its 36 @param shaderA The colors from this shader are seen as the "dst" by the xfermode 37 @param shaderB The colors from this shader are seen as the "src" by the xfermode 38 @param mode The xfermode that combines the colors from the two shaders. If mode
|
SkXfermode.h | 29 then objects drawn with that paint have the xfermode applied. 61 /** If the xfermode can be expressed as an equation using the coefficients 79 * The same as calling xfermode->asCoeff(..), except that this also checks 80 * if the xfermode is NULL, and if so, treats its as kSrcOver_Mode. 90 If no xfermode is specified, kSrcOver is assumed. 129 * If the xfermode is one of the modes in the Mode enum, then asMode() 136 * The same as calling xfermode->asMode(mode), except that this also checks 137 * if the xfermode is NULL, and if so, treats its as kSrcOver_Mode. 194 SkProcXfermode is a xfermode that applies the specified proc to its colors.
|
SkPaint.h | 494 /** Get the paint's xfermode object. 496 The xfermode's reference count is not affected. 497 @return the paint's xfermode (or NULL) 501 /** Set or clear the xfermode object. 503 Pass NULL to clear any previous xfermode. 505 If a previous xfermode exists, its reference count is decremented. 506 If xfermode is not NULL, its reference count is incremented. 507 @param xfermode May be NULL. The new xfermode to be installed in the 509 @return xfermode [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Xfermode.java | 25 * Xfermode is the base class for objects that are called to implement custom 28 * specified in the Modes enum. When an Xfermode is assigned to an Paint, then 29 * objects drawn with that paint have the xfermode applied. 31 public class Xfermode {
|
PorterDuffXfermode.java | 19 public class PorterDuffXfermode extends Xfermode { 26 * Create an xfermode that uses the specified porter-duff mode.
|
AvoidXfermode.java | 20 * AvoidXfermode xfermode will draw the src everywhere except on top of the 23 public class AvoidXfermode extends Xfermode { 36 /** This xfermode draws, or doesn't draw, based on the destination's
|
PixelXorXfermode.java | 25 public class PixelXorXfermode extends Xfermode {
|
ComposeShader.java | 20 an {@link android.graphics.Xfermode} subclass. 39 public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode) {
|
Paint.java | 41 private Xfermode mXfermode; 852 * Get the paint's xfermode object. 854 * @return the paint's xfermode (or null) 856 public Xfermode getXfermode() { 861 * Set or clear the xfermode object. 863 * Pass null to clear any previous xfermode. 866 * @param xfermode May be null. The xfermode to be installed in the paint 867 * @return xfermode 869 public Xfermode setXfermode(Xfermode xfermode) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Xfermode_Delegate.java | 25 * Delegate implementing the native methods of android.graphics.Xfermode 27 * Through the layoutlib_create tool, the original native methods of Xfermode have been replaced 32 * it and the original Xfermode class. 34 * This also serve as a base class for all Xfermode delegate classes.
|
/external/skia/src/core/ |
SkSpriteBlitter_ARGB32.cpp | 141 SkXfermode* xfermode = fXfermode; local 151 if (NULL != xfermode) { 152 xfermode->xfer32(dst, tmp, width, NULL); 189 SkXfermode* xfermode = fXfermode; local 197 if (NULL != xfermode) { 198 xfermode->xfer32(dst, buffer, width, NULL); 284 SkXfermode* xfermode = paint.getXfermode(); local 293 if (xfermode || filter) { 305 if (xfermode || filter) { 307 // this can handle xfermode or filter, but not alph [all...] |
SkPictureFlat.cpp | 144 const SkXfermode* xfermode = (const SkXfermode*) buffer.readFlattenable(); local 145 if (xfermode != defaultPaint.getXfermode()) 147 "xfermode:%p ", xfermode); 148 SkDELETE(xfermode);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
ComposeShaderTest.java | 32 import android.graphics.Xfermode; 85 args = {Shader.class, Shader.class, Xfermode.class} 96 PixelXorXfermode xferMode = new PixelXorXfermode(Color.WHITE); 98 ComposeShader shader = new ComposeShader(blueShader, redShader, xferMode);
|
/external/skia/include/effects/ |
SkAvoidXfermode.h | 24 This xfermode will draw the src everywhere except on top of the specified 34 /** This xfermode draws, or doesn't draw, based on the destination's
|
SkPorterDuff.h | 35 If no xfermode is specified, kSrcOver is assumed. 78 /** If the specified xfermode advertises itself as one of the porterduff
|
/external/skia/src/pdf/ |
SkPDFGraphicState.cpp | 237 SkXfermode::Mode xfermode = SkXfermode::kSrcOver_Mode; local 240 fPaint.getXfermode()->asMode(&xfermode); 242 if (xfermode < 0 || xfermode > SkXfermode::kLastMode || 243 blend_mode_from_xfermode(xfermode) == NULL) { 244 xfermode = SkXfermode::kSrcOver_Mode; 245 NOT_IMPLEMENTED("unsupported xfermode", false); 248 new SkPDFName(blend_mode_from_xfermode(xfermode)))->unref();
|
SkPDFDevice.cpp | 1195 SkXfermode::Mode xfermode = SkXfermode::kSrcOver_Mode; local [all...] |
/external/skia/tests/ |
XfermodeTest.cpp | 43 DEFINE_TESTCLASS("Xfermode", XfermodeTestClass, test_asMode)
|
/external/skia/src/animator/ |
SkDrawPaint.cpp | 70 SK_MEMBER(xfermode, Xfermode) 84 underline(-1), xfermode((SkXfermode::Mode) -1), fOwnsColor(false), fOwnsMaskFilter(false), 275 if (xfermode != (SkXfermode::Mode) -1) 276 paint->setXfermodeMode((SkXfermode::Mode) xfermode);
|
SkDrawPaint.h | 74 int /*SkXfermode::Modes*/ xfermode; member in class:SkDrawPaint
|
/frameworks/base/core/jni/android/graphics/ |
Xfermode.cpp | 70 REG(env, "android/graphics/Xfermode", gXfermodeMethods);
|
/external/skia/include/ports/ |
SkHarfBuzzFont.h | 52 Color information (e.g. color, xfermode, shader, etc.) are not required.
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Xfermodes.java | 30 import android.graphics.Xfermode; 73 private static final Xfermode[] sModes = {
|
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
LayoutLog.java | 117 * Fidelity Tag used when a xfermode type is used but is not supported. 119 public final static String TAG_XFERMODE = "xfermode";
|
/frameworks/base/libs/hwui/ |
OpenGLRenderer.h | 287 * @param mode The Skia xfermode to use 440 * Gets the alpha and xfermode out of a paint object. If the paint is null 441 * alpha will be 255 and the xfermode will be SRC_OVER. 445 * @param mode Where to store the resulting xfermode 467 * blend function based on the specified xfermode. 473 * Safely retrieves the mode from the specified xfermode. If the specified 474 * xfermode is null, the mode is assumed to be SkXfermode::kSrcOver_Mode.
|