Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java137 private PipDisplayLayoutState mPipDisplayLayoutState; field in PipController
315 if (displayId != mPipDisplayLayoutState.getDisplayId()) {
324 if (displayId != mPipDisplayLayoutState.getDisplayId()) {
334 if (mPipDisplayLayoutState.getDisplayId() == displayId) {
461 mPipDisplayLayoutState = pipDisplayLayoutState; in PipController()
492 mPipDisplayLayoutState.setDisplayId(displayId); in onInit()
532 mPipDisplayLayoutState.setDisplayId(mContext.getDisplayId()); in onInit()
535 mPipDisplayLayoutState.setDisplayLayout(layout); in onInit()
636 mDisplayInsetsController.addInsetsChangedListener(mPipDisplayLayoutState.getDisplayId(), in onInit()
641 .getDisplayLayout(mPipDisplayLayoutState.getDisplayId()); in onInit()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipController.java83 private final PipDisplayLayoutState mPipDisplayLayoutState; field in PipController
136 mPipDisplayLayoutState = pipDisplayLayoutState; in PipController()
181 mPipDisplayLayoutState.setDisplayId(mContext.getDisplayId()); in onInit()
183 mPipDisplayLayoutState.setDisplayLayout(layout); in onInit()
186 mDisplayInsetsController.addInsetsChangedListener(mPipDisplayLayoutState.getDisplayId(), in onInit()
191 .getDisplayLayout(mPipDisplayLayoutState.getDisplayId())); in onInit()
236 mPipDisplayLayoutState.onConfigurationChanged(); in onConfigurationChanged()
255 if (displayId != mPipDisplayLayoutState.getDisplayId()) { in onDisplayAdded()
263 if (displayId != mPipDisplayLayoutState.getDisplayId()) { in onDisplayConfigurationChanged()
270 mPipDisplayLayoutState.setDisplayLayout(layout); in onDisplayChanged()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipTouchHandlerTest.java99 private PipDisplayLayoutState mPipDisplayLayoutState; field in PipTouchHandlerTest
113 mPipDisplayLayoutState = new PipDisplayLayoutState(mContext); in setUp()
114 mSizeSpecSource = new PhoneSizeSpecSource(mContext, mPipDisplayLayoutState); in setUp()
115 mPipBoundsState = new PipBoundsState(mContext, mSizeSpecSource, mPipDisplayLayoutState); in setUp()
118 new PipKeepClearAlgorithmInterface() {}, mPipDisplayLayoutState, mSizeSpecSource); in setUp()
135 mPipDisplayLayoutState.setDisplayLayout(mDisplayLayout); in setUp()
DPipResizeGestureHandlerTest.java98 private PipDisplayLayoutState mPipDisplayLayoutState; field in PipResizeGestureHandlerTest
108 mPipDisplayLayoutState = new PipDisplayLayoutState(mContext); in setUp()
109 mSizeSpecSource = new PhoneSizeSpecSource(mContext, mPipDisplayLayoutState); in setUp()
110 mPipBoundsState = new PipBoundsState(mContext, mSizeSpecSource, mPipDisplayLayoutState); in setUp()
115 mPipBoundsState, pipSnapAlgorithm, pipKeepClearAlgorithm, mPipDisplayLayoutState, in setUp()
DPhoneSizeSpecSourceTest.java81 private PipDisplayLayoutState mPipDisplayLayoutState; field in PhoneSizeSpecSourceTest
185 mPipDisplayLayoutState = new PipDisplayLayoutState(mContext); in setupSizeSpecWithDisplayDimension()
186 mPipDisplayLayoutState.setDisplayLayout(displayLayout); in setupSizeSpecWithDisplayDimension()
188 mSizeSpecSource = new PhoneSizeSpecSource(mContext, mPipDisplayLayoutState); in setupSizeSpecWithDisplayDimension()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipPerfHintController.java52 private final PipDisplayLayoutState mPipDisplayLayoutState; field in PipPerfHintController
60 mPipDisplayLayoutState = pipDisplayLayoutState; in PipPerfHintController()
80 mPipDisplayLayoutState.getDisplayId(), "pip-high-perf-session"); in startSession()
DPipBoundsState.java80 private final @NonNull PipDisplayLayoutState mPipDisplayLayoutState; field in PipBoundsState
138 mPipDisplayLayoutState = pipDisplayLayoutState; in PipBoundsState()
345 return mPipDisplayLayoutState.getDisplayBounds(); in getDisplayBounds()
351 return mPipDisplayLayoutState.getDisplayLayout(); in getDisplayLayout()
DPipBoundsAlgorithm.java48 @NonNull protected final PipDisplayLayoutState mPipDisplayLayoutState; field in PipBoundsAlgorithm
66 mPipDisplayLayoutState = pipDisplayLayoutState; in PipBoundsAlgorithm()
337 outRect.set(mPipDisplayLayoutState.getInsetBounds()); in getInsetBounds()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipTaskOrganizerTest.java100 private PipDisplayLayoutState mPipDisplayLayoutState; field in PipTaskOrganizerTest
110 mPipDisplayLayoutState = new PipDisplayLayoutState(mContext); in setUp()
111 mSizeSpecSource = new PhoneSizeSpecSource(mContext, mPipDisplayLayoutState); in setUp()
112 mPipBoundsState = new PipBoundsState(mContext, mSizeSpecSource, mPipDisplayLayoutState); in setUp()
116 mPipDisplayLayoutState, mSizeSpecSource); in setUp()
119 mPipTransitionState, mPipBoundsState, mPipDisplayLayoutState, in setUp()
274 mPipDisplayLayoutState.setDisplayLayout(layout); in preparePipTaskOrg()
DPipBoundsAlgorithmTest.java71 private PipDisplayLayoutState mPipDisplayLayoutState; field in PipBoundsAlgorithmTest
77 mPipDisplayLayoutState = new PipDisplayLayoutState(mContext); in setUp()
79 mSizeSpecSource = new PhoneSizeSpecSource(mContext, mPipDisplayLayoutState); in setUp()
80 mPipBoundsState = new PipBoundsState(mContext, mSizeSpecSource, mPipDisplayLayoutState); in setUp()
83 mPipDisplayLayoutState, mSizeSpecSource); in setUp()
87 mPipDisplayLayoutState.setDisplayLayout(layout); in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipController.java123 private final PipDisplayLayoutState mPipDisplayLayoutState; field in TvPipController
229 mPipDisplayLayoutState = pipDisplayLayoutState; in TvPipController()
230 mPipDisplayLayoutState.setDisplayLayout(layout); in TvPipController()
231 mPipDisplayLayoutState.setDisplayId(context.getDisplayId()); in TvPipController()
293 mPipDisplayLayoutState.onConfigurationChanged(); in onConfigurationChanged()
314 TAG, displayId, mPipDisplayLayoutState.getDisplayId()); in onDisplayConfigurationChanged()
315 mPipDisplayLayoutState.setDisplayLayout( in onDisplayConfigurationChanged()
317 mPipDisplayLayoutState.setDisplayId(mContext.getDisplayId()); in onDisplayConfigurationChanged()
419 if (mPipDisplayLayoutState.getDisplayId() == displayId) { in onKeepClearAreasChanged()
DTvPipBoundsAlgorithm.java326 - (2 * mPipDisplayLayoutState.getScreenEdgeInsets().y) in updateExpandedPipSize()
346 - (2 * mPipDisplayLayoutState.getScreenEdgeInsets().x) in updateExpandedPipSize()
DTvPipTransition.java93 private final PipDisplayLayoutState mPipDisplayLayoutState; field in TvPipTransition
138 mPipDisplayLayoutState = pipDisplayLayoutState; in TvPipTransition()
315 mPipDisplayLayoutState.getDisplayBounds()); in removePipImmediately()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
DTvPipGravityTest.java52 private PipDisplayLayoutState mPipDisplayLayoutState; field in TvPipGravityTest
59 mPipDisplayLayoutState = new PipDisplayLayoutState(mContext); in setUp()
60 mSizeSpecSource = new LegacySizeSpecSource(mContext, mPipDisplayLayoutState); in setUp()
62 mPipDisplayLayoutState); in setUp()
64 mMockPipSnapAlgorithm, mPipDisplayLayoutState, mSizeSpecSource); in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTransition.java108 private final PipDisplayLayoutState mPipDisplayLayoutState; field in PipTransition
175 mPipDisplayLayoutState = pipDisplayLayoutState; in PipTransition()
400 mPipDisplayLayoutState.rotateTo(endRotation); in handleRotateDisplay()
532 final Rect displayBounds = mPipDisplayLayoutState.getDisplayBounds(); in onFinishResize()
1013 && endRotation != mPipDisplayLayoutState.getRotation()) { in startEnterAnimation()
1113 mPipDisplayLayoutState.rotateTo(endRotation); in computeEnterPipRotatedBounds()
1116 final Rect displayBounds = mPipDisplayLayoutState.getDisplayBounds(); in computeEnterPipRotatedBounds()
1296 final Rect displayBounds = mPipDisplayLayoutState.getDisplayBounds(); in fadeExistingPip()
DPipTaskOrganizer.java133 private final PipDisplayLayoutState mPipDisplayLayoutState; field in PipTaskOrganizer
398 mPipDisplayLayoutState = pipDisplayLayoutState; in PipTaskOrganizer()
834 if (info.displayId != mPipDisplayLayoutState.getDisplayId() in onTaskAppeared()
1878 mPipDisplayLayoutState.rotateTo(mNextRotation); in computeRotatedBounds()