summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adding a flag (enabled by default) to remove the all-apps button.Sunny Goyal2016-06-1713-111/+102
| | | | | | | All apps can still be opened by clicking the caret. Bug: 29398447 Change-Id: I61f1b05cea83a0a49d7cc16c518c5419618ba779
* Merge "Adding a DB update path to handle the QSB position change" into ↵Sunny Goyal2016-06-168-49/+297
|\ | | | | | | ub-launcher3-calgary
| * Adding a DB update path to handle the QSB position changeSunny Goyal2016-06-158-49/+297
| | | | | | | | | | | | | | | | > Renamed the id of 1st screen to 0 and making space for the QSB by running the grid migration task. > Added a feature flag to easily disable the QSB-in-workspace behavior Change-Id: Ie3369f0d4433d916e9d6215d414770d4333f3e26
* | UI fixes to All apps pull up workHyunyoung Song2016-06-1510-92/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/28917826 - nav bar change to light when top of the all apps container passes y mid point of the status bar - apps search edit box change when top of the all apps passes the bottom of nav bar - Restrict pull up to work only if the ACTION_DOWN event started from the hotseat. - Landscape: reverted old padding and margin. Only the interaction is different. - Tuning of the motion spec - Animation duration respects fling speed more agressively. - and many more small bugs... Change-Id: Icde4093c41eeab8c9c6d9dc8b7d57adc3b171349
* | Fix the build.Hyunyoung Song2016-06-151-1/+1
| | | | | | | | Change-Id: I7cdfd2b276b53dbeb1d639a967753d0cc9d45d84
* | Add caret shaped all app pull up handle to page indicator.Hyunyoung Song2016-06-1511-37/+199
|/ | | | | | | | | b/28917826 > PageIndicator is also added in landscape > Touch delegate allows the active touch area to be 36dp Change-Id: If00f45fc88a13cd5a6759d771313439eb58561e3
* Merge "Fixing bug in getDescendantCoordRelativeToParent where it was ↵Sunny Goyal2016-06-152-9/+6
|\ | | | | | | calculating the coordinates relative to the root's parent" into ub-launcher3-calgary
| * Fixing bug in getDescendantCoordRelativeToParent where it wasSunny Goyal2016-06-142-9/+6
| | | | | | | | | | | | | | | | | | calculating the coordinates relative to the root's parent The bug went unnoticed for so long, as its only used in DragLayer which is positioned at 0,0 in its parent Change-Id: I101cda1f1fa919c0faf9b23b1eeb05764bdf1a40
* | Import translations. DO NOT MERGEBill Yi2016-06-1377-154/+77
|/ | | | | Change-Id: I32411e1060a5383212672e414bad21ece14c6231 Auto-generated-cl: translation import
* Merge "Replacing overview panel icons with vector drawables" into ↵Sunny Goyal2016-06-1329-257/+88
|\ | | | | | | ub-launcher3-calgary
| * Replacing overview panel icons with vector drawablesSunny Goyal2016-06-0329-257/+88
| | | | | | | | Change-Id: I3ca6662a75ba8b07e817a7a5681ede79d305c41a
* | Merge "All apps container should not intercept touch during animation." into ↵Hyunyoung Song2016-06-132-23/+66
|\ \ | | | | | | | | | ub-launcher3-calgary
| * | All apps container should not intercept touch during animation.Hyunyoung Song2016-06-132-23/+66
| | | | | | | | | | | | | | | | | | | | | | | | b/28917826 > When all apps container is settling near either the bottom or top end, touch event should not be intercepted. Change-Id: I8aee6cea52e844c4615b92b15f8ef7247236a25b
* | | Merge "Making the security checks and policy changes only when launching ↵Sunny Goyal2016-06-103-110/+97
|\ \ \ | |/ / |/| | | | | custom shortcuts. This prevents launcher specific intents to unknowingly leak data." into ub-launcher3-calgary
| * | Making the security checks and policy changes only when launching customSunny Goyal2016-06-103-110/+97
| | | | | | | | | | | | | | | | | | shortcuts. This prevents launcher specific intents to unknowingly leak data. Change-Id: I01343a9cee1f2a9a37a20aaf24e933e2771ecdbc
* | | Fixes to touch handling in all apps pull up workHyunyoung Song2016-06-104-34/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/28917826 - Fast scroll bar works even when it's at the top of the recycler view - Pull down only happens ONLY IF the thumb of the scroll bar is at top - When container is touched during sliding down animation, translation should not jump Change-Id: Ic1d9a4aa77332cc0a7582556f893053003224dd3
* | | Unifying the workspace translation logicSunny Goyal2016-06-102-31/+55
|/ / | | | | | | Change-Id: I82430734c222d43222763fc6edcadac33dc3e076
* | Merge "Executing the DB migration during startup instead of restore." into ↵Sunny Goyal2016-06-095-115/+156
|\ \ | | | | | | | | | ub-launcher3-calgary
| * | Executing the DB migration during startup instead of restore.Sunny Goyal2016-06-085-115/+156
| | | | | | | | | | | | | | | | | | | | | This allows proper execution of DB.onUpgrade task if the app updates after the restore Change-Id: I4c40167b30e1d7040b3a38be70d834f7b215e540
* | | Import translations. DO NOT MERGEBill Yi2016-06-0977-78/+155
| | | | | | | | | | | | | | | Change-Id: Ib1042efbc531203100b43bc32bf17ca3c05eca48 Auto-generated-cl: translation import
* | | Fixes to all apps pull up workHyunyoung Song2016-06-085-51/+85
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/28917826 - 2+ workspace page also slides up - pull up touch interaction doesn't trigger only when yslop > xslop - animation duration should be set independently when all apps button is used. - workspace state is correctly set (drag and drop from the trays work) - after lock screen, hotseat is positioned correctly - Remove initial jump when sliding up - Improved tuning on sliding - Alpha value set differently on backbround and content of all apps Still not fixed: - Landscape - Search edit text box styling - All apps scroll bar Change-Id: I817094b0f1ada5052ee604539459f556a99cadf1
* | Merge "Updating the app search buton text" into ub-launcher3-calgarySunny Goyal2016-06-083-24/+4
|\ \
| * | Updating the app search buton textSunny Goyal2016-06-073-24/+4
| | | | | | | | | | | | | | | Bug: 28774501 Change-Id: I268a2d98f70d160c91ebd8fc796f3626ae67c159
* | | Merge "Unifying focus indicator handling for workspace and all-apps" into ↵Sunny Goyal2016-06-0818-313/+438
|\ \ \ | | | | | | | | | | | | ub-launcher3-calgary
| * | | Unifying focus indicator handling for workspace and all-appsSunny Goyal2016-06-0818-313/+438
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding an abstract FocusIndicatorHelper based on FocusIndicatorView which draws the background instead of using a dummy view. Change-Id: Id560195323d2ddad8fcd77ba675cf3f4fd4a94ab
* | | | When the active page changes, simulate a scroll change.Sunny Goyal2016-06-081-3/+9
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | This prevents the animation progess from going out of sync of the active page, when the active page changes before the total number of pages change Bug: 29113836 Change-Id: I2b12ea29d64dc98d773e6060de4b655d3f975b5a
* | | Fixing crash on LollipopSunny Goyal2016-06-082-7/+7
| | | | | | | | | | | | | | | | | | | | | Fragment.getContext is available from MNC onwards. Using getActivity instead Change-Id: I99ef98947879ff165895fc76facb438cd4b8b414
* | | Merge "Adding support for workspace state change listener" into ↵Sunny Goyal2016-06-081-2/+22
|\ \ \ | | | | | | | | | | | | ub-launcher3-calgary
| * | | Adding support for workspace state change listenerSunny Goyal2016-06-071-2/+22
| | | | | | | | | | | | | | | | Change-Id: Id0a4bcf345ce928544f5d406f37252a00d1dc7af
* | | | Merge "Fix NexusLauncher NPE" into ub-launcher3-calgaryHyunyoung Song2016-06-071-1/+1
|\ \ \ \
| * | | | Fix NexusLauncher NPEHyunyoung Song2016-06-071-1/+1
| | |/ / | |/| | | | | | | | | | Change-Id: Ieb1144487841d7ea4ae880bf8e6c2334a2145e7e
* | | | Merge "Ensure that custom actions are available to all apps items" into ↵Adam Cohen2016-06-072-1/+7
|\ \ \ \ | |_|/ / |/| | | | | | | ub-launcher3-calgary
| * | | Ensure that custom actions are available to all apps itemsAdam Cohen2016-06-072-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> When BubbleTextViews were being recycled, the RecyclerView was clearing the AccessibilityDelegate. Ensure that this is reset by the adapter when a BubbleTextView is reused. issue 25948877 Change-Id: I95dd21bfdcd602a67925d1b8f06e6ca92d1d7203
* | | | Merge "Fixing FileLogs tests" into ub-launcher3-calgarySunny Goyal2016-06-072-1/+19
|\ \ \ \
| * | | | Fixing FileLogs testsSunny Goyal2016-06-072-1/+19
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | During tests, the logs directory is changed. But the active thread was not getting stopped which was causing some logs to be written to the old location corresponding to some previous test Change-Id: I7b8587eae0eb68fa180e3992694cab3745922483
* | | | Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgaryTreeHugger Robot2016-06-071-1/+1
|\ \ \ \
| * | | | Import translations. DO NOT MERGEBill Yi2016-06-071-1/+1
| |/ / / | | | | | | | | | | | | | | | | Change-Id: Idd8897ea385ab5190750df3179e21a829d160099 Auto-generated-cl: translation import
* | | | Import translations. DO NOT MERGEBill Yi2016-06-070-0/+0
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | am: 21c2d8f244 -s ours * commit '21c2d8f244dae711b12339cc6e643cd34ef8dcd6': Import translations. DO NOT MERGE Change-Id: Idcac20c106c76d9701b291972676610807a4a291
| * | | Import translations. DO NOT MERGEBill Yi2016-06-07113-510/+461
| | | | | | | | | | | | | | | | | | | | Change-Id: Ifcd878b149cbe2b1b2a021024039f30aef1a36a7 Auto-generated-cl: translation import
* | | | Merge "Allowing the first screen to expand to the screen edge" into ↵Sunny Goyal2016-06-075-16/+50
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-calgary
| * | | | Allowing the first screen to expand to the screen edgeSunny Goyal2016-06-065-16/+50
| | | | | | | | | | | | | | | | | | | | | | | | | This allows the QSB to extend all the way to the edge Change-Id: I43c6e21e44fef7fffe6fb12b7afb95549b68679f
* | | | | Merge "Removing the SearchDropTarget bar as it no longer contains the QSB" ↵Sunny Goyal2016-06-0725-894/+418
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | into ub-launcher3-calgary
| * | | | | Removing the SearchDropTarget bar as it no longer contains the QSBSunny Goyal2016-06-0625-894/+418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
* | | | | | Merge "Guard all apps pull up work behind the flag" into ub-launcher3-calgaryTreeHugger Robot2016-06-072-2/+4
|\ \ \ \ \ \
| * | | | | | Guard all apps pull up work behind the flagHyunyoung Song2016-06-062-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/28917826 Change-Id: Ic001d820bad777d90c6bdcd1a17b6961e38769be
* | | | | | | Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgaryTreeHugger Robot2016-06-076-13/+13
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Import translations. DO NOT MERGEBill Yi2016-06-066-13/+13
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia6c33079c6d94e4e6045fba33317f886cc6d9907 Auto-generated-cl: translation import
* | | | | | Merge "Pull up all apps interaction First phase implementation: dragging and ↵Hyunyoung Song2016-06-0612-79/+852
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / animation interaction is implemented namely in two classes. ScrollGestureDetector and AllAppsTransitionController." into ub-launcher3-calgary
| * | | | Pull up all apps interactionHyunyoung Song2016-06-0612-79/+852
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First phase implementation: dragging and animation interaction is implemented namely in two classes. ScrollGestureDetector and AllAppsTransitionController. FeatureFlag.LAUNCHER#_ALL_APPS_PULL_UP will be true for only AOSP and not in the extending builds. This way, we can safely iterate without turning it on the shipped ready version. b/28917826 Change-Id: I0501309c0121880ffe0555f82d6ac5a145581bb1
* | | | | Fixing memory leak in QSB widgetSunny Goyal2016-06-032-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Instead of recreating the whole fragment, only recreating the views when reinflating > Binding the fragment in xml instead of in code This prevents duplicate fragment binding Bug: 29120662 Change-Id: I25b942f64d68f25e1358f15d8a919daeebdcff9c