Home
last modified time | relevance | path

Searched refs:alpha1 (Results 1 – 4 of 4) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DPorterDuffUtility.java61 float alpha1 = alpha255 != 0xFF ? alpha255 / 255.f : 1.f; in getComposite() local
64 return AlphaComposite.getInstance(AlphaComposite.CLEAR, alpha1); in getComposite()
66 return AlphaComposite.getInstance(AlphaComposite.SRC, alpha1); in getComposite()
68 return AlphaComposite.getInstance(AlphaComposite.DST, alpha1); in getComposite()
70 return AlphaComposite.getInstance(AlphaComposite.SRC_OVER, alpha1); in getComposite()
72 return AlphaComposite.getInstance(AlphaComposite.DST_OVER, alpha1); in getComposite()
74 return AlphaComposite.getInstance(AlphaComposite.SRC_IN, alpha1); in getComposite()
76 return AlphaComposite.getInstance(AlphaComposite.DST_IN, alpha1); in getComposite()
78 return AlphaComposite.getInstance(AlphaComposite.SRC_OUT, alpha1); in getComposite()
80 return AlphaComposite.getInstance(AlphaComposite.DST_OUT, alpha1); in getComposite()
[all …]
/frameworks/native/opengl/libagl/
Ddxt.cpp473 uint64_t alpha1 = alpha & 0xff; in decodeDXT5() local
476 if (alpha0 != prev_alpha0 || alpha1 != prev_alpha1) { in decodeDXT5()
478 prev_alpha1 = alpha1; in decodeDXT5()
481 a[1] = alpha1; in decodeDXT5()
482 int a01 = alpha0 + alpha1 - 1; in decodeDXT5()
483 if (alpha0 > alpha1) { in decodeDXT5()
484 a[2] = div7(6*alpha0 + alpha1); in decodeDXT5()
485 a[4] = div7(4*alpha0 + 3*alpha1); in decodeDXT5()
486 a[6] = div7(2*alpha0 + 5*alpha1); in decodeDXT5()
496 a[2] = div5(4*alpha0 + alpha1); in decodeDXT5()
[all …]
/frameworks/opt/setupwizard/library/
Dstandalone-rules.gradle29 'support-annotations': 'androidx.annotation:annotation:1.0.0-alpha1',
30 'support-appcompat-v7': 'androidx.appcompat:appcompat:1.0.0-alpha1',
31 'support-recyclerview-v7': 'androidx.recyclerview:recyclerview:1.0.0-alpha1'
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java506 int alpha1 = (int) animation.getAnimatedValue(); in setImageAlpha()
507 if (background != null) background.mutate().setAlpha(alpha1); in setImageAlpha()
508 setImageAlpha(alpha1); in setImageAlpha()