History log of /packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
50e5165b78c75ccb022f0954699f49c579547115 21-Mar-2017 Tony Wickham <twickham@google.com> Add WidgetsAndMore bottom sheet

- Contains two rows, one for widgets, and one for "configurable
shortcuts" that have customization activities
- Extends AbstractFloatingView and uses VerticalPullDetector for
touch interactions
- No way to show this currently; will add options to popup in followup

Bug: 34940468
Change-Id: Iab62c2cb89428f91119c9c86f9db886496c321fd
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
fb6c32a983e4aabbf4369f8b953a1b2fd2067354 16-Mar-2017 Jonathan Miranda <jonmiranda@google.com> Revert "Temporary fix for Folders in battery saver mode."

Note: b/36157561 has been properly fixed.

This reverts commit 715a322e9ad62b4f0fc0ddca17c98a0ed6d048de.

Change-Id: I267db053a45a75fdef71c6d178f140c7abcb8616
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
715a322e9ad62b4f0fc0ddca17c98a0ed6d048de 15-Mar-2017 Jon Miranda <jonmiranda@google.com> Temporary fix for Folders in battery saver mode.

In battery saver mode, the Folder opens where it appears
the final values of the Animators are not being set.

Bug: 36157561
Bug: 36246234
Change-Id: I8dd58044f5f5ac66f8a8476a77d9899447a973eb
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
608d0dba8717326319800a78cfa85f3ad08b9549 28-Feb-2017 Jon Miranda <jonmiranda@google.com> Close Folder before doing any automatic updates.

We already close the Folder when Work Profile apps are
auto added to the Work Profile Folder. This change extends that
functionality to when apps are being auto removed from the
Work Profile Folder.

Bug: 35845161
Change-Id: I2aa6a6a0ed28a95f6a59a549430f91482583548b
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
54d4e645b3c2b2c153e97f776e33685b292f8c2b 24-Feb-2017 Jon Miranda <jonmiranda@google.com> Enable suggestions for Folder names.

We turn on suggestions, turn off auto complete, and disable the
default behavior where red lines appear under typos.

Bug: 30055146
Change-Id: Ia151b7a4db1dfc6908504e6ea82a1f6989f05ca5
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
440609453f14fa8ce4bec1d70032f0b7f9614d4e 22-Feb-2017 Jon Miranda <jonmiranda@google.com> Close Folder when an item is auto added to it.

This can happen when items (as part of a Work Profile) are auto added
to the Work profile Folder.

Bug: 35628160
Change-Id: I29d3b277b0e9cd4bb238fb5aff9a52c6b9e764f8
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
48dfd26195603bf863be40f1d40922b8077fe5ef 21-Feb-2017 Jon Miranda <jonmiranda@google.com> Fix folder icon animation where it animates downwards on 1st run.

The first time FolderIcon#growAndFadeOut is called, the folder
icon pivot x/y is not set. By moving the call after centerAboutIcon
(which sets the pivot point), we get the expected result of the
animation growing upward.

Bug: 35126799
Change-Id: I22fccb6b23550f823eb7b4485b9584022b810323
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
93bc3c1e41b45d0a331db2589fd4c6a731cb591d 16-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Separating methods for updating the model to a sepatate class." into ub-launcher3-master
43bf11d9c95f76c2dfeb625b23cb458df81252b3 02-Feb-2017 Sunny Goyal <sunnygoyal@google.com> Separating methods for updating the model to a sepatate class.

Removing static access to model update methods, to allow for better
access control and testing

Change-Id: I9afe004dbf1b2fe50df422fd28bceea9230a4704
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
c6cf493b07fc7234c2a0a164318fd9aeb02e48f3 08-Feb-2017 Jon Miranda <jonmiranda@google.com> Add basic logs for tap outside action.

Change-Id: I6288610b9870c3abe88794c53309b1d76dd2780f
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
a52ecb0390c85afb385371bb844bb496c59ddf87 17-Dec-2016 Sunny Goyal <sunnygoyal@google.com> Removing all compatibility code below Lollipop

