mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Revert "Refactors Search results into separate RV for Toast."
This reverts commit 6729f0b950.
Reason for revert: This change caused b/230648542.
Please see https://b.corp.google.com/issues/230648542#comment5 for the video after reverting this change.
Bug: 206905515
Bug: 230648542
Change-Id: I85f063c56cad137c05b810204244bba7e8f94ee7
This commit is contained in:
@@ -84,8 +84,7 @@ public class AllAppsTransitionController
|
||||
@Override
|
||||
public Float get(AllAppsTransitionController controller) {
|
||||
if (controller.mIsTablet) {
|
||||
return controller.mAppsView.getAppsRecyclerViewContainer()
|
||||
.getTranslationY();
|
||||
return controller.mAppsView.getRecyclerViewContainer().getTranslationY();
|
||||
} else {
|
||||
return controller.getAppsViewPullbackTranslationY().get(
|
||||
controller.mAppsView);
|
||||
@@ -95,7 +94,7 @@ public class AllAppsTransitionController
|
||||
@Override
|
||||
public void setValue(AllAppsTransitionController controller, float translation) {
|
||||
if (controller.mIsTablet) {
|
||||
controller.mAppsView.getAppsRecyclerViewContainer().setTranslationY(
|
||||
controller.mAppsView.getRecyclerViewContainer().setTranslationY(
|
||||
translation);
|
||||
} else {
|
||||
controller.getAppsViewPullbackTranslationY().set(controller.mAppsView,
|
||||
@@ -110,7 +109,7 @@ public class AllAppsTransitionController
|
||||
@Override
|
||||
public Float get(AllAppsTransitionController controller) {
|
||||
if (controller.mIsTablet) {
|
||||
return controller.mAppsView.getAppsRecyclerViewContainer().getAlpha();
|
||||
return controller.mAppsView.getRecyclerViewContainer().getAlpha();
|
||||
} else {
|
||||
return controller.getAppsViewPullbackAlpha().getValue();
|
||||
}
|
||||
@@ -119,7 +118,7 @@ public class AllAppsTransitionController
|
||||
@Override
|
||||
public void setValue(AllAppsTransitionController controller, float alpha) {
|
||||
if (controller.mIsTablet) {
|
||||
controller.mAppsView.getAppsRecyclerViewContainer().setAlpha(alpha);
|
||||
controller.mAppsView.getRecyclerViewContainer().setAlpha(alpha);
|
||||
} else {
|
||||
controller.getAppsViewPullbackAlpha().setValue(alpha);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user