/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/ |
D | AnimatedVectorDrawableTest.java | 245 int originalAlpha = d2.getAlpha(); in testMutate() 252 assertEquals(newAlpha, d1.getAlpha()); in testMutate() 253 assertEquals(originalAlpha, d2.getAlpha()); in testMutate() 254 assertEquals(originalAlpha, d3.getAlpha()); in testMutate() 258 assertEquals(0x40, d1.getAlpha()); in testMutate() 259 assertEquals(originalAlpha, d2.getAlpha()); in testMutate() 260 assertEquals(originalAlpha, d3.getAlpha()); in testMutate() 263 assertEquals(0x40, d1.getAlpha()); in testMutate() 264 assertEquals(0x20, d2.getAlpha()); in testMutate() 265 assertEquals(originalAlpha, d3.getAlpha()); in testMutate()
|
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/ |
D | VectorDrawableTest.java | 313 int originalAlpha = d2.getAlpha(); in testMutate() 316 assertEquals(0x80, d1.getAlpha()); in testMutate() 317 assertEquals(0x80, d2.getAlpha()); in testMutate() 318 assertEquals(0x80, d3.getAlpha()); in testMutate() 322 assertEquals(0x40, d1.getAlpha()); in testMutate() 323 assertEquals(0x80, d2.getAlpha()); in testMutate() 324 assertEquals(0x80, d3.getAlpha()); in testMutate() 327 assertEquals(0x40, d1.getAlpha()); in testMutate() 328 assertEquals(0x20, d2.getAlpha()); in testMutate() 329 assertEquals(0x20, d3.getAlpha()); in testMutate()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | TileDrawable.java | 94 if (!isVisible() && mPaint.getAlpha() == 0) { in draw() 97 final int alpha = mPaint.getAlpha(); in draw() 106 final int old = mPaint.getAlpha(); in setAlpha() 126 return mPaint.getAlpha(); in getCurrentAlpha() 145 if (mPaint.getAlpha() == 255) { in setVisible()
|
D | CircularBitmapDrawable.java | 106 float alpha = placeholder.getPaint().getAlpha() / 255f; in onDrawPlaceholderOrProgress() 150 int oldAlpha = mBitmapPaint.getAlpha(); in onDrawCircularBitmap() 165 final int old = mBitmapPaint.getAlpha(); in setAlpha()
|
/frameworks/base/libs/hwui/utils/ |
D | PaintUtils.h | 57 return paint.getAlpha() == 0 in paintWillNotDraw() 64 return paint.getAlpha() == 0 in paintWillNotDrawText() 73 if (paint->getAlpha() != 0xFF in isOpaquePaint() 129 return paint ? paint->getAlpha() : 255; in getAlphaDirect()
|
/frameworks/base/core/java/android/view/animation/ |
D | Transformation.java | 106 mAlpha = t.getAlpha(); in set() 123 mAlpha *= t.getAlpha(); in compose() 142 mAlpha *= t.getAlpha(); in postCompose() 207 public float getAlpha() { in getAlpha() method in Transformation
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskViewTransform.java | 71 alpha = tv.getAlpha(); in fillIn() 74 viewOutlineAlpha = tv.getViewBounds().getAlpha(); in fillIn() 152 if (hasAlphaChangedFrom(v.getAlpha())) { in applyToTaskView() 171 if (hasAlphaChangedFrom(v.getAlpha())) { in applyToTaskView() 172 ObjectAnimator anim = ObjectAnimator.ofFloat(v, View.ALPHA, v.getAlpha(), alpha); in applyToTaskView()
|
D | TaskView.java | 125 return tv.getViewBounds().getAlpha(); 290 if (Float.compare(mViewBounds.getAlpha(), toTransform.viewOutlineAlpha) != 0) { in updateViewPropertiesToTaskTransform() 307 if (Float.compare(mViewBounds.getAlpha(), toTransform.viewOutlineAlpha) != 0) { in updateViewPropertiesToTaskTransform() 309 mViewBounds.getAlpha(), toTransform.viewOutlineAlpha); in updateViewPropertiesToTaskTransform() 472 if (fadeIn && mActionButtonView.getAlpha() < 1f) { in showActionButton() 495 if (fadeOut && mActionButtonView.getAlpha() > 0f) { in hideActionButton()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BackgroundManager.java | 170 if (mState.mPaint.getAlpha() < FULL_ALPHA && mState.mPaint.getColorFilter() != null) { in draw() 183 if (mState.mPaint.getAlpha() != alpha) { in setAlpha() 220 mAlpha = wrapper.getAlpha(); in DrawableWrapper() 233 public int getAlpha() { in getAlpha() method in BackgroundManager.DrawableWrapper 271 if (mPaint.getAlpha() != alpha) { in setAlpha() 272 int previousAlpha = mPaint.getAlpha(); in setAlpha() 280 public int getAlpha() { in getAlpha() method in BackgroundManager.TranslucentLayerDrawable 281 return mPaint.getAlpha(); in getAlpha() 344 if (mPaint.getAlpha() < FULL_ALPHA) { in draw() 349 if (mPaint.getAlpha() < FULL_ALPHA) { in draw() [all …]
|
/frameworks/support/v4/kitkat/android/support/v4/graphics/drawable/ |
D | DrawableCompatKitKat.java | 42 public static int getAlpha(Drawable drawable) { in getAlpha() method in DrawableCompatKitKat 43 return drawable.getAlpha(); in getAlpha()
|
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
D | DrawableCompat.java | 54 int getAlpha(Drawable drawable); in getAlpha() method 119 public int getAlpha(Drawable drawable) { in getAlpha() method in DrawableCompat.BaseDrawableImpl 203 public int getAlpha(Drawable drawable) { in getAlpha() method in DrawableCompat.KitKatDrawableImpl 204 return DrawableCompatKitKat.getAlpha(drawable); in getAlpha() 410 public static int getAlpha(@NonNull Drawable drawable) { in getAlpha() method in DrawableCompat 411 return IMPL.getAlpha(drawable); in getAlpha()
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable.java | 270 final int oldAlpha = mPaint.getAlpha(); in setAlpha() 277 public int getAlpha() { in getAlpha() method in RoundedBitmapDrawable 278 return mPaint.getAlpha(); in getAlpha() 370 || mPaint.getAlpha() < 255 in getOpacity()
|
/frameworks/base/packages/Keyguard/ |
D | proguard.flags | 7 public float getAlpha(); 9 public int getAlpha();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PageIndicator.java | 100 v.setAlpha(getAlpha(i == index)); in setIndex() 131 first.setAlpha(getAlpha(false)); in animate() 134 second.setAlpha(getAlpha(true)); in animate() 139 private float getAlpha(boolean isMajor) {
|
/frameworks/base/libs/hwui/ |
D | RenderNode.cpp | 105 (MathUtils::isZero(properties().getAlpha()) ? ", zero alpha" : ""), in output() 130 (MathUtils::isZero(properties().getAlpha()) ? ", zero alpha" : ""), in output() 158 pprops->set_alpha(properties().getAlpha()); in copyTo() 194 poutline->set_alpha(outline.getAlpha()); in copyTo() 601 if (properties().getAlpha() < 1) { in pushLayerUpdate() 607 renderer.scaleAlpha(properties().getAlpha()); in pushLayerUpdate() 618 (int) (properties().getAlpha() * 255), in pushLayerUpdate() 848 if (properties().getAlpha() <= 0.0f in pushLayerUpdate() 849 || properties().getOutline().getAlpha() <= 0.0f in pushLayerUpdate() 868 float casterAlpha = properties().getAlpha() * properties().getOutline().getAlpha(); in pushLayerUpdate() [all …]
|
D | FrameBuilder.cpp | 210 if (properties.getAlpha() <= 0 in deferNodePropsAndOps() 239 if (properties.getAlpha() < 1) { in deferNodePropsAndOps() 245 mCanvasState.scaleAlpha(properties.getAlpha()); in deferNodePropsAndOps() 294 saveLayerPaint.setAlpha(properties.getAlpha()); in deferNodePropsAndOps() 397 if (properties.getAlpha() <= 0.0f in deferShadow() 398 || properties.getOutline().getAlpha() <= 0.0f in deferShadow() 410 float casterAlpha = properties.getAlpha() * properties.getOutline().getAlpha(); in deferShadow()
|
D | LayerBuilder.cpp | 103 return paint.getAlpha() == 255 in paintIsDefault() 110 return a.getAlpha() == b.getAlpha() in paintsAreEquivalent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationSettingsIconRow.java | 155 return mGearIcon.getAlpha() > 0; in isVisible() 193 mFadeAnimator = ValueAnimator.ofFloat(mGearIcon.getAlpha(), 1); in fadeInSettings() 221 mSettingsFadedIn = mGearIcon.getAlpha() == 1; in fadeInSettings()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ShapeDrawable.java | 230 final int prevAlpha = paint.getAlpha(); in draw() 234 if (paint.getAlpha() != 0 || paint.getXfermode() != null || paint.hasShadowLayer()) { in draw() 283 public int getAlpha() { in getAlpha() method in ShapeDrawable 312 final int alpha = p.getAlpha(); in getOpacity() 484 outline.setAlpha(getAlpha() / 255.0f); in getOutline()
|
D | RippleBackground.java | 70 final int origAlpha = p.getAlpha(); in drawSoftware() 133 final int targetAlpha = p.getAlpha(); in createHardwareExit()
|
D | BitmapDrawable.java | 520 restoreAlpha = p.getAlpha(); in draw() 615 outline.setAlpha(opaqueOverShape ? getAlpha() / 255.0f : 0.0f); in getOutline() 620 final int oldAlpha = mBitmapState.mPaint.getAlpha(); in setAlpha() 628 public int getAlpha() { in getAlpha() method in BitmapDrawable 629 return mBitmapState.mPaint.getAlpha(); in getAlpha() 889 return (bitmap == null || bitmap.hasAlpha() || mBitmapState.mPaint.getAlpha() < 255) ? in getOpacity()
|
D | NinePatchDrawable.java | 209 restoreAlpha = getPaint().getAlpha(); in draw() 294 outline.setAlpha(insets.outlineAlpha * (getAlpha() / 255.0f)); in getOutline() 327 public int getAlpha() { in getAlpha() method in NinePatchDrawable 332 return getPaint().getAlpha(); in getAlpha() 529 || (mPaint != null && mPaint.getAlpha() < 255) ? in getOpacity()
|
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/widget/ |
D | BackgroundHelperKitkat.java | 25 drawable.setAlpha(view.getBackground().getAlpha()); in setBackgroundPreservingAlpha()
|
/frameworks/support/v4/honeycomb/android/support/v4/view/ |
D | ViewCompatHC.java | 30 public static float getAlpha(View view) { in getAlpha() method in ViewCompatHC 31 return view.getAlpha(); in getAlpha()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | ViewState.java | 43 alpha = view.getAlpha(); in initFrom()
|