Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipBoundsStateTest.java78 mPipBoundsState.saveReentryState(size, snapFraction); in testSetReentryState()
90 mPipBoundsState.saveReentryState(size, snapFraction); in testClearReentryState()
99 mPipBoundsState.saveReentryState(DEFAULT_SIZE, DEFAULT_SNAP_FRACTION); in testSetLastPipComponentName_notChanged_doesNotClearReentryState()
112 mPipBoundsState.saveReentryState(DEFAULT_SIZE, DEFAULT_SNAP_FRACTION); in testSetLastPipComponentName_changed_clearReentryState()
DPipBoundsAlgorithmTest.java344 mPipBoundsState.saveReentryState( in getEntryDestinationBounds_reentryStateExists_restoreLastSize()
359 mPipBoundsState.saveReentryState( in getEntryDestinationBounds_reentryStateExists_restoreLastPosition()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipControllerTest.java163 mPipController.saveReentryState(bounds); in saveReentryState_noUserResize_doesNotSaveSize()
165 verify(mMockPipBoundsState).saveReentryState(null, 1.0f); in saveReentryState_noUserResize_doesNotSaveSize()
176 mPipController.saveReentryState(bounds); in saveReentryState_userHasResized_savesSize()
178 verify(mMockPipBoundsState).saveReentryState(new Size(30, 30), 1.0f); in saveReentryState_userHasResized_savesSize()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java571 saveReentryState(pipBounds); in onPipTransitionStarted()
585 public void saveReentryState(Rect pipBounds) { in saveReentryState() method in PipController
590 mPipBoundsState.saveReentryState(reentrySize, snapFraction); in saveReentryState()
592 mPipBoundsState.saveReentryState(null /* bounds */, snapFraction); in saveReentryState()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipBoundsState.java235 public void saveReentryState(Size size, float fraction) { in saveReentryState() method in PipBoundsState