Commit Graph

7485 Commits

Author SHA1 Message Date
Winson Chung
1a341002fc Add code path for the recents animation using window transitions.
Test: Enable in settings, swipe up

Change-Id: I1053f9e519c2f612bd3db0b66cd16ad9a30bfeb4
2018-01-29 14:14:07 -08:00
Sunny Goyal
7e2e67fd47 Adding isSeascape method to have a common place to orientation check
Change-Id: Ia61792b29ab0d1d74f76a8dfa53bbf968874dfaa
2018-01-26 13:47:32 -08:00
Mario Bertschler
2420a4e937 GradientView starting with 0 alpha of the gradient layer.
> We do not need hotseat protection of the gradient layer now that we
  are using the card UI for all apps. The gradient layer in collapsed
  state caused artifacts.

Bug: 67109038
Change-Id: Ia2b7da9d86729c211e49e2b87d28106077482566
2018-01-26 11:16:49 -08:00
Jonathan Miranda
3c24060b62 Merge "Refactor LauncherAppTransitionManager & polish for new app transitions." into ub-launcher3-master 2018-01-26 00:49:04 +00:00
TreeHugger Robot
2269258438 Merge "Temporary accesibility fix for opening all apps." into ub-launcher3-master 2018-01-25 23:38:11 +00:00
Mario Bertschler
f34cadea3b Temporary accesibility fix for opening all apps.
Bug: 72500733
Change-Id: I68b5391810a223aaddc87295ab4647124bfa7874
2018-01-25 15:25:58 -08:00
Sunny Goyal
426345bfc4 Adding AppsStore for handling various app updates
Change-Id: Ia2242ce583576ace0924ef7142793ba37f4adcb9
2018-01-25 15:19:29 -08:00
Jon Miranda
54441f5df9 Refactor LauncherAppTransitionManager & polish for new app transitions.
* Add start delay when launcher resumes from all apps or landscape.
* Track the last app transition animator and cancel it before beginning a new one,
  otherwise the animators can conflict with each other.
  ie. Opening an app from all apps and then immediately pressing back to return to
      all apps.
* Use class overrride instead of UiFactory.

Bug: 70220260
Change-Id: I4755d45d820f9d551e443d6c4a148e8789c5bc57
2018-01-25 14:32:47 -08:00
Sunny Goyal
ae2129e6ba Encoding the locale list in systemState so that icons and labels are updated properly
Bug: 70948387
Change-Id: Ia6348ff8c3e035b9d91bb14fb98c751f3f29ab89
2018-01-24 10:27:16 -08:00
Sunny Goyal
cfb630f8de Using a single launcher layout for all configurations
Bug: 71709920
Change-Id: Ib23112bc1636007cb41e1919a855bbf5298884b6
2018-01-23 14:31:26 -08:00
TreeHugger Robot
285c190ba7 Merge "Removing unused app discovery support" into ub-launcher3-master 2018-01-23 22:26:52 +00:00
Jon Miranda
701b0f528e Use AllAppsTransitionController to animate the hotseat & scrim.
Bug: 70220260
Change-Id: I69bff4234c2fd0c76cb43cdd89342dcc04f2db40
2018-01-23 14:05:13 -08:00
Sunny Goyal
01ce755753 Removing unused app discovery support
Change-Id: I670be29851b232caa5c05624ae37ae5e92a8b65f
2018-01-23 13:53:03 -08:00
Jonathan Miranda
b57721182c Merge "Launcher app close transition." into ub-launcher3-master 2018-01-23 17:39:28 +00:00
Jon Miranda
7853bdb8b5 Launcher app close transition.
Bug: 70220260

