Merge changes Ibdecabd1,If330dc9e into main
* changes: Added scale animation for taskbar pinning transition. Animate the bubble bar Y for task bar pinned/unpinned switches.
This commit is contained in:
commit
ddf212523f
3 files changed
+95
-6
No files matched your search
@@ -303,6 +303,17 @@ public class BubbleBarView extends FrameLayout {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the bubble icons size and spacing between the bubbles and the borders of the bubble
|
||||
* bar.
|
||||
*/
|
||||
public void setIconSizeAndPaddingForPinning(float newIconSize, float newBubbleBarPadding) {
|
||||
mBubbleBarPadding = newBubbleBarPadding;
|
||||
mIconScale = newIconSize / mIconSize;
|
||||
updateBubblesLayoutProperties(mBubbleBarLocation);
|
||||
invalidate();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets new icon sizes and newBubbleBarPadding between icons and bubble bar borders.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user