/frameworks/base/libs/hwui/ |
Outline.h | 40 , mAlpha(0.0f) {} 43 mAlpha = alpha; 76 mAlpha = alpha; 82 mAlpha = 0.0f; 88 mAlpha = 0.0f; 96 return mAlpha; 149 float mAlpha;
|
DeferredLayerUpdater.cpp | 38 mAlpha = mLayer->getAlpha(); 50 mAlpha = PaintUtils::getAlphaDirect(paint); 59 mLayer->setAlpha(mAlpha, mMode);
|
RenderProperties.cpp | 128 if (mPrimitiveFields.mAlpha < 1 129 && !MathUtils::isZero(mPrimitiveFields.mAlpha)) { 136 ALOGD("%*s(ScaleAlpha %.2f)", level * 2, "", mPrimitiveFields.mAlpha); 147 (int)(mPrimitiveFields.mAlpha * 255),
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
UndoBarView.java | 101 canvas.multiplyAlpha(mAlpha); 168 private float mAlpha; 176 mAlpha = getTargetAlpha(visibility); 184 if (mAnimationStartTime == NO_ANIMATION && mAlpha == target) return; 187 mFromAlpha = mAlpha; 200 mAlpha = mFromAlpha + ((mToAlpha > mFromAlpha) ? delta : -delta); 201 mAlpha = Utils.clamp(mAlpha, 0f, 1f); 203 if (mAlpha == mToAlpha) { 205 if (mAlpha == 0) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
IntrinsicLut.java | 29 short mAlpha[] = new short[256]; 43 mAlpha[ct] = (short)r.nextInt(256); 47 mIntrinsic.setAlpha(ct, mAlpha[ct]); 52 mScript.set_alpha(mAlpha);
|
/frameworks/base/core/java/android/view/animation/ |
Transformation.java | 49 protected float mAlpha; 75 mAlpha = 1.0f; 106 mAlpha = t.getAlpha(); 123 mAlpha *= t.getAlpha(); 142 mAlpha *= t.getAlpha(); 168 mAlpha = alpha; 208 return mAlpha; 232 sb.append("{alpha="); sb.append(mAlpha); 242 pw.print("{alpha="); pw.print(mAlpha);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FastBitmapDrawable.java | 29 private int mAlpha; 35 mAlpha = 255; 64 mAlpha = alpha; 73 return mAlpha;
|
/developers/samples/android/ui/DrawableTinting/Application/src/test/ |
SampleTests.java | 41 SeekBar mAlpha; 65 mAlpha = (SeekBar) fragmentView.findViewById(R.id.alphaSeek); 87 assertEquals(255, mAlpha.getProgress()); 123 mAlpha.setProgress(255); 130 mAlpha.setProgress(255); 137 mAlpha.setProgress(255); 144 mAlpha.setProgress(255); 151 mAlpha.setProgress(0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
AnimateableViewBounds.java | 43 float mAlpha = 1f; 60 outline.setAlpha(Utilities.mapRange(mAlpha, MIN_ALPHA, MAX_ALPHA)); 77 if (Float.compare(alpha, mAlpha) != 0) { 78 mAlpha = alpha; 88 return mAlpha;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
DimLayer.java | 43 private float mAlpha = 0; 57 /** Value of mAlpha when beginning transition to mTargetAlpha */ 60 /** Final value of mAlpha following transition */ 114 adjustAlpha(mAlpha); 130 return mTargetAlpha != mAlpha; 156 if (mAlpha == alpha) { 159 mAlpha = alpha; 271 mTargetAlpha = mAlpha = 0; 287 || (!animating && mAlpha != alpha)) { 293 mStartAlpha = mAlpha; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyguardUserSwitcherScrim.java | 45 private int mAlpha = 255; 68 mAlpha = alpha; 75 return mAlpha; 106 (int) (Color.alpha(mDarkColor) * mAlpha / 255f), 0, 0, 0),
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
AlphaTouchInterceptorOverlay.java | 46 private float mAlpha = 0.0f; 72 setAlphaLayerValue(mAlpha); 77 mAlpha = alpha; 79 ContactDisplayUtils.setAlphaOnViewBackground(mAlphaLayer, mAlpha);
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
CircleBitmapDrawable.java | 42 private int mAlpha = -1; 74 if (mAlpha != -1) { 75 mDrawable.setAlpha(mAlpha); 97 mAlpha = alpha;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
TransitionDrawable.java | 71 private int mAlpha = 0; 113 mAlpha = 0; 124 mAlpha = 0; 144 mAlpha = 0; 149 mAlpha = 255; 159 mFrom = mAlpha; 183 mAlpha = (int) (mFrom + (mTo - mFrom) * normalized); 188 final int alpha = mAlpha;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
AssistDisclosure.java | 113 private int mAlpha = 0; 179 mAlpha = 0; 189 mPaint.setAlpha(mAlpha); 190 mShadowPaint.setAlpha(mAlpha / 4); 253 mAlpha = (int) mAlphaOutAnimator.getAnimatedValue(); 255 mAlpha = (int) mAlphaInAnimator.getAnimatedValue();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
ButtonDispatcher.java | 39 private Integer mAlpha; 61 if (mAlpha != null) { 62 view.setAlpha(mAlpha); 83 return mAlpha != null ? mAlpha : 1; 122 mAlpha = alpha;
|
TrustDrawable.java | 53 private int mAlpha; 92 int newAlpha = (mCurAlpha * mAlpha) / 256; 103 mAlpha = alpha; 108 return mAlpha;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
BaseRecyclerViewFastScrollPopup.java | 47 private float mAlpha; 127 mAlpha = alpha; 132 return mAlpha; 147 mBg.setAlpha((int) (mAlpha * 255)); 149 mTextPaint.setAlpha((int) (mAlpha * 255)); 158 return (mAlpha > 0f) && (mSectionName != null);
|
/frameworks/base/core/java/com/android/internal/widget/ |
DrawableHolder.java | 43 private float mAlpha = 1f; 129 if (mAlpha <= threshold) // don't bother if it won't show up 135 mDrawable.setAlpha((int) Math.round(mAlpha * 255f)); 175 mAlpha = alpha; 195 return mAlpha;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
ColorOverlayDimmer.java | 35 private int mAlpha; 90 mAlpha = (int) (255 * mAlphaFloat); 91 mPaint.setAlpha(mAlpha); 98 return mAlpha != 0; 105 return mAlpha;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
AnimatedCircleDrawable.java | 35 private int mAlpha = 0xff; 53 int paintColor = (mAlpha << 24) | (mColor & 0x00ffffff); 66 mAlpha = alpha;
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
PieItem.java | 49 private float mAlpha; 94 mAlpha = alpha; 199 setAlpha(mAlpha);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
StochasticLinearRankerWithPrior.java | 56 private float mAlpha = 0; 76 mAlpha = 0; 99 return (1 - mAlpha) * super.scoreSample(keys,values) + 100 mAlpha * priorScoreSample(keys,values); 148 m.priorParameters.put(SET_ALPHA, String.valueOf(mAlpha)); 182 mAlpha = Float.valueOf(value.trim()).floatValue();
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ShapeHolder.java | 33 private float mAlpha = 1f; 85 this.mAlpha = alpha;
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES11Canvas.java | 73 private float mAlpha; 124 // mMatrixValues and mAlpha will be initialized in setSize() 135 mAlpha = 1.0f; 158 mAlpha = alpha; 163 return mAlpha; 169 mAlpha *= alpha; 180 mGLState.setColorMode(paint.getColor(), mAlpha); 198 mGLState.setColorMode(paint.getColor(), mAlpha); 214 mGLState.setColorMode(color, mAlpha); 283 float alpha = mAlpha; [all...] |