Commit Graph

20721 Commits

Author SHA1 Message Date
The Android Open Source Project fec6bca08a [automerger skipped] Merge "DO NOT MERGE" am: b7d8cd1e48 -s ours am: e12449eaf9 -s ours
am: 1bc4116265  -s ours

Change-Id: Ieffaab4a16a639ebeeb5f92296fe1f4e3cddc935
2018-12-06 18:45:26 -08:00
The Android Open Source Project 1bc4116265 [automerger skipped] Merge "DO NOT MERGE" am: b7d8cd1e48 -s ours
am: e12449eaf9  -s ours

Change-Id: I09484937ca3e0832a95e54c74ac516a1bec888fe
2018-12-06 18:23:16 -08:00
The Android Open Source Project e12449eaf9 [automerger skipped] Merge "DO NOT MERGE"
am: b7d8cd1e48  -s ours

Change-Id: I6777aa1b93e58095b9c10053509a9d7da459e0d9
2018-12-06 17:57:39 -08:00
Treehugger Robot b7d8cd1e48 Merge "DO NOT MERGE" 2018-12-07 01:38:19 +00:00
The Android Open Source Project db61aad1a7 DO NOT MERGE
Merge pie-platform-release (PPRL.181105.017, history only) into master

Bug: 118454372
Change-Id: I0916dec2742f3739f34335c437f38a193723b928
2018-12-06 14:11:38 -08:00
TreeHugger Robot 7ad57a18ce Merge "Correct 🕳️ 👊👊👊👊👊👊" 2018-12-03 22:21:10 +00:00
Tiger Huang f1bb3a4d4c Specify display ID while calling getNavBarPosition()
Navigation bar can show on non-default display now. So the caller
should specify which display the desired navigation bar is on.

Bug: 117474929
Test: atest Launcher3Tests
Change-Id: Ibb22e51730ab145a42a129b4d964299acd4efd56
2018-12-03 16:11:47 +08:00
Lucas Dupin f27ee6cf69 Merge "Rounded corners on app transitions" 2018-12-03 02:59:44 +00:00
Bill Yi 179d6ff214 Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-release
Change-Id: Idf68376883e0821c398aae9449f6703a494d4886
2018-11-28 18:34:52 -08:00
TreeHugger Robot 87c45e2b89 Merge "Modify TaskSystemShortcut.SplitScreen for API change." 2018-11-28 12:02:33 +00:00
Lucas Dupin aa1b1c9a48 Correct 🕳️ 👊👊👊👊👊👊
🕳️ 👊👊👊👊

Bug: 111514493
Change-Id: Ie770de06dabe42e5e620ac9c7ec9da256f3d58f5
Fixes: 116745318
2018-11-28 11:53:41 +01:00
Lucas Dupin faa443308e Rounded corners on app transitions
Test: Manualy launch an app
Test: Press home when activity is on top of the stack
Test: Quick scrub
Test: Swipe up on the home button, swipe down
Bug: 111514493
Fixes: 116745318
Change-Id: I66d25bc433061ede46107ea9651c198614306692
2018-11-28 11:49:43 +01:00
Tony 98f5acc52b Merge branch 'ub-launcher3-master' into launcher3merge2018-11-27
Test: Tested on unbundled branch
Change-Id: Iaa4259a4b0c007a6f1ae1d16a658279568892622
2018-11-27 16:28:08 -08:00
lumark 233622d907 Modify TaskSystemShortcut.SplitScreen for API change.
Using View#getDisplay().getDisplayId() into
IWindowManager.overridePendingAppTransitionMultiThumbFuture()
for multi-display support.

Bug: 119530958
Test: manual
Change-Id: Icde73b2545f879771a62030c8151a86a324fa593
2018-11-27 15:41:53 +08:00
TreeHugger Robot 33fd26f025 Merge "Moving Pause button to the left of the context menu header" into ub-launcher3-master 2018-11-26 23:36:21 +00:00
Vadim Tryshev fdfeb6dd3b Moving Pause button to the left of the context menu header
See this mock:
https://www.google.com/url?q=https://docs.google.com/presentation/d/1AepsnLeKcRhjMW35SkB5yMKO3u6waigug8Tyfe0LO5o/edit%23slide%3Did.g455d187f2a_0_45&sa=D&ust=1542320415002000&usg=AFQjCNH-jsy5THG1WqxjeYbj628QFMJKvQ

Bug: 117888000
Test: Manual
Change-Id: I1edbc569347f09f0806ad6749735c3dec198277a
2018-11-26 14:30:52 -08:00
Winson Chung a634c9d56c Merge "Updating shared lib jar for freeform call." into ub-launcher3-master 2018-11-26 22:06:20 +00:00
Winson Chung ed85dbd963 Updating shared lib jar for freeform call.
Change-Id: If4b4496ff85ffb18e3f499ed4b6a8eb97552e231
2018-11-26 11:32:14 -08:00
Evan Rosky a639c79112 Add a dev-mode freeform option to recents menu
When the developer option for freeform is enabled, provides
a "Freeform" option in the recents task overlay menu. This
is sort-of an analog to the freeform option in N recents;
however, since recents now is part of home, there's no
straightforward way to have multiple freeforms at a time,
so this really is only useful for developers.

