summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* All apps pull up workHyunyoung Song2016-06-215-171/+247
| | | | | | | | | | | | | | | | b/28917826 b/29469966 b/29542376 - Move state transition to when the finger is lifted and not when the view settles. - Refactor the vertical pull detector to use bit operation to define which direction scroll to allow. - Fixed many issues regarding screen rotation - Fixes issue where slowly sliding the all apps goes into overview mode - Fixes issue where quick slide up leads to animation starting from middle Change-Id: I2384a0fcc5550e17359a044ef506bcc66507da5f
* Merge "Fix container horizontal padding" into ub-launcher3-calgaryHyunyoung Song2016-06-211-1/+1
|\
| * Fix container horizontal paddingHyunyoung Song2016-06-211-1/+1
| | | | | | | | Change-Id: I41b84db6d71df7f4e47098fa9ed7eda4465f18c3
* | Merge "Maintaining separate alpha for x and y translations" into ↵Sunny Goyal2016-06-212-19/+41
|\ \ | |/ |/| | | ub-launcher3-calgary
| * Maintaining separate alpha for x and y translationsSunny Goyal2016-06-202-19/+41
| | | | | | | | | | Bug: 29504823 Change-Id: I6150fec43653c8da4c5841ddbd6c5de739f205b8
* | Adding some tracing sections around launcher startupSunny Goyal2016-06-204-8/+39
| | | | | | | | | | Bug: 29007436 Change-Id: I53afd9130a2dc70a2223f1623e862faf44370f26
* | Merge "Fixing a crash on APPS->WORKSPACE transition when animation is ↵Hyunyoung Song2016-06-203-29/+29
|\ \ | | | | | | | | | automated without dragging. b/29424335" into ub-launcher3-calgary
| * | Fixing a crash on APPS->WORKSPACE transition when animation is automated ↵Hyunyoung Song2016-06-203-29/+29
| |/ | | | | | | | | | | | | | | without dragging. b/29424335 Change-Id: I2b109423b5a4cfc94fcda75fdea936785373968f
* | Merge "Update Launcher to use theme colors." into ub-launcher3-calgaryAndrew Sapperstein2016-06-2023-42/+44
|\ \
| * | Update Launcher to use theme colors.Andrew Sapperstein2016-06-2023-42/+44
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using hard-coded variants of colors, use the theme color that corresponds (colorAccent, colorPrimary, etc). Updated: - "Search for more apps" text - App info drop target hover color - PageIndicatorDots - All apps & widget scroll bar & scroll popup colors - All apps section text color - widget picker background color TODO: - widget picker header color BUG: 28625102 Change-Id: I74b543ff71b8caef8cd950c8183ac84c759cb4d5
* / Fixing workspace transition stateHyunyoung Song2016-06-201-1/+1
|/ | | | Change-Id: I394d587aa84aefa174220380a6dfb25bad133fde
* Moving LauncherAccessibilityDelegate to Launcher to associate it withSunny Goyal2016-06-1711-33/+21
| | | | | | activity lifecycle. Change-Id: Ib815505677fa7ed74bdcfe7141b1d9bea5d7143a
* 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