Remove chassis name in resource files and replace with car_ui
Bug:140950423
Test: Build and run test app
Change-Id: Idc1110c2eba70c1125a39209072adbbd7cfa53d6
diff --git a/car-chassis-lib/res/values/dimens.xml b/car-chassis-lib/res/values/dimens.xml
index d6a3ad0..ec814f4 100644
--- a/car-chassis-lib/res/values/dimens.xml
+++ b/car-chassis-lib/res/values/dimens.xml
@@ -16,90 +16,90 @@
<resources>
<!-- General resources -->
- <dimen name="chassis_touch_target_width">76dp</dimen>
- <dimen name="chassis_touch_target_height">76dp</dimen>
- <dimen name="chassis_primary_icon_size">44dp</dimen>
- <item name="chassis_letter_spacing_body1" format="float" type="dimen">0.0</item>
- <item name="chassis_letter_spacing_body3" format="float" type="dimen">0.0</item>
+ <dimen name="car_ui_touch_target_width">76dp</dimen>
+ <dimen name="car_ui_touch_target_height">76dp</dimen>
+ <dimen name="car_ui_primary_icon_size">44dp</dimen>
+ <item name="car_ui_letter_spacing_body1" format="float" type="dimen">0.0</item>
+ <item name="car_ui_letter_spacing_body3" format="float" type="dimen">0.0</item>
<!-- Margin -->
- <dimen name="chassis_margin">112dp</dimen>
+ <dimen name="car_ui_margin">112dp</dimen>
<!-- Paddings -->
- <dimen name="chassis_padding_0">4dp</dimen>
- <dimen name="chassis_padding_1">8dp</dimen>
- <dimen name="chassis_padding_2">16dp</dimen>
- <dimen name="chassis_padding_3">24dp</dimen>
- <dimen name="chassis_padding_4">32dp</dimen>
- <dimen name="chassis_padding_5">64dp</dimen>
- <dimen name="chassis_padding_6">96dp</dimen>
+ <dimen name="car_ui_padding_0">4dp</dimen>
+ <dimen name="car_ui_padding_1">8dp</dimen>
+ <dimen name="car_ui_padding_2">16dp</dimen>
+ <dimen name="car_ui_padding_3">24dp</dimen>
+ <dimen name="car_ui_padding_4">32dp</dimen>
+ <dimen name="car_ui_padding_5">64dp</dimen>
+ <dimen name="car_ui_padding_6">96dp</dimen>
<!-- Tabs -->
<!-- Exact size of the tab textbox. Use @dimen/wrap_content if this must be flexible -->
- <dimen name="chassis_tab_text_width">135dp</dimen>
+ <dimen name="car_ui_tab_text_width">135dp</dimen>
<!-- Horizontal padding between tabs -->
- <dimen name="chassis_tab_padding_x">12dp</dimen>
+ <dimen name="car_ui_tab_padding_x">12dp</dimen>
<!-- Tab icon width (if icons are enabled) -->
- <dimen name="chassis_tab_icon_width">36dp</dimen>
+ <dimen name="car_ui_tab_icon_width">36dp</dimen>
<!-- Tab icon height (if icons are enabled) -->
- <dimen name="chassis_tab_icon_height">36dp</dimen>
+ <dimen name="car_ui_tab_icon_height">36dp</dimen>
<!-- Car toolbar -->
- <dimen name="chassis_toolbar_row_height">96dp</dimen>
- <dimen name="chassis_toolbar_first_row_height">@dimen/chassis_toolbar_row_height</dimen>
- <dimen name="chassis_toolbar_second_row_height">@dimen/chassis_toolbar_row_height</dimen>
- <dimen name="chassis_toolbar_nav_button_width">@dimen/chassis_margin</dimen>
- <dimen name="chassis_toolbar_icon_size">@dimen/chassis_primary_icon_size</dimen>
- <dimen name="chassis_toolbar_title_margin_start">@dimen/chassis_padding_2</dimen>
- <dimen name="chassis_toolbar_menu_item_margin">@dimen/chassis_padding_2</dimen>
- <dimen name="chassis_toolbar_icon_ripple_radius">48dp</dimen>
+ <dimen name="car_ui_toolbar_row_height">96dp</dimen>
+ <dimen name="car_ui_toolbar_first_row_height">@dimen/car_ui_toolbar_row_height</dimen>
+ <dimen name="car_ui_toolbar_second_row_height">@dimen/car_ui_toolbar_row_height</dimen>
+ <dimen name="car_ui_toolbar_nav_button_width">@dimen/car_ui_margin</dimen>
+ <dimen name="car_ui_toolbar_icon_size">@dimen/car_ui_primary_icon_size</dimen>
+ <dimen name="car_ui_toolbar_title_margin_start">@dimen/car_ui_padding_2</dimen>
+ <dimen name="car_ui_toolbar_menu_item_margin">@dimen/car_ui_padding_2</dimen>
+ <dimen name="car_ui_toolbar_icon_ripple_radius">48dp</dimen>
<!-- Internal artifacts. Do not overlay -->
<item name="wrap_content" format="integer" type="dimen">-2</item>
<!-- Default Scroll Bar for PagedRecyclerView -->
- <dimen name="chassis_scrollbar_button_size">@dimen/chassis_touch_target_width</dimen>
- <dimen name="chassis_scrollbar_thumb_width">6dp</dimen>
- <dimen name="chassis_scrollbar_separator_margin">16dp</dimen>
- <dimen name="chassis_scrollbar_margin">@dimen/chassis_margin</dimen>
- <dimen name="chassis_scrollbar_thumb_radius">100dp</dimen>
+ <dimen name="car_ui_scrollbar_button_size">@dimen/car_ui_touch_target_width</dimen>
+ <dimen name="car_ui_scrollbar_thumb_width">6dp</dimen>
+ <dimen name="car_ui_scrollbar_separator_margin">16dp</dimen>
+ <dimen name="car_ui_scrollbar_margin">@dimen/car_ui_margin</dimen>
+ <dimen name="car_ui_scrollbar_thumb_radius">100dp</dimen>
- <item name="chassis_button_disabled_alpha" format="float" type="dimen">0.2</item>
- <item name="chassis_scroller_milliseconds_per_inch" format="float" type="dimen">150</item>
- <item name="chassis_scroller_deceleration_time_divisor" format="float" type="dimen">0.45</item>
- <item name="chassis_scroller_interpolator_factor" format="float" type="dimen">1.8</item>
+ <item name="car_ui_button_disabled_alpha" format="float" type="dimen">0.2</item>
+ <item name="car_ui_scroller_milliseconds_per_inch" format="float" type="dimen">150</item>
+ <item name="car_ui_scroller_deceleration_time_divisor" format="float" type="dimen">0.45</item>
+ <item name="car_ui_scroller_interpolator_factor" format="float" type="dimen">1.8</item>
- <item name="chassis_scrollbar_milliseconds_per_inch" format="float" type="dimen">150.0</item>
- <item name="chassis_scrollbar_deceleration_times_divisor" format="float" type="dimen">0.45</item>
- <item name="chassis_scrollbar_decelerate_interpolator_factor" format="float" type="dimen">1.8</item>
+ <item name="car_ui_scrollbar_milliseconds_per_inch" format="float" type="dimen">150.0</item>
+ <item name="car_ui_scrollbar_deceleration_times_divisor" format="float" type="dimen">0.45</item>
+ <item name="car_ui_scrollbar_decelerate_interpolator_factor" format="float" type="dimen">1.8</item>
- <dimen name="chassis_scrollbar_padding_start">0dp</dimen>
- <dimen name="chassis_scrollbar_padding_end">0dp</dimen>
+ <dimen name="car_ui_scrollbar_padding_start">0dp</dimen>
+ <dimen name="car_ui_scrollbar_padding_end">0dp</dimen>
<!-- Preferences -->
- <dimen name="chassis_preference_category_text_size">24sp</dimen>
- <dimen name="chassis_preference_summary_text_size">24sp</dimen>
- <dimen name="chassis_preference_title_text_size">32sp</dimen>
- <dimen name="chassis_preference_edit_text_dialog_message_text_size">24sp</dimen>
+ <dimen name="car_ui_preference_category_text_size">24sp</dimen>
+ <dimen name="car_ui_preference_summary_text_size">24sp</dimen>
+ <dimen name="car_ui_preference_title_text_size">32sp</dimen>
+ <dimen name="car_ui_preference_edit_text_dialog_message_text_size">24sp</dimen>
- <dimen name="chassis_preference_content_margin_top">16dp</dimen>
- <dimen name="chassis_preference_content_margin_bottom">16dp</dimen>
- <dimen name="chassis_preference_icon_size">44dp</dimen>
- <dimen name="chassis_preference_icon_margin_end">16dp</dimen>
+ <dimen name="car_ui_preference_content_margin_top">16dp</dimen>
+ <dimen name="car_ui_preference_content_margin_bottom">16dp</dimen>
+ <dimen name="car_ui_preference_icon_size">44dp</dimen>
+ <dimen name="car_ui_preference_icon_margin_end">16dp</dimen>
- <dimen name="chassis_preference_category_min_height">76dp</dimen>
- <dimen name="chassis_preference_category_icon_size">44dp</dimen>
- <dimen name="chassis_preference_category_icon_margin_end">16dp</dimen>
+ <dimen name="car_ui_preference_category_min_height">76dp</dimen>
+ <dimen name="car_ui_preference_category_icon_size">44dp</dimen>
+ <dimen name="car_ui_preference_category_icon_margin_end">16dp</dimen>
- <dimen name="chassis_preference_dropdown_padding_start">112dp</dimen>
+ <dimen name="car_ui_preference_dropdown_padding_start">112dp</dimen>
- <dimen name="chassis_preference_edit_text_dialog_margin_top">32dp</dimen>
- <dimen name="chassis_preference_edit_text_dialog_margin_bottom">32dp</dimen>
- <dimen name="chassis_preference_edit_text_dialog_message_margin_bottom">32dp</dimen>
- <dimen name="chassis_preference_edit_text_dialog_message_margin_start">24dp</dimen>
- <dimen name="chassis_preference_edit_text_dialog_message_margin_end">24dp</dimen>
- <dimen name="chassis_preference_edit_text_dialog_text_margin_start">24dp</dimen>
- <dimen name="chassis_preference_edit_text_dialog_text_margin_end">24dp</dimen>
+ <dimen name="car_ui_preference_edit_text_dialog_margin_top">32dp</dimen>
+ <dimen name="car_ui_preference_edit_text_dialog_margin_bottom">32dp</dimen>
+ <dimen name="car_ui_preference_edit_text_dialog_message_margin_bottom">32dp</dimen>
+ <dimen name="car_ui_preference_edit_text_dialog_message_margin_start">24dp</dimen>
+ <dimen name="car_ui_preference_edit_text_dialog_message_margin_end">24dp</dimen>
+ <dimen name="car_ui_preference_edit_text_dialog_text_margin_start">24dp</dimen>
+ <dimen name="car_ui_preference_edit_text_dialog_text_margin_end">24dp</dimen>
</resources>