Bug: 32745285
Change-Id: I62971908e3e4402941fab627bbdfd47be64473a3
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
6c46a6d324310bd2fc0ea223c9782ba6394512e7 22-Nov-2016 Sunny Goyal <sunnygoyal@google.com> Using java_style enum generation for proto

This makes it easier to track various method parameters and simplifies
debug logging

Change-Id: Ib7c3d52590d0c36b2c8460c889ee3bead3454569
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
f5440cbd6c0525769d24b890e16313a728831e04 15-Dec-2016 Sunny Goyal <sunnygoyal@google.com> Removing FeatureFlag.LAUNCHER3_LEGACY_WORKSPACE_DND and corresponding logic

Change-Id: Ie10c087b4f72ee27be5bf12e2c81be5b7a3a6176
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
0f76b56865bd7b63bd21d53aaac47300396aa38f 14-Dec-2016 Sunny Goyal <sunnygoyal@google.com> Refactoring FlingToDelete

> Moving all fling related logic to FlingToDeleteHelper from DragController
> Removing fling related methods from DragSource and DropTarget
> Moving fling animation logic from DeleteDropTarget to FlingAnimation
> Simplifying DropTargetBar to directly look for all valid drop targets.
This makes it easier to add new DropTarget in xml.

Change-Id: I7214d2d30c907ab93c80d92d9f9be6dda2d63354
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
d5462aa31b53eb690a3f57c7c6c0cc4021271de6 22-Nov-2016 Sunny Goyal <sunnygoyal@google.com> Simplifyling widget inflation and addition flow.

> Removing insert parameter used to select the index of the view.
ShortcutAndWidgetContainer no longet relies on the index and instead
uses x and y to refer a particulat view.
> Creating helper methods to easily insert the icon by passing ItemInfo
directly. LauncherModel.addItemToDatabase synchronously updates the
ItemInfo with proper postion information. So we can directly use the
info instead of passing each parameter separately.

Bug: 32904959

Change-Id: I021c1b818f2f42604b95a6970e06aacc7211292a
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
feba90fe802cb54e02dd961dbea265c044ad5f9e 06-Oct-2016 Jon Miranda <jonmiranda@google.com> Added logging for HOME_INTENT and BACK commands.

Document: go/false-longpress-overview

Change-Id: If6ba4996c861a44f4950b41acb4246e3a483d8f2
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
ea62fe0be19c54f8fbb434c6334418b96626f70d 05-Oct-2016 Tony Wickham <twickham@google.com> Animate icons back to where they were picked up.

We do this for pre-dragged icons instead of calling onDrop().
- Removes need for special logic in onDrop() to check if mIsInPreDrag
- Dropping from pre-drag in all apps also animates instead of jumping

We also do this when dropping an icon while still transitioning
to spring-loaded mode, to avoid having a janky jump at the end
- Bug: 27135377

Change-Id: I4548c3e2fef3423d1ba36057fb53807b1b4ad0fc
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
f9136dac42483a9d42f62f4a66339bf3be191336 13-Oct-2016 Sunny Goyal <sunnygoyal@google.com> Fixing crash in folder

Getting the parent, before the folder is removed from DragLayer

Bug: 32141195
Change-Id: I0bd3163a1425c994280cd61197845afab3c2c185
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
6982de2485ae516f02758bffd0cb0fdc4b127fef 12-Oct-2016 Tony Wickham <twickham@google.com> resolve merge conflicts of 2fd0208 to ub-launcher3-master

Change-Id: I20ad6eaace81786be080e28d6eb551908add6d90
9c76a9cecedd1e33708aa6d19980cfc73ae2caf8 11-Oct-2016 Sunny Goyal <sunnygoyal@google.com> Announcing the final action when the drag-drop completes
am: 3f8864069b

Change-Id: Iba49c7ba1d1c2d1f4c279970bbcc3ff96af5ccc0
3f8864069be20d14debacddee610062f3feae5a1 11-Oct-2016 Sunny Goyal <sunnygoyal@google.com> Announcing the final action when the drag-drop completes

