mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +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
@@ -200,4 +200,13 @@ public class TaskbarDragLayer extends BaseDragLayer<TaskbarActivityContext> {
|
||||
}
|
||||
return super.dispatchKeyEvent(event);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the width percentage to inset the transient taskbar's background from the left and from
|
||||
* the right.
|
||||
*/
|
||||
public void setBackgroundHorizontalInsets(float insetPercentage) {
|
||||
mBackgroundRenderer.setBackgroundHorizontalInsets(insetPercentage);
|
||||
invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user