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
1924 return mDimmer; in getDimmer()
1929 mDimmer.resetDimStates(); in prepareSurfaces()
1935 if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) { in prepareSurfaces()
1960 mDimmer.dimAbove(getPendingTransaction(), alpha); in dim()
1965 mDimmer.stopDim(getPendingTransaction()); in stopDimming()
DDisplayContent.java4693 private final Dimmer mDimmer = new Dimmer(this); field in DisplayContent.NonAppWindowContainers
4747 return mDimmer; in getDimmer()
4752 mDimmer.resetDimStates(); in prepareSurfaces()
4756 if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) { in prepareSurfaces()