Home
last modified time | relevance | path

Searched refs:windowParams (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TvSystemUI/src/com/android/systemui/tv/
DTvBottomSheetActivity.java67 WindowManager.LayoutParams windowParams = getWindow().getAttributes(); in onCreate() local
68 windowParams.width = screenWidth - marginPx * 2; in onCreate()
69 windowParams.height = WindowManager.LayoutParams.WRAP_CONTENT; in onCreate()
70 windowParams.gravity = Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL; in onCreate()
71 windowParams.horizontalMargin = 0f; in onCreate()
72 windowParams.verticalMargin = (float) marginPx / screenHeight; in onCreate()
73 windowParams.format = PixelFormat.TRANSPARENT; in onCreate()
74 windowParams.type = WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG; in onCreate()
75 windowParams.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; in onCreate()
76 windowParams.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED; in onCreate()
[all …]
/packages/modules/Permission/tests/cts/permissionui/HelperAppOverlay/src/android/permissionui/cts/helper/overlay/
DOverlayActivity.kt22 val windowParams = WindowManager.LayoutParams() in onCreate() constant
23 windowParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY in onCreate()
24 windowManager.addView(mainLayout, windowParams) in onCreate()