Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDimmerTests.java120 private Dimmer mDimmer; field in DimmerTests
137 mDimmer = new Dimmer(mHost, mSurfaceAnimatorStarter); in setUp()
146 mDimmer.dimAbove(mTransaction, child, alpha); in testUpdateDimsAppliesCrop()
151 mDimmer.updateDims(mTransaction, bounds); in testUpdateDimsAppliesCrop()
163 mDimmer.dimAbove(mTransaction, child, alpha); in testDimAboveWithChildCreatesSurfaceAboveChild()
178 mDimmer.dimBelow(mTransaction, child, alpha, 0); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild()
193 mDimmer.dimAbove(mTransaction, child, alpha); in testDimBelowWithChildSurfaceDestroyedWhenReset()
195 mDimmer.resetDimStates(); in testDimBelowWithChildSurfaceDestroyedWhenReset()
197 mDimmer.updateDims(mTransaction, new Rect()); in testDimBelowWithChildSurfaceDestroyedWhenReset()
210 mDimmer.dimAbove(mTransaction, child, alpha); in testDimBelowWithChildSurfaceNotDestroyedWhenPersisted()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayArea.java718 private final Dimmer mDimmer = new Dimmer(this); field in DisplayArea.Dimmable
727 return mDimmer; in getDimmer()
732 mDimmer.resetDimStates(); in prepareSurfaces()
741 mDimmer.resetDimStates(); in prepareSurfaces()
744 if (mDimmer.updateDims(getSyncTransaction(), mTmpDimBoundsRect)) { in prepareSurfaces()
DTaskFragment.java213 Dimmer mDimmer = new Dimmer(this); field in TaskFragment
2826 return mDimmer; in getDimmer()
2839 mDimmer.resetDimStates(); in prepareSurfaces()
2845 if (mDimmer.updateDims(getSyncTransaction(), dimBounds)) { in prepareSurfaces()
DTask.java3279 mDimmer.dontAnimateExit();
3291 return mDimmer;
3303 return mDimmer;
3308 mDimmer.resetDimStates();
3323 if (mDimmer.updateDims(t, mTmpDimBoundsRect)) {