/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/ |
D | BubblePositionerTest.kt | 53 isLargeScreen = false, 76 assertThat(positioner.isLargeScreen).isFalse() in testUpdate() 95 positioner.update(defaultDeviceConfig.copy(isLargeScreen = true)) in testShowBubblesVertically_tablet() 139 positioner.update(defaultDeviceConfig.copy(isLargeScreen = true)) in testGetRestingPosition_chatBubble_onTablet() 148 positioner.update(defaultDeviceConfig.copy(isLargeScreen = true, isRtl = true)) in testGetRestingPosition_chatBubble_onTablet_RTL() 158 positioner.update(defaultDeviceConfig.copy(isLargeScreen = true)) in testGetDefaultPosition_appBubble_onTablet() 167 positioner.update(defaultDeviceConfig.copy(isLargeScreen = true, isRtl = true)) in testGetRestingPosition_appBubble_onTablet_RTL() 177 defaultDeviceConfig.copy(isLargeScreen = true, windowBounds = Rect(0, 0, 2000, 1600)) in testGetRestingPosition_afterBoundsChange() 187 defaultDeviceConfig.copy(isLargeScreen = false, windowBounds = Rect(0, 0, 1000, 1600)) in testGetRestingPosition_afterBoundsChange() 197 positioner.update(defaultDeviceConfig.copy(isLargeScreen = true, isRtl = true)) in testHasUserModifiedDefaultPosition_false() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | DeviceConfig.kt | 31 val isLargeScreen: Boolean, constant in com.android.wm.shell.bubbles.DeviceConfig 52 val isLargeScreen = config.smallestScreenWidthDp >= LARGE_SCREEN_MIN_EDGE_DP in create() constant 54 val isSmallTablet = isLargeScreen && largestEdgeDp < SMALL_TABLET_MAX_EDGE_DP in create() 58 isLargeScreen = isLargeScreen, in create()
|
D | BubblePositioner.java | 118 mRotation, deviceConfig.getInsets(), deviceConfig.isLargeScreen(), in update() 165 if (mDeviceConfig.isLargeScreen()) { in updateInternal() 263 return isLargeScreen() in areBubblesBottomAligned() 269 public boolean isLargeScreen() { in isLargeScreen() method in BubblePositioner 270 return mDeviceConfig.isLargeScreen(); in isLargeScreen() 281 return isLandscape() || mDeviceConfig.isLargeScreen(); in showBubblesVertically() 339 if (isOverflow && mDeviceConfig.isLargeScreen()) { in getExpandedViewLargeScreenInsetFurthestEdge() 364 if (mDeviceConfig.isLargeScreen()) { in getExpandedViewContainerPadding() 426 if (mDeviceConfig.isLargeScreen() && !mDeviceConfig.isSmallTablet() && !isOverflow) { in getMaxExpandedViewHeight() 465 if (isOverflow && showBubblesVertically() && !mDeviceConfig.isLargeScreen()) { in getExpandedViewHeight() [all …]
|
D | ManageEducationView.kt | 149 val isPinnedLeft = if (positioner.isLargeScreen) isStackOnLeft else isLTR in layoutManageView() 170 positioner.isLargeScreen -> ViewGroup.LayoutParams.WRAP_CONTENT in layoutManageView()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutsReceiverTest.java | 92 when(Utilities.isLargeScreen(mContext)).thenReturn(true); in onReceive_whenFlagOffDeviceIsTablet_showKeyboardShortcuts() 103 when(Utilities.isLargeScreen(mContext)).thenReturn(false); in onReceive_whenFlagOffDeviceIsNotTablet_showKeyboardShortcuts() 114 when(Utilities.isLargeScreen(mContext)).thenReturn(true); in onReceive_whenFlagOnDeviceIsTablet_showKeyboardShortcutListSearch() 125 when(Utilities.isLargeScreen(mContext)).thenReturn(false); in onReceive_whenFlagOnDeviceIsNotTablet_showKeyboardShortcuts() 137 when(Utilities.isLargeScreen(mContext)).thenReturn(true); in onShowIntent_rewriteFlagOn_oldFlagOn_isLargeScreen_doesNotLaunchOldVersions() 148 when(Utilities.isLargeScreen(mContext)).thenReturn(false); in onShowIntent_rewriteFlagOn_oldFlagOn_isSmallScreen_doesNotLaunchOldVersions() 159 when(Utilities.isLargeScreen(mContext)).thenReturn(true); in onDismissIntent_rewriteFlagOn_oldFlagOn_isLargeScreen_doesNotDismissOldVersions() 170 when(Utilities.isLargeScreen(mContext)).thenReturn(false); in onDismissIntent_rewriteFlagOn_oldFlagOn_isSmallScreen_doesNotDismissOldVersions()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
D | TestableBubblePositioner.java | 51 public void setIsLargeScreen(boolean isLargeScreen) { in setIsLargeScreen() argument 52 mIsLargeScreen = isLargeScreen; in setIsLargeScreen() 56 public boolean isLargeScreen() { in isLargeScreen() method in TestableBubblePositioner
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/ |
D | TaskPreviewSizeProvider.kt | 26 import com.android.systemui.shared.recents.utilities.Utilities.isLargeScreen 68 val isLargeScreen = isLargeScreen(context) in calculateSize() constant 69 if (isLargeScreen) { in calculateSize()
|
D | MediaProjectionTaskView.kt | 35 import com.android.systemui.shared.recents.utilities.Utilities.isLargeScreen 151 val isLargeScreen = isLargeScreen(context) in updateThumbnailMatrix() constant 158 isLargeScreen, in updateThumbnailMatrix()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/ |
D | FakeDisplayStateRepository.kt | 42 override val isLargeScreen: StateFlow<Boolean> = _isLargeScreen.asStateFlow() constant in com.android.systemui.biometrics.data.repository.FakeDisplayStateRepository 58 fun setIsLargeScreen(isLargeScreen: Boolean) { in setIsLargeScreen() 59 _isLargeScreen.value = isLargeScreen in setIsLargeScreen()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | SplitScreenUtils.java | 113 final boolean isLargeScreen = config.smallestScreenWidthDp >= 600; in isLeftRightSplit() 116 return isLeftRightSplit(allowLeftRightSplitInPortrait, isLargeScreen, isLandscape); in isLeftRightSplit() 124 boolean isLargeScreen, boolean isLandscape) { in isLeftRightSplit() argument 125 if (allowLeftRightSplitInPortrait && isLargeScreen) { in isLeftRightSplit()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/ui/composable/ |
D | VolumePanelComposeScope.kt | 31 val isLargeScreen: Boolean constant in com.android.systemui.volume.panel.ui.composable.VolumePanelComposeScope 32 get() = state.isLargeScreen
|
D | VolumePanelRoot.kt | 73 if (isLargeScreen) { in Components() 82 if (isPortrait || isLargeScreen) { in Components()
|
D | VerticalVolumePanelContent.kt | 61 horizontalArrangement = Arrangement.spacedBy(if (isLargeScreen) 28.dp else 20.dp), in <lambda>()
|
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/backup/ |
D | LargeScreenSettings.java | 36 return isLargeScreen(context) && LARGE_SCREEN_DO_NOT_RESTORE.equals(key); in doNotRestoreIfLargeScreenSetting() 41 private static boolean isLargeScreen(Context context) { in isLargeScreen() method in LargeScreenSettings
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/ |
D | DisplayStateInteractor.kt | 69 val isLargeScreen: StateFlow<Boolean> in <lambda>() constant 131 override val isLargeScreen: StateFlow<Boolean> = displayStateRepository.isLargeScreen constant
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | Utilities.java | 141 public static boolean isLargeScreen(Context context) { in isLargeScreen() method in Utilities 142 return isLargeScreen(context.getSystemService(WindowManager.class), context.getResources()); in isLargeScreen() 146 public static boolean isLargeScreen(WindowManager windowManager, Resources resources) { in isLargeScreen() method in Utilities
|
D | PreviewPositionHelper.java | 62 int canvasWidth, int canvasHeight, boolean isLargeScreen, int currentRotation, in updateThumbnailMatrix() argument 76 thumbnailData.windowingMode == WINDOWING_MODE_FULLSCREEN && !isLargeScreen; in updateThumbnailMatrix()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/ui/viewmodel/ |
D | DefaultComponentsLayoutManagerTest.kt | 54 VolumePanelState(orientation = 0, isLargeScreen = false), in correspondingComponents_areSet() 82 VolumePanelState(orientation = 0, isLargeScreen = false), in bottomBarAbsence_throwsException()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/ui/viewmodel/ |
D | VolumePanelState.kt | 31 val isLargeScreen: Boolean, constant in com.android.systemui.volume.panel.ui.viewmodel.VolumePanelState
|
D | VolumePanelViewModel.kt | 81 isLargeScreen = resources.getBoolean(R.bool.volume_panel_is_large_screen), in <lambda>() 89 isLargeScreen = resources.getBoolean(R.bool.volume_panel_is_large_screen) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/ |
D | DisplayStateRepository.kt | 60 val isLargeScreen: StateFlow<Boolean> constant 129 override val isLargeScreen: StateFlow<Boolean> = constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutsReceiver.java | 45 if (isTabletLayoutFlagEnabled() && Utilities.isLargeScreen(context)) { in onReceive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBarControllerImpl.java | 24 import static com.android.systemui.shared.recents.utilities.Utilities.isLargeScreen; 152 mIsLargeScreen = isLargeScreen(mContext); in NavigationBarControllerImpl() 161 mIsLargeScreen = isLargeScreen(mContext); in onConfigChanged() 302 mIsLargeScreen = isLargeScreen(mContext);
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/ui/composable/ |
D | VolumeSlidersComponent.kt | 46 if (isLargeScreen) { in Content()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/bottombar/ui/ |
D | BottomBarComponent.kt | 50 modifier = modifier.heightIn(min = if (isLargeScreen) 54.dp else 48.dp).fillMaxWidth(), in Content()
|