Bug:31926812
Change-Id: Id0566cc7dc15732981320807a02fb9cae8a885e6
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
740ac7f00e0b847b8e392800f7948d93493e11d6 29-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Refactoring floating view opening/closing logic

> Creating a base view for floating panels with some common methods
> Moving the getOpen method to individual classes
> Moving the folder icon animation logic to folder icon
> Moving all the logic related for opening folder to Folder class

Change-Id: I898dfb6870b857cb921d2729b89618bc43ff2e88
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
2fd020860533e18c64a93d14d11cb2d34bc9cbaf 07-Oct-2016 Tony <twickham@google.com> Use Launcher.getLauncher(Context) instead of type-casting.

Bug: 32010039
Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
df7ef68bbf36f8bbf015ace74fce0e00142b2e23 07-Oct-2016 Hyunyoung Song <hyunyoungs@google.com> Refactors in UserEventDispatcher

- LaunchSource -> LogContainer

Change-Id: I71bfee992fb1ba7ae80e824d419f7bf8d3020999
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
0de011705b132eacdd10f7bfb5cdc4bd79a147e8 06-Oct-2016 Hyunyoung Song <hyunyoungs@google.com> Code sanitization

- Removed bad method/class name typos

Change-Id: Ie6900e9e3d9ce9b550d2a2442a5dac3f7050a573
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
10236d6ac7f5f787ca21736494ccb5eaf2bd7c27 28-Sep-2016 Tony Wickham <twickham@google.com> Update pre-drag lifecycle for apps with shortcuts.

- First of all, deferred drag has been renamed to pre-drag
to avoid confusion with the existing deferred end drag.
- For normal drags, the cycle is still startDrag -->
onDragStart --> onDrop --> onDropComplete --> onDragEnd.
- Pre-drags have two additional callbacks: onPreDragStart
and onPreDragEnd. onPreDragStart is called between
startDrag and onDragStart, and onPreDragEnd is called
at the same time as onDragStart or onDragEnd.
- If the pre-drag has not transitioned to a full drag before
onDragEnd, onDragStart and onDropComplete are skipped
(onDrop is still called to allow the DragView to animate).

Change-Id: Icd7a8f75d5fcc159f9a52758c22ab6eae3edb9e2
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
1cf412ca91315cb60912033c0013706e5cced072 24-Sep-2016 Tony <twickham@google.com> Don't attempt to add item back to folder when deferring drag.

Since the item hasn't yet been removed until the deferred drag
starts, adding it again will throw an exception (the view
already has a parent).

Bug: 30769920
Change-Id: Icb95aaa64e6e3c5dc105bbf3e54460b529d02033
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
6e74e899d314663415f54895227bb79a51fd734b 19-Sep-2016 Tony Wickham <twickham@google.com> Refactor shortcuts drag and drop.

- Instead of creating our own drag view within the container, and
handling logic to determine when to start a real drag, we start
the drag immediately and just defer onDragStart().
- To determine when the deferred drag should start, we add a
DeferDragCondition to DragOptions. The default DeferDragCondition
never defers a drag, but is overridden for apps with shortcuts
to defer until the icon is dragged a given distance.
- Because the drag is handled in DragController, including checking
when to start the deferred drag, DeepShortcutsContainer no longer
needs to handle touch events and ShortcutsContainerListener has
been removed.

This change has several immediate benefits:
- The code is much cleaner, because it allows touch handling to be
done by the DragController through the normal drag flow, without
recreating logic in ShortcutsContainerListener/DeepShortcutContainer.
- The janky second haptic feedback has been removed (now it vibrates
when you long press, like everywhere else, but not again when the
shortcuts close after dragging a distance).
- Drops are animated, instead of just popping the icon back into place.

Bug: 30769920
Bug: 30465972
Bug: 31533078
Change-Id: I679b412b72fbf6c3895d76963311eb5010c8e8db
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
e393d3af369c452f3b5f5d9c0a23a83aa3aa736b 09-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Using DragObject for folder drop instead of maintaining states when
drag starts from inside a folder

