Loading packages/SystemUI/res/layout/window_magnifier_view.xml +6 −3 Original line number Diff line number Diff line Loading @@ -17,24 +17,26 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content"> android:layout_height="wrap_content" android:screenReaderFocusable="true"> <View android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="@dimen/magnification_outer_border_margin" android:importantForAccessibility="no" android:background="@android:color/black"/> <View android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="@dimen/magnification_inner_border_margin" android:importantForAccessibility="no" android:background="@color/magnification_border_color"/> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> android:importantForAccessibility="noHideDescendants"> <View android:id="@+id/left_handle" Loading Loading @@ -76,6 +78,7 @@ android:layout_margin="@dimen/magnification_outer_border_margin" android:layout_gravity="right|bottom" android:scaleType="center" android:importantForAccessibility="no" android:src="@drawable/ic_move_magnification"/> </FrameLayout> No newline at end of file services/accessibility/java/com/android/server/accessibility/AccessibilityWindowManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -730,7 +730,8 @@ public class AccessibilityWindowManager { case WindowManager.LayoutParams.TYPE_SYSTEM_ERROR: case WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY: case WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY: case WindowManager.LayoutParams.TYPE_SCREENSHOT: { case WindowManager.LayoutParams.TYPE_SCREENSHOT: case WindowManager.LayoutParams.TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY: { return AccessibilityWindowInfo.TYPE_SYSTEM; } Loading Loading
packages/SystemUI/res/layout/window_magnifier_view.xml +6 −3 Original line number Diff line number Diff line Loading @@ -17,24 +17,26 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content"> android:layout_height="wrap_content" android:screenReaderFocusable="true"> <View android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="@dimen/magnification_outer_border_margin" android:importantForAccessibility="no" android:background="@android:color/black"/> <View android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="@dimen/magnification_inner_border_margin" android:importantForAccessibility="no" android:background="@color/magnification_border_color"/> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> android:importantForAccessibility="noHideDescendants"> <View android:id="@+id/left_handle" Loading Loading @@ -76,6 +78,7 @@ android:layout_margin="@dimen/magnification_outer_border_margin" android:layout_gravity="right|bottom" android:scaleType="center" android:importantForAccessibility="no" android:src="@drawable/ic_move_magnification"/> </FrameLayout> No newline at end of file
services/accessibility/java/com/android/server/accessibility/AccessibilityWindowManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -730,7 +730,8 @@ public class AccessibilityWindowManager { case WindowManager.LayoutParams.TYPE_SYSTEM_ERROR: case WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY: case WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY: case WindowManager.LayoutParams.TYPE_SCREENSHOT: { case WindowManager.LayoutParams.TYPE_SCREENSHOT: case WindowManager.LayoutParams.TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY: { return AccessibilityWindowInfo.TYPE_SYSTEM; } Loading