summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3
Commit message (Collapse)AuthorAgeFilesLines
* Launcher3: Can't search out local app by Chinesestaging/cm-14.1-rebasecm-14.1-rebaseyingrenw2017-07-151-0/+3
| | | | | | | | | | | | | | Description: chinest content type is Character.OTHER_LETTER. When key matches,it check the content type. And if type is Character.OTHER_LETTER, it doesn't support search and break. When the content type is Character.OTHER_LETTER, make it work normally. Change-Id: I56f8963a9dca24854dab0777be1ea0b54a126fe0 CRs-Fixed: 1105245
* Launcher3: Stability NullPointer issueyingrenw2017-07-151-1/+1
| | | | | | | | | | | | Description: Compute a child location by recursion, it may not have parent view. When the child doesn't have parent, should break the recursive. Change-Id: I8707712b85c10bf1c1d3860c5b8323aefd455cf2 CRs-Fixed: 1104931
* Launcher3: App search interface overlap with the desktop iconguangbing2017-07-151-0/+1
| | | | | | | App seach interface overlap with the desktop icon. Change-Id: Ifc20d8386fe267ecfdc7152b75894b1666facc45 CRs-Fixed: 1002855
* Fix requestFocus()' on a null object referencehuiwan2017-07-151-1/+2
| | | | | | | | Runtime exception when resume the Launcher, the requestFocus called on null pointer reference. Change-Id: I9cad959bb6ae1228ddf576720316a30e22cc8222 CRs-fixed: 1052687
* Prevent crashThecrazyskull2017-07-151-1/+4
| | | | | | We can only set SystemUI visibility from the UI thread Change-Id: I1ecf1fcddef037da5ecd2e0f53989da82bdf7ef0
* Use full res app icon on icon cache initcretin452017-07-151-1/+2
| | | | Change-Id: I77400641d561de9b012b4fadd088fb62c9dbdcdd
* Let the QSB widget take the needed spaceJoey Rizzoli2017-07-151-1/+1
| | | | | Change-Id: I1ab3ec4fc1a3fcc850f657a8c5e89bc54c784208 Signed-off-by: Joey Rizzoli <joey@lineageos.org>
* Disable QSB on first screen by defaultArne Coucheron2017-07-151-2/+7
| | | | Change-Id: I24f1682cbad10610f04f7b8ada238b43addd23da
* Don't request button focus when pressing menu keyArne Coucheron2017-07-151-1/+1
| | | | | | | | | | 1. Press hardware menu key 2. Press hardware back key or home key 3. Observe transparent block I consider this an annoying glitch, and this patch fixes it. Change-Id: I2b0be3999cfbe6f35c485984efff564b1478cdbc
* Enable custom wallpaper pickerArne Coucheron2017-07-152-29/+0
| | | | Change-Id: Iad5638c43f38d240d87c5f5957ec7112cf1c14d7
* Fixing text search where a word starting with lower case wasSunny Goyal2016-10-191-1/+1
| | | | | | | not being matched Bug: 32249413 Change-Id: I0f5e24052759a734fe0df3bd3d0bf2e7ef7f2713
* Missing call in write to parcelSunny Goyal2016-10-181-0/+1
| | | | | Bug: 17924700 Change-Id: Ie48757fc53674979b8e92f96b5281f965e2ef3b4
* Removing the logic around closeSystemDialog on ACTION_CLOSE_SYSTEM_DIALOGSSunny Goyal2016-10-181-5/+2
| | | | | | | | | Launcher does not use any panels which need closing & system sends an onActivityResult(RESULT_CANCELLED), we do not need special handling for waitingForResult Bug: 32127718 Change-Id: Iff5161444bc909442f6acbe52cb3fb5a2d9ae4da
* Merge "Add feature flag to disable light status bar" into ↵Tony Wickham2016-10-133-10/+14
|\ | | | | | | ub-launcher3-calgary-polish
| * Add feature flag to disable light status barTony Wickham2016-10-123-10/+14
| | | | | | | | | | Bug: 32085545 Change-Id: I4860145b00893c20f7e37817e9659ccd90409966
* | Merge "Use Launcher.getLauncher(Context) instead of type-casting." into ↵Tony Wickham2016-10-1219-25/+29
|\ \ | |/ |/| | | ub-launcher3-calgary-polish
| * Use Launcher.getLauncher(Context) instead of type-casting.Tony2016-10-0719-25/+29
| | | | | | | | | | Bug: 32010039 Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43
* | Announcing the final action when the drag-drop completesSunny Goyal2016-10-113-0/+15
| | | | | | | | | | Bug:31926812 Change-Id: Id0566cc7dc15732981320807a02fb9cae8a885e6
* | Merge "Updating the folder cell dimensions to be closer to a square" into ↵Sunny Goyal2016-10-101-1/+2
|\ \ | | | | | | | | | ub-launcher3-calgary-polish
| * | Updating the folder cell dimensions to be closer to a squareSunny Goyal2016-10-071-1/+2
| | | | | | | | | | | | | | | Bug: 31813976 Change-Id: I05d7520daee28a310ff122deaf265951e454d21e
* | | Merge "Set correct accessibility delegate for the overview mode. b/32004538" ↵Hyunyoung Song2016-10-071-0/+5
|\ \ \ | |/ / |/| | | | | into ub-launcher3-calgary-polish
| * | Set correct accessibility delegate for the overview mode.Hyunyoung Song2016-10-071-0/+5
| | | | | | | | | | | | | | | | | | b/32004538 Change-Id: Ie68fe418b777784d747b004600ef1c98e96a4791
* | | Merge "Using add/replace instead of update when updating an entry." into ↵Sunny Goyal2016-10-072-23/+9
|\ \ \ | |/ / |/| | | | | ub-launcher3-calgary-polish
| * | Using add/replace instead of update when updating an entry.Sunny Goyal2016-10-072-23/+9
| | | | | | | | | | | | | | | | | | | | | | | | Update operation was not including version and updateTime columns leading to a update operation getting called wheneven launcher loads. Bug: 32004297 Change-Id: I5f1793633ce3bb72d5641a82502b3ba8b9cdff7d
* | | Add user event logging for tap on searchHyunyoung Song2016-10-032-15/+7
|/ / | | | | | | | | | | b/31772967 Change-Id: I71ececb8195d46405623a8ae2a99d001088d9181
* | Merge "Consume ACTION_UP when fling is detected on top of icon" into ↵Hyunyoung Song2016-09-301-0/+2
|\ \ | | | | | | | | | ub-launcher3-calgary-polish
| * | Consume ACTION_UP when fling is detected on top of iconHyunyoung Song2016-09-301-0/+2
| | | | | | | | | | | | | | | | | | | | | Bug: Adam found out that when you swipe down fast on an icon, you can launch search AND launch an app. Only one should trigger and not both. Change-Id: I66b9df26d8bb355f011d057dafd45f90f59b82ae
* | | Merge "Agressively change the color of the the all apps background during ↵Hyunyoung Song2016-09-301-3/+9
|\ \ \ | | | | | | | | | | | | pull up b/30502942" into ub-launcher3-calgary-polish
| * | | Agressively change the color of the the all apps background during pull upHyunyoung Song2016-09-301-3/+9
| |/ / | | | | | | | | | | | | | | | b/30502942 Change-Id: Iea072d95ed4f62907b164b2c4ee75ad737eccb7a
* | | Merge "Some minor fixes for extracted status bar." into ↵Tony Wickham2016-09-292-21/+21
|\ \ \ | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | Some minor fixes for extracted status bar.Tony Wickham2016-09-282-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - setLightStatusBar() is now updateStatusBar(), with a forceLight parameter. We set the status bar to be light if forceLight or shouldBeLightStatusBar() (based on wallpaper). - Force status bar to be light if all apps is open. - Default to dark status bar, not light (light == dark icons) Bug: 29452834 Change-Id: I7b102ceff2f1ef2ab8defd4a46c698df4feaf2a5
* | | | 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-284-27/+48
| |/ / |/| | | | | | | | | | | | | | | | | (Light status bar = dark icons) Bug: 29452834 Change-Id: I9f61a05d80158827761c8b62ab40fc50971e27a6
* | | Add user event logging for action on search boxHyunyoung Song2016-09-271-0/+12
|/ / | | | | | | | | | | 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
* | | 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-2310-410/+162
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* 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