summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "Fixing the newIntent logic to check the state before it has been ↵Sunny Goyal2016-09-281-5/+8
|\ \ \ \ | |/ / / |/| | | | | | | reset." into ub-launcher3-calgary-polish
| * | | Fixing the newIntent logic to check the state before it has been reset.Sunny Goyal2016-09-281-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When home button is pressed, we reset all active state (close all-apps, folder, shortcuts menu). But we do not go to the default screen if the active state was non-zero (any of the containers were open). Change-Id: Ia9a06729d65767124471c5b793323a55d822210a
* | | | Enable light status bar when top of wallpaper is light.Tony Wickham2016-09-285-27/+52
| |/ / |/| | | | | | | | | | | | | | | | | (Light status bar = dark icons) Bug: 29452834 Change-Id: I9f61a05d80158827761c8b62ab40fc50971e27a6
* | | Add user event logging for action on search boxHyunyoung Song2016-09-272-0/+13
|/ / | | | | | | | | | | b/31772967 Change-Id: Ide652ddfad931e392b21f5a2bbdf9f07729d0383
* | Merge "Removing reflection from AlphabeticIndexCompat" into ↵Sunny Goyal2016-09-271-45/+17
|\ \ | | | | | | | | | ub-launcher3-calgary-polish
| * | Removing reflection from AlphabeticIndexCompatSunny Goyal2016-09-271-45/+17
| | | | | | | | | | | | | | | Bug: 31596662 Change-Id: I23da4a9747daa3cee6cec961fc590d18bf05791a
* | | Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polishTreeHugger Robot2016-09-2780-160/+80
|\ \ \
| * | | Import translations. DO NOT MERGEBill Yi2016-09-2680-160/+80
| | |/ | |/| | | | | | | | | | Change-Id: I52c77c4ced9b7ebb7d00e1256ec9ed82de13a2ba Auto-generated-cl: translation import
* | | Don't attempt to add item back to folder when deferring drag.Tony2016-09-231-1/+1
|/ / | | | | | | | | | | | | | | | | Since the item hasn't yet been removed until the deferred drag starts, adding it again will throw an exception (the view already has a parent). Bug: 30769920 Change-Id: Icb95aaa64e6e3c5dc105bbf3e54460b529d02033
* | Refactor shortcuts drag and drop.Tony Wickham2016-09-2311-411/+163
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | - Instead of creating our own drag view within the container, and handling logic to determine when to start a real drag, we start the drag immediately and just defer onDragStart(). - To determine when the deferred drag should start, we add a DeferDragCondition to DragOptions. The default DeferDragCondition never defers a drag, but is overridden for apps with shortcuts to defer until the icon is dragged a given distance. - Because the drag is handled in DragController, including checking when to start the deferred drag, DeepShortcutsContainer no longer needs to handle touch events and ShortcutsContainerListener has been removed. This change has several immediate benefits: - The code is much cleaner, because it allows touch handling to be done by the DragController through the normal drag flow, without recreating logic in ShortcutsContainerListener/DeepShortcutContainer. - The janky second haptic feedback has been removed (now it vibrates when you long press, like everywhere else, but not again when the shortcuts close after dragging a distance). - Drops are animated, instead of just popping the icon back into place. Bug: 30769920 Bug: 30465972 Bug: 31533078 Change-Id: I679b412b72fbf6c3895d76963311eb5010c8e8db
* Removing center vertical from folder gravity.Sunny Goyal2016-09-231-1/+1
| | | | | | | | Using center vertical alogn with a fixed height, overrides the custom drawable padding and divides the available space proportionally between padding and drawable padding Change-Id: I4523543ab3007ef40eac69d878d2afbca13b483a
* Merge "Stop jumping to workspace from hotseat on quick drop." into ↵Tony Wickham2016-09-231-41/+42
|\ | | | | | | ub-launcher3-calgary-polish
| * Stop jumping to workspace from hotseat on quick drop.Tony Wickham2016-09-201-41/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression occurred in ag/1315317. In that change, Launcher#enterSpringLoadedDragMode() was moved from the end of startDrag() to the end of onDragStart(). This changed the sequence of events from: beginDragShared() --> DragController#startDrag() --> onDragStart --> dropTarget.onDragOver() --> Launcher#enterSpringLoadedDragMode() to: beginDragShared() --> DragController#startDrag() --> onDragStart --> Launcher#enterSpringLoadedDragMode() --> onDragOver() Basically, the key difference is that onDragOver() is called after enterSpringLoadedDragMode(). This matters, because onDragOver() returns early if Workspace#transitionStateShouldAllowDrop() returns false, which it does during the spring loaded transition. This meant that onDragOver() didn't update the layout to be Hotseat, and thus the current workspace page was used as default, since that is what was set in onDragEnter(). To fix it, I've copied the logic in onDragOver() that checks to see if the drag is over the hotseat first to a new method that onDragEnter() now calls as well. Bug: 31245181 Change-Id: Ie758921b25fc96516a09c32bdc9706da941522df
* | Merge "Remove shortcuts that no longer exist or are no longer pinned." into ↵Tony Wickham2016-09-231-21/+36
|\ \ | | | | | | | | | ub-launcher3-calgary-polish
| * | Remove shortcuts that no longer exist or are no longer pinned.Tony Wickham2016-09-221-21/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (This change is in the onShortcutsChanged() callback.) - Remove all workspace icons that correspond to shortcuts that are now unpinned - Remove all workspace icons that have the same package and user handle as passed in onShortcutsChanged(), if they aren't included in the list of shortcuts that is also passed. These cases will happen for static and dynamic shortcuts, respectively, when an app's data is cleared. Bug: 30316501 Change-Id: I50db6567cb318d087012ab5d8208e765b81c6f99
* | | Move shortcut fade interpolator outside of loop.Tony Wickham2016-09-221-2/+5
|/ / | | | | | | Change-Id: I64806897afcd1062dfbaefd6dca07f024f7346af
* | Merge "Fade deep shorcuts in and out." into ub-launcher3-calgary-polishTony Wickham2016-09-222-10/+23
|\ \
| * | Fade deep shorcuts in and out.Tony Wickham2016-09-222-10/+23
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Animate open: - Stagger-fade shortcuts as they open - Become fully opaque before fully open, at which point the arrow animates in (scale). This way there is no overlap of a translucent shortcut over an opaque arrow. Animate close: - Stagger-fade shortcuts as they close - Delay fade until arrow animation is finished, to ensure there is no overlapping of translucent and opaque. This is much less visually jarring when quickly dragging and dropping apps with shortcuts. Bug: 31533078 Change-Id: I8673ee64e92414c718233ea89b70362187e53696
* | Merge "Fixing two critical bugs in all apps transition controller" into ↵Hyunyoung Song2016-09-220-0/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | ub-launcher3-calgary am: b7d16b7e5c Change-Id: I95a6bfc2247eb98d5c3758589989bcaf2657e072
| * \ Merge "Fixing two critical bugs in all apps transition controller" into ↵Hyunyoung Song2016-09-222-5/+6
| |\ \ | | | | | | | | | | | | ub-launcher3-calgary
* | \ \ Fixing two critical bugs in all apps transition controllerHyunyoung Song2016-09-222-5/+6
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | am: 0a9c092c89 Change-Id: I115b7bc6d165dc9d5e73e1878b96d194bfc62da7
| * | | Fixing two critical bugs in all apps transition controllerHyunyoung Song2016-09-202-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug#1: if long press from page indicator region, you can pull up all apps even though the workspace is in overview state. bug#2: all apps should not intercept touch not only in overview mode but also in any modal state. Change-Id: I91c0a181f037f6c2465a983825da3a2da7e2920f
* | | | Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polishTreeHugger Robot2016-09-2280-1/+161
|\ \ \ \
| * | | | Import translations. DO NOT MERGEBill Yi2016-09-2280-1/+161
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Idd135c03ff2a6ff9d08ca6c4e9e5ec6ae1520efa Auto-generated-cl: translation import
* | | | | Merge "Make IME less sticky when launching a new app b/31382106" into ↵Hyunyoung Song2016-09-221-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | ub-launcher3-calgary-polish
| * | | | Make IME less sticky when launching a new appHyunyoung Song2016-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/31382106 Change-Id: Iee60a2f7e6a70858623e80d4b8b68154d1941210
* | | | | Merge "Created include filters for jacoco" into ub-launcher3-calgaryShankhoneer Chakrovarty2016-09-210-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | am: d6925a9f70 Change-Id: I163101ef0a64eb38e47597db49b644290d5bb3c3
| * | | | Merge "Created include filters for jacoco" into ub-launcher3-calgaryShankhoneer Chakrovarty2016-09-211-0/+2
| |\ \ \ \
* | \ \ \ \ Created include filters for jacocoShankhoneer Chakrovarty2016-09-211-0/+2
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | am: 687c345f9e Change-Id: Iba826f45c2a0c0d5952090d2f454f18c7534403d
| * | | | | Created include filters for jacocoShankhoneer Chakrovarty2016-09-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Go to for report: https://cnsviewer.corp.google.com/ear/cns/on-d/home/android-test/kharon/shankh/world/test_logs/ub-launcher3-calgary/0/CodeCoverage/inv_5368912399306607305/coverage_8663315225010526892.ear/index.html go to https://x20web.corp.google.com/users/sh/shankh/coverage/index.html for source code level code coverage statistics Bug: 29882934 Change-Id: I397537f45ac4611e8a97d4656d0e7d2b694688fc
* | | | | | Merge "Fix ExtendedEditText not handling touch correctly b/31555902" into ↵Hyunyoung Song2016-09-201-2/+4
|\ \ \ \ \ \ | | |_|/ / / | |/| | | / | |_|_|_|/ |/| | | | ub-launcher3-calgary-polish
| * | | | Fix ExtendedEditText not handling touch correctlyHyunyoung Song2016-09-201-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/31555902 Change-Id: Ife23cf6af29ac47315aee4abc0ffe2dbcde352f9
* | | | | Merge "When shortcuts close, only set text visible if not in hotseat." into ↵Tony Wickham2016-09-201-1/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | When shortcuts close, only set text visible if not in hotseat.Tony Wickham2016-08-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 31195155 Change-Id: I3ee6f45f1dd421fcad6ed22b444efd2922b0a32b (cherry picked from commit e53abfa993f94dea119d99221ea5bbdba87303cb)
* | | | | | Merge "Only reset search field when back key is hit if there is no query." ↵Jonathan Miranda2016-09-191-3/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | into ub-launcher3-calgary-polish
| * | | | | | Only reset search field when back key is hit if there is no query.Jon Miranda2016-09-191-3/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | Bug: 31432372 Change-Id: I93c7ee661597f934402f464c4f0182a8fad38d39
* | | | | | Merge "Add context to widget dimensions for accessibility." into ↵Jonathan Miranda2016-09-192-0/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | | Add context to widget dimensions for accessibility.Jon Miranda2016-09-192-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19085860 Change-Id: Ia28c2c14b93945d796226eea3de040e971fd42f0
* | | | | | | Uses a TransformingTouchDelegate to extend touch target for widgets list.Jon Miranda2016-09-192-18/+19
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | / / | | |_|_|/ / | |/| | | | | | | | | | am: 0ef81fdc22 Change-Id: I33962020ff1cf75e46254c24687a53fd5b2088fa
| * | | | | Uses a TransformingTouchDelegate to extend touch target for widgets list.Jon Miranda2016-09-192-18/+19
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The widget row contents were being clipped, which made it seem like the horizontal scroll was broken. Bug: 30023607 Change-Id: I00b0c334bbb0faf166d4cd168392cc494ed732e0
* | | | | Merge "Updating the paddings in folder cell" into ub-launcher3-calgary-polishSunny Goyal2016-09-198-32/+52
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Updating the paddings in folder cellSunny Goyal2016-09-168-32/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Updating overall padding for the cell and adding drawable padding > Ensuring that the folder cell is always rendered properly based on available vertical space Bug: 30605958 Change-Id: I8ceb9fea5a25052b0d7461f52edca0e6a33fa085
* | | | | Merge "Fixing issue where overview->normal workspace mode cannot be done by ↵Hyunyoung Song2016-09-163-12/+30
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | tapping b/31458165" into ub-launcher3-calgary-polish
| * | | | Fixing issue where overview->normal workspace mode cannot be done by tappingHyunyoung Song2016-09-163-12/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/31458165 Because workspaceInModalState makes the VerticalFlingDetector to consume the touch input, click is not detected in Overview mode. Placed pulldown to search behind a feature flag. Change-Id: I31ab69f57944a18e6b264c4f2ed2d0c1175cd940
* | | | | Merge "Don't close all apps when touching deep shortcuts container." into ↵Tony Wickham2016-09-161-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | Don't close all apps when touching deep shortcuts container.Tony Wickham2016-09-081-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 31373894 Change-Id: Ica1d0c2318e8f5d3e45196174c9b495a1c2515cd
* | | | | | Merge "Fixed NumberFormatException when trying to display vector drawable." ↵Jonathan Miranda2016-09-161-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | into ub-launcher3-calgary-polish
| * | | | | | Fixed NumberFormatException when trying to display vector drawable.Jon Miranda2016-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found while debugging on Lollipop. Change-Id: Idb098d3a8f7f1fa608fd8a32225cdefa41ba47a7
* | | | | | | Merge "Set contentDescription on caret" into ub-launcher3-calgary-polishHyunyoung Song2016-09-151-0/+5
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Set contentDescription on caretHyunyoung Song2016-09-151-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1f66b96b3f94649d85857b0107144bb4070ef448