summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Workspace.java
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet: Auto collapse settings panelcretin452017-03-261-0/+18
| | | | | | Issue-id: CYNGNOS-1425 Change-Id: I26896332431eb42dc4727a4f2bb9c4c0a3cfbcc5
* Reimplement CM Settings Overview Panel Part 5Yvonne Wong2017-03-261-1/+18
| | | | | | | | - Enable default screen button - Make UI changes to settings panel - Add a broadcast receiver for hide/unhide search bar setting Change-Id: I849dd412231795b894e7af7ee575e60feb618c70
* Reimplement CM Settings Overview Panel in the new Launcher Part 1Yvonne Wong2017-03-261-4/+43
| | | | | | | | | - Adds vertical sliding panel and animations associated with opening and closing the panel - Adds the views for settings and animation for the drawer arrow - Enables hiding workspace icon labels, hiding drawer icon labels, scrolling wallpaper, and larger icons - Changes how ragged grid custom icon sizes gets defined Change-Id: I1a82215a09486b4770494e665e598efdbabd1d3e
* Preventing null pointer crash when opening a folderSunny Goyal2015-09-031-1/+1
| | | | | Bug: 23770713 Change-Id: I3ce82450358f1493f70639d594e1e3f391945437
* Fixing empty screen created at the end, even when dragging the last item on ↵Sunny Goyal2015-08-181-4/+4
| | | | | | the last screen. Change-Id: If0d4faf0ca15e71facb6ed2fd81ed6a589527836
* Version code cleanupSunny Goyal2015-08-171-1/+1
| | | | | | | | > Renaming Lmp to Lollipop > Lollipop_MR1 instead of directly using 22 > Using M APIs directly instead of reflection Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
* Fixing crash upon cancellation of an accessible drag.Vadim Tryshev2015-08-121-0/+8
| | | | | | | | | | | | | | | | This fixes perhaps an old bug. If we started an accessible drag for an only item on a page, then uninstalled the app while dragging, the page was removed without unsetting its accessibility delegate. Later, the system asks the delegate to do something, but the drag is over, and some pointers are null, so everything crashes. Fixing this. Bug: 22028725 Change-Id: I85adcd42ae896603634994e20a7790792f7e84b1 (cherry picked from commit de1e67c38856ab1253426bfb4f892895eeb5f6d9)
* Preventing zoom-in animation from running everytime the app updates.Sunny Goyal2015-08-111-2/+3
| | | | | Bug: 22557455 Change-Id: I3ac1212a2f319397cd18be8f4452047d974312b8
* Merge "Refactoring search bar animations." into ub-launcher3-burnabyWinson Chung2015-08-051-4/+21
|\
| * Refactoring search bar animations.Winson Chung2015-08-051-4/+21
| | | | | | | | | | | | | | | | | | | | - This refactoring ensures that LauncherStateTransition does not do its own animation on the QSB, and that all animations to the SearchDropTargetBar go through its own animators. Bug: 22515084 Change-Id: Ia7d13c44d861eac7517076b52a9651a90911ed0a
* | Loading high resolution icons for first 3 items in a folderSunny Goyal2015-08-041-0/+10
| | | | | | | | | | | | | | | | | | > Sometimes a folder gets rearranged, without updating the model, like when an app in uninstalled. In that case, we need to update the icons for folder items, which were previously hidden Bug: 22813360 Change-Id: I99754911c969bf2153efb2948c226c1c69219b88
* | Replacing exception with a log, when uninstalling an app leads to an illegal ↵Sunny Goyal2015-08-031-1/+5
|/ | | | | | | state Bug: 22491055 Change-Id: Iaf5fe20b717102bdb0a5442dcc33efea30c50d47
* Fixing drag outline positions for folder over hotseatSunny Goyal2015-08-031-0/+2
| | | | | | Bug: 22506247 Change-Id: Ia2508307554089205fd678987454e81cb811a59b (cherry picked from commit 92bce4316422c69ee26e6ece204fbf1499753086)
* Fixing overview mode scale calculations.Winson Chung2015-07-101-9/+12
| | | | | | | - Making the overview scale apply just like the spring loaded scale factor - Tweaking overview scale to make it not so small Change-Id: If93bac08609b0cfd9c9d9f8f6057498957378b56
* Computing the visible cell layout area without using the current scrollSunny Goyal2015-07-091-24/+18
| | | | | Bug: 22358433 Change-Id: Ib79d02156b6bfab831fa659637f6113a7f555ba7
* Hiding workspace from accessibility when its not visibleSunny Goyal2015-07-061-1/+4
| | | | | Bug: 22234780 Change-Id: Ie91ec59c3c3abb26fdf40466ea8173c78acb320f
* Using material style overscroll effect for workspace and foldersSunny Goyal2015-06-191-34/+10
| | | | | Bug: 21335369 Change-Id: I53cc6edfa87334b9326f1dedd90c3e2222beade5
* Refactoring all apps search to support external search bar.Winson Chung2015-06-151-7/+2
| | | | | | | | | | | | | | | | | | | | | - Adding support for an external search bar that can be used to search a container view. This adds a new interface AllAppsSearchController which manages the external search bar. Each controller will have its own search implementation which means that we no longer need a common AppSearchManager interface. - Removing elevation controller as we no longer have a builtin search bar in all apps - Refactoring container view insets so that they behave the same in all containers. - Refactoring apps view to ensure that we only update the number of columns with the available width - Cleaning up LauncherCallbacks interface Bug: 20127840 Bug: 21494973 Change-Id: I710b8e18196961d77d8a29f0c345531d480936fe
* Code cleanupSunny Goyal2015-06-051-1/+1
| | | | | | | | > Removing obsolete logging > Removing unused methods > Removing resource leak warning due to non-static handler class in launcher Change-Id: Ic38cc8aea82899b0b5ee3235f04e5964e49245fb
* Preventing overdraw in custom content screenSunny Goyal2015-06-041-1/+1
| | | | | | | | > Assuming customcontent screen is opaque, setting scrim alpha to 0 when the screen is fully visible Bug: 21584384 Change-Id: Ifa95a10d880532f59573090673e90a87c7edba9b
* Adding context for app launches.Winson Chung2015-06-021-1/+9
| | | | | Bug: 21492784 Change-Id: I1b28ac8f44498e1d9770e770b074f19c721c3f10
* Merge "Fixing screen jumps when performing DnD in rtl mode" into ↵Sunny Goyal2015-05-291-0/+1
|\ | | | | | | ub-launcher3-burnaby
| * Fixing screen jumps when performing DnD in rtl modeSunny Goyal2015-05-291-0/+1
| | | | | | | | | | Bug: 21445825 Change-Id: Ie43d24ce9c8c08dc2c4b3e24692d497760d8cd2d
* | Merge "Fixing non-scrolling of workspace view after opening/closing AllApps ↵Vadim Tryshev2015-05-281-8/+2
|\ \ | | | | | | | | | vew. The reason for non-scrolling was excluding the pages view from the accessibility hierarchy by marking it as non-important. So, I just removed the code manipulating [non]importance of the PagedView." into ub-launcher3-burnaby
| * | Fixing non-scrolling of workspace view after opening/closing AllApps vew.Vadim Tryshev2015-05-281-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The reason for non-scrolling was excluding the pages view from the accessibility hierarchy by marking it as non-important. So, I just removed the code manipulating [non]importance of the PagedView. However, this would make the PagesView accessibility-focusable, which is undesirable. It becomes focusable because it supports long clicks in "normal" mode. Since it doesn't support accessibility long clicks (i.e. Overview mode is fetched NOT via accessibility long-click), I just disabled accessibility long-clickability, which made PageView non-focusable, and it started to behave correctly. Bug: 21281859 Change-Id: I7ab01e5f39cb37c456c961199c27458c9bda1c3d
* | | Fixing page background not displayed when dragging from all appsSunny Goyal2015-05-271-16/+45
| |/ |/| | | | | | | | | | | | | | | > Adding empty page synchronously, instead of waiting for a frame > Changing launcher state from widgets screen in the same frame, similar to all apps > Removing DragEnforcer, and moving that logic in side the workspace, disabled by a flag > Using first page to get page bounds in drag layer, as last page may not have been measured Change-Id: I172ba4e5ce44648ac55402d49994542c6e10f101
* | Removing SmoothPagedView as all its methods are disabledSunny Goyal2015-05-271-6/+1
|/ | | | Change-Id: I83c99bb3d3546693200d64e2233957b4c679e7e6
* Creating landscape and portrait device profiles at app initializationSunny Goyal2015-05-221-13/+11
| | | | Change-Id: Ide9d007adc36b348e19b05cdf49e87f8b02db60e
* Animating workspace active background changeSunny Goyal2015-05-211-1/+1
| | | | | | > Removing workspace_overscroll_drawable_padding which is always 0 Change-Id: I89900738371458a6eb7cbfee215d98b267d6a0b0
* Refactoring DeviceProfileAdam Cohen2015-05-211-15/+11
| | | | | | | | | | | | | | | | | | | | -> Pulling out the parts of device profile which can (and need to be) initialized and accessed without access to an Activity context, ie. the invariant bits. -> The invariant bits are stored in InvariantDeviceProfile which is initialized statically from LauncherAppState. -> The DeviceProfile contains the Activity context-dependent bits, and we will create one of these for each Activity instance, and this instance is accessed through the Launcher activity. -> It's possible that we can continue to refactor this such that all appropriate dimensions can be computed without an Activity context (by only specifying orientation). This would be an extension of this CL and allow us to know exactly how launcher will look in both orientations from any context. Sets the stage for some improvements around b/19514688 Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
* Merge "Removing some unused functionalities" into ub-launcher3-burnabySunny Goyal2015-05-201-56/+0
|\
| * Removing some unused functionalitiesSunny Goyal2015-05-191-56/+2
| | | | | | | | | | | | | | | | | | | | > Removing obsolete progrard rules > Removing BackgroundAlphaMultiplier from CellLayout, which is always 1 > Removign otiline animation from workspace. This animation never runs, as it is called during startReordeing which always happens when overview mode (workspaceInModalState() is true) Change-Id: I43219e41ea188771bc818988c1bcbd523f28cba6
* | Moving LauncherAccessibilityDelegate to accessibility packageSunny Goyal2015-05-191-3/+6
|/ | | | Change-Id: I510204a5a12abf2da2757f3e3f8b0e8869a6b04a
* Various lint error fixes.Sunny Goyal2015-05-141-19/+19
| | | | | | | | > Fixing some RTL errors by specifying both marginStart and marginLeft > Moving all layout direction checks to Utilities > Explicitely adding @TargetApi before every method Change-Id: Ibe9c52b93b5a6adeadb27ace2b312770fd732ea0
* Various icon size changesSunny Goyal2015-05-111-4/+3
| | | | | | | 1) Setting different icon and text size for workspace and all apps 2) Setting padding during BubbleTextView inflation Change-Id: I59da6986b0d98e8e2aa6065743bb799a6bf06a37
* When updating an icon, keeping the drawable padding same as beforeSunny Goyal2015-05-111-2/+2
| | | | | Bug: 17879518 Change-Id: Ifc819c353069bf470fd7ef6f989e4a2ea1289d2d
* Merge "Removing some dead code in paged view" into ub-launcher3-burnabySunny Goyal2015-05-071-12/+0
|\
| * Removing some dead code in paged viewSunny Goyal2015-05-061-12/+0
| | | | | | | | | | | | | | | | > Removing fling to delete pages > Removing delete drop target for pages > Removing syncpages support (was used by paged all apps) Change-Id: I0a35ae30da8c48a27aac341bbee9fb5623665902
* | Accessibility: Page re-ordering in overview modeSunny Goyal2015-05-061-9/+50
|/ | | | Change-Id: I5fc0ad326a63b6768cb1fae55ee6e05a9fc2b659
* Merge "Launcher-side changes to support prediction bar." into ↵Winson Chung2015-05-051-9/+0
|\ | | | | | | ub-launcher3-burnaby
| * Launcher-side changes to support prediction bar.Winson Chung2015-05-041-9/+0
| | | | | | | | Change-Id: Ib9974ad8888ad87137c774f9f531fae9d56b899a
* | Updating fling to delete animSunny Goyal2015-04-301-1/+1
| | | | | | | | Change-Id: I1c63e88b3e605113ea66afca9dcfbc30de1d4c8e
* | Enabling accessibility drag and drop in folderSunny Goyal2015-04-281-5/+16
|/ | | | | | | | | | > Moving DragAndDropAccessibilityDelegate to a separate class > Using getFocusedVirtualView() instead of using DownX and downY > Updating various accessibility strings Bug: 19776741 Change-Id: I85c2551d4d6172c30702e68f41b114bb999655b6
* Adding LongArrayMap as a replacement for HashMap<Long, E>Sunny Goyal2015-04-241-10/+9
| | | | Change-Id: I4710e6db69abcdbd897a8401fc8b980c09e2ffef
* Accessibility fixesSunny Goyal2015-04-241-0/+1
| | | | | | | | > Enabling top bar buttons in accessibility drag-drop > Unifying logic to show delete/uninstall/app-info targets > Announcing cell loction as 1-index instead of 0-index Change-Id: Ibc7801f77e938b2646f0655462cbe9b7f781818b
* Fixing missing updates in package install sessionsSunny Goyal2015-04-221-61/+8
| | | | | | | | | | | | > Ensure icon cache never returns null icon > Enabling install shortuct receiver only after workspace has finished binding > Making all the model changes for package installs on worker thread and only posting the updaes on the UI > Making shortcut exists check on the loaded items and not on the DB > Explicitely using worker thread for PckageInstallListener > Removing backward compatibility support from PackageInstallerCompat Change-Id: I9592771b9670c1c1c84c8208cae8dafa7b393e65
* Refactoring to single path for overview mode.Winson Chung2015-04-211-498/+34
| | | Change-Id: I590a813c6f031342d75c3a6c3e9c9afda1808f2e
* Merge "Accounting for recent changes in padding when detecting backgound ↵Winson Chung2015-04-171-1/+3
|\ | | | | | | taps to close AllApps." into ub-launcher3-burnaby
| * Accounting for recent changes in padding when detecting backgound taps to ↵Winson Chung2015-04-171-1/+3
| | | | | | | | | | | | | | | | close AllApps. - Also ensuring that we keep the search bar visible in all apps only if it is being overridden. Change-Id: Iba980ecec255da80aff8ff57b42ad99d70a2122a
* | Updating drop button targetsSunny Goyal2015-04-161-1/+4
|/ | | | | | | | > Splitting DeleteDropTarget into delete and uninstall > Showing UninstallDropTarget for app shortcuts on workspace > Showing InfoDropTarget only when developer options is enabled Change-Id: I4396571d2199d1581bb9c733aef88ab9b0ebd79d