summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | 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
* | | | | | 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-129-106/+301
| | | | | | | | | | | | | | | | Change-Id: I95b46e3c3f1238307d3ef5a6c81a8e530ba0987a
* | | | Merge "Using DragObject for folder drop instead of maintaining states when ↵Sunny Goyal2016-09-124-52/+50
|\ \ \ \ | | | | | | | | | | | | | | | drag starts from inside a folder" into ub-launcher3-calgary-polish
| * | | | Using DragObject for folder drop instead of maintaining states whenSunny Goyal2016-09-094-52/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | drag starts from inside a folder Change-Id: I073b59c194d0bd483d579bbcb638b116b09590a0
* | | | | Merge "Fixing double system state call in iconCache" into ↵Sunny Goyal2016-09-121-2/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | Fixing double system state call in iconCacheSunny Goyal2016-09-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6d43c8054c18e199f4343662f92631f0808c773e
* | | | | | Merge "Adding support for searching word segments when camelcase is used in ↵Sunny Goyal2016-09-123-21/+141
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | the title" into ub-launcher3-calgary-polish
| * | | | | Adding support for searching word segments when camelcase is used in the titleSunny Goyal2016-09-093-21/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 30880421 Change-Id: If642d24408fe0e80b5a0dd9a2a57d2f3c2d92ea9
* | | | | | Merge "Preventing a shortcut which requires permissions from being added to ↵Sunny Goyal2016-09-103-7/+77
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | homescreen" into ub-launcher3-calgary-polish
| * | | | | | Preventing a shortcut which requires permissions from being added toSunny Goyal2016-09-083-7/+77
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | homescreen A shortcut can be added by any app as INSTALL_SHORTCUT is a normal level permission. But the intent is actually launched by the launcher app which can have other permission as well. > When adding a shortcut from the broadcast, verify that the intent does not require any permission > When adding a shortcut using the two-step drop process, verify that the source app also has the permission to create such a shortcut Bug: 30778130 Change-Id: I710a490d69019dc25709db5a97020c20d9325007
* | | | | | Merge "Show IME when search query != null after rotation" into ↵Hyunyoung Song2016-09-094-6/+37
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | Show IME when search query != null after rotationHyunyoung Song2016-09-094-6/+37
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia35fba140a5addc21bf347cd63b72dc4e357421e
* | | | | | Merge "Fix deferred shortcut container removal." into ↵TreeHugger Robot2016-09-091-3/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | | Fix deferred shortcut container removal.Tony Wickham2016-09-081-3/+1
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Previously, the drag listener listener was removed from the container as soon as it started animating closed, which got rid of its opportunity to complete the deferred removal. - The deferred removal now calls close(), which does further cleanup including updating the app icon's text visibility. Bug: 31248681 Change-Id: I18e545e7e19e50b7d47e23a5beb8f254ba1a4ccf
* | | | | | Merge "Don't show app info for ITEM_TYPE_SHORTCUT." into ↵TreeHugger Robot2016-09-091-1/+2
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | Don't show app info for ITEM_TYPE_SHORTCUT.Tony Wickham2016-09-081-1/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | Bug: 30440566 Change-Id: I77b101331ea249c633be9f7df1edebefa7b9e0a8
* | | | | Merge "Launcher restore state fixes:" into ub-launcher3-calgary-polishSunny Goyal2016-09-083-282/+362
|\ \ \ \ \
| * | | | | Launcher restore state fixes:Sunny Goyal2016-09-063-282/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Creating PendingRequestArgs to store generic request info across activity instances > Storing the CALL_PHONE request in PendingRequestArgs > Handling onActivityResult only after the workspace has loaded. onActivityResult sometimes modifies launcher db when removing empty screens, and any add action is also deferred until bindComplete. This simplifies this logic. > Always binding the restored page irrespective of pending result. Before starting a request activity (bind widget permission, or widget config activity or shortcut picker), workspace commits the pending screen id to the DB. Hence the restore page is valid when restore is called (onResume loads with currentPage instead of restored page) Bug: 28573143 Change-Id: I34be603cbeb2145f5caf0d18e016f50029e07df8
* | | | | | Merge "Updating the assets for the all-apps search background." into ↵Sunny Goyal2016-09-0830-3/+137
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | Updating the assets for the all-apps search background.Sunny Goyal2016-09-0830-3/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 30309105 Change-Id: I4dd4a97ff49fd3c6dd386f100ca35dfb629044df
* | | | | | Merge "Add outline to shortcuts when focused." into ub-launcher3-calgary-polishTony Wickham2016-09-083-2/+30
|\ \ \ \ \ \
| * | | | | | Add outline to shortcuts when focused.Tony Wickham2016-09-073-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 30563273 Change-Id: Ia54c112dcf91c225588b7388001eb93ee5c03171
* | | | | | | Change all apps caret target bounding box b/30400751Hyunyoung Song2016-09-070-0/+0
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | am: da1c17c492 Change-Id: Ic3b9cc87ec75e13162588bab8cefe8f870af13f8
| * | | | | | Change all apps caret target bounding boxHyunyoung Song2016-09-078-52/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | | | | | Merge "Preventing concurrentmodification exception when dragging a icon with ↵Sunny Goyal2016-09-071-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | shortcuts from inside a folder" into ub-launcher3-calgary-polish
| * | | | | | | Preventing concurrentmodification exception when dragging a iconSunny Goyal2016-09-071-1/+1
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with shortcuts from inside a folder When dragging the icon, DeepShortcutContainer removes itself as a dragListener causing the exception Change-Id: Ifb2b4a3045caa54aa0b6a9b525055ffdcfaa04a6
* | | | | | | Merge "Change all apps caret target bounding box b/30400751" into ↵Hyunyoung Song2016-09-078-52/+61
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | | Change all apps caret target bounding boxHyunyoung Song2016-09-078-52/+61
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Support user event logging for drag and drop b/30039490Hyunyoung Song2016-09-060-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | am: 551e5abfe1 -s ours Change-Id: Ie1edd18af660437dcbd510885f9101b93592b53f
| * | | | | 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-020-0/+0
|\| | | | | | |_|/ / / |/| | | | | | | | | | | | | | | | | | | am: 6ff1ef17a2 -s ours Change-Id: Ibfc257848b9714a592c016f7f72ead30eabbdc65
| * | | | 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-020-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | animation are both 0" into ub-launcher3-calgary am: 171fbdbc10 Change-Id: Ia985ac4e86ff5aec8bc20f2decb5d13331dbd386
| * | | | 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 animation ↵Sunny Goyal2016-09-020-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are both 0 am: 62e7518359 Change-Id: I3ac4f5be0726e2389e31a8fa3b18c5ca7d955c8c
| * | | | | 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-020-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | timeout was set that was smaller than the previously set timeout" into ub-launcher3-calgary am: dbbb1fee90 Change-Id: If5d392fb037a57669407c16d428ef12cdd52377a
| * | | | | Merge "Bug fix in Alarm where it was not getting called correctly if the new ↵Sunny Goyal2016-09-022-4/+20
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 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 the new ↵Sunny Goyal2016-09-020-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | timeout was set that was smaller than the previously set timeout am: 6f2bb1ada5 Change-Id: I6f6603133cc0bb31fd1d7f354eb0fdefef2f9dea
| * | | | | | Bug fix in Alarm where it was not getting called correctly if theSunny Goyal2016-09-022-4/+20
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-020-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | am: d9033f3ae1 Change-Id: Ib39a4246e3d054d3bb9e88bbeede44471c488e22
| * | | | | Merge "Fixing broken accessibility drag" into ub-launcher3-calgarySunny Goyal2016-09-022-7/+8
| |\ \ \ \ \
* | \ \ \ \ \ Fixing broken accessibility dragSunny Goyal2016-09-020-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | am: 9be9936653 -s ours Change-Id: I784cd756542cb5712a7e94bbc2166ddaf35236aa
| * | | | | | 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-020-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is was cancelled" into ub-launcher3-calgary am: 7bc4b5bcd4 Change-Id: Ic1a2af3400e49168f37fc89f3cf84bdd60300fd7