Searched refs:alpha (Results 1 - 25 of 477) sorted by relevance

1234567891011>>

/frameworks/ml/nn/runtime/test/specs/V1_0/
H A Dlocal_response_norm_float_1.mod.py5 alpha = Float32Scalar("alpha", 4.) variable
9 model = model.Operation("LOCAL_RESPONSE_NORMALIZATION", i1, radius, bias, alpha, beta).To(output)
H A Dlocal_response_norm_float_2.mod.py5 alpha = Float32Scalar("alpha", 1.) variable
9 model = model.Operation("LOCAL_RESPONSE_NORMALIZATION", i1, radius, bias, alpha, beta).To(output)
H A Dlocal_response_norm_float_3.mod.py5 alpha = Float32Scalar("alpha", 4.) variable
9 model = model.Operation("LOCAL_RESPONSE_NORMALIZATION", i1, radius, bias, alpha, beta).To(output)
H A Dlocal_response_norm_float_4.mod.py5 alpha = Float32Scalar("alpha", 4.) variable
9 model = model.Operation("LOCAL_RESPONSE_NORMALIZATION", i1, radius, bias, alpha, beta).To(output)
/frameworks/base/libs/hwui/
H A DLayer.h66 inline void setAlpha(int alpha) { this->alpha = alpha; } argument
68 inline void setAlpha(int alpha, SkBlendMode mode) { argument
69 this->alpha = alpha;
73 inline int getAlpha() const { return alpha; }
98 Layer(RenderState& renderState, Api api, sk_sp<SkColorFilter>, int alpha,
131 int alpha; member in class:android::uirenderer::Layer
H A DVertex.h79 * sRGB color with alpha. The color is stored pre-multiplied in linear space.
97 * Simple structure to describe a vertex with a position and an alpha value.
101 float alpha; member in struct:android::uirenderer::AlphaVertex
103 static inline void set(AlphaVertex* vertex, float x, float y, float alpha) { argument
104 *vertex = {x, y, alpha};
109 AlphaVertex::set(vertex, src.x + x, src.y + y, src.alpha);
112 static inline void setColor(AlphaVertex* vertex, float alpha) { vertex[0].alpha = alpha; } argument
H A DBakedOpState.h134 const float alpha; member in class:android::uirenderer::BakedOpState
144 , alpha(snapshot.alpha)
151 , alpha(snapshot.alpha)
157 , alpha(snapshot.alpha)
163 , alpha(1.0f)
H A DVkLayer.h31 sk_sp<SkColorFilter> colorFilter, int alpha, SkBlendMode mode, bool blend)
32 : Layer(renderState, Api::Vulkan, colorFilter, alpha, mode)
30 VkLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, sk_sp<SkColorFilter> colorFilter, int alpha, SkBlendMode mode, bool blend) argument
/frameworks/base/tests/Internal/src/com/android/internal/graphics/
H A DColorUtilsTest.java32 int alpha = ColorUtils.calculateMinimumBackgroundAlpha(Color.WHITE, Color.BLACK, 4.5f);
33 assertTrue("Alpha doesn't need to be 255 to satisfy contrast", alpha < 255);
35 int worstCase = ColorUtils.blendARGB(Color.WHITE, Color.BLACK, alpha/255f);
/frameworks/layoutlib/bridge/src/android/graphics/
H A DBlendComposite.java35 * To compensate for the effect, we recompute the alpha value of the src image before applying
58 private float alpha; field in class:BlendComposite
65 private BlendComposite(BlendingMode mode, float alpha) { argument
67 setAlpha(alpha);
74 public static BlendComposite getInstance(BlendingMode mode, float alpha) { argument
75 if (alpha > 0.9999f) {
78 return new BlendComposite(mode, alpha);
82 return alpha;
89 private void setAlpha(float alpha) { argument
90 if (alpha < 0.
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DCrossFadeHelper.java38 .alpha(0f)
81 float alpha = Interpolators.ALPHA_OUT.getInterpolation(1.0f - fadeOutAmount);
82 view.setAlpha(alpha);
83 updateLayerType(view, alpha);
93 private static void updateLayerType(View view, float alpha) { argument
94 if (view.hasOverlappingRendering() && alpha > 0.0f && alpha < 1.0f) {
112 .alpha(1f)
145 float alpha = Interpolators.ALPHA_IN.getInterpolation(fadeInAmount);
146 view.setAlpha(alpha);
[all...]
/frameworks/ml/nn/runtime/test/specs/V1_1/
H A Dlocal_response_norm_float_1_relaxed.mod.py21 alpha = Float32Scalar("alpha", 4.) variable
25 model = model.Operation("LOCAL_RESPONSE_NORMALIZATION", i1, radius, bias, alpha, beta).To(output)
H A Dlocal_response_norm_float_2_relaxed.mod.py21 alpha = Float32Scalar("alpha", 1.) variable
25 model = model.Operation("LOCAL_RESPONSE_NORMALIZATION", i1, radius, bias, alpha, beta).To(output)
H A Dlocal_response_norm_float_3_relaxed.mod.py21 alpha = Float32Scalar("alpha", 4.) variable
25 model = model.Operation("LOCAL_RESPONSE_NORMALIZATION", i1, radius, bias, alpha, beta).To(output)
H A Dlocal_response_norm_float_4_relaxed.mod.py21 alpha = Float32Scalar("alpha", 4.) variable
25 model = model.Operation("LOCAL_RESPONSE_NORMALIZATION", i1, radius, bias, alpha, beta).To(output)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DTintedKeyButtonDrawable.java56 // Dark and light colors may have an alpha component
65 private int blendAlpha(int color, float alpha) { argument
66 final float newAlpha = alpha < 0f ? 0f : (alpha > 1f ? 1f : alpha);
67 final float colorAlpha = Color.alpha(color) / 255f;
69 // Ensure alpha is clamped [0-255] or ColorUtils will crash
/frameworks/rs/cpu_ref/
H A DrsCpuBLASDispatch.h26 const float alpha, const float *A, const int lda,
31 const int KL, const int KU, const float alpha,
59 const double alpha, const double *A, const int lda,
64 const int KL, const int KU, const double alpha,
92 const void *alpha, const void *A, const int lda,
97 const int KL, const int KU, const void *alpha,
125 const void *alpha, const void *A, const int lda,
130 const int KL, const int KU, const void *alpha,
161 const int N, const float alpha, const float *A,
165 const int N, const int K, const float alpha, cons
[all...]
/frameworks/base/libs/hwui/utils/
H A DMathUtils.h40 * Clamps alpha value, and snaps when very near 0 or 1
42 inline static float clampAlpha(float alpha) { argument
43 if (alpha <= ALPHA_EPSILON) {
45 } else if (alpha >= (1 - ALPHA_EPSILON)) {
48 return alpha;
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
H A DMediaRouteVolumeSlider.java29 * Volume slider with showing, hiding, and applying alpha supports to the thumb.
56 int alpha = isEnabled() ? 0xFF : (int) (0xFF * mDisabledAlpha);
59 // state. Apply the color filter and alpha on every state change.
61 mThumb.setAlpha(alpha);
64 getProgressDrawable().setAlpha(alpha);
95 if (Color.alpha(color) != 0xFF) {
/frameworks/base/core/java/android/view/
H A DRoundScrollbarRenderer.java57 public void drawRoundScrollbars(Canvas canvas, float alpha, Rect bounds) { argument
58 if (alpha == 0) {
73 setThumbColor(applyAlpha(DEFAULT_THUMB_COLOR, alpha));
74 setTrackColor(applyAlpha(DEFAULT_TRACK_COLOR, alpha));
107 private static int applyAlpha(int color, float alpha) { argument
108 int alphaByte = (int) (Color.alpha(color) * alpha);
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DDimmerTests.java127 final float alpha = 0.8f;
128 mDimmer.dimAbove(mTransaction, alpha);
134 verify(mTransaction).setAlpha(dimLayer, alpha);
140 float alpha = 0.8f;
141 mDimmer.dimAbove(mTransaction, alpha);
144 alpha = 0.9f;
145 mDimmer.dimAbove(mTransaction, alpha);
180 final float alpha = 0.8f;
181 mDimmer.dimAbove(mTransaction, child, alpha);
186 verify(mTransaction).setAlpha(dimLayer, alpha);
[all...]
/frameworks/support/compat/src/androidTest/java/androidx/core/view/
H A DViewPropertyAnimatorCompatTest.java58 ViewCompat.animate(mView).alpha(0).setDuration(100).withEndAction(new Runnable() {
74 ViewCompat.animate(mView).alpha(0).setDuration(50).withEndAction(new Runnable() {
78 ViewCompat.animate(mView).alpha(1);
94 ViewCompat.animate(mView).alpha(0).setDuration(100).withStartAction(new Runnable() {
110 ViewCompat.animate(mView).alpha(0).setDuration(50).withStartAction(new Runnable() {
114 ViewCompat.animate(mView).alpha(1);
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/
H A DISystemUiProxy.aidl59 * Control the {@param alpha} of the back button in the navigation bar and {@param animate} if
62 void setBackButtonAlpha(float alpha, boolean animate) = 8;
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DEmergencyCarrierArea.java51 mCarrierText.animate().alpha(0);
54 mCarrierText.animate().alpha(1);
/frameworks/ml/nn/common/operations/
H A DNormalization.cpp45 int32_t radius, float bias, float alpha, float beta,
49 radius, bias, alpha, beta,
44 localResponseNormFloat32(const float* inputData, const Shape& inputShape, int32_t radius, float bias, float alpha, float beta, float* outputData, const Shape& outputShape) argument

Completed in 1910 milliseconds

1234567891011>>