Commit Graph

78507 Commits

Author SHA1 Message Date
Tony Wickham 39a37cc2fa Merge "Show icon when drop on deferred drop target is canceled" into ub-launcher3-master 2018-03-08 16:56:20 +00:00
Tony f2523dc8aa Prevent infinite recursion when drawing PreloadIconDrawable
Bug: 74372748
Change-Id: I9dbd4a29fa3ae020711a76334da888e1f1dd72ea
2018-03-08 14:12:30 +00:00
Tony 4d9103215d Show icon when drop on deferred drop target is canceled
Before:
Drag to uninstall -> cancel -> icon stays hidden

Now the icon reappears.

Bug: 74356377
Change-Id: I7a69e583098bced31cf38af04dc9861dfa4118e2
2018-03-08 13:54:52 +00:00
Sunny Goyal 61e084601e Adding implementation of InstantAppResolver for quickstep
> Badging instant apps properly in recents
> Routing drawable creation using Drawable factory

Bug: 31282621
Change-Id: Ice1cdd3e9b821bebdebebbdc5cba4a907ffc21f8
2018-03-07 15:36:10 -08:00
Sunny Goyal b12ae37ffe Merge "Enabling hardware bitmaps on android P" into ub-launcher3-master 2018-03-07 19:22:13 +00:00
Tony 865ee02d20 Show back button when a floating view is visible
Bug: 74184060
Bug: 74243869
Change-Id: I3b1806e10d3f910ce3a8a980c2b1e0609e01582b
2018-03-07 12:21:10 +00:00
Sunny Goyal 5589583dcf Merge "Fixing bug when model was not reflected properly on the UI. If launcher submits a job, and then reloads before the job is executed, the correct model is not reflected on the Launcher. In that case, we simply rebind the launcher" into ub-launcher3-master 2018-03-07 01:28:01 +00:00
Sunny Goyal 8a3411f223 Enabling hardware bitmaps on android P
Bug: 35428783
Change-Id: I6d64284bd29e9db33c20ecc5bf3f67e4781b17f8
2018-03-06 15:26:29 -08:00
TreeHugger Robot f7ccc82e0d Merge "Using public APIs for hardware bitmaps" into ub-launcher3-master 2018-03-06 23:22:31 +00:00
TreeHugger Robot 9027e6ad09 Merge "Check in FocusLogic that focused view fits into the matrix created for cell-layout. Temporarily there can be a mismatch." into ub-launcher3-master 2018-03-06 23:18:23 +00:00
Sunny Goyal f3efc25862 Using public APIs for hardware bitmaps
Bug: 35428783
Change-Id: I4e7eeaa94e0cdfb1c76dce507a6f855e4eebbd6c
2018-03-06 15:16:21 -08:00
Mario Bertschler 3d73e7aac7 Check in FocusLogic that focused view fits into the matrix created for
cell-layout. Temporarily there can be a mismatch.

Bug: 73346286
Change-Id: Id014332d585c73b2be92da1f24db82484f103de4
2018-03-06 14:49:01 -08:00
Sunny Goyal 7b4b78c1ad Page indicator and hotseat should have the same alpha
Bug: 70144077
Change-Id: I4cc678e7b5a5daa07b5fd6ab96ea79b4354c514d
2018-03-06 13:12:25 -08:00
Sunny Goyal 3661bfac0b Fixing fast scroller touch handling in all-apps and widget sheet
Also removing scrim view, instead drawing the scrim manually

Bug: 73085356
Change-Id: I188c6c9b1685e22d5d97b38dd5d3e960b655c9ba
2018-03-06 11:41:43 -08:00
Sunny Goyal 46d259d9fb Updating launch transition for transparent activities
When a transparent activity is started from recents, animate the launcher
NORMAL state instead of animating the launcher UI separately

Change-Id: Ibfc9f7096f668e0129042b8a69ed5130029df797
2018-03-06 09:51:03 -08:00
Sunny Goyal e4a97a5c61 Adding back .gitignore file
Change-Id: I22d76bdddb2b5e4a98f6f7f155933de94c40cc6f
2018-03-05 17:40:15 -08:00
Sunny Goyal 605bcf3367 Fixing bug when model was not reflected properly on the UI.
If launcher submits a job, and then reloads before the job is executed, the correct model
is not reflected on the Launcher. In that case, we simply rebind the launcher

