Lines Matching refs:mode
59 private BlendingMode mode; field in BlendComposite
61 private BlendComposite(BlendingMode mode) { in BlendComposite() argument
62 this(mode, 1.0f); in BlendComposite()
65 private BlendComposite(BlendingMode mode, float alpha) { in BlendComposite() argument
66 this.mode = mode; in BlendComposite()
70 public static BlendComposite getInstance(BlendingMode mode) { in getInstance() argument
71 return mode.getBlendComposite(); in getInstance()
74 public static BlendComposite getInstance(BlendingMode mode, float alpha) { in getInstance() argument
76 return getInstance(mode); in getInstance()
78 return new BlendComposite(mode, alpha); in getInstance()
86 return mode; in getMode()
101 return Float.floatToIntBits(alpha) * 31 + mode.ordinal(); in hashCode()
112 return mode == bc.mode && alpha == bc.alpha; in equals()