aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes2016-07-08 19:23:41 -0500
committerElliott Hughes2016-07-08 20:21:45 -0500
commit6d089a955f53ddeacdfa1396ad99f0c00d406175 (patch)
treedb86bb998e9ce01818cbfc2850dc255e1cc7b8b7 /screen_ui.h
parent9da04d595fe01e4c0ac1baf39186ac090bf234b3 (diff)
downloadplatform-bootable-recovery-6d089a955f53ddeacdfa1396ad99f0c00d406175.tar.gz
platform-bootable-recovery-6d089a955f53ddeacdfa1396ad99f0c00d406175.tar.xz
platform-bootable-recovery-6d089a955f53ddeacdfa1396ad99f0c00d406175.zip
Support landscape layouts.
Add support for landscape layouts to the existing portrait support. Bug: http://b/29418855 Test: tested manually with "Run graphics test" on flounder/fugu/ryu. Change-Id: Ib4a62bf5f2b8a1cef6028a01f05145104660560a
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 4319b76c..89877577 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -77,8 +77,8 @@ class ScreenRecoveryUI : public RecoveryUI {
77 77
78 // The scale factor from dp to pixels. 1.0 for mdpi, 4.0 for xxxhdpi. 78 // The scale factor from dp to pixels. 1.0 for mdpi, 4.0 for xxxhdpi.
79 float density_; 79 float density_;
80 // True if we should use the large layout. 80 // The layout to use.
81 bool is_large_; 81 int layout_;
82 82
83 GRSurface* error_icon; 83 GRSurface* error_icon;
84 84