Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DDimmerTests.java104 private Dimmer mDimmer; field in DimmerTests
122 mDimmer = new Dimmer(mHost, mSurfaceAnimatorStarter); in setUp()
128 mDimmer.dimAbove(mTransaction, alpha); in testDimAboveNoChildCreatesSurface()
141 mDimmer.dimAbove(mTransaction, alpha); in testDimAboveNoChildRedundantlyUpdatesAlphaOnExistingSurface()
145 mDimmer.dimAbove(mTransaction, alpha); in testDimAboveNoChildRedundantlyUpdatesAlphaOnExistingSurface()
153 mDimmer.dimAbove(mTransaction, 0.8f); in testUpdateDimsAppliesSize()
158 mDimmer.updateDims(mTransaction, bounds); in testUpdateDimsAppliesSize()
166 mDimmer.dimAbove(mTransaction, 0.8f); in testDimAboveNoChildNotReset()
168 mDimmer.resetDimStates(); in testDimAboveNoChildNotReset()
170 mDimmer.updateDims(mTransaction, new Rect()); in testDimAboveNoChildNotReset()
[all …]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DFocusHighlightHelper.java70 private final ColorOverlayDimmer mDimmer; field in FocusHighlightHelper.FocusAnimator
95 mDimmer = ColorOverlayDimmer.createDefault(view.getContext()); in FocusAnimator()
97 mDimmer = null; in FocusAnimator()
111 if (mDimmer != null) { in setFocusLevel()
112 mDimmer.setActiveLevel(level); in setFocusLevel()
113 int color = mDimmer.getPaint().getColor(); in setFocusLevel()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java97 private Dimmer mDimmer = new Dimmer(this); field in Task
667 mDimmer.dontAnimateExit(); in dontAnimateDimExit()
685 return mDimmer; in getDimmer()
690 mDimmer.resetDimStates(); in prepareSurfaces()
696 if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) { in prepareSurfaces()
DTaskStack.java149 private Dimmer mDimmer = new Dimmer(this); field in TaskStack
1802 return mDimmer; in getDimmer()
1807 mDimmer.resetDimStates(); in prepareSurfaces()
1813 if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) { in prepareSurfaces()
1823 mDimmer.dimAbove(getPendingTransaction(), alpha); in dim()
1828 mDimmer.stopDim(getPendingTransaction()); in stopDimming()
DDisplayContent.java3766 private final Dimmer mDimmer = new Dimmer(this); field in DisplayContent.NonAppWindowContainers
3820 return mDimmer; in getDimmer()
3825 mDimmer.resetDimStates(); in prepareSurfaces()
3829 if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) { in prepareSurfaces()