/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedDisplayAreaOrganizerTest.java | 76 DisplayLayout mDisplayLayout; field in OneHandedDisplayAreaOrganizerTest 117 mDisplayLayout = new DisplayLayout(mContext, mDisplay); in setUp() 140 mDisplayLayout, in setUp() 215 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_180); in testRotation_portrait_180_to_landscape_90() 216 mSpiedDisplayAreaOrganizer.setDisplayLayout(mDisplayLayout); in testRotation_portrait_180_to_landscape_90() 228 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_180); in testRotation_portrait_180_to_seascape_270() 229 mSpiedDisplayAreaOrganizer.setDisplayLayout(mDisplayLayout); in testRotation_portrait_180_to_seascape_270() 241 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_90); in testRotation_landscape_90_to_portrait_0() 242 mSpiedDisplayAreaOrganizer.setDisplayLayout(mDisplayLayout); in testRotation_landscape_90_to_portrait_0() 254 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_90); in testRotation_landscape_90_to_portrait_180() [all …]
|
D | OneHandedStateTest.java | 59 DisplayLayout mDisplayLayout; field in OneHandedStateTest 98 mDisplayLayout = new DisplayLayout(mContext, mDisplay); in setUp() 114 new Rect(0, 0, mDisplayLayout.width(), mDisplayLayout.height())); in setUp() 115 when(mMockDisplayAreaOrganizer.getDisplayLayout()).thenReturn(mDisplayLayout); in setUp()
|
D | OneHandedTutorialHandlerTest.java | 48 DisplayLayout mDisplayLayout; field in OneHandedTutorialHandlerTest 68 mDisplayLayout = new DisplayLayout(getTestContext().getApplicationContext(), mDisplay); in setUp()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipDisplayLayoutState.java | 47 @NonNull private DisplayLayout mDisplayLayout; field in PipDisplayLayoutState 54 mDisplayLayout = new DisplayLayout(); in PipDisplayLayoutState() 95 mDisplayLayout.set(displayLayout); in setDisplayLayout() 101 return new DisplayLayout(mDisplayLayout); in getDisplayLayout() 107 return new Rect(0, 0, mDisplayLayout.width(), mDisplayLayout.height()); in getDisplayBounds() 115 mDisplayLayout.rotateTo(mContext.getResources(), targetRotation); in rotateTo() 121 return mDisplayLayout.rotation(); in getRotation()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/hidedisplaycutout/ |
D | HideDisplayCutoutOrganizerTest.java | 84 private DisplayLayout mDisplayLayout; field in HideDisplayCutoutOrganizerTest 99 when(mMockDisplayController.getDisplayLayout(anyInt())).thenReturn(mDisplayLayout); in setUp() 157 doReturn(Surface.ROTATION_0).when(mDisplayLayout).rotation(); in testToggleHideDisplayCutout_enable_rot0() 175 doReturn(Surface.ROTATION_90).when(mDisplayLayout).rotation(); in testToggleHideDisplayCutout_enable_rot90() 193 doReturn(Surface.ROTATION_270).when(mDisplayLayout).rotation(); in testToggleHideDisplayCutout_enable_rot270() 224 doReturn(100).when(mDisplayLayout).width(); in testDisplaySizeChange() 225 doReturn(200).when(mDisplayLayout).height(); in testDisplaySizeChange() 229 doReturn(Surface.ROTATION_0).when(mDisplayLayout).rotation(); in testDisplaySizeChange() 233 doReturn(200).when(mDisplayLayout).width(); in testDisplaySizeChange() 234 doReturn(400).when(mDisplayLayout).height(); in testDisplaySizeChange()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedDisplayAreaOrganizer.java | 66 private DisplayLayout mDisplayLayout = new DisplayLayout(); field in OneHandedDisplayAreaOrganizer 205 if (mDisplayLayout.rotation() == toRotation) { in onRotateDisplay() 208 mDisplayLayout.rotateTo(context.getResources(), toRotation); in onRotateDisplay() 304 return mDisplayLayout; in getDisplayLayout() 309 mDisplayLayout.set(displayLayout); in setDisplayLayout() 320 mDefaultDisplayBounds.set(0, 0, mDisplayLayout.width(), mDisplayLayout.height()); in updateDisplayBounds() 355 pw.println(mDisplayLayout.rotation()); in dump()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayController.java | 102 return r != null ? r.mDisplayLayout : null; in getDisplayLayout() 205 if (dr.mDisplayLayout != null) { in onDisplayRotateRequested() 206 dr.mDisplayLayout.rotateTo(dr.mContext.getResources(), toRotation); in onDisplayRotateRequested() 297 private DisplayLayout mDisplayLayout; field in DisplayController.DisplayRecord 306 mDisplayLayout = displayLayout; in setDisplayLayout() 307 mDisplayLayout.setInsets(mContext.getResources(), mInsetsState); in setDisplayLayout() 312 mDisplayLayout.setInsets(mContext.getResources(), state); in setInsets()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/ |
D | CompatUIWindowManagerTest.java | 102 private DisplayLayout mDisplayLayout; field in CompatUIWindowManagerTest 113 mDisplayLayout = new DisplayLayout(displayInfo, in setUp() 121 mDisplayLayout.setInsets(mContext.getResources(), insetsState); in setUp() 123 mCallback, mTaskListener, mDisplayLayout, new CompatUIHintsState(), in setUp() 513 mCallback, mTaskListener, mDisplayLayout, new CompatUIHintsState(), in testShouldShowSizeCompatRestartButton() 534 mDisplayLayout.setInsets(mContext.getResources(), insetsState); in testShouldShowSizeCompatRestartButton() 535 mWindowManager.updateDisplayLayout(mDisplayLayout); in testShouldShowSizeCompatRestartButton()
|
D | ReachabilityEduWindowManagerTest.java | 61 private DisplayLayout mDisplayLayout; field in ReachabilityEduWindowManagerTest 111 mTaskListener, mDisplayLayout, mCompatUIConfiguration, mExecutor, in createReachabilityEduWindowManager()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | CompatUIWindowManagerAbstract.java | 66 private DisplayLayout mDisplayLayout; field in CompatUIWindowManagerAbstract 97 mDisplayLayout = displayLayout; in CompatUIWindowManagerAbstract() 99 mDisplayLayout.getStableBounds(mStableBounds); in CompatUIWindowManagerAbstract() 279 mDisplayLayout = displayLayout; in updateDisplayLayout()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
D | PipTouchHandlerTest.java | 101 private DisplayLayout mDisplayLayout; field in PipTouchHandlerTest 134 mDisplayLayout = new DisplayLayout(mContext, mContext.getDisplay()); in setUp() 135 mPipDisplayLayoutState.setDisplayLayout(mDisplayLayout); in setUp()
|