Home
last modified time | relevance | path

Searched refs:porterDuffMode (Results 1 – 11 of 11) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DPorterDuffUtility.java46 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/
DComposeShader.java45 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
DBlendMode.java508 if (mode.mXfermode.porterDuffMode == value) { in fromValue()
519 return mode.getXfermode().porterDuffMode; in toValue()
578 mXfermode.porterDuffMode = mode; in BlendMode()
DPorterDuffXfermode.java33 porterDuffMode = mode.nativeInt; in PorterDuffXfermode()
DXfermode.java36 int porterDuffMode = DEFAULT; field in Xfermode
DBlendModeColorFilter.java62 return native_CreateBlendModeFilter(mColor, mMode.getXfermode().porterDuffMode); in createNativeInstance()
DBaseRecordingCanvas.java203 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()
DBaseCanvas.java243 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()
DPaint.java1292 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/
DPorterDuffColorFilter_Delegate.java77 /*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/
DView.java23879 PorterDuff.Mode porterDuffMode; in getBackgroundTintMode() local
23881 porterDuffMode = BlendMode.blendModeToPorterDuffMode(mBackgroundTint.mBlendMode); in getBackgroundTintMode()
23883 porterDuffMode = null; in getBackgroundTintMode()
23885 return porterDuffMode; in getBackgroundTintMode()