Merge "Adds start/end button unfold transitions." into tm-qpr-dev

This commit is contained in:
Alejandro Nijamkin
2022-08-09 21:46:31 +00:00
committed by Android (Google) Code Review

View File

@@ -29,7 +29,7 @@ import javax.inject.Inject
/** /**
* Translates items away/towards the hinge when the device is opened/closed. This is controlled by * Translates items away/towards the hinge when the device is opened/closed. This is controlled by
* the set of ids, which also dictact which direction to move and when, via a filter function. * the set of ids, which also dictate which direction to move and when, via a filter function.
*/ */
@SysUIUnfoldScope @SysUIUnfoldScope
class KeyguardUnfoldTransition class KeyguardUnfoldTransition
@@ -55,7 +55,9 @@ constructor(
ViewIdToTranslate(R.id.lockscreen_clock_view, LEFT, filterNever), ViewIdToTranslate(R.id.lockscreen_clock_view, LEFT, filterNever),
ViewIdToTranslate( ViewIdToTranslate(
R.id.notification_stack_scroller, RIGHT, filterSplitShadeOnly), R.id.notification_stack_scroller, RIGHT, filterSplitShadeOnly),
ViewIdToTranslate(R.id.wallet_button, RIGHT, filterNever)), ViewIdToTranslate(R.id.wallet_button, RIGHT, filterNever),
ViewIdToTranslate(R.id.start_button, LEFT, filterNever),
ViewIdToTranslate(R.id.end_button, RIGHT, filterNever)),
progressProvider = unfoldProgressProvider) progressProvider = unfoldProgressProvider)
} }