Revert "Add support for taskbar background to wrap around hotseat"
This reverts commit 5dc07d786f.
Reason for revert: b/360116669
Bug: 345768019
Change-Id: Id70ceed141e2106f746d4a0e68a09675ba45dd28
Fixes: 360116669
Test: open taskbar, open all apps w/ ime, use ime back button
Flag: com.android.launcher3.enable_scaling_reveal_home_animation
This commit is contained in:
@@ -208,11 +208,8 @@ public class StashedHandleViewController implements TaskbarControllers.LoggableT
|
||||
* Creates and returns a {@link RevealOutlineAnimation} Animator that updates the stashed handle
|
||||
* shape and size. When stashed, the shape is a thin rounded pill. When unstashed, the shape
|
||||
* morphs into the size of where the taskbar icons will be.
|
||||
*
|
||||
* @param taskbarToHotseatOffsets A Rect of offsets used to transform the bounds of the
|
||||
* stashed handle to wrap around the hotseat items.
|
||||
*/
|
||||
public Animator createRevealAnimToIsStashed(boolean isStashed, Rect taskbarToHotseatOffsets) {
|
||||
public Animator createRevealAnimToIsStashed(boolean isStashed) {
|
||||
Rect visualBounds = mControllers.taskbarViewController.getIconLayoutVisualBounds();
|
||||
float startRadius = mStashedHandleRadius;
|
||||
|
||||
@@ -223,13 +220,6 @@ public class StashedHandleViewController implements TaskbarControllers.LoggableT
|
||||
visualBounds.bottom += heightDiff;
|
||||
|
||||
startRadius = visualBounds.height() / 2f;
|
||||
|
||||
// We use these offsets to create a larger stashed handle to wrap around the items
|
||||
// of the hotseat. This is only used for certain animations.
|
||||
visualBounds.top += taskbarToHotseatOffsets.top;
|
||||
visualBounds.bottom += taskbarToHotseatOffsets.bottom;
|
||||
visualBounds.left += taskbarToHotseatOffsets.left;
|
||||
visualBounds.right += taskbarToHotseatOffsets.right;
|
||||
}
|
||||
|
||||
final RevealOutlineAnimation handleRevealProvider = new RoundedRectRevealOutlineProvider(
|
||||
|
||||
Reference in New Issue
Block a user