Lines Matching refs:ScreenRecoveryUI
303 ScreenRecoveryUI::ScreenRecoveryUI() : ScreenRecoveryUI(false) {} in ScreenRecoveryUI() function in ScreenRecoveryUI
309 ScreenRecoveryUI::ScreenRecoveryUI(bool scrollable_menu) in ScreenRecoveryUI() function in ScreenRecoveryUI
339 ScreenRecoveryUI::~ScreenRecoveryUI() { in ~ScreenRecoveryUI()
348 const GRSurface* ScreenRecoveryUI::GetCurrentFrame() const { in GetCurrentFrame()
355 const GRSurface* ScreenRecoveryUI::GetCurrentText() const { in GetCurrentText()
370 int ScreenRecoveryUI::PixelsFromDp(int dp) const { in PixelsFromDp()
398 int ScreenRecoveryUI::GetAnimationBaseline() const { in GetAnimationBaseline()
403 int ScreenRecoveryUI::GetTextBaseline() const { in GetTextBaseline()
408 int ScreenRecoveryUI::GetProgressBaseline() const { in GetProgressBaseline()
418 void ScreenRecoveryUI::draw_background_locked() { in draw_background_locked()
445 void ScreenRecoveryUI::draw_foreground_locked() { in draw_foreground_locked()
495 void ScreenRecoveryUI::SetColor(UIElement e) const { in SetColor()
525 void ScreenRecoveryUI::SelectAndShowBackgroundText(const std::vector<std::string>& locales_entries, in SelectAndShowBackgroundText()
574 void ScreenRecoveryUI::CheckBackgroundTextImages() { in CheckBackgroundTextImages()
603 int ScreenRecoveryUI::ScreenWidth() const { in ScreenWidth()
607 int ScreenRecoveryUI::ScreenHeight() const { in ScreenHeight()
611 void ScreenRecoveryUI::DrawSurface(const GRSurface* surface, int sx, int sy, int w, int h, int dx, in DrawSurface()
616 int ScreenRecoveryUI::DrawHorizontalRule(int y) const { in DrawHorizontalRule()
621 void ScreenRecoveryUI::DrawHighlightBar(int x, int y, int width, int height) const { in DrawHighlightBar()
625 void ScreenRecoveryUI::DrawFill(int x, int y, int w, int h) const { in DrawFill()
629 void ScreenRecoveryUI::DrawTextIcon(int x, int y, const GRSurface* surface) const { in DrawTextIcon()
633 int ScreenRecoveryUI::DrawTextLine(int x, int y, const std::string& line, bool bold) const { in DrawTextLine()
638 int ScreenRecoveryUI::DrawTextLines(int x, int y, const std::vector<std::string>& lines) const { in DrawTextLines()
646 int ScreenRecoveryUI::DrawWrappedTextLines(int x, int y, in DrawWrappedTextLines()
675 void ScreenRecoveryUI::SetTitle(const std::vector<std::string>& lines) { in SetTitle()
679 std::vector<std::string> ScreenRecoveryUI::GetMenuHelpMessage() const { in GetMenuHelpMessage()
694 void ScreenRecoveryUI::draw_screen_locked() { in draw_screen_locked()
708 void ScreenRecoveryUI::draw_menu_and_text_buffer_locked( in draw_menu_and_text_buffer_locked()
751 void ScreenRecoveryUI::update_screen_locked() { in update_screen_locked()
758 void ScreenRecoveryUI::update_progress_locked() { in update_progress_locked()
768 void ScreenRecoveryUI::ProgressThreadLoop() { in ProgressThreadLoop()
816 std::unique_ptr<GRSurface> ScreenRecoveryUI::LoadBitmap(const std::string& filename) { in LoadBitmap()
825 std::unique_ptr<GRSurface> ScreenRecoveryUI::LoadLocalizedBitmap(const std::string& filename) { in LoadLocalizedBitmap()
855 void ScreenRecoveryUI::SetSystemUpdateText(bool security_update) { in SetSystemUpdateText()
864 bool ScreenRecoveryUI::InitTextParams() { in InitTextParams()
875 bool ScreenRecoveryUI::LoadWipeDataMenuText() { in LoadWipeDataMenuText()
903 bool ScreenRecoveryUI::Init(const std::string& locale) { in Init()
951 progress_thread_ = std::thread(&ScreenRecoveryUI::ProgressThreadLoop, this); in Init()
956 std::string ScreenRecoveryUI::GetLocale() const { in GetLocale()
960 void ScreenRecoveryUI::LoadAnimation() { in LoadAnimation()
1000 void ScreenRecoveryUI::SetBackground(Icon icon) { in SetBackground()
1007 void ScreenRecoveryUI::SetProgressType(ProgressType type) { in SetProgressType()
1018 void ScreenRecoveryUI::ShowProgress(float portion, float seconds) { in ShowProgress()
1029 void ScreenRecoveryUI::SetProgress(float fraction) { in SetProgress()
1044 void ScreenRecoveryUI::SetStage(int current, int max) { in SetStage()
1050 void ScreenRecoveryUI::PrintV(const char* fmt, bool copy_to_stdout, va_list ap) { in PrintV()
1073 void ScreenRecoveryUI::Print(const char* fmt, ...) { in Print()
1080 void ScreenRecoveryUI::PrintOnScreenOnly(const char* fmt, ...) { in PrintOnScreenOnly()
1087 void ScreenRecoveryUI::PutChar(char ch) { in PutChar()
1096 void ScreenRecoveryUI::ClearText() { in ClearText()
1105 void ScreenRecoveryUI::ShowFile(FILE* fp) { in ShowFile()
1156 void ScreenRecoveryUI::ShowFile(const std::string& filename) { in ShowFile()
1178 std::unique_ptr<Menu> ScreenRecoveryUI::CreateMenu( in CreateMenu()
1196 std::unique_ptr<Menu> ScreenRecoveryUI::CreateMenu(const std::vector<std::string>& text_headers, in CreateMenu()
1209 int ScreenRecoveryUI::SelectMenu(int sel) { in SelectMenu()
1222 size_t ScreenRecoveryUI::ShowMenu(std::unique_ptr<Menu>&& menu, bool menu_only, in ShowMenu()
1282 size_t ScreenRecoveryUI::ShowMenu(const std::vector<std::string>& headers, in ShowMenu()
1294 size_t ScreenRecoveryUI::ShowPromptWipeDataMenu(const std::vector<std::string>& backup_headers, in ShowPromptWipeDataMenu()
1307 size_t ScreenRecoveryUI::ShowPromptWipeDataConfirmationMenu( in ShowPromptWipeDataConfirmationMenu()
1321 bool ScreenRecoveryUI::IsTextVisible() { in IsTextVisible()
1327 bool ScreenRecoveryUI::WasTextEverVisible() { in WasTextEverVisible()
1333 void ScreenRecoveryUI::ShowText(bool visible) { in ShowText()
1340 void ScreenRecoveryUI::Redraw() { in Redraw()
1345 void ScreenRecoveryUI::KeyLongPress(int) { in KeyLongPress()
1351 void ScreenRecoveryUI::SetLocale(const std::string& new_locale) { in SetLocale()