From 74ae1b1c6e495401c2cab55b3d15f25879417894 Mon Sep 17 00:00:00 2001 From: DeepMind Date: Mon, 10 Nov 2025 14:47:27 -0800 Subject: [PATCH] Get Region if Bounds have been overridden in ShadowAccessibilityWindowInfo Adds R+ method to retrieve AccessibilityWindowInfo region based off of the overridden bounds, if they have been set. PiperOrigin-RevId: 830608583 --- .../proto/a11y/android_accessibility_window_info.proto | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/android_env/proto/a11y/android_accessibility_window_info.proto b/android_env/proto/a11y/android_accessibility_window_info.proto index e23d5a22..f0bf2423 100644 --- a/android_env/proto/a11y/android_accessibility_window_info.proto +++ b/android_env/proto/a11y/android_accessibility_window_info.proto @@ -26,7 +26,7 @@ option java_package = "com.google.androidenv.accessibilityforwarder"; // Next index: 12 message AndroidAccessibilityWindowInfo { // Type of the window. - // Next index: 6 + // Next index: 8 enum WindowType { // The window type is an unknown value. UNKNOWN_TYPE = 0; @@ -46,6 +46,12 @@ message AndroidAccessibilityWindowInfo { // A system window used to divide the screen in split-screen mode. This type // of window is present only in split-screen mode. TYPE_SPLIT_SCREEN_DIVIDER = 5; + + // Used to show the UI for window-based magnification. + TYPE_MAGNIFICATION_OVERLAY = 6; + + // System window that has the function to control an associated window. + TYPE_WINDOW_CONTROL = 7; } // Bounds of this window in the device's screen.