diff options
Diffstat (limited to 'partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigKey.java')
-rw-r--r-- | partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigKey.java | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigKey.java b/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigKey.java index 4f21ae2..aa77ee8 100644 --- a/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigKey.java +++ b/partnerconfig/java/com/google/android/setupcompat/partnerconfig/PartnerConfigKey.java @@ -50,9 +50,11 @@ import java.lang.annotation.RetentionPolicy; PartnerConfigKey.KEY_FOOTER_BUTTON_DISABLED_ALPHA, PartnerConfigKey.KEY_FOOTER_BUTTON_DISABLED_BG_COLOR, PartnerConfigKey.KEY_FOOTER_PRIMARY_BUTTON_BG_COLOR, + PartnerConfigKey.KEY_FOOTER_PRIMARY_BUTTON_BG_DYNAMIC_COLOR, PartnerConfigKey.KEY_FOOTER_PRIMARY_BUTTON_TEXT_COLOR, PartnerConfigKey.KEY_FOOTER_SECONDARY_BUTTON_BG_COLOR, PartnerConfigKey.KEY_FOOTER_SECONDARY_BUTTON_TEXT_COLOR, + PartnerConfigKey.KEY_FOOTER_SECONDARY_BUTTON_TEXT_DYNAMIC_COLOR, PartnerConfigKey.KEY_LAYOUT_BACKGROUND_COLOR, PartnerConfigKey.KEY_LAYOUT_MARGIN_START, PartnerConfigKey.KEY_LAYOUT_MARGIN_END, @@ -83,6 +85,13 @@ import java.lang.annotation.RetentionPolicy; PartnerConfigKey.KEY_CONTENT_FONT_FAMILY, PartnerConfigKey.KEY_CONTENT_LAYOUT_GRAVITY, PartnerConfigKey.KEY_CONTENT_PADDING_TOP, + PartnerConfigKey.KEY_CONTENT_INFO_TEXT_SIZE, + PartnerConfigKey.KEY_CONTENT_INFO_FONT_FAMILY, + PartnerConfigKey.KEY_CONTENT_INFO_LINE_SPACING_EXTRA, + PartnerConfigKey.KEY_CONTENT_INFO_ICON_SIZE, + PartnerConfigKey.KEY_CONTENT_INFO_ICON_MARGIN_END, + PartnerConfigKey.KEY_CONTENT_INFO_PADDING_TOP, + PartnerConfigKey.KEY_CONTENT_INFO_PADDING_BOTTOM, PartnerConfigKey.KEY_ITEMS_TITLE_TEXT_SIZE, PartnerConfigKey.KEY_ITEMS_SUMMARY_TEXT_SIZE, PartnerConfigKey.KEY_ITEMS_SUMMARY_MARGIN_TOP, @@ -96,19 +105,23 @@ import java.lang.annotation.RetentionPolicy; PartnerConfigKey.KEY_PROGRESS_ILLUSTRATION_ACCOUNT, PartnerConfigKey.KEY_PROGRESS_ILLUSTRATION_CONNECTION, PartnerConfigKey.KEY_PROGRESS_ILLUSTRATION_UPDATE, + PartnerConfigKey.KEY_PROGRESS_ILLUSTRATION_FINAL_HOLD, PartnerConfigKey.KEY_PROGRESS_ILLUSTRATION_DISPLAY_MINIMUM_MS, PartnerConfigKey.KEY_LOADING_LOTTIE_ACCOUNT, PartnerConfigKey.KEY_LOADING_LOTTIE_CONNECTION, PartnerConfigKey.KEY_LOADING_LOTTIE_DEFAULT, PartnerConfigKey.KEY_LOADING_LOTTIE_UPDATE, + PartnerConfigKey.KEY_LOADING_LOTTIE_FINAL_HOLD, PartnerConfigKey.KEY_LOADING_LIGHT_THEME_CUSTOMIZATION_DEFAULT, PartnerConfigKey.KEY_LOADING_LIGHT_THEME_CUSTOMIZATION_ACCOUNT, PartnerConfigKey.KEY_LOADING_LIGHT_THEME_CUSTOMIZATION_CONNECTION, PartnerConfigKey.KEY_LOADING_LIGHT_THEME_CUSTOMIZATION_UPDATE, + PartnerConfigKey.KEY_LOADING_LIGHT_THEME_CUSTOMIZATION_FINAL_HOLD, PartnerConfigKey.KEY_LOADING_DARK_THEME_CUSTOMIZATION_DEFAULT, PartnerConfigKey.KEY_LOADING_DARK_THEME_CUSTOMIZATION_ACCOUNT, PartnerConfigKey.KEY_LOADING_DARK_THEME_CUSTOMIZATION_CONNECTION, PartnerConfigKey.KEY_LOADING_DARK_THEME_CUSTOMIZATION_UPDATE, + PartnerConfigKey.KEY_LOADING_DARK_THEME_CUSTOMIZATION_FINAL_HOLD, PartnerConfigKey.KEY_TRANSITION_TYPE, }) // TODO: can be removed and always reference PartnerConfig.getResourceName()? @@ -195,6 +208,10 @@ public @interface PartnerConfigKey { // Background color of the primary footer button String KEY_FOOTER_PRIMARY_BUTTON_BG_COLOR = "setup_compat_footer_primary_button_bg_color"; + // Dynamic background color of the primary footer button + String KEY_FOOTER_PRIMARY_BUTTON_BG_DYNAMIC_COLOR = + "setup_compat_footer_1st_button_bg_dynamic_color"; + // Text color of the primary footer button String KEY_FOOTER_PRIMARY_BUTTON_TEXT_COLOR = "setup_compat_footer_primary_button_text_color"; @@ -204,6 +221,10 @@ public @interface PartnerConfigKey { // Text color of the secondary footer button String KEY_FOOTER_SECONDARY_BUTTON_TEXT_COLOR = "setup_compat_footer_secondary_button_text_color"; + // Dynamic text color of the secondary footer button + String KEY_FOOTER_SECONDARY_BUTTON_TEXT_DYNAMIC_COLOR = + "setup_compat_footer_2nd_button_text_dynamic_color"; + // Background color of layout String KEY_LAYOUT_BACKGROUND_COLOR = "setup_design_layout_bg_color"; @@ -296,6 +317,27 @@ public @interface PartnerConfigKey { // The padding top of the content String KEY_CONTENT_PADDING_TOP = "setup_design_content_padding_top"; + // The text size of the content info. + String KEY_CONTENT_INFO_TEXT_SIZE = "setup_design_content_info_text_size"; + + // The font family of the content info. + String KEY_CONTENT_INFO_FONT_FAMILY = "setup_design_content_info_font_family"; + + // The text line spacing extra of the content info. + String KEY_CONTENT_INFO_LINE_SPACING_EXTRA = "setup_design_content_info_line_spacing_extra"; + + // The icon size of the content info. + String KEY_CONTENT_INFO_ICON_SIZE = "setup_design_content_info_icon_size"; + + // The icon margin end of the content info. + String KEY_CONTENT_INFO_ICON_MARGIN_END = "setup_design_content_info_icon_margin_end"; + + // The padding top of the content info. + String KEY_CONTENT_INFO_PADDING_TOP = "setup_design_content_info_padding_top"; + + // The padding bottom of the content info. + String KEY_CONTENT_INFO_PADDING_BOTTOM = "setup_design_content_info_padding_bottom"; + // The title text size of list items. String KEY_ITEMS_TITLE_TEXT_SIZE = "setup_design_items_title_text_size"; @@ -339,6 +381,10 @@ public @interface PartnerConfigKey { // For example:com.google.android.setupwizard.COMPAT_EARLY_UPDATE String KEY_PROGRESS_ILLUSTRATION_UPDATE = "progress_illustration_custom_update"; + // The animation of loading screen used in those activities which is updating device. + // For example:com.google.android.setupwizard.FINAL_HOLD + String KEY_PROGRESS_ILLUSTRATION_FINAL_HOLD = "final_hold_custom_illustration"; + // The minimum illustration display time, set to 0 may cause the illustration stuck String KEY_PROGRESS_ILLUSTRATION_DISPLAY_MINIMUM_MS = "progress_illustration_display_minimum_ms"; @@ -358,6 +404,10 @@ public @interface PartnerConfigKey { // For example:com.google.android.setupwizard.COMPAT_EARLY_UPDATE String KEY_LOADING_LOTTIE_UPDATE = "loading_animation_custom_update"; + // The animation for S+ devices used in those screens which is updating devices. + // For example:com.google.android.setupwizard.FINAL_HOLD + String KEY_LOADING_LOTTIE_FINAL_HOLD = "loading_animation_custom_final_hold"; + // A string-array to list all the key path and color map for default animation for light theme. // For example: background:#FFFFFF String KEY_LOADING_LIGHT_THEME_CUSTOMIZATION_DEFAULT = @@ -377,6 +427,11 @@ public @interface PartnerConfigKey { // For example: background:#FFFFFF String KEY_LOADING_LIGHT_THEME_CUSTOMIZATION_UPDATE = "loading_light_theme_customization_update"; + // A string-array to list all the key path and color map for final hold animation for light theme. + // For example: background:#FFFFFF + String KEY_LOADING_LIGHT_THEME_CUSTOMIZATION_FINAL_HOLD = + "loading_light_theme_customization_final_hold"; + // A string-array to list all the key path and color map for default animation for dark theme. // For example: background:#000000 String KEY_LOADING_DARK_THEME_CUSTOMIZATION_DEFAULT = "loading_dark_theme_customization_default"; @@ -394,6 +449,11 @@ public @interface PartnerConfigKey { // For example: background:#000000 String KEY_LOADING_DARK_THEME_CUSTOMIZATION_UPDATE = "loading_dark_theme_customization_update"; + // A string-array to list all the key path and color map for final hold animation for dark theme. + // For example: background:#000000 + String KEY_LOADING_DARK_THEME_CUSTOMIZATION_FINAL_HOLD = + "loading_dark_theme_customization_final_hold"; + // The transition type between activities String KEY_TRANSITION_TYPE = "setup_design_transition_type"; } |