summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-09-29 10:44:09 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-09-29 10:44:09 +0200
commit327dd7875ea9663c97ae3c0fed2eb21fece6e199 (patch)
treecf230368696562e4ccb25a830a3071d32fd5e8f7 /screen_ui.h
parentrelease-request-ccf2fffc-f042-4ff3-9aa0-53d7f927fbf8-for-git_pi-release-4362679 snap-temp-L24900000106498589 (diff)
parentMerge "Add a new option in recovery menu to test the background texts" am: 4c7608f3ca am: 8874d3c309 am: 5e969aa10d (diff)
downloadandroid_bootable_recovery-327dd7875ea9663c97ae3c0fed2eb21fece6e199.tar
android_bootable_recovery-327dd7875ea9663c97ae3c0fed2eb21fece6e199.tar.gz
android_bootable_recovery-327dd7875ea9663c97ae3c0fed2eb21fece6e199.tar.bz2
android_bootable_recovery-327dd7875ea9663c97ae3c0fed2eb21fece6e199.tar.lz
android_bootable_recovery-327dd7875ea9663c97ae3c0fed2eb21fece6e199.tar.xz
android_bootable_recovery-327dd7875ea9663c97ae3c0fed2eb21fece6e199.tar.zst
android_bootable_recovery-327dd7875ea9663c97ae3c0fed2eb21fece6e199.zip
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/screen_ui.h b/screen_ui.h
index eaac2a6e8..3a28a09de 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -80,6 +80,10 @@ class ScreenRecoveryUI : public RecoveryUI {
void SetColor(UIElement e) const;
+ // Check the background text image. Use volume up/down button to cycle through the locales
+ // embedded in the png file, and power button to go back to recovery main menu.
+ void CheckBackgroundTextImages(const std::string& saved_locale);
+
protected:
// The margin that we don't want to use for showing texts (e.g. round screen, or screen with
// rounded corners).
@@ -199,6 +203,10 @@ class ScreenRecoveryUI : public RecoveryUI {
private:
void SetLocale(const std::string&);
+
+ // Display the background texts for "erasing", "error", "no_command" and "installing" for the
+ // selected locale.
+ void SelectAndShowBackgroundText(const std::vector<std::string>& locales_entries, size_t sel);
};
#endif // RECOVERY_UI_H