summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Removing reflection from AlphabeticIndexCompatSunny Goyal2016-09-271-45/+17
| | | | | Bug: 31596662 Change-Id: I23da4a9747daa3cee6cec961fc590d18bf05791a
* 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-221-10/+22
|\ \
| * | Fade deep shorcuts in and out.Tony Wickham2016-09-221-10/+22
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | 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 "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 "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-191-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | Add context to widget dimensions for accessibility.Jon Miranda2016-09-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19085860 Change-Id: Ia28c2c14b93945d796226eea3de040e971fd42f0
* | | | | Uses a TransformingTouchDelegate to extend touch target for widgets list.Jon Miranda2016-09-191-16/+17
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | am: 0ef81fdc22 Change-Id: I33962020ff1cf75e46254c24687a53fd5b2088fa
| * | | | Uses a TransformingTouchDelegate to extend touch target for widgets list.Jon Miranda2016-09-191-16/+17
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 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-193-17/+25
|\ \ \ \ | |_|/ / |/| | |
| * | | Updating the paddings in folder cellSunny Goyal2016-09-163-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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-162-11/+27
|\ \ \ \ | |/ / / |/| | | | | | | tapping b/31458165" into ub-launcher3-calgary-polish
| * | | Fixing issue where overview->normal workspace mode cannot be done by tappingHyunyoung Song2016-09-162-11/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "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
* | | | | | Use ContextCompat.getColor to support API levels below 23.Jon Miranda2016-09-152-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found while debugging on Lollipop. Change-Id: Ibe97fd30c4ee8cd0c1735a41802b859345f9e931
* | | | | | Adding support for extending the touch target in the touchDelegateSunny Goyal2016-09-151-3/+26
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | am: 1cc48e1d0c Change-Id: I29ce4b52a2b687f73b2db4ddb633210e905aad69
| * | | | | Adding support for extending the touch target in the touchDelegateSunny Goyal2016-09-151-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 31458312 Change-Id: Ic819bdede2776ff63ec17053cc1326415edc1ca0
| * | | | | Change all apps caret target bounding boxHyunyoung Song2016-09-074-41/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/30400751 1) This also fixes the issue of apps drawer sliding up when page is swiped horizontally immediately above the hotseat area. 2) Disclaimer: this should be cp'ed to calgary. Hence, I tried to keep the diff small. Ideally, CaretDrawable animation handling should move to AllAppsHandleImageView via refactoring in follow up CL. Change-Id: I4d808ee2eeca53b40c0b4e4e0e364fef056e26c3 (cherry picked from commit 016eaeea99e163f0b5385cf660297e6c21ff21e5)
| * | | | | Support user event logging for drag and dropHyunyoung Song2016-09-0411-58/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/30039490 Supported in this CL: - DnD: drag from container [WORKSPACE|HOTSEAT|FOLDER|ALLAPPS|WIDGETS|DEEPSHORTCUTS] drag to container [HOTSEAT,WORKSPACE,FOLDER,DROPTARGETS] - Source and target can be [FOLDER_ICON, ICON, DEEPSHORTCUT, WIDGET] - $ adb shell setprop log.tag.UserEvent DEBUG will turn on debugging Change-Id: I0b8b879b80e6dce85bbde6e7794f9e0677832603 (cherry picked from commit 59a238095e82fd02355f4cb53abe01655a50b051)
| * | | | | Removing some reflection codeSunny Goyal2016-09-021-23/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8a0a707d69999e5f9911e7d8df7d4a659b3dfb8f (cherry picked from commit e2ec8a3cd52f2322016fcadbae8963a446e2b0b3)
| * | | | | Merge "Blocking alpha animation if the initial and final state for the ↵Sunny Goyal2016-09-021-3/+46
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | animation are both 0" into ub-launcher3-calgary
| | * | | | | Blocking alpha animation if the initial and final state for the animationSunny Goyal2016-09-021-3/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are both 0 Bug: 30739854 Change-Id: I4f7c579dc3f64a4fed60d7b2f8ecd5f359e165ec (cherry picked from commit bf206123a8cfad9f1341b60ff9a138e64b30b6e3)
| * | | | | | Merge "Bug fix in Alarm where it was not getting called correctly if the new ↵Sunny Goyal2016-09-021-4/+11
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | timeout was set that was smaller than the previously set timeout" into ub-launcher3-calgary
| | * | | | | | Bug fix in Alarm where it was not getting called correctly if theSunny Goyal2016-09-021-4/+11
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new timeout was set that was smaller than the previously set timeout > Using uptimeMillis in Alarm to avoid errors due to system time changes > Adding an extra check in Wait in case Thread.sleep eats up all the timeout Change-Id: Id1fac5e8fdb81a0c3c7a6a5e50586b2a2f180d06 (cherry picked from commit a2125e1d102034e1d638b5d1e973b5b77cfe1efd)
| * | | | | | Merge "Fixing broken accessibility drag" into ub-launcher3-calgarySunny Goyal2016-09-022-7/+8
| |\ \ \ \ \ \
| | * | | | | | Fixing broken accessibility dragSunny Goyal2016-09-022-7/+8
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Allow touch events on hotseat while in accessible drag as drag now happens in spring loaded state. > Allow drop target buttons to ignore thershold check when in accessibility drag Bug: 30900444 Change-Id: I88274367983fc027b2ddde3a719ca943f4f48587 (cherry picked from commit 4583d09c0560a83bfd0320299482cc41ac460b0c)
| * | | | | | Merge "Fixing overlay scroll state not getting reset properly when scrolling ↵Sunny Goyal2016-09-021-0/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | is was cancelled" into ub-launcher3-calgary
| | * | | | | | Fixing overlay scroll state not getting reset properly whenSunny Goyal2016-09-021-0/+1
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scrolling is was cancelled Bug: 30834333 Change-Id: I3605cd2dd939057905d297b5a25ce8669d578125 (cherry picked from commit 4ff424abf91a24b2ef021e12ab4bed434f13cd40)
| * / / / / / Landscape container padding update.Hyunyoung Song2016-09-021-3/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/30021487 Change-Id: I179825eba09f3c4c57175e8f6da49708dae1931c (cherry picked from commit 9d96fd579039d07a6a36887ae699907631014c8d)
| * | | | | Use promisedIntent instead of intent when deep shortcuts are restored.Tony Wickham2016-08-305-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures that the intent has the package corresponding to the shortcut publisher, rather than a market intent. It also ensures that the intent has the EXTRA_SHORTCUT_ID attached. Bug: 31123204 Change-Id: I05d56396b629880322e915f52bfc0605b921b0b1 (cherry picked from commit fc02c1b446ee54561ac7351fb6ff0f8294785f0e)
* | | | | | Fix bug where page indicator animation repeats itself.Jon Miranda2016-09-151-5/+0
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | Bug: 31501865 Change-Id: I0df77859b82b60fd0e50023e0f5690961850cf6c
* | | | | Pull down should start search.Hyunyoung Song2016-09-152-3/+102
| |/ / / |/| | | | | | | | | | | | | | | | | | | b/31458165 Change-Id: If4821e3d89a05a00551af6a5209ebc1693a1389b
* | | | Simplifying the startSearch call in launcher callbacksSunny Goyal2016-09-134-41/+15
| | | | | | | | | | | | | | | | Change-Id: I722e110903cced237f05667c4d711468d7cd3daa
* | | | Adding support for multiwindow drag and dropSunny Goyal2016-09-128-105/+300
| | | | | | | | | | | | | | | | Change-Id: I95b46e3c3f1238307d3ef5a6c81a8e530ba0987a