Searched refs:surfaceFreezer (Results 1 – 2 of 2) sorted by relevance
1266 final SurfaceFreezer surfaceFreezer = container.mSurfaceFreezer; in testAssignAnimationLayer() local1271 spyOn(surfaceFreezer); in testAssignAnimationLayer()1279 verify(surfaceFreezer, never()).setLayer(any(), anyInt()); in testAssignAnimationLayer()1280 verify(surfaceFreezer, never()).setRelativeLayer(any(), any(), anyInt()); in testAssignAnimationLayer()1283 clearInvocations(surfaceFreezer); in testAssignAnimationLayer()1284 doReturn(true).when(surfaceFreezer).hasLeash(); in testAssignAnimationLayer()1290 verify(surfaceFreezer).setLayer(t, 1); in testAssignAnimationLayer()1291 verify(surfaceFreezer).setRelativeLayer(t, relativeParent, 2); in testAssignAnimationLayer()1302 final SurfaceFreezer surfaceFreezer = container.mSurfaceFreezer; in testStartChangeTransitionWhenPreviousIsNotFinished() local1306 mockSurfaceFreezerSnapshot(surfaceFreezer); in testStartChangeTransitionWhenPreviousIsNotFinished()[all …]
1202 void mockSurfaceFreezerSnapshot(SurfaceFreezer surfaceFreezer) { in mockSurfaceFreezerSnapshot() argument1206 spyOn(surfaceFreezer); in mockSurfaceFreezerSnapshot()1207 doReturn(screenshotBuffer).when(surfaceFreezer) in mockSurfaceFreezerSnapshot()1209 doReturn(null).when(surfaceFreezer) in mockSurfaceFreezerSnapshot()