/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | CrossFadeDarkControllerTest.java | 58 assertThat(mViewFadeIn.getAlpha()).isEqualTo(1f); in setDarkAmount_fadeIn() 60 assertThat(mViewFadeOut.getAlpha()).isEqualTo(0f); in setDarkAmount_fadeIn() 69 assertThat(mViewFadeIn.getAlpha()).isEqualTo(0f); in setDarkAmount_fadeOut() 71 assertThat(mViewFadeOut.getAlpha()).isEqualTo(1f); in setDarkAmount_fadeOut() 80 assertThat(mViewFadeIn.getAlpha()).isGreaterThan(0f); in setDarkAmount_partialFadeIn() 81 assertThat(mViewFadeIn.getAlpha()).isLessThan(1f); in setDarkAmount_partialFadeIn() 90 assertThat(mViewFadeOut.getAlpha()).isGreaterThan(0f); in setDarkAmount_partialFadeOut() 91 assertThat(mViewFadeOut.getAlpha()).isLessThan(1f); in setDarkAmount_partialFadeOut()
|
/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/core/java/android/view/animation/ |
D | Transformation.java | 107 mAlpha = t.getAlpha(); in set() 124 mAlpha *= t.getAlpha(); in compose() 143 mAlpha *= t.getAlpha(); in postCompose() 208 public float getAlpha() { in getAlpha() method in Transformation
|
/frameworks/base/packages/SystemUI/legacy/recents/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 | 124 return tv.getViewBounds().getAlpha(); 295 if (Float.compare(mViewBounds.getAlpha(), toTransform.viewOutlineAlpha) != 0) { in updateViewPropertiesToTaskTransform() 312 if (Float.compare(mViewBounds.getAlpha(), toTransform.viewOutlineAlpha) != 0) { in updateViewPropertiesToTaskTransform() 314 mViewBounds.getAlpha(), toTransform.viewOutlineAlpha); in updateViewPropertiesToTaskTransform() 482 if (fadeIn && mActionButtonView.getAlpha() < 1f) { in showActionButton() 505 if (fadeOut && mActionButtonView.getAlpha() > 0f) { in hideActionButton()
|
D | DockState.java | 162 if (dockAreaOverlay.getAlpha() > 0) { in draw() 194 if (dockAreaOverlay.getAlpha() != areaAlpha) { in startAnimation() 197 Utilities.DRAWABLE_ALPHA, dockAreaOverlay.getAlpha(), areaAlpha); in startAnimation()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ReorderBarrierDrawables.cpp | 129 if (casterProperties.getAlpha() <= 0.0f || casterProperties.getOutline().getAlpha() <= 0.0f || in drawShadow() 137 casterProperties.getAlpha() * casterProperties.getOutline().getAlpha(); in drawShadow()
|
D | RenderNodeDrawable.cpp | 195 paint->writable()->setAlpha((uint8_t)(*paint)->getAlpha() * mAlpha); in onFilter() 288 if (properties.getAlpha() < 1) { in setViewProperties() 293 *alphaMultiplier = properties.getAlpha(); in setViewProperties() 303 canvas->saveLayerAlpha(&bounds, (int)(properties.getAlpha() * 255)); in setViewProperties()
|
/frameworks/base/packages/Keyguard/ |
D | proguard.flags | 7 public float getAlpha(); 9 public int getAlpha();
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 91 parent, outline, elevation, canvas, child.getAlpha(), densityDpi); in drawShadow() 93 RectShadowPainter.paintShadow(outline, elevation, canvas, child.getAlpha()); in drawShadow() 100 shadow = getPathShadow(outline, canvas, elevation, child.getAlpha()); in drawShadow() 159 float alpha = child.getAlpha() * child.getTransitionAlpha(); in transformCanvas()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMenuActivity.java | 204 if (v.getAlpha() != 0) { in onCreate() 212 if (mMenuContainer.getAlpha() != 0) { in onCreate() 316 mMenuContainer.getAlpha(), 1f); in showMenu() 319 mSettingsButton.getAlpha(), 1f); in showMenu() 321 mDismissButton.getAlpha(), 1f); in showMenu() 364 mMenuContainer.getAlpha(), 0f); in hideMenu() 367 mSettingsButton.getAlpha(), 0f); in hideMenu() 369 mDismissButton.getAlpha(), 0f); in hideMenu()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PageIndicator.java | 108 v.setAlpha(getAlpha(i == index)); in setIndex() 139 first.setAlpha(getAlpha(false)); in animate() 142 second.setAlpha(getAlpha(true)); in animate() 147 private float getAlpha(boolean isMajor) {
|
/frameworks/base/libs/hwui/utils/ |
D | PaintUtils.h | 46 if (paint->getAlpha() != 0xFF || PaintUtils::isBlendedShader(paint->getShader()) || in isOpaquePaint() 98 return paint ? paint->getAlpha() : 255; in getAlphaDirect()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/ |
D | BubbleFlyoutViewTest.java | 87 assertEquals(0f, mFlyoutText.getAlpha(), 0.01f); in testSetCollapsePercent() 91 assertEquals(1f, mFlyoutText.getAlpha(), 0.01f); in testSetCollapsePercent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ButtonDispatcher.java | 69 setVisibility(getAlpha() == 1 ? View.VISIBLE : View.INVISIBLE); 127 public float getAlpha() { in getAlpha() method in ButtonDispatcher 187 (getAlpha() < alpha) ? FADE_DURATION_IN : FADE_DURATION_OUT, in setAlpha() 197 mFadeAnimator = ValueAnimator.ofFloat(getAlpha(), alpha); in setAlpha()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ShapeDrawable.java | 234 final int prevAlpha = paint.getAlpha(); in draw() 238 if (paint.getAlpha() != 0 || paint.getXfermode() != null || paint.hasShadowLayer()) { in draw() 287 public int getAlpha() { in getAlpha() method in ShapeDrawable 328 final int alpha = p.getAlpha(); in getOpacity() 507 outline.setAlpha(getAlpha() / 255.0f); in getOutline()
|
D | BitmapDrawable.java | 523 restoreAlpha = p.getAlpha(); in draw() 648 outline.setAlpha(opaqueOverShape ? getAlpha() / 255.0f : 0.0f); in getOutline() 653 final int oldAlpha = mBitmapState.mPaint.getAlpha(); in setAlpha() 661 public int getAlpha() { in getAlpha() method in BitmapDrawable 662 return mBitmapState.mPaint.getAlpha(); in getAlpha() 968 return (bitmap == null || bitmap.hasAlpha() || mBitmapState.mPaint.getAlpha() < 255) ? in getOpacity()
|
D | NinePatchDrawable.java | 209 restoreAlpha = getPaint().getAlpha(); in draw() 295 outline.setAlpha(insets.outlineAlpha * (getAlpha() / 255.0f)); in getOutline() 325 public int getAlpha() { in getAlpha() method in NinePatchDrawable 330 return getPaint().getAlpha(); in getAlpha() 535 || (mPaint != null && mPaint.getAlpha() < 255) ? in getOpacity()
|
D | RippleForeground.java | 123 final int origAlpha = p.getAlpha(); in drawSoftware() 274 RenderNodeAnimator.PAINT_ALPHA, paint.getAlpha()); in startHardwareEnter() 293 opacity.setStartValue(mOwner.getRipplePaint().getAlpha()); in startHardwareExit()
|
D | ColorStateListDrawable.java | 58 public int getAlpha() { in getAlpha() method in ColorStateListDrawable 59 return mColorDrawable.getAlpha(); in getAlpha()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | ViewState.java | 141 alpha = view.getAlpha(); in initFrom() 206 } else if (view.getAlpha() != this.alpha) { in applyToView() 271 if (!wasVisible && (alpha != 0 || child.getAlpha() != 0) in animateTo() 275 float childAlpha = child.getAlpha(); in animateTo() 361 child.getAlpha(), newEndValue); in startAlphaAnimation() 403 child.setTag(TAG_START_ALPHA, child.getAlpha()); in startAlphaAnimation()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Shader_Delegate.java | 115 public float getAlpha() { in getAlpha() method in Shader_Delegate
|
D | BlendComposite.java | 81 public float getAlpha() { in getAlpha() method in BlendComposite 144 float alpha = composite.getAlpha(); in compose()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 378 public float getAlpha() { in getAlpha() method in GLES20Canvas 389 setAlpha(getAlpha() * alpha); in multiplyAlpha() 446 float currentAlpha = getAlpha(); in save() 523 float alpha = ((color >>> 24) & 0xFF) / 255f * getAlpha(); in getColor() 703 enableBlending(!texture.isOpaque() || getAlpha() < OPAQUE_ALPHA); in prepareTexture() 711 GLES20.glUniform1f(params[INDEX_ALPHA].handle, getAlpha()); in prepareTexture() 771 float currentAlpha = getAlpha(); in drawMixed()
|