mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-05 10:26:52 +00:00
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:
committed by
Shivangi Dubey
parent
b828ba1386
commit
4c38fada4f
@@ -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:");
|
||||
|
||||
Reference in New Issue
Block a user