Searched defs:alpha (Results 101 - 125 of 208) sorted by relevance

123456789

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DomxVCM4P10_FilterDeblockingLuma_VerEdge_I_s.s55 alpha RN 6 label
305 USUB8 a, ap0q0, alpha
439 M_LDRD alpha, beta, pAlphaBeta1
457 M_LDRD alpha, beta, pAlphaBeta1
536 M_LDRD alpha, beta, pAlphaBeta1
552 M_LDRD alpha, beta, pAlphaBeta0
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c76 /* array of alpha values, from the standard */
128 u32 alpha; member in struct:__anon638
210 u8 (*alpha)[2],
218 u8 (*alpha)[2],
678 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) &&
716 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) &&
721 ((unsigned)ABS(p0-q0) < ((thresholds->alpha >> 2) +2)) ?
786 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) &&
858 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) &&
897 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha)
1781 u8 alpha[2][2]; local
2174 GetLumaEdgeThresholds( mbStorage_t *mb, u8 (*alpha)[2], u8 (*beta)[2], u8 (*threshold)[16], u8 (*bs)[16], u32 filteringFlags ) argument
2304 GetChromaEdgeThresholds( mbStorage_t *mb, u8 (*alpha)[2], u8 (*beta)[2], u8 (*threshold)[8], u8 (*bs)[16], u32 filteringFlags, i32 chromaQpIndexOffset) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableWrapper.java281 public void setAlpha(int alpha) { argument
283 mDrawable.setAlpha(alpha);
H A DNinePatchDrawable.java317 public void setAlpha(int alpha) { argument
318 if (mPaint == null && alpha == 0xFF) {
319 // Fast common case -- leave at normal alpha.
322 getPaint().setAlpha(alpha);
329 // Fast common case -- normal alpha.
H A DShapeDrawable.java210 private static int modulateAlpha(int paintAlpha, int alpha) { argument
211 int scale = alpha + (alpha >>> 7); // convert to 0..256
269 * Set the alpha level for this drawable [0..255]. Note that this drawable
270 * also has a color in its paint, which has an alpha as well. These two
272 * alpha is 75% (i.e. 192) and the drawable's alpha is 50% (i.e. 128), then
273 * the combined alpha that will be used during drawing will be 37.5% (i.e.
277 public void setAlpha(int alpha) { argument
278 mShapeState.mAlpha = alpha;
[all...]
/frameworks/base/libs/hwui/
H A DLayer.h156 inline void setAlpha(int alpha) { argument
157 this->alpha = alpha;
160 inline void setAlpha(int alpha, SkXfermode::Mode mode) { argument
161 this->alpha = alpha;
166 return alpha;
407 int alpha = 255; member in class:android::uirenderer::Layer
H A DOpenGLRenderer.h233 * Scales the alpha on the current snapshot. This alpha value will be modulated
234 * with other alpha values when drawing primitives.
236 void scaleAlpha(float alpha) { mState.scaleAlpha(alpha); } argument
443 * Gets the alpha from a layer, accounting for snapshot alpha
445 * @param layer The layer from which the alpha is extracted
497 bool fboLayer, int alpha);
507 * @param alpha Th
[all...]
H A DRecordedOp.h508 , alpha(paint ? paint->getAlpha() / 255.0f : 1.0f)
515 , alpha(node.properties().layerProperties().alpha() / 255.0f)
522 const float alpha; member in struct:android::uirenderer::LayerOp
H A DVectorDrawable.cpp184 ALOGD("stroke width, color, alpha: %f, %d, %f, fill color, alpha: %d, %f",
190 inline SkColor applyAlpha(SkColor color, float alpha) { argument
192 return SkColorSetA(color, alphaBytes * alpha);
527 // Update the given paint with alpha and color filter. Return nullptr if no color filter is
528 // specified and root alpha is 1. Otherwise, return updated paint.
/frameworks/base/libs/hwui/utils/
H A DVectorDrawableUtils.cpp147 double alpha = local
149 double q1x = e1x + alpha * ep1x;
150 double q1y = e1y + alpha * ep1y;
151 double q2x = e2x - alpha * ep2x;
152 double q2y = e2y - alpha * ep2y;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBatteryMeterDrawable.java496 public void setAlpha(int alpha) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java191 // If we are already occluded by the app, then set the final background scrim alpha now.
192 // Otherwise, defer until the enter animation completes to animate the scrim alpha with
471 .alpha(0f)
552 // Animate the overlay alpha back to 0
560 .alpha(1f)
568 // Animate the overlay alpha back to 0
673 .alpha(1f)
711 .alpha(0f)
766 * Animates the background scrim to the given {@param alpha}.
768 private void animateBackgroundScrim(float alpha, in argument
[all...]
H A DTaskViewHeader.java112 public void setAlpha(int alpha) { argument
415 * Sets the dim alpha, only used when we are not using hardware layers.
530 .alpha(1f)
542 .alpha(1f)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardAffordanceView.java45 * layer when alpha is changed.
169 float alpha = mCircleRadius / mMinBackgroundRadius;
170 alpha = Math.min(1.0f, alpha);
171 int color = (int) mColorInterpolator.evaluate(alpha, mNormalColor, mInverseColor);
196 int color = Color.argb((int) (Color.alpha(mCircleColor) * fraction),
246 * alpha 0 in the beginning.
449 public void setRestingAlpha(float alpha) { argument
450 mRestingAlpha = alpha;
453 setImageAlpha(alpha, fals
460 setImageAlpha(float alpha, boolean animate) argument
473 setImageAlpha(float alpha, boolean animate, long duration, Interpolator interpolator, Runnable runnable) argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java648 private boolean showSurface(float alpha) { argument
649 if (!mSurfaceVisible || mSurfaceAlpha != alpha) {
653 mSurfaceControl.setAlpha(alpha);
659 mSurfaceAlpha = alpha;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java233 * @return true if the bitmap alpha should be used at render time
507 int alpha = paint != null ? paint.getAlpha() : 0xFF;
508 BufferedImage image = createCopy(bitmap.getImage(), BufferedImage.TYPE_INT_ARGB, alpha);
510 // create the delegate. The actual Bitmap config is only an alpha channel
591 // in this case we have to manually compare the alpha channel as the rest is garbage.
645 * if alpha is different than 255, then it is applied to the alpha channel of each pixel.
649 * @param alpha an optional alpha modifier
652 /*package*/ static BufferedImage createCopy(BufferedImage image, int imageType, int alpha) { argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java76 public int saveLayerAlpha(RectF bounds, int alpha, int saveFlags) { argument
81 public int saveLayerAlpha(RectF bounds, int alpha) { argument
86 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument
92 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { argument
/frameworks/native/libs/input/
H A DVelocityTracker.cpp775 float alpha = dt / (FILTER_TIME_CONSTANT + dt); local
777 state.xvel += (xvel - state.xvel) * alpha;
778 state.yvel += (yvel - state.yvel) * alpha;
787 state.xaccel += (xaccel - state.xaccel) * alpha;
788 state.yaccel += (yaccel - state.yaccel) * alpha;
790 state.xvel += (state.xaccel * dt) * alpha;
791 state.yvel += (state.yaccel * dt) * alpha;
/frameworks/native/opengl/libagl/
H A Ddxt.cpp346 uint64_t alpha = ((uint64_t)alphahi << 32) | alphalo; local
401 int a = alpha & 0xf;
402 alpha >>= 4;
470 uint64_t alpha = ((uint64_t)alphahi << 32) | alphalo; local
471 uint64_t alpha0 = alpha & 0xff;
472 alpha >>= 8;
473 uint64_t alpha1 = alpha & 0xff;
474 alpha >>= 8;
558 int acode = alpha & 0x7;
559 alpha >>
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.h112 float alpha; member in struct:android::Layer::State
114 uint8_t alpha; member in struct:android::Layer::State
152 bool setAlpha(float alpha);
154 bool setAlpha(uint8_t alpha);
195 * pixel format includes an alpha channel) and the "opaque" flag set
196 * on the layer. It does not examine the current plane alpha value.
447 float r, float g, float b, float alpha) const;
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp199 float red, float green, float blue, float alpha) {
218 setupFillWithColor(red, green, blue, alpha);
226 void RenderEngine::clearWithColor(float red, float green, float blue, float alpha) { argument
227 glClearColor(red, green, blue, alpha);
198 fillRegionWithColor(const Region& region, uint32_t height, float red, float green, float blue, float alpha) argument
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java301 public void setAlpha(int alpha) { argument
303 super.setAlpha(alpha);
304 if (mPlaceholder != null) mPlaceholder.setAlpha(alpha);
305 if (mProgress != null) mProgress.setAlpha(alpha);
306 if (alpha != old) {
485 public void setInnerAlpha(final int alpha) { argument
486 super.setInnerAlpha((int) (alpha * mPulseAlphaFraction));
523 // one exception: if alpha is already zero, there is no fade-out, so stop now
573 // one exception: if alpha is already zero, there is no fade-out, so stop now
754 * animation (placeholder will be at maximum alpha alway
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPagingIndicator.java52 = new Property<Dot, Float>(Float.class, "alpha") {
452 int alpha = Math.round(0xFF * mAlpha);
456 mFgColor = Color.argb(alpha, red, green, blue);
463 public void setAlpha(float alpha) { argument
464 this.mAlpha = alpha;
/frameworks/base/core/java/android/app/
H A DDialog.java1170 public final void setFeatureDrawableAlpha(int featureId, int alpha) { argument
1171 getWindow().setFeatureDrawableAlpha(featureId, alpha);
H A DWallpaperManager.java227 public void setAlpha(int alpha) { argument
664 * allow setting an alpha, color filter, or other attributes, etc. The

Completed in 610 milliseconds

123456789