Searched refs:parentWindowContainer (Results 1 – 2 of 2) sorted by relevance
344 final WindowContainer parentWindowContainer = mock(WindowContainer.class); in testIgnoresForcedOrientationWhenParentHandles() local345 Mockito.doReturn(parentWindowContainer).when(task.mTask).getParent(); in testIgnoresForcedOrientationWhenParentHandles()346 Mockito.doReturn(true).when(parentWindowContainer) in testIgnoresForcedOrientationWhenParentHandles()
5030 final WindowContainer parentWindowContainer = getParent(); in transformFrameToSurfacePosition() local5041 } else if (parentWindowContainer != null) { in transformFrameToSurfacePosition()5042 final Rect parentBounds = parentWindowContainer.getDisplayedBounds(); in transformFrameToSurfacePosition()