summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Using support lib implementation for launcher preferenceSunny Goyal2018-10-197-536/+518
| | | | | Bug: 117519297 Change-Id: Icea5e022a337436e48db9376fd441f805dc34e54
* Merge "Using a common class for observing secure settings" into ↵TreeHugger Robot2018-10-175-143/+123
|\ | | | | | | ub-launcher3-master
| * Using a common class for observing secure settingsSunny Goyal2018-10-175-143/+123
| | | | | | | | | | Bug: 117519297 Change-Id: Ie9d948130aea50bf10c9fc625fdb16f4cfc4712e
* | Merge "Remove launcher dependency inside LauncherIcons" into ub-launcher3-masterHyunyoung Song2018-10-172-285/+329
|\ \ | |/ |/|
| * Remove launcher dependency inside LauncherIconsHyunyoung Song2018-10-172-285/+329
| | | | | | | | | | | | Bug: 115891474 Change-Id: Ie05d005ee3f8a10ebae35f8cf72b4f255a305667
* | Merge "Adding some extra logging around draglayer alpha" into ↵TreeHugger Robot2018-10-163-0/+19
|\ \ | | | | | | | | | ub-launcher3-master
| * | Adding some extra logging around draglayer alphaSunny Goyal2018-10-153-0/+19
| | | | | | | | | | | | | | | Bug: 116853349 Change-Id: I8b7ddbfdd74ea422380097e62bea86e160c1651f
* | | Make flags UI available on release build of launcherRyan Lothian2018-10-1511-31/+304
| |/ |/| | | | | | | | | | | The UI will only be shown on eng/userdebug platform builds. Bug: 117223984 Change-Id: I27843f2d856a4a19f3fe53c4d306606eaa5714a2
* | Merge "Adding keyboard handling to QsbHostView similar to a normal appwidget ↵TreeHugger Robot2018-10-153-103/+155
|\ \ | | | | | | | | | view" into ub-launcher3-master
| * | Adding keyboard handling to QsbHostView similar to a normal appwidget viewSunny Goyal2018-10-153-103/+155
| |/ | | | | | | | | Bug: 116842846 Change-Id: Ibab2dc1793561998f81710301d9ce0ca3d77e7b4
* | Merge "Fixing wrong index passed when highlighting a preference during ↵TreeHugger Robot2018-10-131-1/+1
|\ \ | | | | | | | | | scroll" into ub-launcher3-master
| * | Fixing wrong index passed when highlighting a preference during scrollSunny Goyal2018-10-121-1/+1
| |/ | | | | | | | | Bug: 117656931 Change-Id: I518ac7a309774cb91b64433ccece2b9f272639db
* / Remove unused NO_ALL_APPS_ICON flagRyan Lothian2018-10-121-3/+0
|/ | | | Change-Id: I2286121d8e396acc4afe76c77ef99abd6154a866
* Improving tests to fix testBindNormalWidget_withoutConfig, and beyondVadim Tryshev2018-10-091-0/+5
| | | | | | | | | | | | | | | | 1. Make waitXXX methods fail if the condition diesn’t turn true. 2. Waiting for loading to complete in tearDown instead of reloading the model 3. Avoiding waiting for load-complete where loading didn’t start 4. Disabling last test in AddConfigWidgetTest 5. Waiting for loading to complete inside setupAndVerifyContents(), not outside 6. Unifying how we wait for loader to complete 7. Adding more logging Bug: 117332845 Test: running all Nexus tests Change-Id: I3070e1ac2b9161179cc3e0800b0cd8162807389a
* Converting long item IDs to intSunny Goyal2018-10-0832-318/+611
| | | | | | | | > Items ids were already being typecasted to int when being bound on the UI > Using a consistent type allow better use of platform data-structures > Adding IntArray and IntSet as a replacement for various Collection classes Change-Id: Id3c650ed2420c2bfca3bd7671d2b705b56112371
* Merge "Groundwork for runtime-toggleable feature flags" into ub-launcher3-masterTreeHugger Robot2018-10-088-16/+27
|\
| * Groundwork for runtime-toggleable feature flagsRyan Lothian2018-10-088-16/+27
| | | | | | | | | | | | | | | | | | | | This is the first step in adding a flag toggler UI to launcher. The change migrates a single flag (QSB_ON_FIRST_SCREEN) from a boolean constant to a boolean method. In future, that will allow us to return different values at runtime. Bug: 117223984 Change-Id: I1e62c91dd941b8145166021bc0aa157733e62ea0
* | More temporary logging to diagnose testPendingWidget_autoRestoredVadim Tryshev2018-10-051-0/+5
|/ | | | | | | | And waiting to loader to finish to improve determinism. Bug: 117332845 Test: running Launcher Change-Id: Icdfce969b61f8ceb952a2715037783458da4d4c4
* Adding temporary logging to diagnose testPendingWidget_autoRestoredVadim Tryshev2018-10-054-0/+25
| | | | | | | | This test fails Bug: 117332845 Test: running Launcher Change-Id: I300c856992b3d1f559c4c31525a45e2c4a960f11
* Merge "Enabling "in test harness" flag with a direct call" into ↵TreeHugger Robot2018-10-041-1/+5
|\ | | | | | | ub-launcher3-master
| * Enabling "in test harness" flag with a direct callVadim Tryshev2018-10-041-1/+5
| | | | | | | | | | | | | | | | | | This allows running in-proc tests without enabling test harness on Android and restarting Launcher. Bug: 110103162 Test: TaplTests Change-Id: Ife44eff4760eb1349a10847efe2c1f27643bf146
* | Merge "Fix issue where pointer id was being used to set as action index" ↵TreeHugger Robot2018-10-041-7/+11
|\ \ | |/ |/| | | into ub-launcher3-master
| * Fix issue where pointer id was being used to set as action indexHyunyoung Song2018-10-041-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 117157432 Bug: 116744159 Context: In vary rare case, Pointer id can be higher than MotionEvent.getPointerCount. When I was fabricating ACTION_POINTER_DOWN event, I was using pointer id instead of index to create MotionEvent. This resulted in stack trace as seen in the bug. Change-Id: I802c2a45a274f0dda5984f1d266334fc8b6b0bea
* | Merge "Fix clipping issue on adaptive icons" into ub-launcher3-masterTreeHugger Robot2018-10-041-45/+36
|\ \
| * | Fix clipping issue on adaptive iconsHyunyoung Song2018-10-031-45/+36
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Bug: 116527322 More context: unlike previous issue that resulted in clipping on adaptive icon due to launcher drawing issue (drawing outside the bounds, etc). This issue is happening on b4 because when canvas is scaled after the circle mask is digitized, there is a optical illusion that one line of pixel seems missing. The issue is non observed if scaling is done before setting the view bounds. Change-Id: I7099075c88e77776c9cc4f23d79152293489cca2
* | Cancelling previous touch interaction when a new touch startsSunny Goyal2018-10-021-2/+40
| | | | | | | | | | Bug: 79220524 Change-Id: I7157dcdc7af92e1e5689da56c87961a82a0e6a05
* | Merge "Caching widget labels in icon cache to avoid lookup at startup" into ↵Sunny Goyal2018-10-0114-100/+322
|\ \ | | | | | | | | | ub-launcher3-master
| * | Caching widget labels in icon cache to avoid lookup at startupSunny Goyal2018-09-2814-100/+322
| |/ | | | | | | Change-Id: Ie026ee47905454bd70e774d422cd7fe142aec7e2
* / Reduce falsing on swipe down for notification shade.Hyunyoung Song2018-10-011-4/+9
|/ | | | | | b/116879058 Change-Id: If3dde635cdff09faf27dbab2cd022b9d246c7c2b
* Fixing packageInfo map not getting initialized properlySunny Goyal2018-09-261-2/+1
| | | | Change-Id: I395a2a3175675815d6d12a04898132094d3a889c
* Align rounded corner of fastscroller popup with the top of the thumb.Jon Miranda2018-09-261-6/+13
| | | | | Bug: 63852509 Change-Id: I90b6d3e87206a53cfb4c8025a8e5f9597cf73898
* Merge "Move IconNormalizer/ShadowGenerator/LauncherIcons to icons package" ↵Hyunyoung Song2018-09-2628-38/+33
|\ | | | | | | into ub-launcher3-master
| * Move IconNormalizer/ShadowGenerator/LauncherIcons to icons packageHyunyoung Song2018-09-2628-38/+33
| | | | | | | | | | | | | | | | | | Bug: 115891474 Sending out the package name changing CL first before I make LauncherIconsHandler and tests around it. Change-Id: Ic10479a06333e1435b392a7072cd08782e710cbd
* | Merge "Change long press timeout to use a factor of ↵Tony Wickham2018-09-263-9/+10
|\ \ | |/ |/| | | ViewConfiguration.getLongPressTimeout()" into ub-launcher3-master
| * Change long press timeout to use a factor of ↵Tony2018-09-243-9/+10
| | | | | | | | | | | | | | | | | | ViewConfiguration.getLongPressTimeout() This way, if the default ViewConfiguration timeout changes, we will adjust accordingly. Bug: 113639506 Change-Id: Ic3b93311c8e8d8196db2850fa641ffc675a16fb2
* | Merge "Extracting icon caching logic into a base class." into ↵TreeHugger Robot2018-09-257-544/+635
|\ \ | | | | | | | | | ub-launcher3-master
| * | Extracting icon caching logic into a base class.Sunny Goyal2018-09-257-544/+635
| | | | | | | | | | | | | | | | | | | | | This will allow using the cache cache for other type of objects, like shortcuts and widgets. Change-Id: I38616d031cb051f93e724d9cc0e8fe9a822b9e3a
* | | Merge "Using velocity tracker for computing the velocity of motion events" ↵Sunny Goyal2018-09-254-61/+43
|\ \ \ | | | | | | | | | | | | into ub-launcher3-master
| * | | Using velocity tracker for computing the velocity of motion eventsSunny Goyal2018-09-134-61/+43
| | | | | | | | | | | | | | | | Change-Id: I14f2f970825a2936f4bb285834405d67daf8667c
* | | | Fix bug where folder items get clipped.Jon Miranda2018-09-251-1/+1
| |/ / |/| | | | | | | | | | | | | | | | | | | | We need to account for both sides in the folder margin calculation. eg. in MW mode with display set to Largest, the folder can reach both edges Bug: 115955939 Change-Id: I145c8c1c2a75891eb3386284f06fc98800fe5ce9
* | | Cancelling long press on workspace if touch point moves a lotSunny Goyal2018-09-241-0/+9
| | | | | | | | | | | | | | | Bug: 113695336 Change-Id: I9a2e5972b6718b31cffd88be218fe5744c702827
* | | Merge "Removing additional rpc due to icon cache update" into ↵Sunny Goyal2018-09-2421-220/+301
|\ \ \ | | | | | | | | | | | | ub-launcher3-master
| * | | Removing additional rpc due to icon cache updateSunny Goyal2018-09-2121-220/+301
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | When launcher loads, it fetches the list of apps twice, once for loading all-apps and again for updating icons. Instead reusing the previously fetched apps list. Also moving the icon loading in a separate package for further generalization Change-Id: Ibd2dae56e6027a31b633da030bc6b43a90b27e1b
* | | Merge "Add support for testing in portrait mode" into ub-launcher3-masterTreeHugger Robot2018-09-212-12/+8
|\ \ \ | |/ / |/| |
| * | Add support for testing in portrait modeVadim Tryshev2018-09-212-12/+8
| | | | | | | | | | | | | | | | | | Bug: 110103162 Test: TaplTests Change-Id: I7f633405c04984ea8f04acdc6dd4ad21019d3409
* | | Merge "Removing ViewScrim and cutom drawing code" into ub-launcher3-masterTreeHugger Robot2018-09-217-160/+33
|\ \ \
| * | | Removing ViewScrim and cutom drawing codeSunny Goyal2018-09-187-160/+33
| | | | | | | | | | | | | | | | | | | | Bug: 109828640 Change-Id: I2cab0215a32c2ca6bc331d48083fcc00ada05c3b
* | | | Merge "Removing various reflection based animations, to allow for better ↵TreeHugger Robot2018-09-216-73/+80
|\ \ \ \ | | | | | | | | | | | | | | | proguarding" into ub-launcher3-master
| * | | | Removing various reflection based animations, to allow for better proguardingSunny Goyal2018-09-216-73/+80
| |/ / / | | | | | | | | | | | | Change-Id: If9df24ea4170e8a3d336057d1c3dc800934fc1ac
* | | | Merge "Skip starting new fragment, if the manager is in paused state" into ↵Sunny Goyal2018-09-211-9/+8
|\ \ \ \ | |_|/ / |/| | | | | | | ub-launcher3-master