Searched refs:dimLayer (Results 1 – 2 of 2) sorted by relevance
130 SurfaceControl dimLayer = getDimLayer(); in testDimAboveNoChildCreatesSurface() local132 assertNotNull("Dimmer should have created a surface", dimLayer); in testDimAboveNoChildCreatesSurface()134 verify(mTransaction).setAlpha(dimLayer, alpha); in testDimAboveNoChildCreatesSurface()135 verify(mTransaction).setLayer(dimLayer, Integer.MAX_VALUE); in testDimAboveNoChildCreatesSurface()167 SurfaceControl dimLayer = getDimLayer(); in testDimAboveNoChildNotReset() local172 verify(dimLayer, never()).destroy(); in testDimAboveNoChildNotReset()182 SurfaceControl dimLayer = getDimLayer(); in testDimAboveWithChildCreatesSurfaceAboveChild() local184 assertNotNull("Dimmer should have created a surface", dimLayer); in testDimAboveWithChildCreatesSurfaceAboveChild()186 verify(mTransaction).setAlpha(dimLayer, alpha); in testDimAboveWithChildCreatesSurfaceAboveChild()187 verify(mTransaction).setRelativeLayer(dimLayer, child.mControl, 1); in testDimAboveWithChildCreatesSurfaceAboveChild()[all …]
46 private DimAnimatable(SurfaceControl dimLayer) { in DimAnimatable() argument47 mDimLayer = dimLayer; in DimAnimatable()126 DimState(SurfaceControl dimLayer) { in DimState() argument127 mDimLayer = dimLayer; in DimState()129 mSurfaceAnimator = new SurfaceAnimator(new DimAnimatable(dimLayer), () -> { in DimState()