Searched refs:porterDuffMode (Results 1 – 11 of 11) sorted by relevance
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | PorterDuffUtility.java | 46 public static Mode getPorterDuffMode(int porterDuffMode) { in getPorterDuffMode() argument 47 if (porterDuffMode >= 0 && porterDuffMode < MODES_COUNT) { in getPorterDuffMode() 48 return PorterDuff.intToMode(porterDuffMode); in getPorterDuffMode() 51 String.format("Unknown PorterDuff.Mode: %1$d", porterDuffMode), null, null); in getPorterDuffMode()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ComposeShader.java | 45 this(shaderA, shaderB, mode.porterDuffMode); in ComposeShader() 74 this(shaderA, shaderB, blendMode.getXfermode().porterDuffMode); in ComposeShader() 107 long nativeShaderA, long nativeShaderB, int porterDuffMode); in nativeCreate() argument
|
D | BlendMode.java | 508 if (mode.mXfermode.porterDuffMode == value) { in fromValue() 519 return mode.getXfermode().porterDuffMode; in toValue() 578 mXfermode.porterDuffMode = mode; in BlendMode()
|
D | PorterDuffXfermode.java | 33 porterDuffMode = mode.nativeInt; in PorterDuffXfermode()
|
D | Xfermode.java | 36 int porterDuffMode = DEFAULT; field in Xfermode
|
D | BlendModeColorFilter.java | 62 return native_CreateBlendModeFilter(mColor, mMode.getXfermode().porterDuffMode); in createNativeInstance()
|
D | BaseRecordingCanvas.java | 203 nDrawColor(mNativeCanvasWrapper, color, BlendMode.SRC_OVER.getXfermode().porterDuffMode); in drawColor() 213 nDrawColor(mNativeCanvasWrapper, color, mode.getXfermode().porterDuffMode); in drawColor() 220 mode.getXfermode().porterDuffMode); in drawColor()
|
D | BaseCanvas.java | 243 nDrawColor(mNativeCanvasWrapper, color, BlendMode.SRC_OVER.getXfermode().porterDuffMode); in drawColor() 255 nDrawColor(mNativeCanvasWrapper, color, mode.getXfermode().porterDuffMode); in drawColor() 265 mode.getXfermode().porterDuffMode); in drawColor()
|
D | Paint.java | 1292 return BlendMode.fromValue(mXfermode.porterDuffMode); in getBlendMode() 1315 int newMode = xfermode != null ? xfermode.porterDuffMode : Xfermode.DEFAULT; in installXfermode() 1316 int curMode = mXfermode != null ? mXfermode.porterDuffMode : Xfermode.DEFAULT; in installXfermode()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | PorterDuffColorFilter_Delegate.java | 77 /*package*/ static long native_CreateBlendModeFilter(int srcColor, int porterDuffMode) { in native_CreateBlendModeFilter() argument 79 new PorterDuffColorFilter_Delegate(srcColor, porterDuffMode); in native_CreateBlendModeFilter()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 23879 PorterDuff.Mode porterDuffMode; in getBackgroundTintMode() local 23881 porterDuffMode = BlendMode.blendModeToPorterDuffMode(mBackgroundTint.mBlendMode); in getBackgroundTintMode() 23883 porterDuffMode = null; in getBackgroundTintMode() 23885 return porterDuffMode; in getBackgroundTintMode()
|