summaryrefslogtreecommitdiffstats
path: root/wear_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-08-22 19:36:06 +0200
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-08-22 19:36:06 +0200
commit2e1b3a418e9de29fcb4d75b769974e46395ce6cd (patch)
tree422cef83fa228cfb2a2464c6a7f49e6b5d856506 /wear_ui.h
parentscreen_ui: Fix a case that may truncate the last char. (diff)
parentwear_ui: Expose menu_unusable_rows via Makefile var. (diff)
downloadandroid_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.tar
android_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.tar.gz
android_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.tar.bz2
android_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.tar.lz
android_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.tar.xz
android_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.tar.zst
android_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.zip
Diffstat (limited to '')
-rw-r--r--wear_ui.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/wear_ui.h b/wear_ui.h
index a814118c7..3bd90b699 100644
--- a/wear_ui.h
+++ b/wear_ui.h
@@ -42,14 +42,11 @@ class WearRecoveryUI : public ScreenRecoveryUI {
protected:
// progress bar vertical position, it's centered horizontally
- int progress_bar_y;
-
- // outer of window
- int outer_height, outer_width;
+ const int kProgressBarBaseline;
// Unusable rows when displaying the recovery menu, including the lines for headers (Android
// Recovery, build id and etc) and the bottom lines that may otherwise go out of the screen.
- int menu_unusable_rows;
+ const int kMenuUnusableRows;
int GetProgressBaseline() const override;