Home
last modified time | relevance | path

Searched refs:currentDisplayInfo (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/core/java/android/window/
H A DWindowMetricsController.java143 DisplayInfo currentDisplayInfo; in getPossibleMaximumWindowMetrics() local
145 currentDisplayInfo = possibleDisplayInfos.get(i); in getPossibleMaximumWindowMetrics()
148 Rect maxBounds = new Rect(0, 0, currentDisplayInfo.getNaturalWidth(), in getPossibleMaximumWindowMetrics()
149 currentDisplayInfo.getNaturalHeight()); in getPossibleMaximumWindowMetrics()
152 final boolean isScreenRound = (currentDisplayInfo.flags & Display.FLAG_ROUND) != 0; in getPossibleMaximumWindowMetrics()
156 currentDisplayInfo.displayId, null /* token */, in getPossibleMaximumWindowMetrics()
157 new Rect(0, 0, currentDisplayInfo.getNaturalWidth(), in getPossibleMaximumWindowMetrics()
158 currentDisplayInfo.getNaturalHeight()), isScreenRound, in getPossibleMaximumWindowMetrics()
162 currentDisplayInfo.roundedCorners) in getPossibleMaximumWindowMetrics()
163 .setDisplayCutout(currentDisplayInfo.displayCutout).build(); in getPossibleMaximumWindowMetrics()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/
H A DTemporaryViewDisplayController.kt153 val currentDisplayInfo = getCurrentDisplayInfo() regex
156 if (currentDisplayInfo != null && currentDisplayInfo.info.id == newInfo.id) {
157 val view = checkNotNull(currentDisplayInfo.view) {
161 currentDisplayInfo.info = newInfo
163 updateTimeout(currentDisplayInfo, timeout)
178 if (currentDisplayInfo == null) {
187 if (currentDisplayInfo.info.priority > newInfo.priority) {
202 hideView(currentDisplayInfo)
289 val view = checkNotNull(currentDisplayInfo.view) {
293 currentDisplayInfo.info,
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/chipbar/
H A DChipbarCoordinator.kt299 val currentDisplayInfo = getCurrentDisplayInfo() regex
300 if (currentDisplayInfo != null && currentDisplayInfo.info.allowSwipeToDismiss) {
301 swipeChipbarAwayGestureHandler.setViewFetcher { currentDisplayInfo.view }
312 val currentDisplayInfo = getCurrentDisplayInfo() regex
313 if (currentDisplayInfo == null) {
317 if (!currentDisplayInfo.info.allowSwipeToDismiss) {
319 id = currentDisplayInfo.info.id,
324 tempViewUiEventLogger.logViewManuallyDismissed(currentDisplayInfo.info.instanceId)
325 removeView(currentDisplayInfo.info.id, SWIPE_UP_GESTURE_REASON)
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/input/
H A DAmbientKeyboardBacklightControllerTests.kt89 private var currentDisplayInfo = DisplayInfo() regex
133 currentDisplayInfo.uniqueId = DEFAULT_DISPLAY_UNIQUE_ID
135 currentDisplayInfo
303 currentDisplayInfo.uniqueId = "xyz"