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.java105 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 testUpdateDimsAppliesCrop()
158 mDimmer.updateDims(mTransaction, bounds); in testUpdateDimsAppliesCrop()
166 mDimmer.dimAbove(mTransaction, 0.8f); in testDimAboveNoChildNotReset()
168 mDimmer.resetDimStates(); in testDimAboveNoChildNotReset()
170 mDimmer.updateDims(mTransaction, new Rect()); in testDimAboveNoChildNotReset()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java110 private Dimmer mDimmer = new Dimmer(this); field in Task
727 mDimmer.dontAnimateExit(); in dontAnimateDimExit()
745 return mDimmer; in getDimmer()
750 mDimmer.resetDimStates(); in prepareSurfaces()
756 if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) { in prepareSurfaces()
DTaskStack.java152 private Dimmer mDimmer = new Dimmer(this); field in TaskStack
1919 return mDimmer; in getDimmer()
1924 mDimmer.resetDimStates(); in prepareSurfaces()
1930 if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) { in prepareSurfaces()
1955 mDimmer.dimAbove(getPendingTransaction(), alpha); in dim()
1960 mDimmer.stopDim(getPendingTransaction()); in stopDimming()
DDisplayContent.java4679 private final Dimmer mDimmer = new Dimmer(this); field in DisplayContent.NonAppWindowContainers
4733 return mDimmer; in getDimmer()
4738 mDimmer.resetDimStates(); in prepareSurfaces()
4742 if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) { in prepareSurfaces()