Change-Id: I073b59c194d0bd483d579bbcb638b116b09590a0
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
52851aa3fd2dd9957e190d779f904f6abaf53fed 02-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Fixing topView not being considered in all places when calculating accessible
and focusable views

Bug: 30563273
Change-Id: I6253ce33ee5c328efdde2ea733029975b31e5eb8
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
94b510cc683a6436ae82c6d323cbd8b429561b06 17-Aug-2016 Sunny Goyal <sunnygoyal@google.com> Some drag and drop code refactor:

1) Adding DragOptions to easily extend drap functionality
2) Changing onDragStarted signature to send more information
3) Updating states for dropTargetButton based on drag event directly
4) Removing folder item based on onDragStarted and not startDrag

Change-Id: I65b684e092ddc081d086bfe2c8c1973ed170eaeb
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
59a238095e82fd02355f4cb53abe01655a50b051 01-Sep-2016 Hyunyoung Song <hyunyoungs@google.com> Support user event logging for drag and drop
b/30039490

Supported in this CL:
- DnD: drag from container [WORKSPACE|HOTSEAT|FOLDER|ALLAPPS|WIDGETS|DEEPSHORTCUTS]
drag to container [HOTSEAT,WORKSPACE,FOLDER,DROPTARGETS]
- Source and target can be [FOLDER_ICON, ICON, DEEPSHORTCUT, WIDGET]
- $ adb shell setprop log.tag.UserEvent DEBUG will turn on debugging

Change-Id: I0b8b879b80e6dce85bbde6e7794f9e0677832603
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
8ce6063c4a5bd90810f0a21c946e5bbad3ce9de4 16-Aug-2016 Hyunyoung Song <hyunyoungs@google.com> Set launch source target correctly for user event logging

Before, everything is set to APP_ICON
With this changed, pinned shortcuts are set to DEEPSHORTCUT

Change-Id: I3e17de63f58693525236290ef5cb1f909f1d6098
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
55c6691e3a2e953dc9882ad0bc0a4c1ee2d42e67 02-Aug-2016 Tony Wickham <twickham@google.com> Add logging for shortcuts opening.

- Log as long press with child type DEEPSHORTCUTS container
- Parent type can be one of WORKSPACE, HOTSEAT, FOLDER,
ALLAPPS, PREDICTION, or SEARCHRESULT.

Bug: 30537079
Change-Id: Ie62e4889ee06c845f959ca998781787a7fdaf00e
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
fadbe8ffbd90eb36c782a76a8b1a76a26dba288e 23-Jul-2016 Winson <winsonc@google.com> Fixing regression in folder positioning.

- When we had the search bar, the workspace padding always
accounted for the search bar (and therefor drop target bar) height
when the folder opened. Now that there is no padding on the top, we
should offset the bar whenever possible to ensure that the drop target
bar is visible.

Bug: 30110595
Change-Id: Ia9a8581981c777f2507b6bd880994a3dcfd52c39
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
8f58e61d02fcb0ca90a2803e76a8792ec2c1f99a 16-Jul-2016 Tony Wickham <twickham@google.com> Update shortcut animations.

- Open animation: shortcuts reveal using modified circular reveal
(so that it reveals in the pill shape instead of a circle);
slight translation away from the original icon; scale icon and text.
- Hover animation: scale the shortcut pill and translate others away.

Bug: 28980830
Bug: 30127368
Change-Id: I8ed05c7a082f2c2a3f6c663da7259f6cd33e394f
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
6c2975e7e3fc5dc7cb80f1a2b3e5ffd10e49c2be 06-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Adding support for non-zero left insets

Bug: 29613069
Change-Id: Ifdf9bcce7ecdedc510f3be8a4dc10eb8da7c4bf1
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
1bce7fd342875be8f7c1f82c8cf21d0199c8d544 29-Apr-2016 Tony Wickham <twickham@google.com> Long-press on an app to reveal its shortcuts.

