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()
4891 final WindowContainer parentWindowContainer = getParent(); in transformFrameToSurfacePosition() local4902 } else if (parentWindowContainer != null) { in transformFrameToSurfacePosition()4903 final Rect parentBounds = parentWindowContainer.getDisplayedBounds(); in transformFrameToSurfacePosition()