Home
last modified time | relevance | path

Searched refs:screenHeightDp (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/layout/
DScalingLazyColumnDefaults.kt82 val screenHeightDp = configuration.screenHeightDp.toFloat() in responsive() constant
111 val screenHeightPx = with(density) { screenHeightDp.dp.roundToPx() } in responsive()
206 val screenHeightDp = configuration.screenHeightDp.toFloat() in padding() constant
209 val height = screenHeightDp.dp in padding()
DScalingLazyColumnState.kt165 val screenHeightDp = configuration.screenHeightDp.toFloat() in rememberResponsiveColumnState() constant
171 val screenHeightPx = with(density) { screenHeightDp.dp.roundToPx() } in rememberResponsiveColumnState()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DDisplayControllerTest.kt88 screenHeightDp = (bounds[0].bounds.height() / density).toInt() in <lambda>()
89 smallestScreenWidthDp = min(screenWidthDp, screenHeightDp) in <lambda>()
145 screenWidthDp = configuration.screenHeightDp in <lambda>()
146 screenHeightDp = configuration.screenWidthDp in <lambda>()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityUtil.java492 final int screenHeightDp = resources.getConfiguration().screenHeightDp; in getScreenHeightPixels() local
494 return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, screenHeightDp, in getScreenHeightPixels()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/
DScrollableScreen.kt139 val screenHeight = LocalConfiguration.current.screenHeightDp in Scaffold()
173 val centerHeightDp = Dp(LocalConfiguration.current.screenHeightDp / 2.0f) in Scaffold()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackActivity.java74 (int) (newConfig.screenHeightDp * density)); in onConfigurationChanged()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAbstractDeviceProfileTest.kt299 screenHeightDp = (realBounds.bounds.height() / density).toInt() in <lambda>()
300 smallestScreenWidthDp = min(screenWidthDp, screenHeightDp) in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/util/window/
DWindowManagerProxy.java154 boolean isPortrait = config.screenHeightDp > config.screenWidthDp; in normalizeWindowInsets()
428 float screenHeight = config.screenHeightDp * res.getDisplayMetrics().density; in getCurrentBounds()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDisplayController.java269 new PortraitSize(config.screenHeightDp, config.screenWidthDp))) { in onConfigurationChanged()
406 mScreenSizeDp = new PortraitSize(config.screenHeightDp, config.screenWidthDp); in Info()
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraDeviceReport.java379 … Log.v(TAG, "screen height dp = " + activity.getResources().getConfiguration().screenHeightDp); in printDisplayInfo()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java232 config.screenHeightDp * density, in getDeviceProfileForPreview()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java787 (int) (newConfig.screenHeightDp * density)); in onConfigurationChanged()