- Add ShortcutsContainerListener to icons on workspace, folders, and
all apps. This handles long-press and forwards following touches to
the DeepShortcutsContainer that is created.
- Drag over shortcut before lifting finger to launch it.
- Shortcuts are rendered in pill-shaped DeepShortcutViews,
which are inside DeepShortcutContainer on DragLayer.
- The shortcut container orients above or below the icon, and left or
right-aligns with it. Biases for above + left-align.
- Long press a DeepShortcutPill to drag and pin it to the workspace.

Bug: 28980830
Change-Id: I08658d13ae51fe53064644e8d8f7b42f150fdd7d
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
bfbf7f9f4a0b300613f0ff27a4eb592d88c08325 19-May-2016 Tony Wickham <twickham@google.com> Add support for launcher shortcuts.

- This CL has no UI but provides the necessary backing for one.
- Adds new item type: ITEM_TYPE_DEEP_SHORTCUT, to distinguish from
ITEM_TYPE_SHORTCUT. We can reconsider these names.
- Adds ShortcutCache, using LruCache for up to 30 dynamic shortcuts
(pinned shortcuts are always cached in a HashMap).
- DeepShortcutManager queries for shortcuts and other things like
pin them. In a future CL it will use the cache, but for now it
simply makes an RPC for all queries.
- LauncherModel maintains counts for pinned shortcuts, pinning and
unpinning when counts reach 1 or 0, respectively.
- LauncherModel maintains a map of components to lists of shortcut ids,
which Launcher gets a copy of after it is changed in the background.
This will allow us to know how many shortcuts an app has immediately,
and query for details as the UI is animating.

Change-Id: Ic526f374dd10d72a261bae67f07f098fca8d8bca
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
3333b0ced8e6743c41909f6f6b916f1f9ec5a004 10-May-2016 Sunny Goyal <sunnygoyal@google.com> Unifying focus indicator handling for workspace and all-apps

Adding an abstract FocusIndicatorHelper based on FocusIndicatorView
which draws the background instead of using a dummy view.

Change-Id: Id560195323d2ddad8fcd77ba675cf3f4fd4a94ab
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
47328fd53f43fd0c2ed14ad925dd04483f9229a0 26-May-2016 Sunny Goyal <sunnygoyal@google.com> Removing the SearchDropTarget bar as it no longer contains the QSB

> Renaming it to simply DropTargetBar
> Moving AppInfo to the top bar as well
> The workspace pages will extend to the top edge (minus some padding).
Since the QSB is no longer displayed on top of every page, there is
no reason to reserve the space.
> In spring-loaded mode, the workspace cell layout will scale enough
to make room for the drop target bar at the top

Change-Id: I2baf607310335dd576c9d9fcbb75ab708f47ac03
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
c64cfdd8fa18de45fc1646c8ef2449f39ef83022 18-May-2016 Sunny Goyal <sunnygoyal@google.com> Updating the folder page indicator to be more like the
framework page indicator (used in quick settings)

The active page is indicated with the accent color. During scroll
the active indicator expands to 2 dots corresponding to the visible pages.

Change-Id: Iaf57836b642cf87e5eed98048ecca7dd8e7643a4
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
90cb3e51af988d526912aed7a532745d729a844c 17-May-2016 Sunny Goyal <sunnygoyal@google.com> Revert "Wrapping folderLisners with weak reference, and storing it as an array"

This reverts commit e48644a6cc3024399ee2c9509d42ef6c2770ef61.

Change-Id: I7bd1d09cae42193de228cb58c08526eeaf57ec04
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
e48644a6cc3024399ee2c9509d42ef6c2770ef61 17-May-2016 Sunny Goyal <sunnygoyal@google.com> Wrapping folderLisners with weak reference, and storing it as an array

Storing as an array allows the listeners to be overriten on next bind.
These changes remove the need to unbind the item