Change-Id: I380242a4de13e7b2bc326d1a076f0a974435999c
2018-03-05 17:38:47 -08:00
Sunny Goyal d912e3f82a Merge "Simplifying all-apps search box" into ub-launcher3-master 2018-03-06 00:12:59 +00:00
TreeHugger Robot d90d04b1ec Merge "Updating Launcher rotation logic" into ub-launcher3-master 2018-03-05 23:44:54 +00:00
Tony Wickham 38e7d5226c Merge "Don't scroll to home card if overview isn't visible" into ub-launcher3-master 2018-03-05 23:43:52 +00:00
Sunny Goyal 705566df72 Merge "Removing click-feedback shadow generation logic in BubbleTextView" into ub-launcher3-master 2018-03-05 23:26:28 +00:00
Sunny Goyal 726bee7d5d Removing click-feedback shadow generation logic in BubbleTextView
Instead of animating the shadow, animating the icon scale. This avoids
unnecessary bitmap creating at app-launch and also plays nice with the
app-launch transition

Change-Id: I1d3d24bc7212a6d659855ff1002a45388e269e52
2018-03-05 14:56:38 -08:00
Sunny Goyal 9dd404b35a Merge "Notifying page end transition if forceFinish is called in the middle of page transition" into ub-launcher3-master 2018-03-05 20:12:39 +00:00
Winson Chung f1f39a8454 Merge "Revert "Revert "Adding support for hiding widgets from the widget tray and reconfiguring widgets""" into ub-launcher3-master 2018-03-05 20:11:30 +00:00
Winson Chung 3e002f8275 Merge "Revert "Revert "Adding a separate state for QuickScrub""" into ub-launcher3-master 2018-03-05 20:11:18 +00:00
Winson Chung ca84552505 Revert "Revert "Adding a separate state for QuickScrub""
This reverts commit 2687257c98.

Reason for revert: Reverting post-build

Change-Id: Ic3a1e8ed84a227b42bc35b91d4f0eed60bb2e29c
2018-03-05 19:39:25 +00:00
Winson Chung 1054d4e8f2 Revert "Revert "Adding support for hiding widgets from the widget tray and reconfiguring widgets""
This reverts commit f502e5faec.

Reason for revert: Reverting post-build

Change-Id: I09eb292dbbbe37ffaf3abc477aa2ddb5700093b8
2018-03-05 19:39:21 +00:00
Sunny Goyal 857b1b9469 Notifying page end transition if forceFinish is called in the middle
of page transition

This fixed the bug where onPageTransitionEnd is never called when using
quickswitch

Change-Id: I4196a8651ee67d175363d51165dd128fe0518341
2018-03-05 11:32:12 -08:00
TreeHugger Robot 1e813b6781 Merge "Prevent adding tasks to the visible task list." into ub-launcher3-master 2018-03-05 19:08:34 +00:00
Winson Chung b134331e3e Prevent adding tasks to the visible task list.
Bug: 74116831
Change-Id: Idc3a9d44350ad3b8aa274264473411782ba3a6e4
2018-03-05 10:59:04 -08:00
Winson Chung 7015eff870 Merge "Temporarily disable highres thumbnail loader." into ub-launcher3-master 2018-03-05 18:22:55 +00:00
Winson Chung bb8332b2f6 Merge "Revert "Adding a separate state for QuickScrub"" into ub-launcher3-master 2018-03-05 18:22:47 +00:00
TreeHugger Robot f10d3a04e5 Merge "Revert "Adding support for hiding widgets from the widget tray and reconfiguring widgets"" into ub-launcher3-master 2018-03-05 18:16:04 +00:00
Winson Chung f502e5faec Revert "Adding support for hiding widgets from the widget tray and reconfiguring widgets"
This reverts commit b29a5fa55c.

Reason for revert: Temporary revert for build.

Change-Id: I58045ad1ce28d398a5216ba4fbbcdba1196942ec
2018-03-05 18:06:52 +00:00
Winson Chung 2687257c98 Revert "Adding a separate state for QuickScrub"
This reverts commit 6c6c2f45f7.

