/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
D | SplitscreenEventLogger.java | 135 boolean isLandscape) { in logEnter() argument 137 int enterReason = getLoggerEnterReason(isLandscape); in logEnter() 138 updateMainStageState(getMainStagePositionFromSplitPosition(mainStagePosition, isLandscape), in logEnter() 140 updateSideStageState(getSideStagePositionFromSplitPosition(sideStagePosition, isLandscape), in logEnter() 156 private int getLoggerEnterReason(boolean isLandscape) { in getLoggerEnterReason() argument 163 return getDragEnterReasonFromSplitPosition(mDragEnterPosition, isLandscape); in getLoggerEnterReason() 213 @SplitPosition int sideStagePosition, int sideStageUid, boolean isLandscape) { in logExit() argument 228 getMainStagePositionFromSplitPosition(mainStagePosition, isLandscape), in logExit() 230 getSideStagePositionFromSplitPosition(sideStagePosition, isLandscape), in logExit() 250 boolean isLandscape) { in logMainStageAppChange() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputQuickSettingsDisabler.kt | 39 private var isLandscape: Boolean variable 43 isLandscape = 53 isLandscape && in adjustDisableFlags() 72 if (newIsLandscape != isLandscape) { in onConfigChanged() 73 isLandscape = newIsLandscape in onConfigChanged()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | DeviceConfig.kt | 33 val isLandscape: Boolean, constant in com.android.wm.shell.bubbles.DeviceConfig 55 val isLandscape = context.resources.configuration.orientation == ORIENTATION_LANDSCAPE in create() constant 60 isLandscape = isLandscape, in create()
|
D | BubblePositioner.java | 252 public boolean isLandscape() { in isLandscape() method in BubblePositioner 253 return mDeviceConfig.isLandscape(); in isLandscape() 265 && !isLandscape(); in areBubblesBottomAligned() 281 return isLandscape() || mDeviceConfig.isLargeScreen(); in showBubblesVertically()
|
D | StackEducationView.kt | 135 if (positioner.isLargeScreen || positioner.isLandscape) in show()
|
D | ManageEducationView.kt | 172 positioner.isLandscape -> in layoutManageView()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | SplitScreenUtils.java | 115 final boolean isLandscape = maxBounds.width() >= maxBounds.height(); in isLeftRightSplit() 116 return isLeftRightSplit(allowLeftRightSplitInPortrait, isLargeScreen, isLandscape); in isLeftRightSplit() 124 boolean isLargeScreen, boolean isLandscape) { in isLeftRightSplit() argument 126 return !isLandscape; in isLeftRightSplit() 128 return isLandscape; in isLeftRightSplit()
|
D | SplitDecorManager.java | 242 final boolean isLandscape = newBounds.height() == sideBounds.height(); in onResizing() 243 final int left = isLandscape ? mOldMainBounds.width() : 0; in onResizing() 244 final int top = isLandscape ? 0 : mOldMainBounds.height(); in onResizing()
|
/frameworks/base/tests/InputScreenshotTest/src/android/input/screenshot/ |
D | DefaultDeviceEmulationSpec.kt | 48 DeviceEmulationSpec.forDisplays(Displays.Tablet, isDarkTheme = true, isLandscape = false) 57 DeviceEmulationSpec.forDisplays(Displays.Phone, isDarkTheme = false, isLandscape = false)
|
/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/ |
D | BubblePositionerTest.kt | 55 isLandscape = false, 75 assertThat(positioner.isLandscape).isFalse() in testUpdate() 88 positioner.update(defaultDeviceConfig.copy(isLandscape = true)) in testShowBubblesVertically_phoneLandscape() 89 assertThat(positioner.isLandscape).isTrue() in testShowBubblesVertically_phoneLandscape() 216 isLandscape = false, in testBubbleBarExpandedViewHeightAndWidth() 243 isLandscape = false, in testBubbleBarExpandedViewHeightAndWidth_screenWidthTooSmall() 373 isLandscape = true, in testAreBubblesBottomAligned_largeScreen_landscape_false() 412 isLandscape = true, in testExpandedViewY_phoneLandscape() 448 isLandscape = true, in testExpandedViewY_smallTabletLandscape() 485 isLandscape = true, in testExpandedViewY_largeScreenLandscape() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/ |
D | PromptSelectorInteractor.kt | 94 isLandscape: Boolean, in <lambda>() 173 isLandscape = false, in onSwitchToCredential() 185 isLandscape: Boolean, in setPrompt() 205 if (isLandscape) { in setPrompt()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/splitscreen/src/com/android/wm/shell/flicker/splitscreen/benchmark/ |
D | SwitchAppByDoubleTapDividerBenchmark.kt | 76 if (isLandscape(flicker.scenario.endRotation)) { in <lambda>() 112 if (isLandscape(flicker.scenario.endRotation)) { in <lambda>() 129 private fun isLandscape(rotation: Rotation): Boolean { in <lambda>() method in com.android.wm.shell.flicker.splitscreen.benchmark.SwitchAppByDoubleTapDividerBenchmark
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/splitscreen/scenarios/ |
D | SwitchAppByDoubleTapDivider.kt | 89 if (isLandscape(rotation)) { in <lambda>() 125 if (isLandscape(rotation)) { in <lambda>() 142 private fun isLandscape(rotation: Rotation): Boolean { in <lambda>() method in com.android.wm.shell.flicker.service.splitscreen.scenarios.SwitchAppByDoubleTapDivider
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QuickQSPanelController.java | 92 boolean isLandscape = rotation == RotationUtils.ROTATION_LANDSCAPE in updateMediaExpansion() 95 if (!usingCollapsedLandscapeMedia || !isLandscape) { in updateMediaExpansion()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/ |
D | PromptSelectorInteractorImplTest.kt | 180 isLandscape = false, in <lambda>() 370 isLandscape = in <lambda>() 405 isLandscape = false, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogImpl.java | 486 if (!isLandscape()) { in unionViewBoundstoTouchableRegion() 610 if (isLandscape()) { in initDialog() 751 private boolean isLandscape() { in isLandscape() method in VolumeDialogImpl 965 if (!isLandscape()) { in setupRingerDrawer() 980 .setOrientation(isLandscape() ? LinearLayout.HORIZONTAL : LinearLayout.VERTICAL); in setupRingerDrawer() 1085 if (!isLandscape()) { in showRingerDrawer() 1095 if (!isLandscape()) { in showRingerDrawer() 1132 if (!isLandscape()) { in showRingerDrawer() 1171 if (!isLandscape()) { in hideRingerDrawer() 2287 if (!isLandscape()) { [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/ |
D | SplitTaskUnfoldAnimator.java | 337 final boolean isLandscape = mRootStageBounds.width() > mRootStageBounds.height(); in update() 338 if (isLandscape) { // Left and right splits. in update()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedControllerTest.java | 342 when(mMockDisplayLayout.isLandscape()).thenReturn(true); in testRotation90CanNotStartOneHanded() 355 when(mMockDisplayLayout.isLandscape()).thenReturn(false); in testRotation180CanStartOneHanded() 367 when(mMockDisplayLayout.isLandscape()).thenReturn(true); in testRotation270CanNotStartOneHanded()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | HandleMenuTest.kt | 112 whenever(displayLayout.isLandscape).thenReturn(true) in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | BiometricViewSizeBinder.kt | 558 if (view.isLandscape()) { in <lambda>() 652 private fun View.isLandscape(): Boolean { in isLandscape() method
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 279 public boolean isLandscape() { in isLandscape() method in DisplayLayout
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthContainerView.java | 364 final boolean isLandscape = mContext.getResources().getConfiguration().orientation in AuthContainerView() 369 false /*onSwitchToCredential*/, isLandscape); in AuthContainerView()
|
/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleExpandedViewPinControllerTest.kt | 86 isLandscape = true, in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LetterboxUiController.java | 986 final boolean isLandscape = isFixedOrientationLandscape( in shouldUseSplitScreenAspectRatio() 990 return (isBookMode && isNotCenteredHorizontally || isTabletopMode && isLandscape) in shouldUseSplitScreenAspectRatio()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedController.java | 375 if (mDisplayAreaOrganizer.getDisplayLayout().isLandscape()) { in startOneHanded()
|