/frameworks/base/core/java/android/widget/ |
H A D | Scroller.java | 118 final float alpha = (float) i / NB_SAMPLES; 126 if (Math.abs(tx - alpha) < 1E-5) break; 127 if (tx > alpha) x_max = x; 138 if (Math.abs(dy - alpha) < 1E-5) break; 139 if (dy > alpha) y_max = y;
|
H A D | FastScroller.java | 324 int alpha = -1; 326 alpha = scrollFade.getAlpha(); 327 if (alpha < ScrollFade.ALPHA_MAX / 2) { 328 mThumbDrawable.setAlpha(alpha * 2); 333 left = viewWidth - (mThumbW * alpha) / ScrollFade.ALPHA_MAX; 336 left = -mThumbW + (mThumbW * alpha) / ScrollFade.ALPHA_MAX; 399 if (alpha == 0) { // Done with exit 851 int alpha; 854 alpha = 0; 856 alpha [all...] |
H A D | OverScroller.java | 608 final float alpha = (float) i / NB_SAMPLES; 616 if (Math.abs(tx - alpha) < 1E-5) break; 617 if (tx > alpha) x_max = x; 628 if (Math.abs(dy - alpha) < 1E-5) break; 629 if (dy > alpha) y_max = y;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 182 * @return true if the bitmap alpha should be used at render time 444 int alpha = paint != null ? paint.getAlpha() : 0xFF; 445 BufferedImage image = createCopy(bitmap.getImage(), BufferedImage.TYPE_INT_ARGB, alpha); 447 // create the delegate. The actual Bitmap config is only an alpha channel 502 // in this case we have to manually compare the alpha channel as the rest is garbage. 534 * if alpha is different than 255, then it is applied to the alpha channel of each pixel. 538 * @param alpha an optional alpha modifier 541 /*package*/ static BufferedImage createCopy(BufferedImage image, int imageType, int alpha) { argument [all...] |
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES10.spec | 7 void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 8 void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 13 void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 14 void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 15 void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | omxVCM4P10_FilterDeblockingLuma_VerEdge_I_s.s | 41 alpha RN 6 label 291 USUB8 a, ap0q0, alpha 425 M_LDRD alpha, beta, pAlphaBeta1 443 M_LDRD alpha, beta, pAlphaBeta1 522 M_LDRD alpha, beta, pAlphaBeta1 538 M_LDRD alpha, beta, pAlphaBeta0
|
/frameworks/base/services/input/ |
H A D | SpriteController.cpp | 261 status = update.state.surfaceControl->setAlpha(update.state.alpha); 263 ALOGE("Error %d setting sprite surface alpha.", status); 454 void SpriteController::SpriteImpl::setAlpha(float alpha) { argument 457 if (mLocked.state.alpha != alpha) { 458 mLocked.state.alpha = alpha;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatchImpl.cpp | 64 static SkColor modAlpha(SkColor c, int alpha) { argument 65 int scale = alpha + (alpha >> 7);
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | PlaybackGraphs.java | 119 double alpha = index - intIndex; 120 return sortedValues[intIndex] * (1 - alpha) 121 + sortedValues[intIndex + 1] * (alpha);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
H A D | armVCM4P2_SetPredDir_s.s | 25 ; * alpha blocks spatially corresponding to luminance
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/ |
H A D | armVCM4P2_SetPredDir_s.s | 25 ; * alpha blocks spatially corresponding to luminance
|
/frameworks/base/core/java/android/view/ |
H A D | WindowManager.java | 1140 * An alpha value to apply to this entire window. 1141 * An alpha of 1.0 means fully opaque and 0.0 means fully transparent 1143 public float alpha = 1.0f; field in class:WindowManager.LayoutParams 1360 out.writeFloat(alpha); 1401 alpha = in.readFloat(); 1524 if (alpha != o.alpha) { 1525 alpha = o.alpha; 1630 if (alpha ! [all...] |
H A D | IWindowSession.aidl | 181 void setUniverseTransform(IBinder window, float alpha, float offx, float offy,
|
/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 156 * colors as this one but where each color has the specified alpha value 159 public ColorStateList withAlpha(int alpha) { argument 164 colors[i] = (mColors[i] & 0xFFFFFF) | (alpha << 24);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 212 * (i.e. does not support per-pixel alpha). 299 /** the layer needs to per-pixel alpha */ 375 * @param alpha The alpha to apply to the offscreen when when it is 380 public int saveLayerAlpha(RectF bounds, int alpha, int saveFlags) { argument 381 alpha = Math.min(255, Math.max(0, alpha)); 382 return native_saveLayerAlpha(mNativeCanvas, bounds, alpha, saveFlags); 388 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument 391 alpha, saveFlag 1634 native_saveLayerAlpha(int nativeCanvas, RectF bounds, int alpha, int layerFlags) argument 1637 native_saveLayerAlpha(int nativeCanvas, float l, float t, float r, float b, int alpha, int layerFlags) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ClipDrawable.java | 156 public void setAlpha(int alpha) { argument 157 mClipState.mDrawable.setAlpha(alpha);
|
H A D | InsetDrawable.java | 192 public void setAlpha(int alpha) { argument 193 mInsetState.mDrawable.setAlpha(alpha);
|
H A D | ScaleDrawable.java | 175 public void setAlpha(int alpha) { argument 176 mScaleState.mDrawable.setAlpha(alpha);
|
/frameworks/base/libs/androidfw/ |
H A D | InputTransport.cpp | 61 inline static float lerp(float a, float b, float alpha) { argument 62 return a + alpha * (b - a); 706 float alpha; local 719 alpha = float(sampleTime - current->eventTime) / delta; 740 alpha = float(current->eventTime - sampleTime) / delta; 762 lerp(currentCoords.getX(), otherCoords.getX(), alpha)); 764 lerp(currentCoords.getY(), otherCoords.getY(), alpha)); 767 "other (%0.3f, %0.3f), alpha %0.3f", 771 alpha);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardMultiUserAvatar.java | 183 float alpha = (1 - r) * initAlpha + r * finalAlpha; 186 mUserImage.setAlpha(alpha);
|
H A D | KeyguardViewStateManager.java | 105 ((View) mKeyguardSecurityContainer).animate().alpha(0).setDuration(duration); 109 ((View) mKeyguardSecurityContainer).animate().alpha(1f).setDuration(duration);
|
H A D | KeyguardWidgetPager.java | 521 float alpha = v.getAlpha(); 522 // If the view has 0 alpha, we set it to be invisible so as to prevent 524 if (alpha == 0) { 665 PropertyValuesHolder alpha; 685 alpha = PropertyValuesHolder.ofFloat("contentAlpha", finalContentAlpha); 686 ObjectAnimator a = ObjectAnimator.ofPropertyValuesHolder(child, alpha);
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | CarouselView.java | 304 * it causes bad artifacts. Careful attention to geometry and alpha transparency of 403 * @param alpha the amount of alpha 405 public void setBackgroundColor(float red, float green, float blue, float alpha) { argument 406 mController.setBackgroundColor(red, green, blue, alpha); 421 * texture with alpha = 0 to allow details to slowly fade in. 532 * These alpha values will be faded in from the background to the foreground over
|
/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...] |
/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
|