Commit Graph

34630 Commits

Author SHA1 Message Date
TreeHugger Robot f530c4032b Merge "Adding meta-data for grid options provider" into ub-launcher3-master 2019-01-25 01:07:44 +00:00
TreeHugger Robot 90048de773 Merge "Disable window corner rounding on some devices" into ub-launcher3-master 2019-01-25 00:31:52 +00:00
Lucas Dupin a2074857dc Disable window corner rounding on some devices
Bug: 122347746
Test: visual; on taimen, marlin and walleye
Change-Id: If6ac1c75297dd25ad40d3ec61537e8793bceceb7
2019-01-24 16:19:49 -08:00
Tracy Zhou c49f3de3bd Make bounce animations less aggressive
Users have reported that both home and shelf bounce animations are pretty aggressive. We should limit the number of times that we show bounce animations for both quickstep and non quickstep users so that they can have a less disturbing experience.

Change-Id: I445fc9c7c6ac8a9c0ef34381fa672bf1b0203737
Fixes: 123356757
Test: Manual test
2019-01-24 15:48:20 -08:00
Sunny Goyal 6dda58a31b Adding meta-data for grid options provider
Bug: 122262084
Change-Id: I4b07f17eb9bad351a48e2d612159fbe2d33cf1dd
2019-01-24 15:40:55 -08:00
TreeHugger Robot f81da5f4ee Merge "Removing querying whether DWB time limit is for a group" into ub-launcher3-master 2019-01-24 23:07:48 +00:00
vadimt d4c45e8104 Removing querying whether DWB time limit is for a group
This API is removed for Q.

Bug: 118319143
Test: Manual
Change-Id: I1605ba14a914bfe018c4a2f6d974afaea7e51e05
2019-01-24 13:52:49 -08:00
Kevin Han 57f88bd0ec Revert "Remove OverviewToAllAppsController for Go"
This reverts commit 792fcc3aec.

Reason for revert: This class actually manages more than just overview to all apps transitions, and Go needs some form of this for landscape transitions state transitions

Change-Id: I073dcc94dda06ff8d87166d2674927df8f2418f5
2019-01-24 20:36:04 +00:00
Kevin 792fcc3aec Remove OverviewToAllAppsController for Go
Go's recents does not support an overview to all apps transition (as
there will be no hotseat and swiping will be used to navigate the view
itself). As a result, we never need the controller, so we don't take in
the class as a source and do not add it as a touch controller.

Bug: 114136250
Test: Manual test Launcher3QuickstepGo, NexusLauncher,
Launcher3IconRecentsGo
Change-Id: I7fff9d1e8727bd978e84462436e37219c57f7af6
2019-01-23 17:12:44 -08:00
TreeHugger Robot 38e87e8010 Merge "Split LauncherAppTransitionManagerImpl for Go" into ub-launcher3-master 2019-01-24 01:07:34 +00:00
Sunny Goyal 90e3fbca62 Updating folder shape when icon shape changes
> Removing unnecessary threading logic and the code was running on main thread anyway

Bug: 118757840
Change-Id: I7a012db5a0dbe2c23bd6ff2cd39679a803731ee8
2019-01-23 16:43:26 -08:00
TreeHugger Robot 886f1a1115 Merge "Split OverviewState for IconRecents Go" into ub-launcher3-master 2019-01-23 23:37:41 +00:00
Kevin c4ad03b9ef Split LauncherAppTransitionManagerImpl for Go
Split LauncherAppTransitionManagerImpl common functionality into a base
quickstep app transition class and subclass for recents-specific
implementation. In addition, override the app transition manager to the
appropriate manager depending on the build.

Bug: 114136250
Test: Manual test NexusLauncher, Launcher3GoWithQuickstep
Test: Build Launcher3GoIconRecents
Change-Id: Iab1b5ae0c75af276879d5e12df95f62a514bf571
2019-01-23 14:59:19 -08:00
Kevin 932ab718fd Split OverviewState for IconRecents Go
Split common functionality in OverviewState so that it can be reused in
both implementations for IconRecents Go and non-Go.

