[PS] Add emphasized interpolators when clicking the PS tile to scroll to bottom.

UX spec: https://carbon.googleplex.com/google-material-3/pages/easing-and-duration/tokens-specs/bd8df608-11ee-48f9-b93d-90d74e3d35c8#5fa37127-0934-4c47-804e-cb2fbf47f73d. Use the first column "Emphasized" one.
Duration: 500ms

video: https://drive.google.com/file/d/1EYlkWVgiYFy0IB5WnQRVoQ9b_sbEkLj7/view?usp=sharing

Bug: 309522136
Test: manual
Flag: ACONFIG com.google.android.apps.nexuslauncher.inject_private_space_tile DEVELOPMENT
Change-Id: I178c075ebf5db8338f476d0607caabec7b8c7fde
This commit is contained in:
Holly Sun
2023-11-27 13:39:38 -08:00
parent 2b352f6c5f
commit 454590d7ea
2 changed files with 6 additions and 4 deletions

View File

@@ -515,7 +515,7 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
// Switch to the main tab
switchToTab(ActivityAllAppsContainerView.AdapterHolder.MAIN);
// Scroll to bottom
getActiveRecyclerView().scrollToBottom();
getActiveRecyclerView().scrollToBottomWithMotion();
});
}