Bug: 28740269
Change-Id: Ibbe4b760d64784fbe3075d18e2b946b366d631c5
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
b0efe3f9b20645b75a212cea67d24717d6908104 03-May-2016 Adam Cohen <adamcohen@google.com> Workaround issue where IME doesn't show up when tapping folder text

-> Various calls on EditText don't work when calling from
onFocusChange, post instead

issue 28523980

Change-Id: Ib9972c3c5083450412340f27bdd231605957ae6f
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
aa953654279d7cca29682d85111e398ea1f20390 20-Apr-2016 Hyunyoung Song <hyunyoungs@google.com> Refactor UserEventDispatcher (1/2)
b/28269657

Change-Id: I1083e6f73f42ac1986428a39c6b532050e595ac6
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
ddec1c739ef37c3a042982b8943fe42e04b65f4c 13-Apr-2016 Hyunyoung Song <hyunyoungs@google.com> Refactor UserEventLogging, Add predictedRank, replace Bundle with Proto

b/26494415
- Removed bundle object that became redundant now that we have LauncherEvent proto
- Combined Stats and UserEventLogger as they are effectively doing same thing
- Removed parent field inside Target
- added predictedRank target inside Target

b/27967359
- make com.android.launcher3.action.LAUNCH broadcast explicit
Later CL: finish packageName/intent/componentHash/predictedRank fields

Change-Id: I441fb46c834f73e58a4d2324e8da7971e8713ec8
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
37b2a496ebd6a985c210abaa6ca745a860f5f9d2 07-Apr-2016 Adam Cohen <adamcohen@google.com> Remove special code path for not animating folder open in power save mode

-> framework takes care of this
-> stripped unused code

Change-Id: If1941447df5c3145db715971440b80bd754f0bb1
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
c52ba710053e4c6927937dd1a26d1abe06b6fa99 06-Apr-2016 Sunny Goyal <sunnygoyal@google.com> Fixing folder icon not getting redrawn when the contents change

> Removing parent from ItemOperator as inconsistant values were
being passed in workspace and folderPagedView
> Fixing itemChanged causing multiple redraws, by passing a
'animate' parameter to explicitely request animation

Bug:27740161
Bug:28015426

Change-Id: Ide7b266bde9aad5f450a3f808a59182fe01a5110
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
814ed9ab77ac68a26b2b8550e2be0840151588b6 26-Jan-2016 Dmitry Kalita <rusmonster@gmail.com> Fix restoring of layer type

Change-Id: I1233b846247b270644325c0ad0229a23bfb29040
Signed-off-by: Dmitry Kalita <rusmonster@gmail.com>
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
d5bd67dfa9ee5fda2384a75231b7a68ceb8e9bd5 11-Mar-2016 Sunny Goyal <sunnygoyal@google.com> Adding support for result callback when starting uninstall-application activity

Change-Id: Ieaca4fbd0ae0156f24c8863ccbef61d4d6d30ba1
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
82fa92011b0f634d696309e13f63f1d544545e73 19-Mar-2016 Adam Cohen <adamcohen@google.com> Center folders slightly less aggressively than before

-> Some slight changes in spacing showed that we were centering
folders a bit too eagerly
-> Once there is less than a ~4x delta between the spacing on the left
vs. the right of the folder, center it.

issue 27671587

Change-Id: Ic2861ab375d9b9e4cf0eeb28b683073246f35c97
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
531cda693d07eba9dce6b793848749acaf28c0fd 03-Mar-2016 Sunny Goyal <sunnygoyal@google.com> Using a negative flag for icon notmalization

Change-Id: Iaa94aea730d2b5cc3f15f3578f240127ca0eef63
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.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/Folder.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/Folder.java
f9c184a619e4e4b82cf9e0bf318ca6d8deaaaee7 16-Jan-2016 Adam Cohen <adamcohen@google.com> Refactor FolderIcon to separate the preview effect into it's own class

-> Created com.android.launcher3.folder package to house most folder-related files
(aside from the FolderInfo) which is more related to the model than the UI.

Change-Id: I767063e1e4c775c01a799a3bede30cd94ac48ade
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java