From 1c7b2230d8aac9f064f68c48b6aa26aca000cc9d Mon Sep 17 00:00:00 2001 From: Prashant Malani Date: Tue, 8 Mar 2016 15:23:51 -0800 Subject: recovery: More refactoring of WearUI This patch performs the following modifications: - Remove setBackground function, and currentIcon member variable. - Remove common Progress*, Redraw and EndMenu functions. Bug: 27407422 Change-Id: Ic3c0e16b67941484c3bc1d04c9b61288e8896808 Signed-off-by: Prashant Malani --- wear_ui.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'wear_ui.h') diff --git a/wear_ui.h b/wear_ui.h index 35ea51660..63a257244 100644 --- a/wear_ui.h +++ b/wear_ui.h @@ -24,13 +24,6 @@ class WearRecoveryUI : public ScreenRecoveryUI { WearRecoveryUI(); void Init(); - // overall recovery state ("background image") - void SetBackground(Icon icon); - - // progress indicator - void SetProgressType(ProgressType type); - void ShowProgress(float portion, float seconds); - void SetProgress(float fraction); void SetStage(int current, int max); @@ -49,9 +42,6 @@ class WearRecoveryUI : public ScreenRecoveryUI { void StartMenu(const char* const * headers, const char* const * items, int initial_selection); int SelectMenu(int sel); - void EndMenu(); - - void Redraw(); enum UIElement { HEADER, MENU, MENU_SEL_BG, MENU_SEL_FG, LOG, TEXT_FILL }; virtual void SetColor(UIElement e); @@ -78,8 +68,6 @@ class WearRecoveryUI : public ScreenRecoveryUI { int animation_fps; private: - Icon currentIcon; - bool intro_done; int current_frame; -- cgit v1.2.3