Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDimmerTests.java111 private Dimmer mDimmer; field in DimmerTests
128 mDimmer = new Dimmer(mHost, mSurfaceAnimatorStarter); in setUp()
134 mDimmer.dimAbove(mTransaction, alpha); in testDimAboveNoChildCreatesSurface()
147 mDimmer.dimAbove(mTransaction, alpha); in testDimAboveNoChildRedundantlyUpdatesAlphaOnExistingSurface()
151 mDimmer.dimAbove(mTransaction, alpha); in testDimAboveNoChildRedundantlyUpdatesAlphaOnExistingSurface()
159 mDimmer.dimAbove(mTransaction, 0.8f); in testUpdateDimsAppliesCrop()
164 mDimmer.updateDims(mTransaction, bounds); in testUpdateDimsAppliesCrop()
172 mDimmer.dimAbove(mTransaction, 0.8f); in testDimAboveNoChildNotReset()
174 mDimmer.resetDimStates(); in testDimAboveNoChildNotReset()
176 mDimmer.updateDims(mTransaction, new Rect()); in testDimAboveNoChildNotReset()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayArea.java629 private final Dimmer mDimmer = new Dimmer(this); field in DisplayArea.Dimmable
638 return mDimmer; in getDimmer()
643 mDimmer.resetDimStates(); in prepareSurfaces()
650 mDimmer.resetDimStates(); in prepareSurfaces()
653 if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) { in prepareSurfaces()
DTask.java562 private Dimmer mDimmer = new Dimmer(this); field in Task
3939 mDimmer.dontAnimateExit();
3955 return mDimmer;
3967 return mDimmer;
3972 mDimmer.resetDimStates();
3987 if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) {