summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Some launcher3 fixes so that it compiles with different ↵TreeHugger Robot2018-05-312-3/+12
|\ | | | | | | configurations" into ub-launcher3-edmonton
| * Some launcher3 fixes so that it compiles with different configurationsSunny Goyal2018-05-302-3/+12
| | | | | | | | | | Bug: 79996542 Change-Id: I4267aeb8f5b0714415970c63453049ff41466644
* | Theme updates for dark text:Sunny Goyal2018-05-301-0/+7
|/ | | | | | | | > Using white scrim on adjescent tiles in overview > Using a ligher scrim in dark-theme+dark-text Bug: 80253867 Change-Id: I3f257d3addaca8bc5970a61722f5ae0e7af89382
* Fix animation not playing when going home while another animation is playingTony2018-05-291-4/+4
| | | | | | | | | | When going to a new state, we cancel any currently playing animation. When canceling the animation, we reset mState = mCurrentStableState. Thus, when determining the duration of the new animation, we have both state == NORMAL and mState == NORMAL, leading to a duration of 0 and therefore no animation. Storing the fromState before canceling/resetting fixes the issue. Change-Id: I92332deae8058c4dd41212fe7f749955ede28b1c
* Merge "Unhide badge when popup closes without animation" into ↵Tony Wickham2018-05-291-0/+1
|\ | | | | | | ub-launcher3-edmonton
| * Unhide badge when popup closes without animationTony2018-05-291-0/+1
| | | | | | | | | | Bug: 80379412 Change-Id: I7d6c1b67a07747078b43b17612d8c67a46c8cc0e
* | Set mState = mCurrentStableState in onAnimationCancelTony Wickham2018-05-291-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mState is set when the transition starts toward that state even if it is never reached. If the animation is canceled, therefore, we should reset mState = mCurrentStableState since that is the state we came from. For instance, when swiping up from overview, mState = ALL_APPS, but when swiping back down we cancel that animation and create the task launch animation. When creating the task launch animation, we reapplyState(), which, before this change, was still ALL_APPS instead of OVERVIEW. Bug: 79935289 Change-Id: I59c5799e92350747e4ef1d99a80ba678a2ce7b98
* | Various quickscrub fixesSunny Goyal2018-05-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | > Fixing PagedView resetting the currentPage, if scrollToPage was called before first layout This causes quickscrub to jump back to the current task if launcher activity was dead. > Fixing missing callbacks in DeferredTouchConsumer causing missed quick scrub flings > Sending the resents animation callbacks on the motion queue thread, to avoid synchronization issues with sysui callbacks. > Waiting until the recents animation is received before starting the scale down animation > Calculating the offset for quickscrub statically incase launcher activity was dead Bug: 80214390 Change-Id: I1b7d00b7b266655a92fcd6239f25ba191655150f
* | Merge "Fix clipping of adaptive icons Bug:62372639" into ub-launcher3-edmontonTreeHugger Robot2018-05-291-2/+2
|\ \
| * | Fix clipping of adaptive iconsHyunyoung Song2018-05-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:62372639 Context: only noticeable on large form factor AND Large display setting Ceiling operation is needed to calculate offset of the drawing. Change-Id: I7c77fa53f0811990b8cfdc3a12e2b43eb4d2d73e
* | | Merge "Reporting range of visible tasks" into ub-launcher3-edmontonVadim Tryshev2018-05-252-22/+34
|\ \ \
| * | | Reporting range of visible tasksVadim Tryshev2018-05-252-22/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixes task position being incorrectly reported specifically for swipe events due to using stale getCurrentPage(). Bug: 72222505 Test: Manual Change-Id: Ic79b67f8a6ffbfabc397b411b14afc309405197e
* | | | Merge "Fixing launcher going to a different state when dragging an icon from ↵Sunny Goyal2018-05-252-1/+21
|\ \ \ \ | |_|/ / |/| | | | | | | different activity" into ub-launcher3-edmonton
| * | | Fixing launcher going to a different state when dragging an icon from ↵Sunny Goyal2018-05-252-1/+21
| | |/ | |/| | | | | | | | | | | | | | | | different activity Bug: 80191074 Change-Id: I45ea646dc2bd21627e8b724dac9c9fc23c18797d
* | | Accounting for view translation when calculating the focus locationSunny Goyal2018-05-251-21/+2
| | | | | | | | | | | | | | | Bug: 80160107 Change-Id: Ibb0cb82c33c141bb3abf9b7576be4253630cb8c5
* | | Fix crash caused by removing update listener in update listener.Jon Miranda2018-05-251-2/+5
|/ / | | | | | | | | | | Bug: 80236772 Test: Fling all apps open, and catch it before it reaches the top Change-Id: I082a26b97afb7dbc162758ff9654e4a3707f9d7e
* | Fix bug where icon 'jumps' on long press.Jon Miranda2018-05-254-6/+16
| | | | | | | | | | Bug: 76155869 Change-Id: I739b00564b0ebe00b3aff326b3c1d62deea9d1d3
* | Merge "Fix prediction tip shows when user attempts but does not swipe up all ↵TreeHugger Robot2018-05-251-8/+3
|\ \ | | | | | | | | | the way to All Apps when quickstep is disabled." into ub-launcher3-edmonton
| * | Fix prediction tip shows when user attempts but does not swipe up all the ↵Tracy Zhou2018-05-241-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | way to All Apps when quickstep is disabled. Bug: 80268964 Test: Manual test Change-Id: I9b0620d57ccd466392c1db4c4899da3368a854db
* | | Merge "Adding support for dark text on dark theme" into ub-launcher3-edmontonTreeHugger Robot2018-05-241-4/+4
|\ \ \ | |_|/ |/| |
| * | Adding support for dark text on dark themeSunny Goyal2018-05-241-4/+4
| |/ | | | | | | | | Bug: 80253867 Change-Id: Ib81a2fe884f68cd2dd4af1e573bd8c836f374f16
* / Fixing keyboard navigation when Overview list is emptyVadim Tryshev2018-05-243-19/+6
|/ | | | | | Bug: 80155387 Change-Id: Ife86fe4b718ef01291a04b21020155110d75fa7b Testing: Manual
* Merge "Removing discovery bouncer from accessibility" into ub-launcher3-edmontonTreeHugger Robot2018-05-244-9/+17
|\
| * Removing discovery bouncer from accessibilityVadim Tryshev2018-05-234-9/+17
| | | | | | | | | | | | | | | | | | | | It was obstructing views under it. Solves both Talkback and Switch Access issues. Bug: 80192025 Test: Manual Change-Id: Ia7fad91e1fcb857afbf68f879550c670279cee68
* | Increasing the overview size while in QuickScrub modeSunny Goyal2018-05-231-3/+1
| | | | | | | | | | Bug: 80139193 Change-Id: I19ea05d3cc083628364651e9d9f581fe1aaaeaaa
* | Merge "Remove custom focus logic" into ub-launcher3-edmontonSunny Goyal2018-05-234-7/+3
|\ \
| * | Remove custom focus logicSunny Goyal2018-05-234-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the system logic for focus handling so that partially visible contents are properly handled, eg in overview only hotseat is visible This does changes the focus logic on workspace when both icons and widgets or different sizes are present, we may consider reviving (parts of) this logic in the future Bug: 80189843 Change-Id: I874e284e0a62b579c24d36db9b74da3de7a7e367
* | | Merge "Only log swipe interaction on swipe end" into ub-launcher3-edmontonTony Wickham2018-05-231-22/+16
|\ \ \
| * | | Only log swipe interaction on swipe endTony Wickham2018-05-231-22/+16
| | |/ | |/| | | | | | | | | | | | | | | | | | | Previously we were logging new states as we swipe past them; now we just log the start and end states when lifting your finger. Bug: 80102083 Change-Id: Icec6c3dab1441023a3cdcadb7b56ecef8313cb8c
* | | Merge "Log the parent of the PREDICTION container type (ALLAPPS OR ↵TreeHugger Robot2018-05-233-5/+44
|\ \ \ | |/ / |/| | | | | TASKSWITCHER) Bug: 79423536" into ub-launcher3-edmonton
| * | Log the parent of the PREDICTION container type (ALLAPPS OR TASKSWITCHER)Hyunyoung Song2018-05-233-5/+44
| | | | | | | | | | | | | | | | | | Bug: 79423536 Change-Id: I23ff0d4d0aa3fec781e9b6c8792d2d7a738ca6c8
* | | Merge "Add mStartState to determine if user swipes up from Home." into ↵TreeHugger Robot2018-05-231-1/+4
|\ \ \ | |_|/ |/| | | | | ub-launcher3-edmonton
| * | Add mStartState to determine if user swipes up from Home.Tracy Zhou2018-05-221-1/+4
| |/ | | | | | | | | | | Bug: 80146880 Test: Manual test Change-Id: Ia0743bff3f2a5b3998a798743138b012ec461a94
* | Start springs for All Apps when user flings up.Jon Miranda2018-05-233-0/+48
| | | | | | | | | | Bug: 77695481 Change-Id: Ifecfbbb89601947118f620f522662aee8a61946e
* | Merge "Enable new open app transitions when in multiwindow mode." into ↵TreeHugger Robot2018-05-234-15/+8
|\ \ | | | | | | | | | ub-launcher3-edmonton
| * | Enable new open app transitions when in multiwindow mode.Jon Miranda2018-05-224-15/+8
| | | | | | | | | | | | | | | Bug: 79118278 Change-Id: Iba79948256d70c913af0a9a584eb040f3a8b4151
* | | Merge "Making caret visibility part of state definition" into ↵TreeHugger Robot2018-05-223-3/+34
|\ \ \ | | | | | | | | | | | | ub-launcher3-edmonton
| * | | Making caret visibility part of state definitionSunny Goyal2018-05-223-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Hiding the caret in fast overview state > Hiding caret in task swipe down interaction Bug: 79700605 Change-Id: I984d535bc75802501e8aeb13c8f37387f331e5bc
* | | | Merge "Reset the vertical progress when the discovery bounce is closed" into ↵Sunny Goyal2018-05-221-36/+39
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-edmonton
| * | | | Reset the vertical progress when the discovery bounce is closedSunny Goyal2018-05-221-36/+39
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since discovery bounce runs on absolute values, it can sometime leave the vertical progress at an old value, if it is closed after the state change. Also simplifying discovery bounce animation to use xml everytime. Bug: 80099242 Change-Id: Iebc249dd02f474cbed85b695eeeb8c2bf60b935d
* | | | Merge "Skip processing fallback icons as they are already badged and have ↵TreeHugger Robot2018-05-221-5/+7
|\ \ \ \ | | | | | | | | | | | | | | | shadow" into ub-launcher3-edmonton
| * | | | Skip processing fallback icons as they are already badged and have shadowSunny Goyal2018-05-171-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 79496830 Change-Id: I3e601fda570eefdb277bfd50c846c5a2864f4b3a
* | | | | Merge "Making overview panel accessible via Tab" into ub-launcher3-edmontonTreeHugger Robot2018-05-221-0/+1
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Making overview panel accessible via TabVadim Tryshev2018-05-221-0/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keyboard navigation of AllAppsContainerView is broken in TOT; disabling focusing there is necessary for Recents. Bug: 72222505 Test: Manual Change-Id: I85d544f7c8dbdaf12e49de51c6626bbc3dc32917
* / | | Cleanup how we set back button alphaTony Wickham2018-05-223-22/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Add BackButtonAlphaHandler to set back button alpha, instead of setting it from multiple places. Also force back button alpha to be 1 if swipe up is disabled (b/80091187) Change-Id: I49b63a0e6b033a3a947a847669a398f1b9ff0564
* | | Merge "Go back to previous state when hitting back from discovery bounce" ↵TreeHugger Robot2018-05-214-4/+15
|\ \ \ | | | | | | | | | | | | into ub-launcher3-edmonton
| * | | Go back to previous state when hitting back from discovery bounceTony Wickham2018-05-214-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normally when you hit back, we just close the floating view if there is one. This makes less sense for DiscoveryBounce, since it doesn't feel like a different state even though it's technically a floating view. So in that case, don't consume the back press; let launcher handle it to go to the previous state. Bug: 80075741 Change-Id: I7270b61be70509cb2101400a12929478a5d082aa
* | | | onResume event should be logged (not twice but once)Hyunyoung Song2018-05-213-9/+31
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 79541772 Change-Id: I5fe1271007e4579e1ec95d51c215ef48d0c6eedd
* | | | Merge "Cleanup UserManagerCompatVP to not use reflection" into ↵Tony Wickham2018-05-211-25/+4
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-edmonton
| * | | | Cleanup UserManagerCompatVP to not use reflectionTony Wickham2018-05-211-25/+4
| |/ / / | | | | | | | | | | | | Change-Id: I1e4afc9c36f9d8641799b70e83f6b9801aec2e3d