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

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

Change-Id: Ibb3581e52154d2f08929aeca604e9b25671e1a31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Andy Wickham
2022-09-16 21:42:29 +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();