Merge "Adjusting margins and paddings for portrait shade on large screens" into tm-dev

This commit is contained in:
Michał Brzeziński
2022-03-09 13:16:08 +00:00
committed by Android (Google) Code Review
4 changed files with 6 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
~ limitations under the License.
-->
<resources>
<dimen name="notification_panel_margin_horizontal">60dp</dimen>
<dimen name="notification_panel_margin_horizontal">48dp</dimen>
<dimen name="status_view_margin_horizontal">62dp</dimen>
<dimen name="keyguard_clock_top_margin">40dp</dimen>
<dimen name="keyguard_status_view_bottom_margin">40dp</dimen>

View File

@@ -21,8 +21,11 @@
for different hardware and product builds. -->
<resources>
<dimen name="status_view_margin_horizontal">124dp</dimen>
<dimen name="notification_panel_margin_horizontal">120dp</dimen>
<dimen name="keyguard_clock_top_margin">80dp</dimen>
<dimen name="keyguard_status_view_bottom_margin">80dp</dimen>
<dimen name="bouncer_user_switcher_y_trans">90dp</dimen>
<dimen name="notification_panel_margin_horizontal">96dp</dimen>
<dimen name="notification_side_paddings">40dp</dimen>
<dimen name="notification_section_divider_height">16dp</dimen>
</resources>

View File

@@ -139,7 +139,7 @@
<!-- Height of a heads up notification in the status bar -->
<dimen name="notification_max_heads_up_height_increased">188dp</dimen>
<!-- Side padding on the lockscreen on the side of notifications -->
<!-- Side padding on the side of notifications -->
<dimen name="notification_side_paddings">16dp</dimen>
<!-- padding between the heads up and the statusbar -->

View File

@@ -1233,10 +1233,6 @@ public class NotificationStackScrollLayoutController {
mView.forceNoOverlappingRendering(force);
}
public void setTranslationX(float translation) {
mView.setTranslationX(translation);
}
public void setExpandingVelocity(float velocity) {
mView.setExpandingVelocity(velocity);
}