Searched refs:mScrimBehind (Results 1 – 2 of 2) sorted by relevance
56 private final ScrimView mScrimBehind; field in ScrimController92 mScrimBehind = scrimBehind; in ScrimController()173 updateScrimColor(mScrimBehind); in setDozeBehindAlpha()188 mScrimBehind.invalidate(); in scheduleUpdate()189 mScrimBehind.getViewTreeObserver().addOnPreDrawListener(this); in scheduleUpdate()246 setScrimColor(mScrimBehind, alpha); in setScrimBehindColor()275 return scrim == mScrimBehind ? mDozeBehindAlpha : mDozeInFrontAlpha; in getDozeAlpha()279 return scrim == mScrimBehind ? mCurrentBehindAlpha in getCurrentScrimAlpha()285 if (scrim == mScrimBehind) { in setCurrentScrimAlpha()341 mScrimBehind.getViewTreeObserver().removeOnPreDrawListener(this); in onPreDraw()[all …]
36 private final ScrimView mScrimBehind; field in BrightnessMirrorController42 mScrimBehind = (ScrimView) statusBarWindow.findViewById(R.id.scrim_behind); in BrightnessMirrorController()49 mScrimBehind.animateViewAlpha(0.0f, TRANSITION_DURATION_OUT, PhoneStatusBar.ALPHA_OUT); in showMirror()55 mScrimBehind.animateViewAlpha(1.0f, TRANSITION_DURATION_IN, PhoneStatusBar.ALPHA_IN); in hideMirror()