Bug: None
Test: manual - enable freeform in dev settings, then pick
      Freeform from recent task overlay menu.
Change-Id: I5d8e95aaffb8fe43e655f705cacdd51859c95d3b
(cherry picked from commit 9beb6bf251)
2018-11-26 18:34:47 +00:00
Evan Rosky 4181d2d096 Merge "Add a dev-mode freeform option to recents menu" 2018-11-21 19:34:16 +00:00
TreeHugger Robot 4a5bc9f8b0 Merge "Making CellLayout inflatable without LauncherActivtiy" into ub-launcher3-master 2018-11-21 01:21:49 +00:00
TreeHugger Robot d2fe2010f9 Merge "Removing Launcher dependency in search box layout" into ub-launcher3-master 2018-11-21 01:14:42 +00:00
Sunny Goyal ab770a10b9 Making CellLayout inflatable without LauncherActivtiy
This will allow creating cellLayout with a different device profile
or a different activtiy which can be used when displaying multiple
activities in multi-display or generating a preview for changing
display properties.

Change-Id: I386731d95e33c48bdef270ce9c0d3e9feefb6262
2018-11-20 17:11:13 -08:00
Ryan Lothian 1ede836b9b Merge "Get Robolectric tests passing" into ub-launcher3-master 2018-11-20 22:54:15 +00:00
Evan Rosky 9beb6bf251 Add a dev-mode freeform option to recents menu
When the developer option for freeform is enabled, provides
a "Freeform" option in the recents task overlay menu. This
is sort-of an analog to the freeform option in N recents;
however, since recents now is part of home, there's no
straightforward way to have multiple freeforms at a time,
so this really is only useful for developers.

Bug: None
Test: manual - enable freeform in dev settings, then pick
      Freeform from recent task overlay menu.
Change-Id: I5d8e95aaffb8fe43e655f705cacdd51859c95d3b
2018-11-20 14:20:35 -08:00
Sunny Goyal 33611be973 Removing Launcher dependency in search box layout
Bug: 118758696
Change-Id: Id918c44b8bd2a97ab577481b7584afbe56e8a591
2018-11-20 13:53:33 -08:00
Hyunyoung Song 373e2534d3 Merge changes from topic "am-71b42e3a-02e4-4dc2-9f82-6d74158b505a" into ub-launcher3-master
* changes:
  [automerger skipped] [DO NOT MERGE] Fix clipping issue on adaptive icons skipped: 34973c93e4
  [DO NOT MERGE] Fix clipping issue on adaptive icons
2018-11-20 00:07:02 +00:00
TreeHugger Robot 1b5d7ea6f8 Merge "Moving some methods from various activities to the base interface" into ub-launcher3-master 2018-11-19 21:50:22 +00:00
Sunny Goyal fe8e4a90be Moving some methods from various activities to the base interface
This allows creating some custom views in the absence of
activity context

Bug: 118758696
Change-Id: I23999290e972a2a8cbd725a521a4e0c7c2e5023e
2018-11-19 13:04:35 -08:00
Android Build Merger (Role) e5221b0479 [automerger skipped] [DO NOT MERGE] Fix clipping issue on adaptive icons skipped: 34973c93e4
Change-Id: I70f0778ed7028f37f59699ed0a80b4d33ae80a4c
2018-11-19 19:35:38 +00:00
Hyunyoung Song 34973c93e4 [DO NOT MERGE] Fix clipping issue on adaptive icons
Bug: 116527322

More context: unlike previous issue that resulted in clipping on adaptive
icon due to launcher drawing issue (drawing outside the bounds, etc).
This issue is happening on b4 because when canvas is scaled after
the circle mask is digitized, there is a optical illusion that one line
of pixel seems missing. The issue is non observed if scaling is done
before setting the view bounds.

Change-Id: I7099075c88e77776c9cc4f23d79152293489cca2
2018-11-19 11:35:27 -08:00
Winson Chung b2f9c1f0c1 Fixing proguard to not warn about missing class in graphics package.
Change-Id: I894c092beed0e0c8dab4036ab12877fbaf282457
2018-11-15 13:38:35 -08:00
Ryan Lothian d813e79ecc Get Robolectric tests passing
+ Default SDK 28 -> 26, as >26 isn't available for
  unbundled make builds.

+ @Ignore 3 test methods that currently fail with
  resource-related errors.

