summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2011-03-01 23:04:34 +0100
committerDoug Zongker <dougz@android.com>2011-03-01 23:04:34 +0100
commit6809c51f8db86f1ab00a076cf570439d11920d3a (patch)
tree1c00a572803d0c73f7935855681f31969b527151 /common.h
parentam 8d43d940: am 2c273f00: store partition length in recovery.fstab (diff)
downloadandroid_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.tar
android_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.tar.gz
android_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.tar.bz2
android_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.tar.lz
android_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.tar.xz
android_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.tar.zst
android_bootable_recovery-6809c51f8db86f1ab00a076cf570439d11920d3a.zip
Diffstat (limited to 'common.h')
-rw-r--r--common.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/common.h b/common.h
index e6e8f8564..cba4c861d 100644
--- a/common.h
+++ b/common.h
@@ -107,4 +107,23 @@ typedef struct {
// (that much).
} Volume;
+typedef struct {
+ // number of frames in indeterminate progress bar animation
+ int indeterminate_frames;
+
+ // number of frames per second to try to maintain when animating
+ int update_fps;
+
+ // number of frames in installing animation. may be zero for a
+ // static installation icon.
+ int installing_frames;
+
+ // the install icon is animated by drawing images containing the
+ // changing part over the base icon. These specify the
+ // coordinates of the upper-left corner.
+ int install_overlay_offset_x;
+ int install_overlay_offset_y;
+
+} UIParameters;
+
#endif // RECOVERY_COMMON_H