summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps
Commit message (Collapse)AuthorAgeFilesLines
* Rename "badges" to "dots" where appropriateTony Wickham2018-12-041-3/+3
| | | | | | | | This will reduce confusion with the other "badging" concept we use for, e.g. work profiles. It is also consistent with the external name "notification dots". Change-Id: I2a2c9d96dc0d6284eb0c48adc78a856271caad4d
* Removing Launcher dependency in search box layoutSunny Goyal2018-11-204-6/+17
| | | | | Bug: 118758696 Change-Id: Id918c44b8bd2a97ab577481b7584afbe56e8a591
* Adding an interface to allow adding custom views in FloatingHeaderViewSunny Goyal2018-11-063-42/+289
| | | | | Bug: 109828640 Change-Id: I9bde5d4fab47eb3e5787bbb741b5b9051a15c0c2
* Removing separate hotseat widget, instead using a QSB acroll all UI.Sunny Goyal2018-11-053-16/+19
| | | | | | | The QSB is responsible for updating its UI according to various states. Bug: 109828640 Change-Id: Ic8cbf3d404d5870de0f6b8fe25a332b8d21bae20
* Add StatsLog*Manager for logging.Hyunyoung Song2018-11-051-1/+1
| | | | | | | | | Bug: 113043444 Verification: (19) is our event classifier number 11-05 11:24:28.188 932 994 I statsd : { 1541445868000000000 766293363001 (19)0x10000->1[I] 0x20000->0[I] 0x30000->0[I] 0x40000->[S] 0x50000->1[I] } Change-Id: I75403837f9fa8e51efa012fb708bce7efc9c4488
* Add AllAppsRow plugin interfaceTony Wickham2018-10-161-5/+63
| | | | | Bug: 115877296 Change-Id: I750941f220d08ca9ee14067253253f6d81417101
* Merge "Move IconNormalizer/ShadowGenerator/LauncherIcons to icons package" ↵Hyunyoung Song2018-09-261-1/+1
|\ | | | | | | into ub-launcher3-master
| * Move IconNormalizer/ShadowGenerator/LauncherIcons to icons packageHyunyoung Song2018-09-261-1/+1
| | | | | | | | | | | | | | | | | | Bug: 115891474 Sending out the package name changing CL first before I make LauncherIconsHandler and tests around it. Change-Id: Ic10479a06333e1435b392a7072cd08782e710cbd
* | Change long press timeout to use a factor of ↵Tony2018-09-241-2/+1
|/ | | | | | | | | ViewConfiguration.getLongPressTimeout() This way, if the default ViewConfiguration timeout changes, we will adjust accordingly. Bug: 113639506 Change-Id: Ic3b93311c8e8d8196db2850fa641ffc675a16fb2
* Using a placeholder icon shape instead of low-res/blurry iconSunny Goyal2018-08-271-2/+1
| | | | | Bug: 111142970 Change-Id: I867224464ae9c026f4dcb5256ef14fc39c8e751d
* Highlight work tab when user already in All Apps after creating WP.arangelov2018-08-172-2/+17
| | | | | | | | | | | | When a user created a work profile and was already in the All Apps view, the work tab was not highlighted, because the logic for that was only in AllAppsContainerView#onScrollUpEnd(). This CL highlights the tab when the user has resumed and the All Apps view is expanded. Bug: 79242814 Test: Manual Change-Id: I40af0d513c95f8084e21f4e276e9f56bcb06555e
* Merge "Prevent the work mode switch thumb from being dragged." into ↵TreeHugger Robot2018-08-151-0/+6
|\ | | | | | | ub-launcher3-master
| * Prevent the work mode switch thumb from being dragged.arangelov2018-08-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | When we normally press the work mode switch, it waits for the profile to receive the ACTION_MANAGED_PROFILE_AVAILABLE broadcast before the button UI actually toggles. The user never interacts directly with that switch. However, dragging the switch thumb used to bypass that logic. This CL makes sure dragging the switch thumb cannot happen in the first place. Change-Id: Ib3b4ae7591136c35e6d02783387d752e246cfb5b Fixes: 111211805 Test: Manual
* | Sharing protocol constants between Launcher and TAPLVadim Tryshev2018-08-141-2/+4
| | | | | | | | | | | | Bug: 110103162 Test: TaplTests Change-Id: I5b2a2b8576a7a6ea4a156f00858711496d6b5bba
* | Migrating to android-xSunny Goyal2018-08-147-21/+24
| | | | | | | | Change-Id: I9a774152d13a541e8496dd84f2469bfed407f86d
* | Started converting Launcher to be gesture-stableVadim Tryshev2018-08-141-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All tests keep passing. WorkTabTest.workTabExists was made gesture-stable. There is no need to use TAPL, as the point is not to check answering to gestures, but to check presence of tabs, which is better to do using launcher internal state. (It still fails if run as a part of all tests, presumably, because after Launcher's start, changes in user configuration are not recognized, so I've commented the failing part) Bug: 110103162 Test: Run all tests Change-Id: Ic30b8e8475d16cee3880332f12311a44ddfa26cb
* | Make AsyncTask static to prevent memory leak in WorkModeSwitch classRajeev Kumar2018-08-031-21/+45
| | | | | | | | | | | | Bug: 112163931 Test: Manual testing Change-Id: I17d0cb871103693d9e901758fba2abb2b73874fb
* | Fixing scrolling up in App Apps.Vadim Tryshev2018-08-021-0/+14
|/ | | | | | | | | Done by scrolling only when scroll position is not zero. This way, the scroll gesture can't close All Apps. Bug: 110103162 Test: TaplTests suite Change-Id: Icfe47d2bcc0210ae221df169d6c35cd1be10ff86
* [automerger] Adjust interpolators when swiping from overview to all apps am: ↵Android Build Merger (Role)2018-06-202-12/+18
|\ | | | | | | | | | | 17be4e71b2 Change-Id: I8a95de51e5b74cb8d3c80539c2db8ec067e1b660
| * Adjust interpolators when swiping from overview to all appsTony Wickham2018-06-202-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | - All apps content fades in quickly so that icons are opaque by the time they are on screen - Recents fades out late so that we don't see it as translucent while the transition is continuing (the translucent icon top of tranclucent task view looks bad, for instance) - Fix colored scrim that appears over recents - was using 0 to 1 instead of 255 Bug: 79867407 Change-Id: I4f50423157f7870c8d0708f586a72e3e5a7b6559
* | [automerger] Fix bug where QSB gets clipped when flinging All Apps open. am: ↵Android Build Merger (Role)2018-06-151-1/+2
|\| | | | | | | | | | | 3c71c6a564 Change-Id: Idb85d97d1253b253c180247f34f8c1631cea6bbf
| * Fix bug where QSB gets clipped when flinging All Apps open.Jon Miranda2018-06-151-1/+2
| | | | | | | | | | Bug: 77538324 Change-Id: I3e40346559fd3b7010d92d28e12efcf2d8581640
* | [automerger] Add hard clip for overscrolled children to not be visible above ↵Android Build Merger (Role)2018-06-151-0/+5
|\| | | | | | | | | | | QSB. am: b8ca1aa7ee Change-Id: I8e992910a4f6bfcb865da20d1f27a15eac02227d
| * Add hard clip for overscrolled children to not be visible above QSB.Jon Miranda2018-06-151-0/+5
| | | | | | | | | | | | | | We lose the RecyclerView fading edge, but this is the simplest/less risky solution. Change-Id: I7aa39a33678ed8a9b9cf9f17c9ad8c14707b0299
* | [automerger] Moving clear all button inside the recents view am: c82c6396e9Android Build Merger (Role)2018-06-111-0/+6
|\| | | | | | | Change-Id: I1109b5ae959cab870fbf81e60ca143534b22cc20
| * Moving clear all button inside the recents viewSunny Goyal2018-06-111-0/+6
| | | | | | | | | | | | | | Bug: 72222505 Bug: 109828536 Change-Id: I843b79db3e47abc2c41ed78f186b9c941941ddef
* | [automerger] Hides the keyboard when qsb loses focus in All apps am: 25b4dfee29Android Build Merger (Role)2018-06-051-1/+12
|\| | | | | | | Change-Id: I27a5d03b26345596918aca62a89e78255bef4c9c
| * Hides the keyboard when qsb loses focus in All appsMehdi Alizadeh2018-06-051-1/+12
| | | | | | | | | | Bug: 80190879 Change-Id: I88da6ef7a88b9dd4fce06e4f2b4592ee6ce39195
* | [automerger] Fix crash caused by removing update listener in update ↵Android Build Merger (Role)2018-05-251-2/+5
|\| | | | | | | | | | | listener. am: 012d39a0e9 am: cd1727c069 Change-Id: Icd7aab53e7bd7cb65132f10ff752165ff57e2b46
| * 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
* | [automerger] Removing discovery bouncer from accessibility am: 17839d5f62Android Build Merger (Role)2018-05-231-1/+1
|\| | | | | | | Change-Id: I1752b12f61994bbaf54e8e739d4deeb72ee202a5
| * Removing discovery bouncer from accessibilityVadim Tryshev2018-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | It was obstructing views under it. Solves both Talkback and Switch Access issues. Bug: 80192025 Test: Manual Change-Id: Ia7fad91e1fcb857afbf68f879550c670279cee68
* | [automerger] Start springs for All Apps when user flings up. am: 1d19e2f152Android Build Merger (Role)2018-05-231-0/+32
|\| | | | | | | Change-Id: Idaf7781f00a23fe6281f481f593c885dd7dbe441
| * Start springs for All Apps when user flings up.Jon Miranda2018-05-231-0/+32
| | | | | | | | | | Bug: 77695481 Change-Id: Ifecfbbb89601947118f620f522662aee8a61946e
| * Merge "Making caret visibility part of state definition" into ↵TreeHugger Robot2018-05-221-0/+4
| |\ | | | | | | | | | ub-launcher3-edmonton
| * \ Merge "Reset the vertical progress when the discovery bounce is closed" into ↵Sunny Goyal2018-05-221-36/+39
| |\ \ | | | | | | | | | | | | ub-launcher3-edmonton
* | \ \ [automerger] Making caret visibility part of state definition am: 56e1019e95Android Build Merger (Role)2018-05-221-0/+4
|\ \ \ \ | | |_|/ | |/| | | | | | Change-Id: I7fbb0c18f38a25ef858eebf2115bb55f3ce079ac
| * | | Making caret visibility part of state definitionSunny Goyal2018-05-221-0/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | > Hiding the caret in fast overview state > Hiding caret in task swipe down interaction Bug: 79700605 Change-Id: I984d535bc75802501e8aeb13c8f37387f331e5bc
* | | Merge changes from topic "am-74dc7dc8-e2ec-493b-90ca-01725fc50357" into ↵Sunny Goyal2018-05-221-36/+39
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ub-launcher3-master * changes: [automerger] Reset the vertical progress when the discovery bounce is closed am: 0bd0244a73 Reset the vertical progress when the discovery bounce is closed
| * \ \ [automerger] Reset the vertical progress when the discovery bounce is closed ↵Android Build Merger (Role)2018-05-221-36/+39
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | am: 0bd0244a73 Change-Id: I606cbe8507190d852a47c96a0fdf70dfcbd78ad5
| | * | 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
* | | | [automerger] Cleanup how we set back button alpha am: 4e21c1b552Android Build Merger (Role)2018-05-221-9/+0
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| Change-Id: Ia3a743ad864d092381a858a6c20d33e162f4f18f
| * | Cleanup how we set back button alphaTony Wickham2018-05-221-9/+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
* | [automerger] Go back to previous state when hitting back from discovery ↵Android Build Merger (Role)2018-05-211-0/+8
|\| | | | | | | | | | | bounce am: 52c1b66f46 Change-Id: Ib979caee1d57bb92aa4de96a9587c0307799a3d1
| * Go back to previous state when hitting back from discovery bounceTony Wickham2018-05-211-0/+8
| | | | | | | | | | | | | | | | | | | | | | 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
* | [automerger] Fade back button in and out tied with the overview/shelf (2/3) ↵Android Build Merger (Role)2018-05-181-0/+9
|\| | | | | | | | | | | am: 8b92fe336b Change-Id: I058d1b13c3195357c64d77139d7925043111d7ed
| * Fade back button in and out tied with the overview/shelf (2/3)Matthew Ng2018-05-181-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Back button changes opacity when moving the shelf during swipe up between home screen and overview. The alpha changes depending on the progress of the swipe up animation. When going from app to home and vice versa, the fade animation does not tie with the swipe up progress. The fade animation also masks the back button drawable when ime visibility changes. Change-Id: I51e42930640ba711e81880b385bb722d7ee8ad33 Fixes: 74581837 Fixes: 76900236 Test: swipe up from home screen to overview
| * Merge "Fixes a crash when turning off workprofile while the workprofile tab ↵TreeHugger Robot2018-05-171-1/+1
| |\ | | | | | | | | | is active." into ub-launcher3-edmonton
* | \ [automerger] Fixes a crash when turning off workprofile while the ↵Android Build Merger (Role)2018-05-171-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | workprofile tab is active. am: d460c084eb Change-Id: Id0fb9ee86ce31e498d454e6dc2732ea1a9b02c05
| * | Fixes a crash when turning off workprofile while the workprofile tab isMario Bertschler2018-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | active. Bug: 79735930 Change-Id: Iafaddf827e648c9d39df78393a96f90dfc86fcca