Change-Id: I0a3a6153dc1cba53546f792bf3ec037b1a5f6d90
2018-01-22 17:43:04 -08:00
Sunny Goyal
56ff06a8e8 Merge "Adding referrer information when launching market intent" into ub-launcher3-master 2018-01-23 00:29:29 +00:00
Sunny Goyal
67e75e20cc Adding referrer information when launching market intent
Bug: 72331091
Change-Id: I75ed764fd9964b58de97c287b8a26d24a0caa3fc
2018-01-22 15:14:23 -08:00
Jon Miranda
6586b54ded Fix crash for apps launched through non-BubbleTextView views.
* Same transition/animation, except we don't create a visual copy of the View.

Bug: 72314029
Bug: 70220260
Change-Id: I79898be1cae7160b5dc35cc1ea8ba3dc5b2db05c
2018-01-22 13:55:58 -08:00
Sunny Goyal
08af6b7984 Using state controller for moving the hotseat.
Using state controller ensures that when the state changes the UI is
properly updated based on the state properties.
This would prevent user getting stuck in an inconsistent UI

Bug: 72173796
Change-Id: I7690a94eed7c8a620479e4247d2b681a7374ce45
2018-01-22 10:13:41 -08:00
Sunny Goyal
41b36e0f22 Merge "Removing multi-state apha control for hotseat" into ub-launcher3-master 2018-01-19 23:25:42 +00:00
Sunny Goyal
cd77ba0cdd Merge "Adding a horizontal popup when when workspace is longPressed" into ub-launcher3-master 2018-01-19 23:22:21 +00:00
Sunny Goyal
02424b20f3 Adding a horizontal popup when when workspace is longPressed
Change-Id: I5b3c48262c246bfe53e0010ca89c820f42503eef
2018-01-19 15:11:10 -08:00
Sunny Goyal
19d32b76dd Removing multi-state apha control for hotseat
Change-Id: I68ccbe96caa70921aefd18fc8ec9ad0638c3fab1
2018-01-19 14:26:44 -08:00
Sunny Goyal
d8a3f3c251 Merge "Using same layout for drop-target bar in landscape and portrait" into ub-launcher3-master 2018-01-19 20:39:46 +00:00
Sunny Goyal
d1b3f5cb38 Using same layout for drop-target bar in landscape and portrait
> Adding a tooltip on drag over when the text is not visible

Bug: 71709920
Change-Id: I1897a8dacd191fb1aeaec37f5d5c73c49517192a
2018-01-19 12:16:54 -08:00
Sunny Goyal
3b48472621 Fixing crash in TraceHelper when dragging same message across multiple threads
Change-Id: I976a8ae5ac1786d3984b1ff069a8a0c348f48e1c
2018-01-19 09:39:57 -08:00
TreeHugger Robot
6682318dc7 Merge "Don't show the discovery bounce when running test harness" into ub-launcher3-master 2018-01-19 00:31:17 +00:00
Adam Cohen
2e95ce8b8c Don't show the discovery bounce when running test harness
Change-Id: I03d31e5b8eaf5b61920c63fd455dab4b817a2466
2018-01-18 16:13:03 -08:00
TreeHugger Robot
04ff8b1ca6 Merge "Fix work tab is gone when leaving search mode" into ub-launcher3-master 2018-01-18 23:31:55 +00:00
Jonathan Miranda
288647874b Merge "Fallback to old implementation for opening apps in MW mode." into ub-launcher3-master 2018-01-18 23:30:26 +00:00
Jon Miranda
17940f053d Fallback to old implementation for opening apps in MW mode.
Bug: 70220260
Change-Id: I20aa61357c67e11806823cdfcfbdb76ef773554b
2018-01-18 15:13:37 -08:00
Sunny Goyal
234b92d4ec Merge "Reapplying state UI when the insets change" into ub-launcher3-master 2018-01-18 23:05:51 +00:00
Jon Miranda
de43a71b06 Move scrim from DragLayer to LauncherRootView.
This change will make opening/closing animations a lot cleaner.

