summaryrefslogtreecommitdiffstats
path: root/wear_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-08-22 19:44:16 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-08-22 19:44:16 +0200
commit89ad02206a993f063f2a32782427812ba87f6cb8 (patch)
tree366f8fbdf3193a2635844b1f49d275afc22f89d6 /wear_ui.h
parentMerge "Move Image/ImageChunk/PatchChunk declaration into header files" (diff)
parentwear_ui: Expose menu_unusable_rows via Makefile var. (diff)
downloadandroid_bootable_recovery-89ad02206a993f063f2a32782427812ba87f6cb8.tar
android_bootable_recovery-89ad02206a993f063f2a32782427812ba87f6cb8.tar.gz
android_bootable_recovery-89ad02206a993f063f2a32782427812ba87f6cb8.tar.bz2
android_bootable_recovery-89ad02206a993f063f2a32782427812ba87f6cb8.tar.lz
android_bootable_recovery-89ad02206a993f063f2a32782427812ba87f6cb8.tar.xz
android_bootable_recovery-89ad02206a993f063f2a32782427812ba87f6cb8.tar.zst
android_bootable_recovery-89ad02206a993f063f2a32782427812ba87f6cb8.zip
Diffstat (limited to 'wear_ui.h')
-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;