Searched refs:currentDisplayInfo (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/window/ |
D | WindowMetricsController.java | 145 DisplayInfo currentDisplayInfo; in getPossibleMaximumWindowMetrics() local 147 currentDisplayInfo = possibleDisplayInfos.get(i); in getPossibleMaximumWindowMetrics() 150 Rect maxBounds = new Rect(0, 0, currentDisplayInfo.getNaturalWidth(), in getPossibleMaximumWindowMetrics() 151 currentDisplayInfo.getNaturalHeight()); in getPossibleMaximumWindowMetrics() 154 final boolean isScreenRound = (currentDisplayInfo.flags & Display.FLAG_ROUND) != 0; in getPossibleMaximumWindowMetrics() 158 currentDisplayInfo.displayId, null /* token */, in getPossibleMaximumWindowMetrics() 159 new Rect(0, 0, currentDisplayInfo.getNaturalWidth(), in getPossibleMaximumWindowMetrics() 160 currentDisplayInfo.getNaturalHeight()), isScreenRound, in getPossibleMaximumWindowMetrics() 163 DisplayCutout cutout = currentDisplayInfo.displayCutout; in getPossibleMaximumWindowMetrics() 164 if (cutout != null && currentDisplayInfo.rotation != ROTATION_0) { in getPossibleMaximumWindowMetrics() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/ |
D | DisplayStateRepository.kt | 90 private val currentDisplayInfo: StateFlow<DisplayInfo> = constant 108 currentDisplayInfo 113 initialValue = rotationToDisplayRotation(currentDisplayInfo.value.rotation) 117 currentDisplayInfo 124 currentDisplayInfo.value.naturalWidth, 125 currentDisplayInfo.value.naturalHeight 130 currentDisplayInfo
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/ |
D | TemporaryViewDisplayController.kt | 153 val currentDisplayInfo = getCurrentDisplayInfo() in <lambda>() constant 156 if (currentDisplayInfo != null && currentDisplayInfo.info.id == newInfo.id) { in <lambda>() 157 val view = checkNotNull(currentDisplayInfo.view) { in <lambda>() 161 currentDisplayInfo.info = newInfo in <lambda>() 162 currentDisplayInfo.timeExpirationMillis = timeExpirationMillis in <lambda>() 163 updateTimeout(currentDisplayInfo, timeout) in <lambda>() 178 if (currentDisplayInfo == null) { in <lambda>() 187 if (currentDisplayInfo.info.priority > newInfo.priority) { in <lambda>() 202 hideView(currentDisplayInfo) in <lambda>() 287 val currentDisplayInfo = getCurrentDisplayInfo() ?: return in <lambda>() constant [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/chipbar/ |
D | ChipbarCoordinator.kt | 306 val currentDisplayInfo = getCurrentDisplayInfo() in <lambda>() constant 307 if (currentDisplayInfo != null && currentDisplayInfo.info.allowSwipeToDismiss) { in <lambda>() 308 swipeChipbarAwayGestureHandler.setViewFetcher { currentDisplayInfo.view } in <lambda>() 319 val currentDisplayInfo = getCurrentDisplayInfo() in <lambda>() constant 320 if (currentDisplayInfo == null) { in <lambda>() 324 if (!currentDisplayInfo.info.allowSwipeToDismiss) { in <lambda>() 326 id = currentDisplayInfo.info.id, in <lambda>() 331 tempViewUiEventLogger.logViewManuallyDismissed(currentDisplayInfo.info.instanceId) in <lambda>() 332 removeView(currentDisplayInfo.info.id, SWIPE_UP_GESTURE_REASON) in <lambda>()
|
/frameworks/base/tests/Input/src/com/android/server/input/ |
D | AmbientKeyboardBacklightControllerTests.kt | 89 private var currentDisplayInfo = DisplayInfo() in <lambda>() variable 133 currentDisplayInfo.uniqueId = DEFAULT_DISPLAY_UNIQUE_ID in <lambda>() 135 currentDisplayInfo in <lambda>() 303 currentDisplayInfo.uniqueId = "xyz" in <lambda>()
|