Change-Id: I7f8ae301a9a126023833e282d6654bebd09bb306
2018-01-18 14:15:45 -08:00
Sunny Goyal
ce8809a588 Reapplying state UI when the insets change
Change-Id: Ief9588400f332b2c5b084a8a11c3102b2c20c4ea
2018-01-18 14:03:19 -08:00
Jon Miranda
69057173a7 Synchronized opening app transition animations.
Bug: 70220260
Change-Id: I3c8e1c477266fb3bd7a39f74e3e1191e82ce58e9
2018-01-18 09:44:54 -08:00
TreeHugger Robot
fddaaca841 Merge "Update apps icon in prediction apps row when apps are updated" into ub-launcher3-master 2018-01-18 10:45:12 +00:00
TreeHugger Robot
5a4b7a449c Merge "Added StatusBarNotificationsListener interface." into ub-launcher3-master 2018-01-17 19:10:57 +00:00
Tony Wickham
518406bbdd Merge "Fix regression with popup refactor" into ub-launcher3-master 2018-01-16 23:48:58 +00:00
Tony Wickham
49556b1f11 Fix regression with popup refactor
System shortcuts used to be a child of the popup, so we were
telling the parent to close; now the popup should just close
itself.

Bug: 71517074
Change-Id: I5c359f1169fee155790a30b6ed4a0464ef8fc043
2018-01-16 15:17:28 -08:00
TreeHugger Robot
d811d99daf Merge "Fix for badge updates in PredictionRowView" into ub-launcher3-master 2018-01-16 23:01:12 +00:00
Mario Bertschler
62d2db1d60 Fix for badge updates in PredictionRowView
Bug: 72054359
Change-Id: I6d435c380d182ba99f9627c049f7f36ad331ee1d
2018-01-16 14:49:51 -08:00
Sunny Goyal
5d1acbbbf9 Merge "Removing some device profile dependencies in view contructors" into ub-launcher3-master 2018-01-16 22:46:30 +00:00
Sunny Goyal
12069e6cbf Removing some device profile dependencies in view contructors
Bug: 71709920
Change-Id: I13e33dceaeff71e3fb7bbb93f24be69c17d6da96
2018-01-16 14:17:47 -08:00
TreeHugger Robot
80dc2757ac Merge "Fix fast scrolling is not "enabled" in work tab" into ub-launcher3-master 2018-01-16 21:36:46 +00:00
Tony Mak
b5950bbd6c Update label accordingly when work mode is changed
Also, updates the work related strings accordingly.

Fix: 71987096

Change-Id: Iedbf6ee04f3a165a392efdf2bd351817997817ca
2018-01-16 21:33:56 +00:00
TreeHugger Robot
1c24284508 Merge "Ensuring that Recents view is always loaded when going to Overview state" into ub-launcher3-master 2018-01-16 20:13:14 +00:00
Sunny Goyal
75c59acf5c Ensuring that Recents view is always loaded when going to Overview state
Change-Id: If2337a0be66f4ca68dd54954b7368f38d70a40d4
2018-01-16 12:01:57 -08:00
Tony Mak
5e48935344 Fix fast scrolling is not "enabled" in work tab
We should just take the ViewPager.getLeft() into account, but not the
recycler view itself.

Test: Fast scroll in both personal and work tab.

Fix: 71702218

Change-Id: Iaf508c852f197f93f8cd1d1e0c30d9f2fd7fa980
2018-01-16 20:01:38 +00:00
George Hodulik
fc1c96bde8 Added StatusBarNotificationsListener interface.
Change-Id: I62da2da4169835edf043bc085583adfb027bebbe
2018-01-16 11:56:13 -08:00
Mario Bertschler
7662a3e917 Enabling to retrieve a badge-package as an extra in ShortcutInfoCompat for
whitelisted package.

> badging respects the badge-package extra

Change-Id: I4e06cd497dff91949f8b0a42c7f3d5aaa724c038
2018-01-16 11:29:34 -08:00