Lines Matching refs:ScreenRecoveryUI
302 ScreenRecoveryUI::ScreenRecoveryUI() : ScreenRecoveryUI(false) {} in ScreenRecoveryUI() function in ScreenRecoveryUI
308 ScreenRecoveryUI::ScreenRecoveryUI(bool scrollable_menu) in ScreenRecoveryUI() function in ScreenRecoveryUI
338 ScreenRecoveryUI::~ScreenRecoveryUI() { in ~ScreenRecoveryUI()
347 const GRSurface* ScreenRecoveryUI::GetCurrentFrame() const { in GetCurrentFrame()
354 const GRSurface* ScreenRecoveryUI::GetCurrentText() const { in GetCurrentText()
369 int ScreenRecoveryUI::PixelsFromDp(int dp) const { in PixelsFromDp()
397 int ScreenRecoveryUI::GetAnimationBaseline() const { in GetAnimationBaseline()
402 int ScreenRecoveryUI::GetTextBaseline() const { in GetTextBaseline()
407 int ScreenRecoveryUI::GetProgressBaseline() const { in GetProgressBaseline()
417 void ScreenRecoveryUI::draw_background_locked() { in draw_background_locked()
444 void ScreenRecoveryUI::draw_foreground_locked() { in draw_foreground_locked()
492 void ScreenRecoveryUI::SetColor(UIElement e) const { in SetColor()
522 void ScreenRecoveryUI::SelectAndShowBackgroundText(const std::vector<std::string>& locales_entries, in SelectAndShowBackgroundText()
571 void ScreenRecoveryUI::CheckBackgroundTextImages() { in CheckBackgroundTextImages()
600 int ScreenRecoveryUI::ScreenWidth() const { in ScreenWidth()
604 int ScreenRecoveryUI::ScreenHeight() const { in ScreenHeight()
608 void ScreenRecoveryUI::DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx, in DrawSurface()
613 int ScreenRecoveryUI::DrawHorizontalRule(int y) const { in DrawHorizontalRule()
618 void ScreenRecoveryUI::DrawHighlightBar(int x, int y, int width, int height) const { in DrawHighlightBar()
622 void ScreenRecoveryUI::DrawFill(int x, int y, int w, int h) const { in DrawFill()
626 void ScreenRecoveryUI::DrawTextIcon(int x, int y, const GRSurface* surface) const { in DrawTextIcon()
630 int ScreenRecoveryUI::DrawTextLine(int x, int y, const std::string& line, bool bold) const { in DrawTextLine()
635 int ScreenRecoveryUI::DrawTextLines(int x, int y, const std::vector<std::string>& lines) const { in DrawTextLines()
643 int ScreenRecoveryUI::DrawWrappedTextLines(int x, int y, in DrawWrappedTextLines()
672 void ScreenRecoveryUI::SetTitle(const std::vector<std::string>& lines) { in SetTitle()
676 std::vector<std::string> ScreenRecoveryUI::GetMenuHelpMessage() const { in GetMenuHelpMessage()
691 void ScreenRecoveryUI::draw_screen_locked() { in draw_screen_locked()
705 void ScreenRecoveryUI::draw_menu_and_text_buffer_locked( in draw_menu_and_text_buffer_locked()
748 void ScreenRecoveryUI::update_screen_locked() { in update_screen_locked()
755 void ScreenRecoveryUI::update_progress_locked() { in update_progress_locked()
765 void ScreenRecoveryUI::ProgressThreadLoop() { in ProgressThreadLoop()
813 std::unique_ptr<GRSurface> ScreenRecoveryUI::LoadBitmap(const std::string& filename) { in LoadBitmap()
822 std::unique_ptr<GRSurface> ScreenRecoveryUI::LoadLocalizedBitmap(const std::string& filename) { in LoadLocalizedBitmap()
852 void ScreenRecoveryUI::SetSystemUpdateText(bool security_update) { in SetSystemUpdateText()
861 bool ScreenRecoveryUI::InitTextParams() { in InitTextParams()
872 bool ScreenRecoveryUI::LoadWipeDataMenuText() { in LoadWipeDataMenuText()
882 bool ScreenRecoveryUI::Init(const std::string& locale) { in Init()
930 progress_thread_ = std::thread(&ScreenRecoveryUI::ProgressThreadLoop, this); in Init()
935 std::string ScreenRecoveryUI::GetLocale() const { in GetLocale()
939 void ScreenRecoveryUI::LoadAnimation() { in LoadAnimation()
979 void ScreenRecoveryUI::SetBackground(Icon icon) { in SetBackground()
986 void ScreenRecoveryUI::SetProgressType(ProgressType type) { in SetProgressType()
997 void ScreenRecoveryUI::ShowProgress(float portion, float seconds) { in ShowProgress()
1008 void ScreenRecoveryUI::SetProgress(float fraction) { in SetProgress()
1023 void ScreenRecoveryUI::SetStage(int current, int max) { in SetStage()
1029 void ScreenRecoveryUI::PrintV(const char* fmt, bool copy_to_stdout, va_list ap) { in PrintV()
1052 void ScreenRecoveryUI::Print(const char* fmt, ...) { in Print()
1059 void ScreenRecoveryUI::PrintOnScreenOnly(const char* fmt, ...) { in PrintOnScreenOnly()
1066 void ScreenRecoveryUI::PutChar(char ch) { in PutChar()
1075 void ScreenRecoveryUI::ClearText() { in ClearText()
1084 void ScreenRecoveryUI::ShowFile(FILE* fp) { in ShowFile()
1135 void ScreenRecoveryUI::ShowFile(const std::string& filename) { in ShowFile()
1157 std::unique_ptr<Menu> ScreenRecoveryUI::CreateMenu( in CreateMenu()
1175 std::unique_ptr<Menu> ScreenRecoveryUI::CreateMenu(const std::vector<std::string>& text_headers, in CreateMenu()
1188 int ScreenRecoveryUI::SelectMenu(int sel) { in SelectMenu()
1201 size_t ScreenRecoveryUI::ShowMenu(std::unique_ptr<Menu>&& menu, bool menu_only, in ShowMenu()
1261 size_t ScreenRecoveryUI::ShowMenu(const std::vector<std::string>& headers, in ShowMenu()
1273 size_t ScreenRecoveryUI::ShowPromptWipeDataMenu(const std::vector<std::string>& backup_headers, in ShowPromptWipeDataMenu()
1286 size_t ScreenRecoveryUI::ShowPromptWipeDataConfirmationMenu( in ShowPromptWipeDataConfirmationMenu()
1300 bool ScreenRecoveryUI::IsTextVisible() { in IsTextVisible()
1306 bool ScreenRecoveryUI::WasTextEverVisible() { in WasTextEverVisible()
1312 void ScreenRecoveryUI::ShowText(bool visible) { in ShowText()
1319 void ScreenRecoveryUI::Redraw() { in Redraw()
1324 void ScreenRecoveryUI::KeyLongPress(int) { in KeyLongPress()
1330 void ScreenRecoveryUI::SetLocale(const std::string& new_locale) { in SetLocale()