Home
last modified time | relevance | path

Searched refs:mBackgroundAlpha (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/
DBottomBar.java74 private int mBackgroundAlpha = 0xff; field in BottomBar
130 setPaintColor(mBackgroundAlpha, mBackgroundColor); in refreshPaintColor()
150 setPaintColor(mBackgroundAlpha, mBackgroundColor); in setCaptureButtonUp()
155 setPaintColor(mBackgroundAlpha, mBackgroundPressedColor); in setCaptureButtonDown()
160 setCancelBackgroundColor(mBackgroundAlpha, mBackgroundColor); in setCancelButtonUp()
164 setCancelBackgroundColor(mBackgroundAlpha, mBackgroundPressedColor); in setCancelButtonDown()
357 setPaintColor(mBackgroundAlpha, mBackgroundColor); in setBackgroundColor()
358 setCancelBackgroundColor(mBackgroundAlpha, mBackgroundColor); in setBackgroundColor()
417 mBackgroundAlpha = alpha; in setBackgroundAlpha()
418 setPaintColor(mBackgroundAlpha, mBackgroundColor); in setBackgroundAlpha()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DDragLayer.java82 private float mBackgroundAlpha = 0; field in DragLayer
901 if (mBackground != null && mBackgroundAlpha > 0.0f) { in dispatchDraw()
902 int alpha = (int) (mBackgroundAlpha * 255); in dispatchDraw()
952 if (alpha != mBackgroundAlpha) { in setBackgroundAlpha()
953 mBackgroundAlpha = alpha; in setBackgroundAlpha()
959 return mBackgroundAlpha; in getBackgroundAlpha()
DCellLayout.java94 private float mBackgroundAlpha; field in CellLayout
408 if (mDrawBackground && mBackgroundAlpha > 0.0f) { in onDraw()
418 bg.setAlpha((int) (mBackgroundAlpha * mBackgroundAlphaMultiplier * 255)); in onDraw()
939 return mBackgroundAlpha; in getBackgroundAlpha()
955 if (mBackgroundAlpha != alpha) { in setBackgroundAlpha()
956 mBackgroundAlpha = alpha; in setBackgroundAlpha()
/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java97 private float mBackgroundAlpha = 0; field in Workspace
1165 if (alpha != mBackgroundAlpha) {
1166 mBackgroundAlpha = alpha;
1172 return mBackgroundAlpha;
1296 if (mBackground != null && mBackgroundAlpha > 0.0f && mDrawBackground) {
1297 int alpha = (int) (mBackgroundAlpha * 255);
1311 return (mBackground != null && mBackgroundAlpha > 0.0f && mDrawBackground);
DCellLayout.java97 private float mBackgroundAlpha; field in CellLayout
433 if (mBackgroundAlpha > 0.0f) { in onDraw()
443 bg.setAlpha((int) (mBackgroundAlpha * mBackgroundAlphaMultiplier * 255)); in onDraw()
1056 return mBackgroundAlpha; in getBackgroundAlpha()
1071 if (mBackgroundAlpha != alpha) { in setBackgroundAlpha()
1072 mBackgroundAlpha = alpha; in setBackgroundAlpha()