Merge "Fade in expanded media player in landscape" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
37e2de8f64
@@ -417,6 +417,10 @@ public class QSAnimator implements Callback, PageListener, Listener, OnLayoutCha
|
|||||||
// Fade in the security footer and the divider as we reach the final position
|
// Fade in the security footer and the divider as we reach the final position
|
||||||
builder = new Builder().setStartDelay(EXPANDED_TILE_DELAY);
|
builder = new Builder().setStartDelay(EXPANDED_TILE_DELAY);
|
||||||
builder.addFloat(mSecurityFooter.getView(), "alpha", 0, 1);
|
builder.addFloat(mSecurityFooter.getView(), "alpha", 0, 1);
|
||||||
|
if (mQsPanelController.shouldUseHorizontalLayout()
|
||||||
|
&& mQsPanelController.mMediaHost.hostView != null) {
|
||||||
|
builder.addFloat(mQsPanelController.mMediaHost.hostView, "alpha", 0, 1);
|
||||||
|
}
|
||||||
mAllPagesDelayedAnimator = builder.build();
|
mAllPagesDelayedAnimator = builder.build();
|
||||||
mAllViews.add(mSecurityFooter.getView());
|
mAllViews.add(mSecurityFooter.getView());
|
||||||
translationYBuilder.setInterpolator(mQSExpansionPathInterpolator.getYInterpolator());
|
translationYBuilder.setInterpolator(mQSExpansionPathInterpolator.getYInterpolator());
|
||||||
|
|||||||
Reference in New Issue
Block a user