Searched refs:isDetachedFromWindow (Results 1 – 2 of 2) sorted by relevance
162 assertFalse(mMockSurfaceView.isDetachedFromWindow()); in testOnDetachedFromWindow()165 PollingCheck.waitFor(() -> mMockSurfaceView.isDetachedFromWindow() && in testOnDetachedFromWindow()172 assertFalse(mMockSurfaceView.isDetachedFromWindow()); in surfaceInvalidatedWhileDetaching()176 assertTrue(mMockSurfaceView.isDetachedFromWindow()); in surfaceInvalidatedWhileDetaching()
216 public boolean isDetachedFromWindow() { in isDetachedFromWindow() method in SurfaceViewCtsActivity.MockSurfaceView