Bug: 114136250
Test: Manual test NexusLauncher, Launcher3GoWithQuickstep
Test: Manual test IconRecentsGo (gets to recents screen w/o crashing)
Change-Id: Ibff5d3573b3b22dcdfda1b0662d4dd219d2e382f
2019-01-23 13:01:57 -08:00
android-build-team Robot cf1e4c3e92 Snap for 5251505 from 6542ba6c14 to qt-release
Change-Id: I3c535a79845ab31045cb5dfb1a93e834d6b7bb4b
2019-01-23 04:09:51 +00:00
TreeHugger Robot 95ee747f76 Merge "Adding more events for reproducing race conditions during Launcher start" into ub-launcher3-master 2019-01-23 00:10:40 +00:00
Jonathan Miranda 494963c74a Merge "Revert "Remove scrim fade animation when returning to launcher."" into ub-launcher3-master 2019-01-22 21:12:37 +00:00
TreeHugger Robot c652afc0d9 Merge "Split out logic in RecentsViewStateController." into ub-launcher3-master 2019-01-22 20:33:24 +00:00
Santiago Etchebehere 222299e278 Merge "Don't render background in PreviewRenderer" into ub-launcher3-master 2019-01-22 20:05:46 +00:00
Kevin 231fe1cd7b Split out logic in RecentsViewStateController.
Split logic in RecentsViewStateController based off code that should be
shared and code that should not between Go icon recents and regular
quickstep recents. The Go version will maintain changes in
scale/translationY as per normal recents.

Bug: 114136250
Test: Manual test NexusLauncher, Launcher3GoQuickstep
Test: Build Launcher3GoIconRecents (no longer crashes immediately!)
Change-Id: Id060d6f8f0b68edee4becdf6b91b876bb8dbcefb
2019-01-22 11:52:53 -08:00
TreeHugger Robot 8689a4afc3 Merge "Split PortraitOverviewStateTouchHelper for Go" into ub-launcher3-master 2019-01-22 19:21:34 +00:00
TreeHugger Robot 1e4ba21705 Merge "Add icon recents view for Go" into ub-launcher3-master 2019-01-22 19:11:33 +00:00
Chih-hung Hsieh 6542ba6c14 [automerger skipped] Merge "Create OWNERS file in master branch" am: 7ac5a9e75a am: a2823e9249
am: f9f4893a5b -s ours
am skip reason: change_id I9a0f4ae526179f4e5bd7420b30d10c53c1b427bf with SHA1 72c8c311ba is in history

Change-Id: I3e773095f19634a39034855fb28ffc9ce7d2699b
2019-01-21 22:38:32 -08:00
Chih-hung Hsieh f9f4893a5b Merge "Create OWNERS file in master branch" am: 7ac5a9e75a
am: a2823e9249

Change-Id: I4fb5dd3d9e0713dbc48ea163ea0abbb64c257842
2019-01-21 22:34:25 -08:00
Chih-hung Hsieh a2823e9249 Merge "Create OWNERS file in master branch"
am: 7ac5a9e75a

Change-Id: I8faf7a4948cd3a59dce6230da7816c37e9f1f49a
2019-01-21 22:30:21 -08:00
Chih-hung Hsieh 7ac5a9e75a Merge "Create OWNERS file in master branch" 2019-01-22 06:21:36 +00:00
vadimt 2cf09dd500 Using "remaining time" API
Given the execution schedule restrictions, this will first use
reflection, and afterwards will switch to a "solid" API.

Bug: 118319143
Change-Id: I3410a043e81b09212cda256252d85ccf37381d6e
Tests: Manual
2019-01-18 18:34:12 -08:00
Chih-Hung Hsieh 6896b74a89 Create OWNERS file in master branch
Test: adding a meta file and doesn't affect build
Bug: 117838787
Change-Id: I9a0f4ae526179f4e5bd7420b30d10c53c1b427bf
Merged-In: I9a0f4ae526179f4e5bd7420b30d10c53c1b427bf
(cherry picked from commit 72c8c311ba)
2019-01-18 13:26:57 -08:00
TreeHugger Robot 3d996ace68 Merge "Using hourglass icons for DWB toast" into ub-launcher3-master 2019-01-18 21:01:38 +00:00
vadimt 534178c926 Using hourglass icons for DWB toast
Bug: 118319143
Change-Id: I67018db3ceb8b6c0d863a46c9a9148013c68c1f7
Tests: Manual
2019-01-18 12:50:08 -08:00
Kevin 5ec7b98c66 Add icon recents view for Go
Add a specific view for Go's icon recents. We also add a few properties
for use in future refactors.

Bug: 114136250
Test: Build Launcher3GoIconRecents
Change-Id: I9852679256158344ab276d1c477f55b7dd2d6a52
2019-01-18 11:22:49 -08:00
TreeHugger Robot 8efd678269 Merge "Optimizing :enter - :exit pairs." into ub-launcher3-master 2019-01-18 18:56:52 +00:00
TreeHugger Robot 6a874a583e Merge "Switching from mDevice.pressHome() to mLauncher.pressHome()" into ub-launcher3-master 2019-01-18 18:35:50 +00:00
TreeHugger Robot ce1ffc320f Merge "Add more diags for b/117332845" into ub-launcher3-master 2019-01-18 18:34:59 +00:00
TreeHugger Robot 4bf9336d5f Merge "Implementing available part of UX spec for DW toast" into ub-launcher3-master 2019-01-18 00:30:13 +00:00
Santiago Etchebehere 3fc41e760a Don't render background in PreviewRenderer
ThemePicker will add the current wallpaper as background instead.

