diff options
author | Doug Zongker <dougz@android.com> | 2014-04-04 13:48:33 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2014-04-04 13:48:33 -0700 |
commit | 9551cf912180665a85f515c16d6412bb8ea2bf98 (patch) | |
tree | 2a09c6db6a26445ef7992d96ee396965ee403308 /screen_ui.h | |
parent | 8d9d3d5cbe240d09db10d08956d152dce934e892 (diff) | |
download | bootable_recovery-9551cf912180665a85f515c16d6412bb8ea2bf98.zip bootable_recovery-9551cf912180665a85f515c16d6412bb8ea2bf98.tar.gz bootable_recovery-9551cf912180665a85f515c16d6412bb8ea2bf98.tar.bz2 |
make density-specific recovery assets
Provide different recovery UI resources for different display
densities. Right now only the text images and the progress bars are
rescaled; the main icon will get scaled when it's updated for QP.
Lightly quantum-ify the rest of the recovery interface. (Light
background, progress bars, etc.)
Change-Id: Ia639c4ce8534b01bc843524efbc4b040c1cf38b3
Diffstat (limited to 'screen_ui.h')
-rw-r--r-- | screen_ui.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/screen_ui.h b/screen_ui.h index 92e4795..2e01acd 100644 --- a/screen_ui.h +++ b/screen_ui.h @@ -87,6 +87,9 @@ class ScreenRecoveryUI : public RecoveryUI { static const int kMaxCols = 96; static const int kMaxRows = 96; + static const int kTextXOffset = 8; + static const int kTextYOffset = 4; + // Log text overlay, displayed when a magic key is pressed char text[kMaxRows][kMaxCols]; int text_cols, text_rows; |