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()
678 void ScreenRecoveryUI::draw_screen_locked() { in draw_screen_locked()
701 void ScreenRecoveryUI::draw_menu_and_text_buffer_locked( in draw_menu_and_text_buffer_locked()
744 void ScreenRecoveryUI::update_screen_locked() { in update_screen_locked()
751 void ScreenRecoveryUI::update_progress_locked() { in update_progress_locked()
761 void ScreenRecoveryUI::ProgressThreadLoop() { in ProgressThreadLoop()
809 std::unique_ptr<GRSurface> ScreenRecoveryUI::LoadBitmap(const std::string& filename) { in LoadBitmap()
818 std::unique_ptr<GRSurface> ScreenRecoveryUI::LoadLocalizedBitmap(const std::string& filename) { in LoadLocalizedBitmap()
838 void ScreenRecoveryUI::SetSystemUpdateText(bool security_update) { in SetSystemUpdateText()
847 bool ScreenRecoveryUI::InitTextParams() { in InitTextParams()
858 bool ScreenRecoveryUI::LoadWipeDataMenuText() { in LoadWipeDataMenuText()
868 bool ScreenRecoveryUI::Init(const std::string& locale) { in Init()
916 progress_thread_ = std::thread(&ScreenRecoveryUI::ProgressThreadLoop, this); in Init()
921 std::string ScreenRecoveryUI::GetLocale() const { in GetLocale()
925 void ScreenRecoveryUI::LoadAnimation() { in LoadAnimation()
965 void ScreenRecoveryUI::SetBackground(Icon icon) { in SetBackground()
972 void ScreenRecoveryUI::SetProgressType(ProgressType type) { in SetProgressType()
983 void ScreenRecoveryUI::ShowProgress(float portion, float seconds) { in ShowProgress()
994 void ScreenRecoveryUI::SetProgress(float fraction) { in SetProgress()
1009 void ScreenRecoveryUI::SetStage(int current, int max) { in SetStage()
1015 void ScreenRecoveryUI::PrintV(const char* fmt, bool copy_to_stdout, va_list ap) { in PrintV()
1038 void ScreenRecoveryUI::Print(const char* fmt, ...) { in Print()
1045 void ScreenRecoveryUI::PrintOnScreenOnly(const char* fmt, ...) { in PrintOnScreenOnly()
1052 void ScreenRecoveryUI::PutChar(char ch) { in PutChar()
1061 void ScreenRecoveryUI::ClearText() { in ClearText()
1070 void ScreenRecoveryUI::ShowFile(FILE* fp) { in ShowFile()
1121 void ScreenRecoveryUI::ShowFile(const std::string& filename) { in ShowFile()
1143 std::unique_ptr<Menu> ScreenRecoveryUI::CreateMenu( in CreateMenu()
1161 std::unique_ptr<Menu> ScreenRecoveryUI::CreateMenu(const std::vector<std::string>& text_headers, in CreateMenu()
1174 int ScreenRecoveryUI::SelectMenu(int sel) { in SelectMenu()
1187 size_t ScreenRecoveryUI::ShowMenu(std::unique_ptr<Menu>&& menu, bool menu_only, in ShowMenu()
1247 size_t ScreenRecoveryUI::ShowMenu(const std::vector<std::string>& headers, in ShowMenu()
1259 size_t ScreenRecoveryUI::ShowPromptWipeDataMenu(const std::vector<std::string>& backup_headers, in ShowPromptWipeDataMenu()
1272 size_t ScreenRecoveryUI::ShowPromptWipeDataConfirmationMenu( in ShowPromptWipeDataConfirmationMenu()
1286 bool ScreenRecoveryUI::IsTextVisible() { in IsTextVisible()
1292 bool ScreenRecoveryUI::WasTextEverVisible() { in WasTextEverVisible()
1298 void ScreenRecoveryUI::ShowText(bool visible) { in ShowText()
1305 void ScreenRecoveryUI::Redraw() { in Redraw()
1310 void ScreenRecoveryUI::KeyLongPress(int) { in KeyLongPress()
1316 void ScreenRecoveryUI::SetLocale(const std::string& new_locale) { in SetLocale()