Home
last modified time | relevance | path

Searched refs:BlendComposite (Results 1 – 2 of 2) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/
DBlendComposite.java38 public final class BlendComposite implements Composite { class
47 private final BlendComposite mComposite;
50 mComposite = new BlendComposite(this); in BlendingMode()
53 BlendComposite getBlendComposite() { in getBlendComposite()
61 private BlendComposite(BlendingMode mode) { in BlendComposite() method in BlendComposite
65 private BlendComposite(BlendingMode mode, float alpha) { in BlendComposite() method in BlendComposite
70 public static BlendComposite getInstance(BlendingMode mode) { in getInstance()
74 public static BlendComposite getInstance(BlendingMode mode, float alpha) { in getInstance()
78 return new BlendComposite(mode, alpha); in getInstance()
106 if (!(obj instanceof BlendComposite)) { in equals()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DPorterDuffUtility.java22 import android.graphics.BlendComposite;
23 import android.graphics.BlendComposite.BlendingMode;
88 return BlendComposite.getInstance(BlendingMode.DARKEN, alpha1); in getComposite()
90 return BlendComposite.getInstance(BlendingMode.LIGHTEN, alpha1); in getComposite()
92 return BlendComposite.getInstance(BlendingMode.MULTIPLY, alpha1); in getComposite()
94 return BlendComposite.getInstance(BlendingMode.SCREEN, alpha1); in getComposite()
96 return BlendComposite.getInstance(BlendingMode.ADD, alpha1); in getComposite()
98 return BlendComposite.getInstance(BlendingMode.OVERLAY, alpha1); in getComposite()