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 authored and Shivangi Dubey committed 2023-03-24 17:50:31 +00:00
1 parent b828ba1386
commit 4c38fada4f
4 files changed
+36

No files matched your search

@@ -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:");