Reason for revert: Temporary revert for build.

Change-Id: I3947e9b2d4e5788f9d2a0c4e2e8b7d425d5bc775
2018-03-05 18:06:48 +00:00
Winson Chung 1ab7e377e6 Temporarily disable highres thumbnail loader.
Bug: 74116831
Change-Id: I812a1c774f1d0e5ce8299e1731d15a1b9c058e29
2018-03-05 09:58:44 -08:00
Tony 88d70f2abc Don't scroll to home card if overview isn't visible
Consider these steps:
- Swipe up for recents
- Scroll over several cards
- Swipe up for all apps
- Press home

Before this change, there was a delay as recents scrolled back to
the workspace card before going home, even though it wasn't visible.

Change-Id: I1c0edc8e02d1d1d236f47882695903e33e6b09ae
2018-03-03 05:36:23 -08:00
Sunny Goyal 623eddd7e8 Updating Launcher rotation logic
When auto-rotate is on, launcher allways allows rotation. This allows uses to use
locked rotation feature is available on the device
When auto-rotate is off, workspace does not allow rotation, but overview in quickstep
will allow rotation

Bug: 73872056
Change-Id: Ie12365c268fd5e4958634ed97b5a33dcadc691e2
2018-03-03 00:41:09 -08:00
TreeHugger Robot 85f1eed52d Merge "Adding support for hiding widgets from the widget tray and reconfiguring widgets" into ub-launcher3-master 2018-03-03 00:49:24 +00:00
Sunny Goyal 6c6c2f45f7 Adding a separate state for QuickScrub
Bug: 74014237
Change-Id: Ie86ac589f0ad0e1470fb6b0b71263ec6593eb1e3
2018-03-02 15:38:21 -08:00
Sunny Goyal b29a5fa55c Adding support for hiding widgets from the widget tray and reconfiguring widgets
> Removing AppInfo target
> Switching between uninstall and setup based on the drag view

Bug: 63931362
Change-Id: Iccd6f965fa3d61992244a365efc242122292c0ca
2018-03-02 13:20:09 -08:00
TreeHugger Robot ae9e85b8e9 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-03-02 19:59:42 +00:00
Bill Yi 74fecc2ca8 Import translations. DO NOT MERGE
Change-Id: I58cfb1ce1d9bed7bd094ed003e7816fbc63cb153
Auto-generated-cl: translation import
2018-03-02 01:29:19 -08:00
Derek Sollenberger f454ded32c Merge "Stop using deprecated Canvas APIs." into ub-launcher3-master 2018-03-02 04:00:29 +00:00
Sunny Goyal c466b173d5 Adding a label for the notifiation service
Bug: 72314360
Change-Id: Ib7ae98015241cf6548dbb4d615cae514a4dde983
2018-03-01 16:10:37 -08:00
Sunny Goyal dbd6bb348c Simplifying all-apps search box
> Giving the search box a solid background so that it work fine with scrolling
> bottom shadow logic for search box

Bug: 73085356
Change-Id: Ie4dc4922be39ffd8e2d562becedbd4c6f820e6c9
2018-03-01 15:58:11 -08:00
Tony Wickham dd535466bf Don't show Pin option when an locked to app is active
Also isLockToAppEnabled is renamed to isScreenPinningEnabled

Bug: 72799389
Change-Id: I46d4c57e3719f7401887e79cbb7397e23f162e44
2018-03-01 12:43:17 -08:00
TreeHugger Robot 22ab784dd0 Merge "Updating the scrim and landscpae ui" into ub-launcher3-master 2018-03-01 19:44:59 +00:00
Sunny Goyal 6639a5dfe0 Updating the scrim and landscpae ui
> Instead of views, using a custom class to draw the color scrims
> All-apps has full screen UI
> Quickstep does not have search box in landscape

Bug: 73085356
Change-Id: I360a78a2ade0134daad29fe712796cd39a381fbb
2018-03-01 11:23:46 -08:00
TreeHugger Robot c319462ad7 Merge "Skipping resetting transition if the same transition is running" into ub-launcher3-master 2018-03-01 19:16:05 +00:00