Home
last modified time | relevance | path

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

123

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsBackgroundDrawable.java67 public int getAlpha() { in getAlpha() method in AllAppsBackgroundDrawable.TransformedImageDrawable
128 if (getAlpha() != finalAlphaI) { in animateBgAlpha()
142 if (getAlpha() != finalAlphaI) { in setBgAlpha()
186 public int getAlpha() { in getAlpha() method in AllAppsBackgroundDrawable
187 return mHand.getAlpha(); in getAlpha()
DAllAppsRecyclerView.java130 if (mEmptySearchBackground != null && mEmptySearchBackground.getAlpha() > 0) { in onDraw()
180 && mEmptySearchBackground != null && mEmptySearchBackground.getAlpha() > 0) { in onInterceptTouchEvent()
/packages/apps/PermissionController/src/android/support/wearable/view/
DCircledImageView.java220 mPaint.setAlpha(Math.round(mPaint.getAlpha() * getAlpha())); in onDraw()
239 mPaint.setAlpha(Math.round(mPaint.getAlpha() * getAlpha())); in onDraw()
259 mPaint.setAlpha(Math.round(mPaint.getAlpha() * getAlpha())); in onDraw()
269 mDrawable.setAlpha(Math.round(getAlpha() * 255)); in onDraw()
/packages/apps/ThemePicker/src/com/android/customization/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) {
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DThumbnailDrawable.java93 final int oldAlpha = mPaint.getAlpha(); in setAlpha()
101 public int getAlpha() { in getAlpha() method in ThumbnailDrawable
102 return mPaint.getAlpha(); in getAlpha()
DContentFillItemAnimator.java105 if (holder.itemView.getAlpha() == 0) { in animateRemoveImpl()
113 holder.itemView, ALPHA, holder.itemView.getAlpha(), 0.0f); in animateRemoveImpl()
164 if (itemView.getAlpha() == 0) { in animateChangeImpl()
/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/Launcher3/src/com/android/launcher3/anim/
DAlphaUpdateListener.java55 if (view.getAlpha() < ALPHA_CUTOFF_THRESHOLD && view.getVisibility() != View.INVISIBLE) { in updateVisibility()
57 } else if (view.getAlpha() > ALPHA_CUTOFF_THRESHOLD in updateVisibility()
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DWorkspacePageIndicator.java68 return obj.mLinePaint.getAlpha();
150 if (getAlpha() == 0) { in setScroll()
192 if (shouldAutoHide && mLinePaint.getAlpha() > 0) { in setShouldAutoHide()
/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/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/PermissionController/src/com/android/packageinstaller/role/utils/
DUiUtils.java101 if (shown && view.getVisibility() == View.VISIBLE && view.getAlpha() == 1) { in setViewShown()
107 } else if (!shown && (view.getVisibility() != View.VISIBLE || view.getAlpha() == 0)) { in setViewShown()
/packages/apps/DeskClock/src/com/android/deskclock/
DDropShadowController.java120 if (!shouldShowDropShadow && mDropShadowView.getAlpha() != 0f) { in updateDropShadow()
131 if (shouldShowDropShadow && mDropShadowView.getAlpha() != 1f) { in updateDropShadow()
DAnimatorUtils.java60 return background.getAlpha();
90 return view.getDrawable().getAlpha();
DItemAnimator.java51 final float prevAlpha = holder.itemView.getAlpha(); in animateRemove()
78 final float prevAlpha = holder.itemView.getAlpha(); in animateAdd()
/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/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DClipAnimationHelper.java198 alpha = mTaskAlphaCallback.getAlpha(app, params.targetAlpha); in applyTransform()
226 alpha = mBaseAlphaCallback.getAlpha(app, progress); in applyTransform()
375 float getAlpha(RemoteAnimationTargetCompat target, float expectedAlpha); in getAlpha() method
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DLetterTileDrawable.java148 drawable.setAlpha(mPaint.getAlpha()); in drawDrawableOnCanvas()
158 sPaint.setAlpha(mPaint.getAlpha()); in drawLetterTile()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
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/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/Launcher3/src/com/android/launcher3/
DLauncherState.java312 && currentChild.getShortcutsAndWidgets().getAlpha() > 0;
319 boolean isHotseatVisible = hotseat.getVisibility() == VISIBLE && hotseat.getAlpha() > 0;
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java438 float currentAlpha = mBlackLayer.getAlpha(); in showStartSend()
490 float currentAlpha = mScreenshotView.getAlpha(); in finish()
755 new float[] {mBlackLayer.getAlpha(), 0.9f}); in showSendHint()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DToggleOnTapCallback.java27 if (mViewtoToggle.getAlpha() == 1f) { in onTouchDown()

123