Home
last modified time | relevance | path

Searched refs:reentryState (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipBoundsAlgorithm.java131 final PipBoundsState.PipReentryState reentryState = mPipBoundsState.getReentryState(); in getEntryDestinationBoundsIgnoringKeepClearAreas() local
134 if (reentryState != null) { in getEntryDestinationBoundsIgnoringKeepClearAreas()
136 Math.round(mPipBoundsState.getMaxSize().x * reentryState.getBoundsScale()), in getEntryDestinationBoundsIgnoringKeepClearAreas()
137 Math.round(mPipBoundsState.getMaxSize().y * reentryState.getBoundsScale())); in getEntryDestinationBoundsIgnoringKeepClearAreas()
138 destinationBounds.set(getDefaultBounds(reentryState.getSnapFraction(), scaledBounds)); in getEntryDestinationBoundsIgnoringKeepClearAreas()
141 final boolean useCurrentSize = reentryState != null; in getEntryDestinationBoundsIgnoringKeepClearAreas()