summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Enable swipe down to open shade for non userdebug populationlineage-17.0Hyunyoung Song2019-11-281-1/+1
| | | | | Bug: 131356741 Change-Id: I74c682d39c70f785777b5a0804b31a0cc2369759
* Update default workspaceJoey2019-11-253-86/+75
| | | | | Change-Id: I852edb6dda3e2030f97eb244ee35c1a647366901 Signed-off-by: Joey <joey@lineageos.org>
* Don't discard custom grid on config changesLuK13372019-11-231-3/+1
| | | | Change-Id: Ibfa2eafec50c9fe79d1e9594ddc68fb5266ecb18
* Specify the component name to start the pickerLuca Stefani2019-11-221-0/+3
| | | | Change-Id: I13d4d088357bee438ac78b632f08cffbac34ad3f
* Specify the wallpaper picker packageLuca Stefani2019-11-221-1/+1
| | | | Change-Id: Ib94bac4546a328462ec83a7d2e1ffca56ef7343a
* Properly expose GridOptionsProviderLuca Stefani2019-11-221-4/+4
| | | | Change-Id: I8268a215257ae0e399c56ac8b44cdfdff8cc92a0
* Revert "Add developer options for grid change for Styles"Luca Stefani2019-11-227-66/+17
| | | | | | This reverts commit 58de5de42ae14bcd688fccd841c537fe8da6f3e9. Change-Id: Ibf3ceeb55230681be2e0de72d2eaa432b3eaf505
* Revert "Launcher3: Export GridOptionsProvider"Luca Stefani2019-11-221-0/+1
| | | | | | This reverts commit 83fa69f574dabe6c411f89f173fe6251e26fc0c2. Change-Id: I7afc70701188b96f5fb60233f2a22e15e182a35e
* Globally disable debug loggingBruno Martins2019-11-131-3/+1
| | | | | | This also ensures that developer options stay hidden. Change-Id: I34f5ffb5815effc48bf18c2996d3b074b547472f
* Trebuchet: update feed libEdward Cross2019-11-033-59/+102
| | | | Change-Id: I75dffd93536c3827404d8a3feda741b79c08e337
* Fix search bar incorrectly positioned after swiping up to homepaphonb2019-11-031-1/+4
| | | | Change-Id: I3c29fe43ea77f5b3a842242b1e66633eac4459de
* Launcher3: Retrieve the searchbar padding from device profileChris Crump2019-11-031-3/+3
| | | | | | Use device profile to get the desired padding Change-Id: I3f6e058fae48ebcde46e223e9ab7546a08877083
* QSB: request round search barEdward Cross2019-10-213-0/+40
| | | | Change-Id: Icf81d36e467fdbe5cc4e4a081c8e3ec2ebaa4263
* Disable QSB on first screen by defaultArne Coucheron2019-10-211-1/+1
| | | | Change-Id: I24f1682cbad10610f04f7b8ada238b43addd23da
* Change icon drawable paddingArne Coucheron2019-10-211-1/+1
| | | | | | | No reason to have this huge gap between icon and text. Use 4dp like in old Trebuchet. Change-Id: I0b6e320150778891f05c38be4467e730b568d19b
* Trebuchet: Update default workspaceBruno Martins2019-10-213-18/+198
| | | | | | Squash of commits 9eeb786 and c183526. Change-Id: I0ed2e193c8acbe52644412be82e906eab0cb5e30
* Trebuchet: Hide Notification Dots on low RAM devicesAdrian DC2019-10-211-0/+2
| | | | | | | | | | * As the feature is not available for low RAM devices, hide it from the Settings to avoid confusion * Acquire ActivityManager service to read isLowRamDevice Change-Id: I34a6ee1b4838f31194c89327e301d4fd39670c02 Signed-off-by: Adrian DC <radian.dc@gmail.com>
* Trebuchet: Bump min SDK to 26 as required for adaptive iconsBruno Martins2019-10-202-4/+4
| | | | | | | | Addresses the following compilation error: packages/apps/Trebuchet/res/mipmap-anydpi/ic_launcher.xml: error: <adaptive-icon> elements require a sdk version of at least 26. Change-Id: I5684e917ef0b691d99e2e59fd742d7570dfd1007
* Trebuchet: adaptive iconAsher Simonds2019-10-2013-4/+26
| | | | | Change-Id: I84662d7cb35ed751c61c6223dc02f256f5ab3311 Signed-off-by: Joey <joey@lineageos.org>
* Change app name to TrebuchetJoey2019-10-203-3/+5
| | | | | | | Squash of commits 224af31 and 23817f7. Change-Id: I7ccdab88f40a3c8a2075265a45dfe70e824d9f00 Signed-off-by: Joey <joey@lineageos.org>
* proguard: Also keep FixedScaleDrawableDiogo Ferreira2019-10-201-1/+5
| | | | | | | | | FixedScaleDrawable is used for legacy icons if LEGACY_ICON_TREATMENT is set to false. However, it gets removed by proguard, this patch adds a keep rule. Change-Id: Ifcedad251013abefbb52cd7bc0ed2f59aa1bc06f Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
* config: enable LAUNCHER3_PROMISE_APPS_IN_ALL_APPSAlexander Martinz2019-10-201-1/+1
| | | | | Change-Id: If8a0e5595734eacb038f31c38bf7b4f151fd4825 Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
* Provider: Initialize createEmptyRowOnFirstScreen without QSBAdrian DC2019-10-201-1/+1
| | | | Change-Id: Ib29b20b051b8fe976f20e92b141c373c8f0cfae3
* DeviceProfile: fix divide by zeroAlexander Martinz2019-10-201-0/+6
| | | | | Change-Id: I8deeeb053a43bac0941950a0c25770b4cc565405 Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
* Launcher3: Can't search out local app by Chineseyingrenw2019-10-201-1/+2
| | | | | | | | | | | | | | Description: Chinese 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: I3713f24c9206fe16a8da2a23e6c90d68079dd533 Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
* PagedView: fix pointer index out of rangeAlexander Martinz2019-10-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stacktrace: java.lang.IllegalArgumentException: pointerIndex out of range at android.view.MotionEvent.nativeGetAxisValue(MotionEvent.java) at android.view.MotionEvent.getX(MotionEvent.java:2201) at com.android.launcher3.PagedView.onTouchEvent(PagedView.java:1557) at android.view.View.dispatchTouchEvent(View.java:11842) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3068) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2700) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2714) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2714) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2714) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2714) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3074) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2714) at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:464) at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1854) at android.app.Activity.dispatchTouchEvent(Activity.java:3292) at com.android.launcher3.Launcher.dispatchTouchEvent(Launcher.java:2781) at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:426) at android.view.View.dispatchPointerEvent(View.java:12092) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5279) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5084) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4581) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4634) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4600) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4747) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4608) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4804) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4581) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4634) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4600) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4608) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4581) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:7259) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7233) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7176) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:7431) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185) at android.os.MessageQueue.nativePollOnce(MessageQueue.java) at android.os.MessageQueue.next(MessageQueue.java:325) at android.os.Looper.loop(Looper.java:147) at android.app.ActivityThread.main(ActivityThread.java:6733) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:845) Issue: SHIFTOS-SW-19 Change-Id: Idcab340d65ee2a4782052b4d1a9de73a886afef7 Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
* Workspace: Allow resizing any widgetNebojsa Cvetkovic2019-10-202-22/+5
| | | | | Change-Id: Iba122eb45d4ba81e53267ff341addfe281cf02fe Signed-off-by: Joey Rizzoli <joey@lineageos.org>
* Launcher3: Stability NullPointer issueyingrenw2019-10-201-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: No Calendarwidget 4x4 widget displayedningl2019-10-202-0/+37
| | | | | | | | | | | There is not enough space to place the Calendarwidget when in the portrait mode for the mobile phone of 480*854. Config the value of dynamic_grid_edge_margin a little smaller for the mobile phone of 480*854. Change-Id: I7be230b6539e47be4bd967c08eaf6f00aa550f75 CRs-Fixed: 1066228
* Launcher3: exclude from recentscretin452019-10-201-0/+1
| | | | Change-Id: Iccbd953241886dbbda01e38225123dfd1761accc
* Launcher3: Google Feed integrationEdward Cross2019-10-2011-8/+240
| | | | | | | | If Google Search is installed, the Google Feed can be found at the -1 screen (which is the very left). This feature is enabled by default. Change-Id: I495196818699fd378cd60e6dd61b07a0ab951762
* Create LineageLauncherJoey2019-10-203-1/+154
| | | | | | | Extends Launcher, will hold our customizations Change-Id: I4a398b624ac60edfed78e4db8e56eb767ffb753e Signed-off-by: Joey <joey@lineageos.org>
* Trebuchet: update build configsJoey2019-10-202-11/+13
| | | | | Change-Id: I072a85e068de4017c8d401785a89dc49296060cf Signed-off-by: Joey <joey@lineageos.org>
* Launcher3: Fix launcher preview renderingpaphonb2019-10-201-3/+14
| | | | | | Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com> Change-Id: I8c6fc263a3021f3ff929bc75b2730962b29d3758 Signed-off-by: DennySPB <dennyspb@gmail.com>
* Launcher3: Export GridOptionsProviderLuca Stefani2019-10-201-1/+0
| | | | Change-Id: I6255c13c01274c4d59b88a00393ab692383ce27c
* Revert "[DO NOT MERGE] Disable swipe down to pull noti shade for Q"Luca Stefani2019-10-201-0/+6
| | | | | | This reverts commit eb66898be068c8dc7521723d948dd400f4b8fc12. Change-Id: Ia05d89af9b9c65e263f83cd71d32530b0d849692
* Merge cherrypicks of [9201404] into qt-releaseandroid-build-team Robot2019-08-151-11/+12
|\ | | | | | | Change-Id: Ie491575f45eb7885eb00854f7e28657d0a783e08
| * Always go to home in case of fling-upSunny Goyal2019-08-151-11/+12
|/ | | | | | | Bug: 138881088 Change-Id: I86bf4c7a495805d5912b102470e72a51e843a222 (cherry picked from commit a2cfc2d95e1ae5d8b44e3f63a620d7a819bc826c) (cherry picked from commit 64155533b694ef3b4f45e3365270ca99ec369200)
* Merge cherrypicks of [9169765, 9170440, 9170173, 9170474, 9170250, 9170251, ↵android-build-team Robot2019-08-081-6/+5
|\ | | | | | | | | | | 9170252, 9170462, 9170463, 9170464, 9170264, 9170422, 9170465] into qt-release Change-Id: Ibd56f04c2e465a1ddb728e0ef98a900069f5f5a1
| * Don't end launcher components anim early even if it does nothingTony2019-08-081-6/+5
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | The janky animation that ends on the home screen with an invisible task on top is caused by the following scenario (for example): - Quick switch from task A to task B - After landing on B, but before we get the callback that it was successfully launched, switch back to A (or you could go to C) Now we are animating back to A, but we are still waiting to hear whether B was successfully launched. If we hear that the launch was indeed successful, we dutifully clean up after ourselves by returning launcher to its default state. Unfortunately, that clobbers the current animation that is scrolling back to A, and we end up in the bad state where we are showing the default launcher state even though we just launched task B and were about to launch task A. Normally we avoid cleaning up the state animation if the user is still controlling it. The reason we weren't doing that here is because we ended the launcher animation early even though the window animation was still running. Instead, we should keep the launcher animation running for the full duration, so that it prevents a cleanup from occurring in the middle. Bug: 138620399 Change-Id: I959e62a52638a5b974ef9b406555078c928b91f1 (cherry picked from commit 03c548901fb77d0a47bb46036d559968b65b2293) (cherry picked from commit c5555c459bd28033257bced610c861e5ff84aec4)
* Merge cherrypicks of [8828839, 8824129, 8828883, 8828885, 8828888, 8828891, ↵android-build-team Robot2019-07-252-4/+11
|\ | | | | | | | | | | 8829076, 8828998, 8828999, 8828607, 8828957] into qt-release Change-Id: I529b9190a4c234124cd5f32cf4b1ddabebda18cd
| * Fix bug where rounded corners were being set despite being disabled.Jon Miranda2019-07-251-1/+4
| | | | | | | | | | | | Bug: 138117089 Change-Id: Icb852e2e07d80c45ad3406ef432b89720887fccf (cherry picked from commit e734efba8dc58ea145dc0a620f18cbe2032f70ce)
| * Copy resume callbacks list prior to making callbacksWinson Chung2019-07-251-3/+7
|/ | | | | | | | | | | - Starting a deferred activity can trigger a new callback to be added to the list while we are iterating it Bug: 136613192 Change-Id: I6690ab0695bb73f11bf343fb41e9fc86b4afec1b Merged-In: I6690ab0695bb73f11bf343fb41e9fc86b4afec1b (cherry picked from commit 940b0ac0157945a40d8b3b44d976da53aaeff81f) (cherry picked from commit a8971c1462f276b2b4d6daab6b18941b9dc9a94a)
* Merge cherrypicks of [8681848, 8682094, 8682365, 8682497, 8682498, 8682518, ↵android-build-team Robot2019-07-184-13/+12
|\ | | | | | | | | | | 8682519, 8681849, 8681887, 8681888, 8682539, 8682540, 8682541, 8681283, 8682521] into qt-release Change-Id: I02cecc5553a53a6c0901a26a0f82fbf93500c93b
| * Fix bug where icon is no present during app close animation.Jon Miranda2019-07-183-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WindowTransformSwipeHandler closes all AbstractFloatingViews, including ListenerView, which results in FloatingIconView getting removed. * In IconLoadResult.onIconLoaded, we remove the check for isIconLoaded since its not needed. This was also causing a race condition since isIconLoaded is not set to true until after we tell onIconLoaded to run. * In BaseDragLayer, we have a delay before checking if the view is open and then closing the floating view if true. This caused issues since we reycle the view. Now we check if the view is open before running the delay to call close. Bug: 136044361 Change-Id: I7442a589a62c3cdf90b70d146e0ecf3e4300ddf7 (cherry picked from commit 826cdcd32fa91afe932c8c07be1a4e92a6f73301) (cherry picked from commit bc2782647803d2a8942311f917d66a91bdc24d8d)
| * Set the chips flag to false in QP1A. This flag should be off by default.Anna Wasewicz2019-07-181-1/+1
|/ | | | | | | | | Chips should not be running in QP1A. Bug:137290162 Change-Id: I159e1bd00d1f9ff4f6cf63daf93a68e3e8d063c8 (cherry picked from commit 7400bb3f725d288766ddf9e9256327fcb90015c5) (cherry picked from commit 31d0a9c562c39b9feb8a75c89bde147a24a21e32)
* Merge cherrypicks of [8549820, 8549668, 8549613, 8549614, 8549935, 8549808, ↵android-build-team Robot2019-07-111-6/+0
|\ | | | | | | | | | | 8549876, 8549809, 8549552] into qt-release Change-Id: I86207f3f19b13d8a3c99d77c594cd711e31b40a4
| * [DO NOT MERGE] Disable swipe down to pull noti shade for QHyunyoung Song2019-07-111-6/+0
|/ | | | | | | Bug: 136293958 Change-Id: Iac169d91a784b5f2d05410a06cd358f85b533562 (cherry picked from commit 4bfcf04ae9228f912ac151009800a9f3cd205550)
* Snap for 5719587 from 0a8243d4633f136ff9db6f55b926cfacfca1d8d4 to qt-releaseandroid-build-team Robot2019-07-111-0/+1
|\ | | | | | | Change-Id: I5351458b8351342cd4b2dc65fcfbf29a68f9947b
| * Reset the UI_STATE_OVERVIEW statusbar/navbar flag when RecentsView resetsHyunyoung Song2019-07-091-0/+1
| | | | | | | | | | | | | | | | | | Bug: 135383592 TL;DR;; this reset is called when for instance OMS call happens Change-Id: I57bb6c1c8833aff00e3be572dd19744afbb81eb5 (cherry picked from commit 4abfbd067073cc24622c80a3e3519cca37e8f206)