Home
last modified time | relevance | path

Searched refs:getAlpha (Results 1 – 25 of 65) sorted by relevance

123

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DPageIndicator.java162 v.setAlpha(getAlpha(i == index)); in setIndex()
195 first.setAlpha(getAlpha(false)); in animate()
198 second.setAlpha(getAlpha(true)); in animate()
203 private float getAlpha(boolean isMajor) {
DMaterialProgressDrawable.java249 public int getAlpha() { in getAlpha() method in MaterialProgressDrawable
250 return mRing.getAlpha(); in getAlpha()
645 public int getAlpha() { in getAlpha() method in MaterialProgressDrawable.Ring
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DAlphaUpdateListener.java66 if (view.getAlpha() < ALPHA_CUTOFF_THRESHOLD && view.getVisibility() != hiddenVisibility) { in updateVisibility()
68 } else if (view.getAlpha() > ALPHA_CUTOFF_THRESHOLD in updateVisibility()
DKeyboardInsetAnimationCallback.java111 ((KeyboardInsetListener) mView).onKeyboardAlphaChanged(animation.getAlpha()); in onProgress()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/utils/
DUiUtils.java46 if (shown && view.getVisibility() == View.VISIBLE && view.getAlpha() == 1) { in setViewShown()
52 } else if (!shown && (view.getVisibility() != View.VISIBLE || view.getAlpha() == 0)) { in setViewShown()
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DWorkspacePageIndicator.java65 return obj.mLinePaint.getAlpha();
147 if (getAlpha() == 0) { in setScroll()
190 if (shouldAutoHide && mLinePaint.getAlpha() > 0) { in setShouldAutoHide()
DPageIndicatorDots.java101 return obj.mPaginationPaint.getAlpha();
221 if (shouldAutoHide && mPaginationPaint.getAlpha() > INVISIBLE_ALPHA) { in setShouldAutoHide()
420 int alpha = mPaginationPaint.getAlpha();
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DFlashNotificationsPreviewPreferenceTest.java73 assertThat(title.getAlpha()).isEqualTo(1f); in setEnabled_true_verifyEnabledUi()
89 assertThat(title.getAlpha()).isEqualTo(0.38f); in setEnabled_false_verifyDisabledUi()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DUdfpsEnrollDrawable.java239 mFingerprintDrawable.setAlpha(getAlpha()); in draw()
240 mSensorOutlinePaint.setAlpha(getAlpha()); in draw()
256 public int getAlpha() { in getAlpha() method in UdfpsEnrollDrawable
/packages/apps/Launcher3/src/com/android/launcher3/views/
DScrimView.java92 return mIsVisible && getAlpha() == 1 && Color.alpha(mBackgroundColor) == 255; in isFullyOpaque()
123 && getAlpha() > threshold in updateSysUiColors()
/packages/apps/Car/Notification/src/com/android/car/notification/
DDismissAnimationHelper.java123 .alpha(viewHolder.getAlpha()) in animateRestore()
134 return viewHolder.getAlpha(); in calculateAlphaValue()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoCarousel.java176 return (ImageView) ((mPanel[0].getAlpha() < 0.5f) ? mPanel[0] : mPanel[1]); in getBackface()
233 float frontA = mPanel[0].getAlpha(); in flip()
234 float backA = mPanel[1].getAlpha(); in flip()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java378 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()
DGLCanvas.java50 public abstract float getAlpha(); in getAlpha() method
/packages/apps/Gallery2/src/com/android/photos/shims/
DBitmapJobDrawable.java141 return (bm == null || bm.hasAlpha() || mPaint.getAlpha() < 255) ? in getOpacity()
147 int oldAlpha = mPaint.getAlpha(); in setAlpha()
/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java186 + view.getAlpha() in dumpChildren()
200 + title.getAlpha() in dumpChildren()
214 + contents.getAlpha() in dumpChildren()
523 oldTitleView.getAlpha(), in setSelectedPositionSmooth()
724 titleView.getAlpha(), in setSelectedPositionSmooth()
759 dest.setAlpha(src.getAlpha()); in setTempTitleView()
/packages/apps/Launcher3/src/com/android/launcher3/
DMultipageCellLayout.java142 if (mLeftBackground.getAlpha() > 0) { in onDraw()
146 if (mRightBackground.getAlpha() > 0) { in onDraw()
DLauncherAnimUtils.java49 return drawable.getAlpha();
184 return view.getAlpha();
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/widget/
DUdfpsEnrollDrawable.java271 mFingerprintDrawable.setAlpha(getAlpha()); in draw()
272 mSensorOutlinePaint.setAlpha(getAlpha()); in draw()
288 public int getAlpha() { in getAlpha() method in UdfpsEnrollDrawable
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureTrailDrawingPoints.java122 private static int getAlpha(final int elapsedTime, final GestureTrailDrawingParams params) { in getAlpha() method in GestureTrailDrawingPoints
216 final int alpha = getAlpha(elapsedTime, params); in drawGestureTrailLocked()
/packages/apps/Gallery2/src/com/android/photos/drawables/
DAutoThumbnailDrawable.java206 return (bm == null || bm.hasAlpha() || mPaint.getAlpha() < 255) ? in getOpacity()
212 int oldAlpha = mPaint.getAlpha(); in setAlpha()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DToggleOnTapCallback.java27 if (mViewtoToggle.getAlpha() == 1f) { in onTouchDown()
/packages/apps/DeskClock/src/com/android/deskclock/
DItemAnimator.kt42 val prevAlpha: Float = holder.itemView.getAlpha() in animateRemove()
66 val prevAlpha: Float = holder.itemView.getAlpha() in animateAdd()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DQuickstepAtomicAnimationFactory.java157 && currentChild.getShortcutsAndWidgets().getAlpha() > 0; in prepareForAtomicAnimation()
164 boolean isHotseatVisible = hotseat.getVisibility() == VISIBLE && hotseat.getAlpha() > 0; in prepareForAtomicAnimation()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DCarSystemBarButtonTest.java133 assertThat(mDefaultButton.getAlpha()).isEqualTo(mDefaultButton.getSelectedAlpha()); in onUnselected_doesNotHighlightWhenSelected_applySelectedAlpha()
334 assertThat(mDefaultButton.getAlpha()).isEqualTo(mDefaultButton.getSelectedAlpha()); in onSetDisabled_enabled_refreshIconAlpha()

123