summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/FolderPagedView.java
Commit message (Collapse)AuthorAgeFilesLines
* Reimplement CM Settings Overview Panel in the new Launcher Part 1Yvonne Wong2015-11-301-0/+6
| | | | | | | | | - 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
* Loading high resolution icons for first 3 items in a folderSunny Goyal2015-08-041-0/+4
| | | | | | | | | > 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
* Using material style overscroll effect for workspace and foldersSunny Goyal2015-06-191-3/+11
| | | | | Bug: 21335369 Change-Id: I53cc6edfa87334b9326f1dedd90c3e2222beade5
* Ensuring that we use the screen width more optimally in AllApps.Winson Chung2015-06-051-2/+2
| | | | | | | | | | | - Fixing issue with prediction bar height being calculated incorrectly - Fixing issue where the prediction bar divider was not drawn exactly between the bar and the first row of apps - Removing padding to allow scrollbars to reach full height Bug: 20222023 Bug: 21335377 Change-Id: I2c0614a36e2294d0d6184a6bff4847876ffe971e
* Folder UI fixesSunny Goyal2015-06-011-5/+15
| | | | | | | | | | > Fixing top padding (b/21304523) > Alinging the label and page indicators to the icons > Fixing folder label alingment in RTL (b/21445821) > Updating footer animation (b/21336853) Bug: 21304523, 21445821, 21336853 Change-Id: I2cf3a48c76653b19437b31252d6ee559ce798094
* Refactoring DeviceProfileAdam Cohen2015-05-211-4/+4
| | | | | | | | | | | | | | | | | | | | -> 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
* Fixing unnecessary padding added to pages in overview modeSunny Goyal2015-05-201-0/+5
| | | | Change-Id: Icd17c2956b201ea0b6c6a2a495f567f51987b1ac
* Merge "Adding padding to the folder content" into ub-launcher3-burnabySunny Goyal2015-05-151-5/+7
|\
| * Adding padding to the folder contentSunny Goyal2015-05-131-5/+7
| | | | | | | | Change-Id: I88e56ff1aa26282e0167e2599f1b34ee374b705f
* | Various lint error fixes.Sunny Goyal2015-05-141-4/+4
|/ | | | | | | | > 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
* Merge "Animating the folder title & page indicator when a multi-page folder ↵Sunny Goyal2015-05-131-6/+32
|\ | | | | | | is opened for the first time" into ub-launcher3-burnaby
| * Animating the folder title & page indicator when a multi-page folderSunny Goyal2015-05-081-6/+32
| | | | | | | | | | | | is opened for the first time Change-Id: I70f5fd942724251a5e863fbb78a0c24f440b0283
* | Merge "Various icon size changes" into ub-launcher3-burnabySunny Goyal2015-05-111-1/+1
|\ \
| * | Various icon size changesSunny Goyal2015-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | 1) Setting different icon and text size for workspace and all apps 2) Setting padding during BubbleTextView inflation Change-Id: I59da6986b0d98e8e2aa6065743bb799a6bf06a37
* | | Merge "Updating folder grid sizes for various devices" into ub-launcher3-burnabySunny Goyal2015-05-111-10/+2
|\ \ \ | |/ / |/| |
| * | Updating folder grid sizes for various devicesSunny Goyal2015-05-111-10/+2
| |/ | | | | | | Change-Id: Ifd5930a4d6f54428500c0ef61ef21c0fc6a6f5cd
* | Merge "Accessibility: Folder drag and drop fixes" into ub-launcher3-burnabySunny Goyal2015-05-111-0/+4
|\ \ | |/ |/|
| * Accessibility: Folder drag and drop fixesSunny Goyal2015-05-051-0/+4
| | | | | | | | | | | | | | | | > Do not allow empty cells on the last page to be click targets > Make drop targets accessible > Do not close folder on tap outside Change-Id: I7cae20e45097092f41408b888e20b6c40c17d981
* | Removing some dead code in paged viewSunny Goyal2015-05-061-10/+0
|/ | | | | | | | > Removing fling to delete pages > Removing delete drop target for pages > Removing syncpages support (was used by paged all apps) Change-Id: I0a35ae30da8c48a27aac341bbee9fb5623665902
* Enabling folder paged view to scroll itself with accessibility focus traversalSunny Goyal2015-04-281-0/+2
| | | | Change-Id: I9095d5bf2de8e2053e0aaa27fb385b158e493964
* Goodbye folder sortingSunny Goyal2015-04-271-207/+4
| | | | | | > Removing all traces of folder sorting Change-Id: Id77a7745564c869f5c5c1b3a560bf606fe08b107
* Removing some unused method params from CellLayoutSunny Goyal2015-04-241-1/+1
| | | | | | | > Replacing various distance calculations with Math.hypot > Moving findVacantCell to Utilities Change-Id: I0cb194b603e52b3bb2b29a095bb4da2bb408ab13
* Moving item to its old position in folder if DnD is cancelledSunny Goyal2015-04-231-1/+1
| | | | Change-Id: I6362ef23b346409e8517a03e63dee974294a3a18
* Build fixSunny Goyal2015-04-091-7/+3
| | | | Change-Id: I2cbf90dada48ccff17235fb63d66684d2c4eb791
* Updating folder UISunny Goyal2015-04-091-49/+80
| | | | | | | | | > Removing 2 folder content implementations and merging unscrollable content into FolderPagedView > Disaling folder sorting > Fixing pageIndicator height Change-Id: I36e35e311eaf99b6c69d450c0765bd41b2d68738
* Fixing some RTL issues with scrollable folderSunny Goyal2015-04-071-3/+15
| | | | | | | | > folder name alingment > scroll hint direction > Fake animation direction for icons changing pages Change-Id: Ia17ab2861a6d72c876806427e2de1682976b7671
* Updating pageindicator assetsSunny Goyal2015-03-301-1/+2
| | | | Change-Id: I8c045ac8193aed2299e72353fd75341f8e32e250
* Disabling overscroll when folder has only one pageSunny Goyal2015-03-261-0/+2
| | | | Change-Id: I3cc3964dba1af8d96822e46baf2dc9cfaee824ae
* Fixing getItemCount in FolderPagedViewSunny Goyal2015-03-201-6/+6
| | | | | | | | | > When a folder is created, it initially has no item, and then two shortcut info are added to it. Initial logic assumed that the folder it created with on item already present Bug: 19868273 Change-Id: I8850b71d2bace835f94e3cd791c173d40752d2e6
* Reducing method count by eliminating synthetic accessorsAdam Cohen2015-03-201-1/+3
| | | | | | | | | | | Elimates 304 methods based on dex analysis The java compiler generates sythetic accessor methods for all private fields, methods and contructors accessed from inner classes. By marking them package-private and @Thunk instead, sythentic accessor methods are no longer needeed. These annotated elements should be treated as private. Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
* Lazy loading high res iconsSunny Goyal2015-03-171-0/+22
| | | | | | | > Loading low-res icons for icons which are not visible on the homescreen. Change-Id: I8ac7bf09f6030ed554cb60a4cd402f3f36ffe12b
* Adding sort switch in FolderPagedViewSunny Goyal2015-03-171-12/+216
| | | | | | | | | > Adding options column in DB to store generation purpose flags > Storing isSorted flag in FolderInfo > Adding a switch for A-Z sorting (only visible if pageCount > 1) > When in sorted mode, spring-load snaps to the target location for 1.5 seconds Change-Id: I8c7c778d2cc3ccbd35a2890a1a705e1c1a7e9a66
* Scrolling folder during drag-dropSunny Goyal2015-03-131-29/+71
| | | | | | | | > Show a scroll hint (partial scroll) when the icon is over the last icon (some fraction) > Automatically scroll the folder if the user stays in that position for some time > Rearrance the icons on the new page only after the scroll animaiton is complete Change-Id: I7a2dd85ab23802d647801686df069975d197cd39
* Refactoring some logic in FolderPagedViewSunny Goyal2015-03-101-100/+49
| | | | | | | > Using a common paths for rearranging items, creating new icon and creating new page Change-Id: I85097c7e47b42b79162a8a553a971e44dbc7af3c
* Adding a scrollable folder content implementationSunny Goyal2015-03-091-0/+581
> Size is restricted to 3x3 for now > Drag-drop across page s not implemented yet > A-Z sorting is not implemented yet Change-Id: I84328caa6ad910d1edeeac6f3a7fb61b7292ea7e