Merge "Migrate shared dimens to customization resources" into udc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2f935151e3
@@ -123,6 +123,7 @@ android_library {
|
||||
],
|
||||
static_libs: [
|
||||
"SystemUISharedLib",
|
||||
"SystemUICustomizationLib",
|
||||
"SettingsLib",
|
||||
"androidx.leanback_leanback",
|
||||
"androidx.slice_slice-core",
|
||||
|
||||
@@ -17,4 +17,7 @@
|
||||
<resources>
|
||||
<!-- Large clock maximum font size (dp is intentional, to prevent any further scaling) -->
|
||||
<dimen name="large_clock_text_size">200dp</dimen>
|
||||
|
||||
<!-- With the large clock, move up slightly from the center -->
|
||||
<dimen name="keyguard_large_clock_top_margin">-112dp</dimen>
|
||||
</resources>
|
||||
|
||||
@@ -24,4 +24,12 @@
|
||||
<item name="keyguard_clock_line_spacing_scale" type="dimen" format="float">.7</item>
|
||||
<!-- Burmese line spacing multiplier between hours and minutes of the keyguard clock -->
|
||||
<item name="keyguard_clock_line_spacing_scale_burmese" type="dimen" format="float">1</item>
|
||||
|
||||
<!-- With the large clock, move up slightly from the center -->
|
||||
<dimen name="keyguard_large_clock_top_margin">-60dp</dimen>
|
||||
|
||||
<!-- additional offset for clock switch area items -->
|
||||
<dimen name="small_clock_height">114dp</dimen>
|
||||
<dimen name="small_clock_padding_top">28dp</dimen>
|
||||
<dimen name="clock_padding_start">28dp</dimen>
|
||||
</resources>
|
||||
@@ -95,9 +95,6 @@
|
||||
<dimen name="num_pad_key_margin_end">12dp</dimen>
|
||||
|
||||
<!-- additional offset for clock switch area items -->
|
||||
<dimen name="small_clock_height">114dp</dimen>
|
||||
<dimen name="small_clock_padding_top">28dp</dimen>
|
||||
<dimen name="clock_padding_start">28dp</dimen>
|
||||
<dimen name="below_clock_padding_start">32dp</dimen>
|
||||
<dimen name="below_clock_padding_end">16dp</dimen>
|
||||
<dimen name="below_clock_padding_start_icons">28dp</dimen>
|
||||
|
||||
@@ -15,9 +15,6 @@
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<!-- With the large clock, move up slightly from the center -->
|
||||
<dimen name="keyguard_large_clock_top_margin">-112dp</dimen>
|
||||
|
||||
<!-- Margin above the ambient indication container -->
|
||||
<dimen name="ambient_indication_container_margin_top">20dp</dimen>
|
||||
</resources>
|
||||
|
||||
@@ -747,8 +747,6 @@
|
||||
<dimen name="keyguard_clock_switch_y_shift">14dp</dimen>
|
||||
<!-- When large clock is showing, offset the smartspace by this amount -->
|
||||
<dimen name="keyguard_smartspace_top_offset">12dp</dimen>
|
||||
<!-- With the large clock, move up slightly from the center -->
|
||||
<dimen name="keyguard_large_clock_top_margin">-60dp</dimen>
|
||||
|
||||
<dimen name="notification_scrim_corner_radius">32dp</dimen>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user