Bug: 122262084
Change-Id: Ib0781abd09afc98a56649888c59074888af1740e
2019-01-17 13:25:59 -08:00
vadimt 759db43f3b Implementing available part of UX spec for DW toast
See https://docs.google.com/presentation/d/1AepsnLeKcRhjMW35SkB5yMKO3u6waigug8Tyfe0LO5o/edit#slide=id.g4c5ab81849_0_0

Also using time formatting code copy-pasted from Google DWB app.

Bug: 118319143
Tests: Manual
Change-Id: I84392d7655f402e38cf4c46ae530d06f755a7df8
2019-01-17 12:57:02 -08:00
Kevin 69d05656c6 Split PortraitOverviewStateTouchHelper for Go
Split out the logic in PortraitOverviewStateTouchHelper that is
dependent on the recents view implementation. This is done through a
separate helper class that we override on Go to stub out most of the
behavior.

This results in the Go version not supporting swipe transitions from
the recents state which is desired since we would otherwise risk
confusion over whether the swipe should go to the view or to the
transition (note that we will also take out the hotseat in this state).

Bug: 114136250
Test: Manual test NexusLauncher and l3goWithQuickstep
Test: Build l3goWithQuickstepIconRecents
Change-Id: I9b0e9c05171d279d03bbcb7f05344fa425f34b3e
2019-01-17 10:19:43 -08:00
TreeHugger Robot 866a8f984e Merge "Generalize SpringObjectAnimator." into ub-launcher3-master 2019-01-17 17:44:05 +00:00
Jon Miranda 60adc3fb83 Generalize SpringObjectAnimator.
This is in preparation for adding more springs to the state transitions.

Bug: 111698021
Change-Id: I32cd7894e940dae00895799280b244d68400d374
2019-01-16 15:15:56 -08:00
TreeHugger Robot 2e4672db8f Merge "Handle null ItemInfo.title for widget list" into ub-launcher3-master 2019-01-16 19:29:39 +00:00
Jonathan Miranda 45d9c63d0b Revert "Remove scrim fade animation when returning to launcher."
This reverts commit dad8d4434d.

Reason for revert: Bottom scrim is still visible so it creates a hard line when animation starts

Change-Id: If3e2a8e0965d40924a475f077d3c42e64d4d382d
2019-01-16 19:20:10 +00:00
android-build-team Robot b8ca74ccd7 Snap for 5235151 from c1bd5c42ff to qt-release
Change-Id: Idc41e18c97e964fc6d53ca1e67130366e987f774
2019-01-16 04:13:53 +00:00
vadimt 13edcc304f Add more diags for b/117332845
Bug: 117332845
Change-Id: I1726e69e8d39e65a39c175f97fe76ef4fa6d5d2b
Tests: No
2019-01-15 13:44:58 -08:00
Hyunyoung Song cbd01fc3dc Handle null ItemInfo.title for widget list
Bug: 122809947
Change-Id: I2f72fb0e152e93adbb4bc4204d5d688b273452ad
2019-01-15 11:45:33 -08:00
Anton Hansson c1bd5c42ff Merge "Move Launcher3QuickStep to /product" am: cf740b645c am: bff2d56849
am: e001b74bda

Change-Id: I725e17044248b4d6d85d916df4b280d62eb3c740
2019-01-15 06:20:09 -08:00
Anton Hansson e001b74bda Merge "Move Launcher3QuickStep to /product" am: cf740b645c
am: bff2d56849

Change-Id: Ic19ca059e72b1992d54164cc86121508e19d8190
2019-01-15 06:07:02 -08:00
Anton Hansson bff2d56849 Merge "Move Launcher3QuickStep to /product"
am: cf740b645c

Change-Id: I4629a894475347ead82f0b6e6da8296aa1fb7503
2019-01-15 05:47:32 -08:00
Anton Hansson cf740b645c Merge "Move Launcher3QuickStep to /product" 2019-01-15 13:23:15 +00:00
Anton Hansson b4f38deaa7 Move Launcher3QuickStep to /product
This app is frequently overriden by proprietary apps
on shipping devices, so move it to /product.

Also make it depend on its privapp permission grants.

Bug: 122353713
Test: boot aosp_arm64 emulator
Change-Id: Id21e610844c4001e40456263bcb3b4b3fde75962
2019-01-15 10:07:37 +00:00