52c1b66f46eb4764825f87d4be07c62cd650935c |
|
21-May-2018 |
Tony Wickham <twickham@google.com> |
Go back to previous state when hitting back from discovery bounce Normally when you hit back, we just close the floating view if there is one. This makes less sense for DiscoveryBounce, since it doesn't feel like a different state even though it's technically a floating view. So in that case, don't consume the back press; let launcher handle it to go to the previous state. Bug: 80075741 Change-Id: I7270b61be70509cb2101400a12929478a5d082aa
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
de7532154259ed79d7ed6d2fcc9e82ff2860a5a3 |
|
15-May-2018 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing wrong accessibility focus when opening a floating view > Using common logic for announcing a floating view for widgets and folders Bug: 79091095 Bug: 79748886 Change-Id: Ibb3fe48e68e724f50d69f51a03d3b35ad0baf625
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
83337f9e8e6ff91fe3bf64eddab3d72cc2d8369c |
|
24-Apr-2018 |
Jon Miranda <jonmiranda@google.com> |
Call close for AbstractFloatingViews that were removed while still open. I'm not sure how/when this case occurs (perhaps during some transition/state change), but manually removing the floating view matches the symptoms in the bug. Bug: 72996404 Change-Id: I1e7c1a338fcd16c8e07b3c49fb9c9b2097eb2708
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
b65040ac7b5bca6efcf680cd48e19f093e19b46a |
|
24-Mar-2018 |
Tony Wickham <twickham@google.com> |
Fix back button not showing in all floating views We only show the back button when adding the floating view to the drag layer if it is already "open". A couple of floating items (folder and options popup) added first then set mIsOpen, causing the back button to not appear. (We have to check that it is open, and not just on the drag layer, because we want to get rid of the back button when changing to some states such as spring-loaded. If we only checked if the view was present, it wouldn't hide if one of the floating views such as folder or shortcuts was animated closed.) Bug: 76169527 Change-Id: I0dff6d2e3424eab72d47dccc42cc703a0fb0141b
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
7c7be8c20a8b1e8740b734c7cfcebf4b88163773 |
|
08-Mar-2018 |
Sunny Goyal <sunnygoyal@google.com> |
Simplifying options popup and overview handling > Removing support for page drag-n-drop from pagedView > Removing Overview UI from Launcher3 without quickstep and using options popup instead > Removing touch handlers from CellLayouts and showing options popup based on workspace long press > Excluding touch outside inset when showing the popup Bug: 74136505 Change-Id: I34c2a7ff58452db26f5d1a85d554be40fc75f2b8
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
972d121edbd9cab8616779c18fb7de2136be92f3 |
|
09-Mar-2018 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing folder icons not handling clicks Change-Id: I52c21086d5734783ffc26e75b301ecce1a8bb956
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
ca845525054aefb295ec83651b229d7e42dfed1d |
|
05-Mar-2018 |
Winson Chung <winsonc@google.com> |
Revert "Revert "Adding a separate state for QuickScrub"" This reverts commit 2687257c9881f44243924db7a064cff4f59fcc1b. Reason for revert: Reverting post-build Change-Id: Ic3a1e8ed84a227b42bc35b91d4f0eed60bb2e29c
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
2687257c9881f44243924db7a064cff4f59fcc1b |
|
05-Mar-2018 |
Winson Chung <winsonc@google.com> |
Revert "Adding a separate state for QuickScrub" This reverts commit 6c6c2f45f77d9e577143e16f7eef21ed98aa6367. Reason for revert: Temporary revert for build. Change-Id: I3947e9b2d4e5788f9d2a0c4e2e8b7d425d5bc775
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
6c6c2f45f77d9e577143e16f7eef21ed98aa6367 |
|
02-Mar-2018 |
Sunny Goyal <sunnygoyal@google.com> |
Adding a separate state for QuickScrub Bug: 74014237 Change-Id: Ie86ac589f0ad0e1470fb6b0b71263ec6593eb1e3
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
b3fbc0ba8f94a6a0f60822dc7fc209c45d7501d9 |
|
14-Feb-2018 |
Hyunyoung Song <hyunyoungs@google.com> |
Quick step/scrub/switch logging - state transition happening due to Home and back is handled by specifying src target as 'from' container and dst target as the 'to' container - Source and Destination container shows FROM and TO state for SWIPE/FLING - event.isStateChange = true indicates that an action resulted in state transition - Elapsed container millis is the screen time on the source container Bug: 70181187 - logcat printout with setprop log.tag.UserEvent VERBOSE 1) State: WORKSPACE -> ALLAPPS action:FLING direction=UP Source child:HOTSEAT id=0 parent:WORKSPACE id=0 Destination child:ALLAPPS Elapsed container 1225 ms, session 1225 ms, action 0 ms 2) ALLAPPS -> HOMESCREEN action:FLING direction=DOWN Source child:ALLAPPS parent:ALLAPPS Destination child:WORKSPACE id=0 Elapsed container 971 ms, session 2197 ms, action 0 ms 3) HOMESCREEN -> OVERVIEW action:FLING direction=UP Source child:NAVBAR parent:WORKSPACE id=0 Destination child:TASKSWITCHER Elapsed container 4834 ms, session 4834 ms, action 0 ms 4) OVERVIEW-> ALLAPPS action:FLING direction=UP Source child:TASK parent:TASKSWITCHER Destination child:ALLAPPS Elapsed container 2176 ms, session 7010 ms, action 0 ms 5) ALLAPPS->OVERVIEW action:FLING direction=DOWN Source child:ALLAPPS parent:ALLAPPS Destination child:TASKSWITCHER Elapsed container 3683 ms, session 10693 ms, action 0 ms 6) OVERVIEW-> HOMESCREEN action:FLING direction=DOWN Source child:TASK parent:TASKSWITCHER Destination child:WORKSPACE id=0 Elapsed container 2108 ms, session 12801 ms, action 0 ms 7) APPS-> OVERVIEW action:FLING direction=UP Source child:NAVBAR parent:APP Destination child:TASKSWITCHER Elapsed container 104 ms, session 104 ms, action 0 ms 8) Quickscrub: action:DRAGANDDROP Source child: QUICK 9) Quickswitch: action:FLING Source child: QUICK Change-Id: I5898230859ff600f48a2a873a40b670fe4d39a0d
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
b4b7e20ebc446a4a5c202de6e222e06d27dafb42 |
|
13-Jan-2018 |
Tony Wickham <twickham@google.com> |
Bound folders to overview panel instead of workspace Since the workspace is scaled down in overview, the folders were moving too far from the hotseat. Change-Id: I3e8810f918436fec3a646abda9c147b688cb803b
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
18a4e5aefbd1bd562e9161f8f10b5d3825e7b69d |
|
10-Jan-2018 |
Sunny Goyal <sunnygoyal@google.com> |
Making LauncherIcons thread safe Creating a pool of LauncherIcons so that they can be used from multiple threads Change-Id: Idc7b5ddb47b6e338a5389f3c4faa6f63de108c72
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
6bb51f425bc90c4b7b434a758377c65462fd817c |
|
04-Jan-2018 |
Sunny Goyal <sunnygoyal@google.com> |
Removing some unused code path Change-Id: I16a651d77c6557b33f8389407a222f058a8168d4
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
d0030b05f591cbadb21f51b7c87f2d8813f35627 |
|
09-Dec-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Adding placeholder method for compat implementations for Accessibility manager > Moving some utility methods to the compat class Bug: 69611105 Change-Id: Ide0cab0b926d7bc03617fc568d2a2b429ee00cd9
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
3e3f44c3ade314c6186332d081c7d4d1a39155db |
|
24-Oct-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Exposing the state manager directly instead of providing various helper methods for state change Bug: 67678570 Change-Id: If3d05c804c034ffa5e403da8eaa23e85e373c863
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
4c7f215651a282ce75dec5e570a6e593be476cc5 |
|
18-Oct-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Moving Workspace states into a separate file Bug: 67678570 Change-Id: I5c63b4df29ca0f58a0223fb1919abc132576a1b6
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
aeb1643ec61af93453c862e84b158d3b0ebcb1c7 |
|
16-Oct-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Launcher state management cleanup > Removing Widgets and related states > Fixing different durations being used when opening/closing all-apps > Removing some unnecessary object allocations when changing state without animation > Differentiating widget bootm sheel and full sheet in logs Bug: 67678570 Change-Id: Ic169528736d04ee0b38564b4f96595ba066eabda
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
1797af41d162413dc98c33fab8ba19f96b63874b |
|
06-Oct-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Cleaning up drag state management. When the drag is started, the UI automatically goes into spring loaded mode. On a successful drop, it is the responsibility of the {@link DropTarget} to exit out of the spring loaded mode. If the drop was cancelled for some reason, the UI will automatically exit out of this mode. Bug: 34692289 Change-Id: Ic611739a43bb8d9279b587aaee3039326c143e8b
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
6750836bd01e99c3fde4641114e986f37aba7621 |
|
06-Oct-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Merging duplicate logic for deferred drop handling in Worksace and Folder" into ub-launcher3-master
|
3dce5f3f507d0fbd27ab9c62ad66e0259abf22b3 |
|
05-Oct-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Merging duplicate logic for deferred drop handling in Worksace and Folder > All the logic is contained in UninstallDropTarget > Also fixing a bug were mWaitingForResume was not cleared Bug: 34692289 Change-Id: I617475ce53062902d6817954fb608198e6e03d3c
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
878b5efaa312393d81e626b03dc2ae3286d47611 |
|
06-Oct-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Polish animation when icon returns to Folder." into ub-launcher3-master
|
1ce9c476f73f30b55dd08e962506f51dc06ddac8 |
|
04-Oct-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Removing some methods from the DragSource This makes is easier to create new DragSource and sets up proper default values in DragOptions Change-Id: I6cb0b1df41b9730cf29f785fe85fe7f0b573ee3a
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
37920966888587900885c88a63785cb16567684c |
|
28-Sep-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Allowing the widgetBottomSheet to be dragged even when the touch is started from outside the panel Removing various instanceOf checks in onNewIntent and onBackPress and moving all the corresponding logging in the FloatingView This simplifies handling of panel specific log and avoids missing a particular panel type in the if-else statement. Bug: 64751884 Bug: 64751923 Change-Id: I98f5aae18560a64be73c9efcf495479740d49a00
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
6d3586c761baafc28aeff755c16c2f5968229f22 |
|
08-Sep-2017 |
Jon Miranda <jonmiranda@google.com> |
Polish animation when icon returns to Folder. ie. The animation when the user drags an icon from a Folder to a full workspace/hotseat. Bug: 31443188 Change-Id: If51b23cd8fc822543ac3f550f9fd2e48dd58e0e9
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
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/Folder.java
|
b24fa300250bd9b5d6498be0326c97190ecd4ae1 |
|
18-Jul-2017 |
Jon Miranda <jonmiranda@google.com> |
Fix crash when adding PinShortcutRequestActivityInfo to Folder. Bug: 63770450 Change-Id: Ibc7553933a53d8af459628add7644fbaf5820cb0
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
19db4255a6c3316d4de3f0219219ddf86391bbc4 |
|
18-Jul-2017 |
Jon Miranda <jonmiranda@google.com> |
Fix bug where Folder name stayed invisible. Accidentally removed from Change-Id: I7ede7ed9e091e2a0c3cbe11731744bfe9ce36595 Bug: 63777585 Change-Id: I3178944285f11ab3efbd3b446c22b4b5f6843988
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
8701cd58cf3b32c9d2b9269e3956b32f4726a81a |
|
13-Jul-2017 |
Jonathan Miranda <jonmiranda@google.com> |
Revert "Match items in icon preview with items in Folder using permutations." This reverts commit 69c340a05e846b4b1b2d457164fd313e249df353. Change-Id: I4178b58e847a87e5cd7e5fa4b6886f0d72ba387b
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
27bdbcae7fc43612c6016f625038e93bb3bd1e7b |
|
07-Jul-2017 |
Jon Miranda <jonmiranda@google.com> |
Slide in first page preview items in FolderIcon after Folder closes. If the Folder is not closed on on the first page, we animate the current page items as if they are in the preview. When the Folder finishes closing, the first page preview items slide in as the current page preview items slide out. Bug: 36022592 Bug: 35064148 Change-Id: I7ede7ed9e091e2a0c3cbe11731744bfe9ce36595
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
6c5d10261eceaf1b57bce82e4e31d272bad2c349 |
|
06-Jul-2017 |
Jon Miranda <jonmiranda@google.com> |
Move the PreviewItem drawing/animation logic to PreviewItemManager. We want this refactor in O-DR since we will be adding more animations: - closing from a non-first page (ag/2455887 b/36022592) - new on-drop animations *if we end up removing the permutation logic. Bug: 36022592 Change-Id: I82b8f5f5033d4fd9bd50fbe414b0fb721891d043
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
69c340a05e846b4b1b2d457164fd313e249df353 |
|
26-Jun-2017 |
Jon Miranda <jonmiranda@google.com> |
Match items in icon preview with items in Folder using permutations. Before, with the FolderIconPreviewVerifier, we would adjust which items are displayed in the FolderIcon. This caused some issues where the apps in the folder icon would jump to whatever was in the upper left quadrant. Now, we always display the 4 first items in the icon by modifying the XY positions of the items within the Folder. Bug: 27944225 Bug: 35064148 Change-Id: I46c0fbb064d4da4da155e29963bfb92b14e40f07
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
1d9cc3247554d5b52534515af1a081716476097c |
|
26-Jun-2017 |
Jon Miranda <jonmiranda@google.com> |
Fix Folder text animation bugs. * The Folder text was not getting reset back to visible on close. * DoubleShadowBubbleTextView now draws the shadow using the alpha of the current text. Bug: 62967568 Bug: 35064148 Change-Id: Iea3e5275b6878fc362150e99a225ff700b946f44
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
cd04c89f89dd092d34d149dad107efd7ae00fb2a |
|
22-Jun-2017 |
Mario Bertschler <bmario@google.com> |
Removing view.isInTouchMode() because plaform returns false when using a mouse on long click. Bug: 38204847 Change-Id: I5b10e8251f4f0a7b148c0404d5939a0fa8325a46
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
544946ae80af996e6f13f559964fabb23e4feae4 |
|
21-Jun-2017 |
Jon Miranda <jonmiranda@google.com> |
Set mDragInProcess to false in onDragEnd. Before this change, it was possible to touch (not drag and drop) a Folder and have it open to a non-first page. With this change, the Folder always opens to the first page on touch. For drag and drop, it will still open to the last page. Bug: 36022592 Change-Id: Ib0417eaf7e4866e874369b3b35248231a54cba06
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
f9e8626fd0a51ddd91668bd1b658438194738743 |
|
20-Jun-2017 |
Jon Miranda <jonmiranda@google.com> |
Fix shadow problems with Folder animation. The shadow from the top of the Folder is visible through the transparent part of the 'preview' background. When we remove the elevation as part of the animation, the shadow jumps into visibility when the animation is done. To solve this, we remove the elevation during the Folder animation and * Animate the elevation at the end of the Folder opening animation. * Animate the shadow of the FolderIcon bg in once the Folder is closed. Bug: 62787582 Bug: 35064148 Change-Id: Id5d8fcbfa4f74882531334f12488560da2496faf
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
60c26d142484f01e801d2205e4a05460d9b711de |
|
20-Jun-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fade folder icon text when opening/closing." into ub-launcher3-dorval-polish
|
1991450cb0aa429f1f5d15b11057058c98ec5eed |
|
19-Jun-2017 |
Jon Miranda <jonmiranda@google.com> |
Fix bug where TalkBack reads both folder name and hint. am: 7d18dd8f07 Change-Id: Iedf8f4f8c4f9063372afb57ca1cf7462a15d7223
|
7d18dd8f07151262cb7dcbb3f70f4d98d88f2fa0 |
|
13-Jun-2017 |
Jon Miranda <jonmiranda@google.com> |
Fix bug where TalkBack reads both folder name and hint. In O, TalkBack reads both content description and the hint. We clear the hint when the Folder is named so that TalkBack only reads the Folder name. Bug: 62557038 Change-Id: I222fef2e1ce4a0bc222f0ca7bfb2f24281907188
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
e4a252a16b106ac74ae443d7567501cbd4f43813 |
|
19-Jun-2017 |
Jon Miranda <jonmiranda@google.com> |
Fade folder icon text when opening/closing. Bug: 62065293 Bug: 35064148 Change-Id: I9c54c6d222216fa079c76a069f0ec8dd966d5bfb
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
814deadc2c0f48e9a6153928d51399d4892d3086 |
|
16-Jun-2017 |
Tony <twickham@google.com> |
Animate badge after folder closes Bug: 62586079 Change-Id: I17d7b88730c16f5cce36972dd485fd10b823f742
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
4e54a4cfa50838ea0a970fea2632851bcb16e2c0 |
|
23-May-2017 |
Jon Miranda <jonmiranda@google.com> |
Fix bug where item was not moved in database when added to a Folder. I thought calling arrangeChildren(saveChanges=true) would handle this case, but because we set the position and rank in addViewForRank, arrangeChildren does not see any changes to save. Change-Id: Iab0fefe6da7711857ea05955a3243459f4e8527b
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
c476d6e192494b14b91e76cbce5c9cec01588059 |
|
05-May-2017 |
Jon Miranda <jonmiranda@google.com> |
Allow user to place PendingAddShortcutInfo in opened Folder. Current implementation only allowed dropping PendingAddShortcutInfo on a FolderIcon. Bug: 37814579 Change-Id: Ice42421c34665b0ebf199945761c5c86614573a4
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
f79e54b8acb988203e20505039572dd4a5072793 |
|
31-Mar-2017 |
Jon Miranda <jonmiranda@google.com> |
Add missing 'leave behind' view for new Folder animation. Bug: 35064148 Bug: 38338552 Change-Id: Iac1a795acf0ab21cf319e50d8b504cf42fbbb976 (cherry picked from commit 9544c8e49803742823a271cede8c29e0ec249ada)
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
bdb5424fae0efb7bd2c4d148dffac5aa9ee7fc90 |
|
06-Apr-2017 |
Jon Miranda <jonmiranda@google.com> |
Fade in the FolderIcon stroke after Folder animates closed. When the Folder animates closed, it hides itself the same time as the FolderIcon becomes visible. Because the Folder does not have the white stroke outline, there is a visual jump between the closed Folder and the FolderIcon. This change is a subtle and easy step towards reducing the visual jump. Bug: 35064148 Change-Id: I8aeeed873e7144499d19f3b01c85bfa8a792097f
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
52f0130a76addcfec25775004c24346dc69b30d3 |
|
31-Mar-2017 |
Tony Wickham <twickham@google.com> |
Merge "Add WidgetsAndMore bottom sheet" into ub-launcher3-dorval am: d73fbb5f97 Change-Id: I5d1bad3ea83e672076dbd3b6f2d80d5149f3921c
|
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
|
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/Folder.java
|
f0cbf0f8b850db450b12ff35c523d5006ee72e5b |
|
27-Mar-2017 |
Jon Miranda <jonmiranda@google.com> |
Disable drag and drop on Folder when its animating. Bug: 36644495 Bug: 35064148 Change-Id: Icd335a773359152fa2680e84f56c3e2eef3551e0
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
91d143943095ea0f71630b763e6e97df7cd128d3 |
|
23-Mar-2017 |
Jon Miranda <jonmiranda@google.com> |
Remove setCurrentPlayTime call as it causes a crash. In the previous change [1], we remove the duration from the AnimatorSet so that the preview item animations can finish faster than the other animations. This causes the call to setCurrentPlayTime to crash, because we never set a duration on the AnimatorSet. This can be solved by creating a ValueAnimatorSet (future CL). 1: If63d4d032078ff4e28b72a09e35da3a71f1d0e27 Bug: 35064148 Change-Id: Ieed21e1ba8e669132188ce15fc20195ac841d14c
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
ce74d2a81387d40653385085e2b590253796d2c6 |
|
23-Mar-2017 |
Jon Miranda <jonmiranda@google.com> |
Smoother folder animation tweaks. 1. Start preview item animations later opening 2. Finish item animations sooner when closing 3. 1 & 2 allow the preview items to move as part of the Folder and allows for a smoother animation 4. Remove setCurrentPlayTime as it is O API. Bug: 36522198 Bug: 35064148 Change-Id: If63d4d032078ff4e28b72a09e35da3a71f1d0e27
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
5f77fdb8b96686a2a65ae907f32c78dcd2dffc0c |
|
16-Mar-2017 |
Jonathan Miranda <jonmiranda@google.com> |
Merge "Revert "Temporary fix for Folders in battery saver mode."" into ub-launcher3-dorval am: 3345f133a0 Change-Id: If2c4fa92842c08501b90f3da6bc972e4ba32c6a8
|
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
|
a7cddd2c9649a8bab7c860374c5d95c0a4b7135c |
|
14-Mar-2017 |
Jon Miranda <jonmiranda@google.com> |
Refactor Folder/FolderAnimationManager code. * FolderAnimationManager is now lazy loaded. * Extract methods to simplify code. Bug: 35064148 Change-Id: I08a72ef19a1f21637f033059d5e228ef67135ccd
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
961941f10239bb8408cd4642b28fab5acb4e6aa9 |
|
15-Mar-2017 |
Jon Miranda <jonmiranda@google.com> |
Merge "Temporary fix for Folders in battery saver mode." into ub-launcher3-dorval am: 29318b1aa6 Change-Id: Ib69faba80d7dcba68f5b92c2db9defd09a209569
|
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
|
93ce56fdb2e06e790b1a8e78f5ade257fc2fb55d |
|
07-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Separating the config and flags in different directories so that it is easier to override one or the other" into ub-launcher3-master
|
ac3a64dbf4a6bcde4966d4bf581b8a35d7cddf9d |
|
07-Mar-2017 |
Jon Miranda <jonmiranda@google.com> |
Fix bug where FolderIcon is invisible when closing Folder with no animation. When we open the Folder, we set the FolderIcon to View.INVISIBLE. It is possible to close the Folder without animating it (ie. when apps are being auto added / auto closed to Work Profile Folder), and so the FolderIcon is never set to View.VISIBLE. Bug: 35064148 Change-Id: I2fc5b7ecaceffde0a3f3875870897c18e6e8dadf
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
3d706ad70365052e3224fc4f4b0e7d1f5e8abf22 |
|
07-Mar-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Separating the config and flags in different directories so that it is easier to override one or the other Bug: 36001650 Change-Id: I713f4f5dbcf902614ce9f6c7a73bdace7bdf1ea0
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
471701162642d4cbfc5cebdd448e9a7af4c7c51f |
|
03-Mar-2017 |
Jon Miranda <jonmiranda@google.com> |
New folder animations. Added FolderAnimationManager, which manages the opening and closing animations. All of the animations are done in the Folder. ie. When the users taps on the FolderIcon, we immediately hide the FolderIcon and show the Folder inits place before starting the animation. Bug: 35064148 Change-Id: Icacdbbf78a25489f2eab4fd352f2c6ed71eb710b
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
af479026526be438dd6e4c32dba4c5cabe4f46fb |
|
03-Mar-2017 |
Jon Miranda <jonmiranda@google.com> |
Moves OutlineProvider / Animation files to anim package. Change-Id: If444bbc71009510ded54d50ef746717f6c8b277f
/packages/apps/Launcher3/src/com/android/launcher3/folder/Folder.java
|
fc0ce83745ea40d03b312eade8a88a07ed990030 |
|
01-Mar-2017 |
Jon Miranda <jonmiranda@google.com> |
Prepare Folder for new Folder animation implementation. Refactored animator logic to separate methods, so that it is easier to swap out implementation with the LAUNCHER3_NEW_FOLDER_ANIMATION flag. ie. AnimatorSet anim = LAUNCHER3_NEW_FOLDER_ANIMATION ? getNewOpeningAnimatorSet() : getOpeningAnimatorSet(); Bug: 35064148 Change-Id: I32a646aaed5081438d7a733dc3e7cceb484998ab
/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
|