/frameworks/base/core/java/android/webkit/ |
H A D | DeviceMotionAndOrientationManager.java | 46 public void setMockOrientation(boolean canProvideAlpha, double alpha, boolean canProvideBeta, argument 49 nativeSetMockOrientation(mWebViewCore, canProvideAlpha, alpha, canProvideBeta, beta, 61 public void onOrientationChange(Double alpha, Double beta, Double gamma) { argument 63 alpha != null, alpha != null ? alpha.doubleValue() : 0.0, 71 boolean canProvideAlpha, double alpha, boolean canProvideBeta, double beta, 77 boolean canProvideAlpha, double alpha, boolean canProvideBeta, double beta, 70 nativeSetMockOrientation(WebViewCore webViewCore, boolean canProvideAlpha, double alpha, boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) argument 76 nativeOnOrientationChange(WebViewCore webViewCore, boolean canProvideAlpha, double alpha, boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) argument
|
H A D | DeviceOrientationService.java | 126 double alpha = Math.toDegrees(-rotationAngles[0]) - 90.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 D | Vertex.h | 56 * 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 D | Layer.h | 101 inline void setAlpha(int alpha) { argument 102 this->alpha = alpha; 105 inline void setAlpha(int alpha, SkXfermode::Mode mode) { argument 106 this->alpha = alpha; 111 return alpha; 278 int alpha; member in struct:android::uirenderer::Layer
|
/frameworks/base/services/surfaceflinger/ |
H A D | LayerDim.cpp | 48 if (s.alpha>0 && (it != end)) { 50 const GLfloat alpha = s.alpha/255.0f; local 55 if (s.alpha == 0xFF) { 62 glColor4f(0, 0, 0, alpha);
|
H A D | LayerScreenshot.cpp | 114 if (s.alpha>0 && (it != end)) { 116 const GLfloat alpha = s.alpha/255.0f; local 119 if (s.alpha == 0xFF) { 126 glColor4f(0, 0, 0, alpha);
|
H A D | LayerBase.cpp | 93 mCurrentState.alpha = 0xFF; 146 bool LayerBase::setAlpha(uint8_t alpha) { argument 147 if (mCurrentState.alpha == alpha) 150 mCurrentState.alpha = alpha; 385 GLclampf alpha) const 389 glColor4f(red,green,blue,alpha); 419 if (UNLIKELY(s.alpha < 0xFF)) { 420 const GLfloat alpha local [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | g_adapt.h | 137 * 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 D | AvoidXfermode_Delegate.java | 46 public Composite getComposite(int alpha) { argument
|
H A D | PixelXorXfermode_Delegate.java | 46 public Composite getComposite(int alpha) { argument
|
H A D | PorterDuffXfermode_Delegate.java | 55 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 D | Xfermode_Delegate.java | 55 public abstract Composite getComposite(int alpha); argument
|
/frameworks/base/core/java/android/view/animation/ |
H A D | AlphaAnimation.java | 24 * 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));
|
H A D | Transformation.java | 30 * Indicates a transformation that has no effect (alpha = 1 and identity matrix.) 34 * Indicates a transformation that applies an alpha only (uses an identity matrix.) 38 * Indicates a transformation that applies a matrix only (alpha = 1.) 42 * Indicates a transformation that applies an alpha and a matrix. 51 * Creates a new transformation with alpha = 1 and the identity matrix. 124 * @param alpha 1.0 means fully opaqe and 0.0 means fully transparent 126 public void setAlpha(float alpha) { argument 127 mAlpha = alpha; 158 sb.append("{alpha="); sb.append(mAlpha); 168 pw.print("{alpha [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | TransitionDrawable.java | 187 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 D | ColorDrawable.java | 97 * Returns the alpha value of this drawable's color. 106 * Sets the color's alpha value. 108 * @param alpha The alpha value to set, between 0 and 255. 110 public void setAlpha(int alpha) { argument 111 alpha += alpha >> 7; // make it 0..256 113 int useAlpha = baseAlpha * alpha >> 8;
|
H A D | ShapeDrawable.java | 198 private static int modulateAlpha(int paintAlpha, int alpha) { argument 199 int scale = alpha + (alpha >>> 7); // convert to 0..256 241 * Set the alpha level for this drawable [0..255]. Note that this drawable 242 * also has a color in its paint, which has an alpha as well. These two 244 * alpha is 75% (i.e. 192) and the drawable's alpha is 50% (i.e. 128), then 245 * the combined alpha that will be used during drawing will be 37.5% 248 @Override public void setAlpha(int alpha) { argument 249 mShapeState.mAlpha = alpha; [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | LayoutTestController.java | 87 public void setMockDeviceOrientation(boolean canProvideAlpha, double alpha, argument 92 ", " + alpha + ", " + canProvideBeta + ", " + beta + ", " + canProvideGamma + 95 canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma);
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | LayoutTestController.java | 76 public void setMockDeviceOrientation(boolean canProvideAlpha, double alpha, argument
|
/frameworks/base/include/private/surfaceflinger/ |
H A D | LayerState.h | 39 alpha(0), tint(0), flags(0), mask(0), 62 float alpha; member in struct:android::layer_state_t
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | FixedSizeDrawable.java | 59 public void setAlpha(int alpha) { argument 60 mDrawable.setAlpha(alpha);
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | armVCM4P10_DeBlockPixel.c | 37 * [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
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | CdmaInformationRecords.java | 133 public String alpha; field in class:CdmaInformationRecords.CdmaDisplayInfoRec 135 public CdmaDisplayInfoRec(int id, String alpha) { argument 137 this.alpha = alpha; 144 ", alpha: " + alpha +
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageButton.java | 90 protected boolean onSetAlpha(int alpha) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBarView.java | 108 int alpha = getCurAlpha(); 109 if (alpha != 0) { 110 canvas.drawARGB(alpha, 0, 0, 0); 112 if (alpha != mEndAlpha) {
|