Home
last modified time | relevance | path

Searched refs:isLandscape (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSplitscreenEventLogger.java135 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/
DRemoteInputQuickSettingsDisabler.kt39 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/
DDeviceConfig.kt33 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()
DBubblePositioner.java252 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()
DStackEducationView.kt135 if (positioner.isLargeScreen || positioner.isLandscape) in show()
DManageEducationView.kt172 positioner.isLandscape -> in layoutManageView()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitScreenUtils.java115 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()
DSplitDecorManager.java242 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/
DDefaultDeviceEmulationSpec.kt48 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/
DBubblePositionerTest.kt55 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/
DPromptSelectorInteractor.kt94 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/
DSwitchAppByDoubleTapDividerBenchmark.kt76 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/
DSwitchAppByDoubleTapDivider.kt89 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/
DQuickQSPanelController.java92 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/
DPromptSelectorInteractorImplTest.kt180 isLandscape = false, in <lambda>()
370 isLandscape = in <lambda>()
405 isLandscape = false, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java486 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/
DSplitTaskUnfoldAnimator.java337 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/
DOneHandedControllerTest.java342 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/
DHandleMenuTest.kt112 whenever(displayLayout.isLandscape).thenReturn(true) in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DBiometricViewSizeBinder.kt558 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/
DDisplayLayout.java279 public boolean isLandscape() { in isLandscape() method in DisplayLayout
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthContainerView.java364 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/
DBubbleExpandedViewPinControllerTest.kt86 isLandscape = true, in <lambda>()
/frameworks/base/services/core/java/com/android/server/wm/
DLetterboxUiController.java986 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/
DOneHandedController.java375 if (mDisplayAreaOrganizer.getDisplayLayout().isLandscape()) { in startOneHanded()

12