Transient Taskbar's Background animation

Added fold/unfold animation to the background of transient taskbar.
Note: The animation has only been added to transient taskbar

Test: manual
Fixes: 273929852
Change-Id: I2f35b6a1157341744d9c7b8306d7dbd8490702dc
This commit is contained in:
dshivangi
2023-03-22 18:26:12 +00:00
committed by Shivangi Dubey
parent b828ba1386
commit 4c38fada4f
4 changed files with 36 additions and 0 deletions

View File

@@ -183,6 +183,15 @@ public class TaskbarDragLayerController implements TaskbarControllers.LoggableTa
mLastSetBackgroundAlpha * (1 - mBgOffset.value));
}
/**
* Sets the width percentage to inset the transient taskbar's background from the left and from
* the right.
*/
public void setBackgroundHorizontalInsets(float insetPercentage) {
mTaskbarDragLayer.setBackgroundHorizontalInsets(insetPercentage);
}
@Override
public void dumpLogs(String prefix, PrintWriter pw) {
pw.println(prefix + "TaskbarDragLayerController:");