Test: RunLauncherRoboTests succeeds locally
Bug: 119567714
Change-Id: Id6ea42cef050119d892b5af2b1ba1afc4c4f0b28
2018-11-15 20:17:33 +00:00
Jonathan Miranda a5c67901f8 Merge "Clean up span calculations in LauncherAppWidgetProviderInfo." into ub-launcher3-master 2018-11-15 00:35:55 +00:00
Winson Chung 3386fbf674 Ensure base StatsLogManager can be instantiated
Bug: 119500924
Change-Id: Ia1adfa75147508ff1ff2a119cfba62b034ae4604
2018-11-14 15:11:48 -08:00
Winson Chung 1296cf26f2 Updating shared lib for fw api change.
Change-Id: I42c6c85693d7f1c2b7a38de5f3dd05f43612b504
2018-11-14 10:36:27 -08:00
Tony Wickham c8d1716a9c Merge "Creating a new dismiss animation while one is pending is now valid" into ub-launcher3-master 2018-11-14 02:43:39 +00:00
Tony Wickham 026a5db8fd Merge "Fix quick switch when swiping right on back button" into ub-launcher3-master 2018-11-14 02:43:15 +00:00
Tony Wickham cad49c6721 Creating a new dismiss animation while one is pending is now valid
It used to be an invalid state to create a new dismiss animation while
one was pending, because the only way to do it was to swipe up. However,
now there are a number of places we create the dismiss animation, e.g.:
- When entering split screen
- Clear all
- Uninstalling an app

So now, instead of calling this an illegal state, we simply cancel the
previous pending dismiss if it exists.

Bug: 118880699
Bug: 118400078
Change-Id: I4d073f7e9d50e832ba4ae55391530040a0fac50c
2018-11-13 15:47:29 -08:00
Tony Wickham bdc5f3d9e6 Fix quick switch when swiping right on back button
Deferring the window tracking when touching down on the back button means that
we don't set isQuickSwitch before setting the state to FAST_OVERVIEW, making it
not scale up to be full screen. To fix this, we reapply the state when preparing
QuickScrubController for quick switch.

Change-Id: Ib3dcf300c45a00673ff9337f98d16d4e8cdf1ea0
2018-11-13 15:31:57 -08:00
TreeHugger Robot 9c9625a15f Merge "Moving come tests to Roboelectric" into ub-launcher3-master 2018-11-13 23:22:53 +00:00
Sunny Goyal 44bcba3d41 Merge branch 'ub-launcher3-master' into launcher3merge2018-11-13
Test: Tested on unbundled branch
Change-Id: Icf6beaf668feeb9d86d7fe3a7bcefdd16a15e9ac
2018-11-13 11:47:10 -08:00
TreeHugger Robot 4194f242ae Merge "Fix quick scrub skipping more than one page" into ub-launcher3-master 2018-11-13 18:04:10 +00:00
Tony Wickham 873264c71b Fix quick scrub skipping more than one page
There was a race condition where we were getting onQuickScrubProgress
before onQuickScrubStart. If we got enough of those, we were jumping
some pages before the block is set in onQuickScrubStart (which also adds
its own page jump). Now we don't send any onQuickScrubProgress() to
QuickScrubController until we have sent onQuickScrubStart()

Bug: 118636260
Change-Id: I60084850b0b1baad34112ab5945fce81cc3a3c53
2018-11-13 17:58:31 +00:00
Vadim Tryshev 9d9310ba72 Merge "Fix showing strange Launcher on pressing Home." into ub-launcher3-master 2018-11-13 01:28:24 +00:00
Vadim Tryshev e45e60140e Fix showing strange Launcher on pressing Home.
Bug: 118441555
Test: manual, race condition repro, TaplTests
Change-Id: I8b09895558f8baa72eb3a794724170417fadfda6
2018-11-12 16:11:55 -08:00
Winson Chung 4e362ea0f5 Clear click listener when the icon is removed.
- The click listener should be removed, otherwise, it can still active
  and clickable when the TaskView is bound to a new Task whose icon
  has not yet been loaded, which can cause crash.

Bug: 118834133
Change-Id: Ifd9fd8fe99b6177851d366f0c21f8fad59f1950e
2018-11-12 19:21:31 +00:00
Sunny Goyal 06a07e9748 Moving come tests to Roboelectric
> Fixing resource loading in robo tests

Change-Id: Id5b8a0e4916a2a200da7a41b03f19846834beb1f
2018-11-12 10:49:59 -08:00
Bill Yi f1982fcaae Import translations. DO NOT MERGE
Change-Id: I22579d4f7492047b291e6c6a7f73508ccad3af2d
Auto-generated-cl: translation import
2018-11-10 00:27:25 -08:00
Tony Wickham 4cdf0bd49f Merge "Add ToggleableGlobalSettingsFlag for QUICK_SWITCH" into ub-launcher3-master 2018-11-10 00:48:54 +00:00