Merge "Pivot search results scale around top of view." into tm-qpr-dev am: 455c942fd2 am: 92574a99f5

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19956355

Change-Id: Ia4b2eb1478ac0159a87ed8a97c60c7c373926ea5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Andy Wickham
2022-09-16 22:12:31 +00:00
committed by Automerger Merge Worker
@@ -233,6 +233,7 @@ public class SearchTransitionController {
private void onSearchChildAttached(View child) {
// Avoid allocating hardware layers for alpha changes.
child.forceHasOverlappingRendering(false);
child.setPivotY(0);
if (mSearchToAzProgress > 0) {
// Before the child is rendered, apply the animation including it to avoid flicker.
updateSearchRecyclerViewProgress();