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(mTransaction, never()).remove(dimLayer); 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()133 DimState(SurfaceControl dimLayer) { in DimState() argument134 mDimLayer = dimLayer; in DimState()136 final DimAnimatable dimAnimatable = new DimAnimatable(dimLayer); in DimState()