summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite: Widget preview loader logicSunny Goyal2015-03-2015-1463/+524
| | | | | | | | | > Widget previews are saved in data dir instead of cache dir > Expiring widget previews similar to IconCache > Removed support for setting thread priorities Bug: 19865031 Change-Id: Ib6033c2b1ff8ae61bba8762ca994ccd8217d3c75
* Merge "Removing unnecessary intent-filter construction" into ↵Sunny Goyal2015-03-201-6/+2
|\ | | | | | | ub-launcher3-burnaby
| * Removing unnecessary intent-filter constructionSunny Goyal2015-03-191-6/+2
| | | | | | | | Change-Id: I1f831ef48ed69381ad260f7d541f39a049c498a5
* | Reducing method count by eliminating synthetic accessorsAdam Cohen2015-03-2044-260/+364
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Removing unused logging" into ub-launcher3-burnabySunny Goyal2015-03-202-145/+6
|\ \
| * | Removing unused loggingSunny Goyal2015-03-192-145/+6
| | | | | | | | | | | | | | | | | | | | | > We store some local logs which are never propagated to the server and cause unnecessary file-io during app launch Change-Id: I2b41c3af182de2a87f38ad88f3bae9d250574c26
* | | am 2dd9f018: (-s ours) Don\'t clobber widgets with the same component - DO ↵Robin Lee2015-03-190-0/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | NOT MERGE * commit '2dd9f018ff32a1f34023826b64422622f6610daf': Don't clobber widgets with the same component - DO NOT MERGE
| * | | Don't clobber widgets with the same component - DO NOT MERGERobin Lee2015-03-195-25/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By not storing them in a HashMap keyed against ComponentName (which is almost guaranteed to conflict with other widgets when managed profiles are in play). Bug: 19444068 Change-Id: I6ffce78e8aaf265196239670404cbdaff9fa09be
* | | | Don't clobber widgets with the same component.Robin Lee2015-03-194-25/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By not storing them in a HashMap keyed against ComponentName (which is almost guaranteed to conflict with other widgets when managed profiles are in play). Bug: 19444068 Change-Id: I6ffce78e8aaf265196239670404cbdaff9fa09be
* | | | Merge "Cleaning up widget preview loader" into ub-launcher3-burnabySunny Goyal2015-03-194-258/+101
|\ \ \ \ | |_|_|/ |/| | |
| * | | Cleaning up widget preview loaderSunny Goyal2015-03-184-258/+101
| | |/ | |/| | | | | | | | | | | | | | | | > Removing unnecessary canvas cache > Removing unnecessary new bitmap creation Change-Id: Ic9f45c5a204ea4d32dbf93c21a6a7fd6baea4b51
* | | Merge "Make sure we set the QSB bar on the SearchDropTargetBar" into ↵Adam Cohen2015-03-191-5/+2
|\ \ \ | |/ / |/| | | | | ub-launcher3-burnaby
| * | Make sure we set the QSB bar on the SearchDropTargetBarAdam Cohen2015-03-181-5/+2
| | | | | | | | | | | | Change-Id: If106bae15b3d628d6385711bcb8059acd17d6147
* | | Merge "Invalidating sorted list after the item has been added" into ↵Sunny Goyal2015-03-181-1/+1
|\ \ \ | | | | | | | | | | | | ub-launcher3-burnaby
| * | | Invalidating sorted list after the item has been addedSunny Goyal2015-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 19815825 Change-Id: If10d19d41a2400b5a7350e40fa6116494dc9c5a6
* | | | Using MainThreadExecuter instead of View.postSunny Goyal2015-03-181-3/+4
|/ / / | | | | | | | | | Change-Id: Ie7ba88bd3bb412d998ecb51095cbaa74b3b39c10
* | | Lazy loading high res iconsSunny Goyal2015-03-1710-36/+209
| | | | | | | | | | | | | | | | | | | | | > Loading low-res icons for icons which are not visible on the homescreen. Change-Id: I8ac7bf09f6030ed554cb60a4cd402f3f36ffe12b
* | | Adding sort switch in FolderPagedViewSunny Goyal2015-03-179-47/+336
| | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
* | | Merge "key event focus logic should support large tablets" into ↵Hyunyoung Song2015-03-173-26/+35
|\ \ \ | |/ / |/| | | | | ub-launcher3-burnaby
| * | key event focus logic should support large tabletsHyunyoung Song2015-03-173-26/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TL;DR;; On smaller tablets, landscape = vertical hotseat bar, and portrait = horizontal hotseat bar. However, in larger tablets, hotseat bar is always horizontal. This is now correctly handled using DeviceProfile.isVerticalBar method. b/19732584 Change-Id: I1035c89b4685be12dbc863f8a1465047a5fec6a6
* | | Merge "Add dummy string to Launcher3Tests resources to fix build error." ↵Hyunyoung Song2015-03-171-0/+21
|\ \ \ | | | | | | | | | | | | into ub-launcher3-burnaby
| * | | Add dummy string to Launcher3Tests resources to fix build error.Hyunyoung Song2015-03-161-0/+21
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TL;DR;; since ag/656186 which moved the all-makefiles-under call to the bottom of the launcher's Android.mk file, resources for test package will not build without a dummy file. This change is necessary for the test team to continuously run the android tests. b/19566571 Change-Id: I4ff422ac019df4447348d953c5dd606d2a0dcc58
* | | am ef30a2a8: (-s ours) [DO NOT MERGE] Fixing build error in ↵Sunny Goyal2015-03-170-0/+0
|\ \ \ | | |/ | |/| | | | | | | | | | | | | launcher_protoutil_lib * commit 'ef30a2a8312b83985a8ad3eb8feebbb944cbae01': [DO NOT MERGE] Fixing build error in launcher_protoutil_lib
| * | [DO NOT MERGE] Fixing build error in launcher_protoutil_libSunny Goyal2015-03-161-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | > Since test build rules were included before the launcher_protoutil_lib rule, all the following paths got prefixed with "tests/" giving file not found error Change-Id: I13f96fc2f14336b0ff40f086176cc4afbc254791 (cherry picked from commit d68725cd20be0c1d5ebd583da5fde0f007a69bf8)
* | | Merge "Tweaking the apps list fast scroller." into ub-launcher3-burnabyWinson Chung2015-03-1614-30/+114
|\ \ \
| * | | Tweaking the apps list fast scroller.Winson Chung2015-03-1614-30/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Making the view span the full width so that you can grab the scroller on the edge of the screen. - Offsetting the fast-scoll popup so that you can see it as you scrub. Change-Id: If1b1934bbeac0660d829cfc29c9e588df927c5e5
* | | | Don't translate these strings until they're finalAdam Cohen2015-03-161-10/+10
| |_|/ |/| | | | | | | | Change-Id: I145aecfb83380101404494b72e68962b1ebfbd53
* | | Extracting out CacheKey to a separate classSunny Goyal2015-03-162-31/+62
|/ / | | | | | | Change-Id: Ifdd7cc79668b34298e3f788ee684080cecb86c3e
* | Merge "Minor changes to apps view." into ub-launcher3-burnabyWinson Chung2015-03-1311-46/+173
|\ \
| * | Minor changes to apps view.Winson Chung2015-03-1311-46/+173
| | | | | | | | | | | | | | | | | | | | | | | | - Ensuring that apps with numbers and in other locals have a section header. - Adding an empty state when there are no apps with the current filter - Removing unnecessary call to check AppInfos Change-Id: I9dc541c680475b98745fa257ad7e4af06e3966c9
* | | Fixing build error in launcher_protoutil_libSunny Goyal2015-03-131-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | > Since test build rules were included before the launcher_protoutil_lib rule, all the following paths got prefixed with "tests/" giving file not found error Change-Id: I13f96fc2f14336b0ff40f086176cc4afbc254791
* | | Merge "Scrolling folder during drag-drop" into ub-launcher3-burnabySunny Goyal2015-03-133-35/+261
|\ \ \
| * | | Scrolling folder during drag-dropSunny Goyal2015-03-133-35/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
* | | | Merge "Adding app grid layout with fastscroller." into ub-launcher3-burnabyWinson Chung2015-03-1325-478/+1295
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Adding app grid layout with fastscroller.Winson Chung2015-03-1225-478/+1295
| | | | | | | | | | | | | | | | | | - Adding filtering and using alphabetic index for app grouping. Change-Id: I745b644fa8f90f5ff24a8642ac377ef1c65d8aff
* | | Merge "Refactoring some logic in FolderPagedView" into ub-launcher3-burnabySunny Goyal2015-03-121-100/+49
|\ \ \ | |/ / |/| |
| * | 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
* | | am fe1dcbf0: (-s ours) Fix widget refresh issue on package install/uninstallHyunyoung Song2015-03-120-0/+0
|\ \ \ | | |/ | |/| | | | | | | * commit 'fe1dcbf0c5a1767e077a051ef5f7b72540d55f62': Fix widget refresh issue on package install/uninstall
| * | Fix widget refresh issue on package install/uninstallHyunyoung Song2015-03-113-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | Culprit CL: https://googleplex-android-review.git.corp.google.com/#/c/592303/3/src/com/android/launcher3/LauncherModel.java b/19658229 Change-Id: I02b0b2a0ed9bc3200bbe1edcb251cf0efe939e53
* | | Fix widget refresh issue on package install/uninstallHyunyoung Song2015-03-113-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | Culprit CL: https://googleplex-android-review.git.corp.google.com/#/c/592303/3/src/com/android/launcher3/LauncherModel.java b/19658229 Change-Id: I02b0b2a0ed9bc3200bbe1edcb251cf0efe939e53
* | | Merge "Initial changes to break out AllApps into its own view." into ↵Winson Chung2015-03-1128-935/+2112
|\ \ \ | | | | | | | | | | | | ub-launcher3-burnaby
| * | | Initial changes to break out AllApps into its own view.Winson Chung2015-03-1028-935/+2112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Moves launcher state-transition code into its own class - Moves all-apps related code into a separate view/set of classes - Implements a basic list view for all apps Change-Id: I68f174aa9e1bf82c4e46ce9549c78a8dc4623f46
* | | | Merge "Adding a dummy method for fix GSA compilation issues" into ↵Sunny Goyal2015-03-111-0/+6
|\ \ \ \ | |/ / / |/| | | | | | | ub-launcher3-burnaby
| * | | Adding a dummy method for fix GSA compilation issuesSunny Goyal2015-03-101-0/+6
| | |/ | |/| | | | | | | Change-Id: Iec0ab4faf695b9efd3efd3d3b83d729f430a59eb
* | | Merge "Ensuring setQsbSearchBar is called whenever the QSB is created" into ↵Sunny Goyal2015-03-102-6/+8
|\ \ \ | |/ / |/| | | | | ub-launcher3-burnaby
| * | Ensuring setQsbSearchBar is called whenever the QSB is createdSunny Goyal2015-03-042-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | > On launcher3 when the QSB is created for the first time after a widget drop, it is not set in searchDropTarget and as a result the "Remove" and "App Info" drop targets are not visible until Launcher3 restarts and rebinds QSB Change-Id: I599a9a18cc5d46af790b3145dae2eb385b32b20e
* | | Merge "Adding a scrollable folder content implementation" into ↵Sunny Goyal2015-03-099-37/+742
|\ \ \ | | | | | | | | | | | | ub-launcher3-burnaby
| * | | Adding a scrollable folder content implementationSunny Goyal2015-03-099-37/+742
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
* | | | Merge "Enabling accessible drag and drop" into ub-launcher3-burnabyAdam Cohen2015-03-0911-42/+556
|\ \ \ \ | |/ / / |/| | |
| * | | Enabling accessible drag and dropAdam Cohen2015-03-0911-42/+556
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> Using the context menu, and a new two stage system, this allows users to curate icons and widgets on the workspace -> Move icons / widgets to any empty cell on any existing screen, or create a new screen (appended to the right, as with regular drag and drop) -> Move icons into existing folders -> Create folders by moving an icon onto another icon -> Also added confirmations for these and some existing accessibility actions Limitations: -> Currently, no support for drag and drop in folders -> Considering moving the drag view so it doesn't occlude any content (in particular, when user changes pages) -> In this mode, accessibility framework seems to have problems with the next / prev operations Bug: 18482913 Change-Id: I19b0be9dc8bfa766d430408c8ad9303c716b89b2