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.java143 private Dimmer mDimmer; field in DimmerTests
156 mDimmer = new SmoothDimmer(mHost, new MockAnimationAdapterFactory()); in setUp()
159 mDimmer = new LegacyDimmer(mHost, sSurfaceAnimatorStarter); in setUp()
167 mDimmer.adjustAppearance(mChild, 1, 1); in testUpdateDimsAppliesCrop()
168 mDimmer.adjustRelativeLayer(mChild, -1); in testUpdateDimsAppliesCrop()
172 mDimmer.getDimBounds().set(0, 0, width, height); in testUpdateDimsAppliesCrop()
173 mDimmer.updateDims(mTransaction); in testUpdateDimsAppliesCrop()
175 verify(mTransaction).setWindowCrop(mDimmer.getDimLayer(), width, height); in testUpdateDimsAppliesCrop()
176 verify(mTransaction).show(mDimmer.getDimLayer()); in testUpdateDimsAppliesCrop()
185 mDimmer.adjustAppearance(mChild, alpha, blur); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild_Smooth()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayArea.java820 private final Dimmer mDimmer = Dimmer.create(this); field in DisplayArea.Dimmable
828 return mDimmer; in getDimmer()
833 mDimmer.resetDimStates(); in prepareSurfaces()
835 final Rect dimBounds = mDimmer.getDimBounds(); in prepareSurfaces()
846 mDimmer.resetDimStates(); in prepareSurfaces()
850 if (mDimmer.updateDims(getSyncTransaction())) { in prepareSurfaces()
DTaskFragment.java219 Dimmer mDimmer = Dimmer.DIMMER_REFACTOR field in TaskFragment
3127 return mDimmer; in getDimmer()
3168 mDimmer.resetDimStates(); in prepareSurfaces()
3171 final Rect dimBounds = mDimmer.getDimBounds(); in prepareSurfaces()
3175 if (mDimmer.updateDims(getSyncTransaction())) { in prepareSurfaces()
DTask.java3263 mDimmer.dontAnimateExit();
3275 return mDimmer;
3289 return mDimmer;
3294 mDimmer.resetDimStates();
3297 final Rect dimBounds = mDimmer.getDimBounds();
3312 if (dimBounds != null && mDimmer.updateDims(t)) {