/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardPasswordView.java | 263 .alpha(1) 272 .alpha(0f)
|
H A D | KeyguardViewStateManager.java | 116 ((View) mKeyguardSecurityContainer).animate().alpha(0f).setDuration(duration) 121 ((View) mKeyguardSecurityContainer).animate().alpha(1f).setDuration(duration)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationContentView.java | 177 .alpha(showContractedChild ? 1f : 0f) 181 .alpha(showContractedChild ? 0f : 1f)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardStatusBarView.java | 200 .alpha(0f) 216 .alpha(1f)
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ErrorCalculator.java | 162 totalError += Math.abs(Color.alpha(idealColor) - Color.alpha(givenColor));
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
H A D | FrameSequenceDrawable.java | 394 public void setAlpha(int alpha) { argument 395 mPaint.setAlpha(alpha);
|
/frameworks/native/libs/gui/ |
H A D | SurfaceControl.cpp | 132 status_t SurfaceControl::setAlpha(float alpha) { argument 135 return mClient->setAlpha(mHandle, alpha);
|
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 63 inline static float lerp(float a, float b, float alpha) { argument 64 return a + alpha * (b - a); 716 float alpha; local 729 alpha = float(sampleTime - current->eventTime) / delta; 750 alpha = float(current->eventTime - sampleTime) / delta; 772 lerp(currentCoords.getX(), otherCoords.getX(), alpha)); 774 lerp(currentCoords.getY(), otherCoords.getY(), alpha)); 777 "other (%0.3f, %0.3f), alpha %0.3f", 781 alpha);
|
H A D | VelocityTracker.cpp | 772 float alpha = dt / (FILTER_TIME_CONSTANT + dt); local 774 state.xvel += (xvel - state.xvel) * alpha; 775 state.yvel += (yvel - state.yvel) * alpha; 784 state.xaccel += (xaccel - state.xaccel) * alpha; 785 state.yaccel += (yaccel - state.yaccel) * alpha; 787 state.xvel += (state.xaccel * dt) * alpha; 788 state.yvel += (state.yaccel * dt) * alpha;
|
/frameworks/base/core/java/android/util/ |
H A D | PathParser.java | 630 double alpha = 632 double q1x = e1x + alpha * ep1x; 633 double q1y = e1y + alpha * ep1y; 634 double q2x = e2x - alpha * ep2x; 635 double q2y = e2y - alpha * ep2y;
|
/frameworks/base/core/java/android/widget/ |
H A D | OverScroller.java | 609 final float alpha = (float) i / NB_SAMPLES; 617 if (Math.abs(tx - alpha) < 1E-5) break; 618 if (tx > alpha) x_max = x; 629 if (Math.abs(dy - alpha) < 1E-5) break; 630 if (dy > alpha) y_max = y;
|
H A D | RadialTimePickerView.java | 81 // Opaque alpha level 84 // Transparent alpha level 324 // Pull disabled alpha from theme. 357 // Initialize all alpha values to opaque. 851 private int getMultipliedAlpha(int argb, int alpha) { argument 852 return (int) (Color.alpha(argb) * (alpha / 255.0) + 0.5); 866 int alpha; 871 alpha = mAlphaSelector[index % 2][SELECTOR_CIRCLE].getValue(); 874 paint.setAlpha(getMultipliedAlpha(color, alpha)); 1026 drawTextElements(Canvas canvas, float textSize, Typeface typeface, String[] texts, float[] textGridWidths, float[] textGridHeights, Paint paint, int color, int alpha) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleDrawable.java | 243 public void setAlpha(int alpha) { argument 244 super.setAlpha(alpha); 790 final int alpha = Color.alpha(color); 791 maskingPaint.setAlpha(alpha / 2);
|
H A D | VectorDrawable.java | 81 * <dt><code>android:alpha</code></dt> 295 public void setAlpha(int alpha) { argument 296 if (mVectorState.mVPathRenderer.getRootAlpha() != alpha) { 297 mVectorState.mVPathRenderer.setRootAlpha(alpha); 439 private static int applyAlpha(int color, float alpha) { argument 440 int alphaBytes = Color.alpha(color); 442 color |= ((int) (alphaBytes * alpha)) << 24; 686 * @return null when there is no need for alpha paint. 823 public void setRootAlpha(int alpha) { argument 824 mRootAlpha = alpha; 833 setAlpha(float alpha) argument [all...] |
H A D | Ripple.java | 265 final int alpha = (int) (255 * mOpacity + 0.5f); 267 if (alpha > 0 && radius > 0) { 272 p.setAlpha(alpha);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES10.java | 313 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 319 float alpha 322 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 328 int alpha 355 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 361 float alpha 364 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 370 int alpha 373 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) 379 boolean alpha [all...] |
H A D | GLErrorWrapper.java | 106 public void glClearColor(float red, float green, float blue, float alpha) { argument 108 mgl.glClearColor(red, green, blue, alpha); 112 public void glClearColorx(int red, int green, int blue, int alpha) { argument 114 mgl.glClearColorx(red, green, blue, alpha); 142 public void glColor4f(float red, float green, float blue, float alpha) { argument 144 mgl.glColor4f(red, green, blue, alpha); 148 public void glColor4x(int red, int green, int blue, int alpha) { argument 150 mgl.glColor4x(red, green, blue, alpha); 155 boolean alpha) { 157 mgl.glColorMask(red, green, blue, alpha); 154 glColorMask(boolean red, boolean green, boolean blue, boolean alpha) argument 980 glColor4ub(byte red, byte green, byte blue, byte alpha) argument [all...] |
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL10.java | 293 float alpha 300 int alpha 323 float alpha 330 int alpha 337 boolean alpha
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 238 * @return true if the bitmap alpha should be used at render time 503 int alpha = paint != null ? paint.getAlpha() : 0xFF; 504 BufferedImage image = createCopy(bitmap.getImage(), BufferedImage.TYPE_INT_ARGB, alpha); 506 // create the delegate. The actual Bitmap config is only an alpha channel 592 // in this case we have to manually compare the alpha channel as the rest is garbage. 638 * if alpha is different than 255, then it is applied to the alpha channel of each pixel. 642 * @param alpha an optional alpha modifier 645 /*package*/ static BufferedImage createCopy(BufferedImage image, int imageType, int alpha) { argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 795 // the alpha for the composite. Always opaque if the normal paint color is used since 796 // it contains the alpha 797 int alpha = usePaintAlpha ? paint.getAlpha() : 0xFF; 799 g.setComposite(AlphaComposite.getInstance(forceMode, (float) alpha / 255.f)); 805 Composite composite = xfermodeDelegate.getComposite(alpha); 817 // if there was no custom xfermode, but we have alpha (due to a shader and a non 818 // opaque alpha channel in the paint color), then we create an AlphaComposite anyway 819 // that will handle the alpha. 820 if (alpha != 0xFF) { 822 AlphaComposite.SRC_OVER, (float) alpha / 25 [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollAlgorithm.java | 293 viewState.alpha = 1; 296 // Lets set the alpha to the one it currently has, as its currently being dragged 298 // The dragged child should keep the set alpha 299 viewState.alpha = draggedView.getAlpha(); 412 childViewState.alpha = 1.0f; 521 childViewState.alpha = 0.0f; 524 childViewState.alpha = 1.0f - algorithmState.partialInBottom; 570 childViewState.alpha = 1.0f - algorithmState.partialInTop; 573 childViewState.alpha = 0.0f;
|
H A D | StackStateAnimator.java | 154 final float alpha = viewState.alpha; 155 if (!wasVisible && alpha != 0 && !viewState.gone) { 162 boolean alphaChanging = alpha != child.getAlpha(); 213 // start alpha animation 216 child.setAlpha(viewState.alpha); 439 final float newEndValue = viewState.alpha; 765 changingView.setAlpha(viewState.alpha);
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 55 private static native void nativeSetAlpha(long nativeObject, float alpha); argument 109 * as "non pre-multiplied" by their alpha channel. Of course this flag is 110 * meaningless for surfaces without an alpha channel. By default 112 * already multiplied by its alpha value. In this case the blending 123 * surface can never lower the value of the alpha component of a given 138 * Combined effects are (assuming a buffer format with an alpha channel): 140 * <li>OPAQUE + alpha(1.0) == opaque composition 141 * <li>OPAQUE + alpha(0.x) == blended composition 142 * <li>!OPAQUE + alpha(1.0) == blended composition 143 * <li>!OPAQUE + alpha( 418 setAlpha(float alpha) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SwipeHelper.java | 176 float alpha = swipeProgress; 177 if (alpha != 0f && alpha != 1f) { 494 * @return if true, prevents the default alpha fading.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | TaskStack.java | 437 float alpha = 1f; 441 alpha); 442 alpha -= alphaStep;
|