Searched refs:getDefaultBounds (Results 1 – 4 of 4) sorted by relevance
127 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_noOverrideMinSize_matchesDefaultSizeAndAspectRatio()141 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_widerOverrideMinSize_matchesMinSizeWidthAndDefaultAspectRatio()157 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_tallerOverrideMinSize_matchesMinSizeHeightAndDefaultAspectRatio()170 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_imeShowing_offsetByImeHeight()173 final Rect defaultBoundsWithIme = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_imeShowing_offsetByImeHeight()182 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_shelfShowing_offsetByShelfHeight()185 final Rect defaultBoundsWithShelf = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_shelfShowing_offsetByShelfHeight()196 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_imeAndShelfShowing_offsetByTallest()200 final Rect defaultBoundsWithIme = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_imeAndShelfShowing_offsetByTallest()211 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_boundsAtDefaultGravity()[all …]
121 return transformBoundsToAspectRatioIfValid(getDefaultBounds(), in getNormalBounds()127 public Rect getDefaultBounds() { in getDefaultBounds() method in PipBoundsAlgorithm128 return getDefaultBounds(INVALID_SNAP_FRACTION, null /* size */); in getDefaultBounds()136 ? getDefaultBounds(reentryState.getSnapFraction(), reentryState.getSize()) in getEntryDestinationBounds()137 : getDefaultBounds(); in getEntryDestinationBounds()274 private Rect getDefaultBounds(float snapFraction, Size size) { in getDefaultBounds() method in PipBoundsAlgorithm
185 when(mMockPipBoundsAlgorithm.getDefaultBounds()).thenReturn(bounds); in onDisplayConfigurationChanged_inPip_movePip()201 when(mMockPipBoundsAlgorithm.getDefaultBounds()).thenReturn(bounds); in onDisplayConfigurationChanged_notInPip_doesNotMovePip()
623 outBounds.set(mPipBoundsAlgorithm.getDefaultBounds()); in updateMovementBounds()