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

123456789

/frameworks/base/core/java/android/webkit/
H A DDeviceMotionAndOrientationManager.java45 public void setMockOrientation(boolean canProvideAlpha, double alpha, boolean canProvideBeta, argument
48 nativeSetMockOrientation(mWebViewCore, canProvideAlpha, alpha, canProvideBeta, beta,
60 public void onOrientationChange(Double alpha, Double beta, Double gamma) { argument
62 alpha != null, alpha != null ? alpha.doubleValue() : 0.0,
70 boolean canProvideAlpha, double alpha, boolean canProvideBeta, double beta,
76 boolean canProvideAlpha, double alpha, boolean canProvideBeta, double beta,
69 nativeSetMockOrientation(WebViewCore webViewCore, boolean canProvideAlpha, double alpha, boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) argument
75 nativeOnOrientationChange(WebViewCore webViewCore, boolean canProvideAlpha, double alpha, boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) argument
H A DDeviceOrientationService.java126 double alpha = Math.toDegrees(-rotationAngles[0]);
127 while (alpha < 0.0) { alpha += 360.0; } // [0, 360)
133 maybeSendChange(alpha, beta, gamma);
168 private void maybeSendChange(double alpha, double beta, double gamma) { argument
171 || Math.abs(alpha - mAlpha) > DELTA_DEGRESS
174 mAlpha = alpha;
/frameworks/base/libs/hwui/
H A DVertex.h56 * Simple structure to describe a vertex with a position and an alpha value.
59 float alpha; member in struct:android::uirenderer::AlphaVertex
61 static inline void set(AlphaVertex* vertex, float x, float y, float alpha) { argument
63 vertex[0].alpha = alpha;
66 static inline void setColor(AlphaVertex* vertex, float alpha) { argument
67 vertex[0].alpha = alpha;
72 * Simple structure to describe a vertex with a position and an alpha value.
H A DLayer.h104 inline void setAlpha(int alpha) { argument
105 this->alpha = alpha;
108 inline void setAlpha(int alpha, SkXfermode::Mode mode) { argument
109 this->alpha = alpha;
114 return alpha;
316 int alpha; member in struct:android::uirenderer::Layer
/frameworks/native/services/surfaceflinger/
H A DLayerDim.cpp48 if (s.alpha>0) {
49 const GLfloat alpha = s.alpha/255.0f; local
54 if (s.alpha == 0xFF) {
61 glColor4f(0, 0, 0, alpha);
H A DLayerScreenshot.cpp127 if (s.alpha>0) {
128 const GLfloat alpha = s.alpha/255.0f; local
131 if (s.alpha == 0xFF) {
148 glColor4f(alpha, alpha, alpha, alpha);
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A Dfisheye.rsh21 static float alpha, radius2, factor;
29 alpha = k * 2.0f + 0.75f;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
H A Dfisheye_approx.rsh21 static float alpha, radius2, factor;
29 alpha = k * 2.0f + 0.75f;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A Dfisheye.rsh21 static float alpha, radius2, factor;
29 alpha = k * 2.0 + 0.75;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
H A Dfisheye_approx.rsh21 static float alpha, radius2, factor;
29 alpha = k * 2.0 + 0.75;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dg_adapt.h137 * Purpose: calculate pitch/codebook gain adaptation factor alpha
146 Word16 *alpha, /* o : gain adaptation factor, Q15 */
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DAvoidXfermode_Delegate.java46 public Composite getComposite(int alpha) { argument
H A DPixelXorXfermode_Delegate.java46 public Composite getComposite(int alpha) { argument
H A DPorterDuffXfermode_Delegate.java55 public Composite getComposite(int alpha) { argument
56 return getComposite(getPorterDuffMode(mMode), alpha);
83 public static Composite getComposite(PorterDuff.Mode mode, int alpha) { argument
84 float falpha = alpha != 0xFF ? (float)alpha / 255.f : 1.f;
H A DXfermode_Delegate.java55 public abstract Composite getComposite(int alpha); argument
/frameworks/base/core/java/android/view/animation/
H A DAlphaAnimation.java24 * An animation that controls the alpha level of an object.
26 * changing the alpha property of a {@link Transformation}
54 * @param fromAlpha Starting alpha value for the animation, where 1.0 means
56 * @param toAlpha Ending alpha value for the animation.
64 * Changes the alpha property of the supplied {@link Transformation}
68 final float alpha = mFromAlpha;
69 t.setAlpha(alpha + ((mToAlpha - alpha) * interpolatedTime));
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DPointCloud.java49 private float alpha = 0.0f; field in class:PointCloud.WaveManager
59 alpha = a;
63 return alpha;
71 private float alpha = 0.0f; field in class:PointCloud.GlowManager
90 alpha = a;
94 return alpha;
184 glowAlpha = glowManager.alpha * max(0.0f, (float) Math.pow(cosf, 10.0f));
193 waveAlpha = waveManager.alpha * max(0.0f, (float) Math.pow(cosf, 20.0f));
213 int alpha = getAlphaForPoint(point);
215 if (alpha
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DTransitionDrawable.java187 final int alpha = mAlpha;
194 if (!crossFade || alpha == 0) {
197 if (alpha == 0xFF) {
206 d.setAlpha(255 - alpha);
213 if (alpha > 0) {
215 d.setAlpha(alpha);
228 * fade enabled, the first drawable is drawn with the opposite alpha of
H A DColorDrawable.java115 * Returns the alpha value of this drawable's color.
124 * Sets the color's alpha value.
126 * @param alpha The alpha value to set, between 0 and 255.
128 public void setAlpha(int alpha) { argument
129 alpha += alpha >> 7; // make it 0..256
131 int useAlpha = baseAlpha * alpha >> 8;
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DLayoutTestController.java98 public void setMockDeviceOrientation(boolean canProvideAlpha, double alpha, argument
103 ", " + alpha + ", " + canProvideBeta + ", " + beta + ", " + canProvideGamma +
106 canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardWidgetCarousel.java69 float alpha = 1.0f - 1.0f * Math.abs(scrollProgress / MAX_SCROLL_PROGRESS);
70 return alpha;
145 float alpha = v.getAlpha();
146 // If the view has 0 alpha, we set it to be invisible so as to prevent
148 if (alpha == 0) {
163 PropertyValuesHolder alpha;
174 alpha = PropertyValuesHolder.ofFloat("contentAlpha", 1.0f);
178 ObjectAnimator a = ObjectAnimator.ofPropertyValuesHolder(child, alpha, outlineAlpha, rotationY);
234 PropertyValuesHolder alpha;
250 alpha
[all...]
/frameworks/base/core/java/android/view/
H A DDisplayList.java119 * holds a layer. Layer DisplayLists should avoid creating an alpha layer, since alpha is
157 * Sets the alpha value for the DisplayList
159 * @param alpha The translucency of the DisplayList
162 public abstract void setAlpha(float alpha); argument
166 * can use a fast path for alpha that avoids rendering to an offscreen buffer.
232 * @param alpha The alpha value of the DisplayList
241 public abstract void setTransformationInfo(float alpha, float translationX, float translationY, argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarView.java202 // attenuate background color alpha by k
213 float alpha = 1f;
215 if (ph < H) alpha = 0f;
216 else alpha = (ph - H) / H;
217 alpha = alpha * alpha; // get there faster
219 if (panel.getAlpha() != alpha) {
220 panel.setAlpha(alpha);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DFixedSizeDrawable.java59 public void setAlpha(int alpha) { argument
60 mDrawable.setAlpha(alpha);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DarmVCM4P10_DeBlockPixel.c37 * [in] alpha alpha threshold value
49 int alpha, /* alpha */
72 if (armAbs(p0-q0)>=alpha || armAbs(p1-p0)>=beta || armAbs(q1-q0)>=beta)
74 DEBUG_PRINTF_10("DeBlockPixel: %02x %02x %02x %02x | %02x %02x %02x %02x alpha=%d beta=%d\n",
75 p3, p2, p1, p0, q0, q1, q2, q3, alpha, beta);
124 if (ChromaFlag==0 && ap<beta && armAbs(p0-q0)<((alpha>>2)+2))
135 if (ChromaFlag==0 && aq<beta && armAbs(p0-q0)<((alpha>>2)+2))
45 armVCM4P10_DeBlockPixel( OMX_U8 *pQ0, int Step, int tC0, int alpha, int beta, int bS, int ChromaFlag ) argument

Completed in 624 milliseconds

123456789