Searched refs:mDimmer (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DimmerTests.java | 111 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/ |
D | DisplayArea.java | 629 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()
|
D | Task.java | 562 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)) {
|