Searched refs:getDefaultBounds (Results 1 – 4 of 4) sorted by relevance
146 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_noOverrideMinSize_matchesDefaultSizeAndAspectRatio()160 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_widerOverrideMinSize_matchesMinSizeWidthAndDefaultAspectRatio()176 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_tallerOverrideMinSize_matchesMinSizeHeightAndDefaultAspectRatio()189 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_imeShowing_offsetByImeHeight()192 final Rect defaultBoundsWithIme = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_imeShowing_offsetByImeHeight()201 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_shelfShowing_offsetByShelfHeight()204 final Rect defaultBoundsWithShelf = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_shelfShowing_offsetByShelfHeight()215 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_imeAndShelfShowing_offsetByTallest()219 final Rect defaultBoundsWithIme = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_imeAndShelfShowing_offsetByTallest()230 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_boundsAtDefaultGravity()[all …]
106 return transformBoundsToAspectRatioIfValid(getDefaultBounds(), in getNormalBounds()112 public Rect getDefaultBounds() { in getDefaultBounds() method in PipBoundsAlgorithm113 return getDefaultBounds(INVALID_SNAP_FRACTION, null /* size */); in getDefaultBounds()133 final Rect destinationBounds = getDefaultBounds(); in getEntryDestinationBoundsIgnoringKeepClearAreas()138 destinationBounds.set(getDefaultBounds(reentryState.getSnapFraction(), scaledBounds)); in getEntryDestinationBoundsIgnoringKeepClearAreas()299 private Rect getDefaultBounds(float snapFraction, Size size) { in getDefaultBounds() method in PipBoundsAlgorithm
272 when(mMockPipBoundsAlgorithm.getDefaultBounds()).thenReturn(bounds); in onDisplayConfigurationChanged_inPip_movePip()292 when(mMockPipBoundsAlgorithm.getDefaultBounds()).thenReturn(bounds); in onDisplayConfigurationChanged_notInPip_doesNotMovePip()
1095 outBounds.set(mPipBoundsAlgorithm.getDefaultBounds()); in updateMovementBounds()