add3d8322dde223629f1653bed6098342a2d69f7 |
|
08-Sep-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Removing some folder customization options The old folder preview and animation relied on creating bitmaps for transition. As we move to hardware bitmaps, creating custom bitmaps which rely on icon bitmaps would be costly (hardware bitmaps are immutable and cannot be drawn on a software canvas). Bug: 35428783 Change-Id: I39869ed44feb6a886985ad15775bc1ab55565727
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|
4dd024b974e208fa2a75fba365ecfa0ca9270221 |
|
14-Jul-2017 |
Jon Miranda <jonmiranda@google.com> |
Add new motion for when Folder preview changes due to onDrop. Instead of changing the display order of the Folder to preserve the upper left quadrant, we are opting to change the Folder Icon preview to always show the upper left quadrant. This means that when adding items to a Folder, the preview items may change. (They will change when the column size increases). Bug: 27944225 Bug: 63140071 Change-Id: I863c2479469d68559cab2878030c2087d48217d6
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|
cb73920b231ab4e26dcf3500e65daeedda88c912 |
|
24-Jun-2017 |
Jon Miranda <jonmiranda@google.com> |
Move inner classes out of FolderIcon. The goal is to eventually move all of the PreviewBackground and Preview Item drawing out of the FolderIcon class. Bug: 36022592 Change-Id: Ie0552bb4ca8a7e232c1c454a23558940e9394a14
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|
828b11e5a934af781f620620dd20d312defa49b8 |
|
22-Jun-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Setting the callback for previewItems to folderIcon. This allows the FolderIcon to get updated without going through the child'draw pass. Also simplifying the draw code for the FolderIcon to remove any cycling invalidate calls Bug: 62900800 Change-Id: I17009a5347a1c3c35426313ac759e0240ce6a395
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|
c06af333cbcebb183d13d004cccf5c9d69a70af0 |
|
28-Mar-2017 |
Mario Bertschler <bmario@google.com> |
Minor Refactoring only: no functional change - organizing imports - remove redundant modifiers on LauncherCallback interface - fix typos Change-Id: I61eb985cac7c1379b6b804a67d4f234386d3d1b4
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|
5fcbad03ef33fa8e25de79b115905592d761ef83 |
|
02-Mar-2017 |
Jon Miranda <jonmiranda@google.com> |
Added getIconSize method to PreviewLayoutRule interface. This will be used in new Folder animation. Bug: 35064148 Change-Id: I5573336c0b8a9db8d1e600b1e16de07f48f35a21
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|
655ec42ce50e18f2ce597901707057b5898e110a |
|
07-Feb-2017 |
Jon Miranda <jonmiranda@google.com> |
Added FolderIconPreviewVerifier class. This class verifies whether an item in a Foder is displayed in the FolderIcon preview, based on the item's rank. We use this class to determine which items in a Folder will be displayed in the preview. Bug: 35064148 Change-Id: Ia21bccbd95c348efeac62591ae3696a4c60b5339
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|
12b616c7d446d3274d16938d8bc37f5dc4bdc211 |
|
07-Feb-2017 |
Jon Miranda <jonmiranda@google.com> |
Update PreviewLayoutRule API to prepare for new folder animation. Also created a new FeatureFlag to start building behind. Bug: 35064148 Change-Id: I4a7d30bf1e1f49f1012eb963695d44d67096a5bc
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|
d3cc05a3a8c573986d08ee293a4bb8b4534d06b2 |
|
21-Mar-2016 |
Adam Cohen <adamcohen@google.com> |
Account for disparity btw folder preview size and drawable size -> When there is disparity between the cached icon size and the available space in the preview, the folder preview could appear not as intended (either overly crammed, or overly spacious) issue 27701193 Change-Id: I9f97012ba569d1419b1e3f661cd26761b2a36285
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|
efca0279eb927faebffc38c8382818df67fcd159 |
|
25-Feb-2016 |
Adam Cohen <adamcohen@google.com> |
Switch all folder preview rendering to be programmatic (ie. no assets) -> Refactored the preview background rendering to be much more self-contained. This cleans up a lot of code in the CellLayout, and keeps the logic in the right place. -> We switch to software rendering for performance and compatibility reasons. -> Removed all assets. -> FolderIcon accept animation includes animation of the clipped region. -> 1:1 hand-off of drawing of the FolderIcon background between the FolderIcon and the CellLayout. Unfortunately, CellLayout rendering is still required to work around clipping issues (due to use of software layer). We also need this to support folder creation feedback. Change-Id: Ib8f7fa6359dfedff8145f38dd50ba03849ca0d51
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|
4f8071b759fd54bc6d271ea450af00fe0730baea |
|
14-Feb-2016 |
Adam Cohen <adamcohen@google.com> |
Cleaning up folder icon drawing -> Tracking individual drawing parms for each item -> This enables animation of the preview items as the preview changes Change-Id: I1b8f650cb28dc09cfb921bbdc93f2a3db61178fd
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|
261194387beebaa7927ec4e310274218b651494d |
|
18-Feb-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Revert "Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage" This reverts commit fc956e5a2a818c06ed3424e15b0aa20a3f604658. Change-Id: Ib3b5156b8fc3cad35c4634d61d5390c848ce1f93
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|
fc956e5a2a818c06ed3424e15b0aa20a3f604658 |
|
17-Feb-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage Change-Id: Ifd0d717d70aff4c83c9eb5cba397d04500b2c869
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|
119e8982ab6a0cf00e31e8744f27b72ba8bf7b20 |
|
05-Feb-2016 |
Adam Cohen <adamcohen@google.com> |
First pass at new FolderIcon visual treatment -> Modeled as a set of items around a circle -> Modulate the radius and icon size as number of items grow -> Clip the icons by a circular clip aligned to the background drawable Remaining issues -> Probably want to move to a programmaticly drawn circle + shadow -> Anti-aliasing of the clipped region will need more attention -> Need to animate all items in the preview as it changes (this wasn't required before) Change-Id: I678ec605f6c8a34e9d7e4aec4e9583e36a9ef394
/packages/apps/Launcher3/src/com/android/launcher3/folder/ClippedFolderIconLayoutRule.java
|