Commit Graph

33301 Commits

Author SHA1 Message Date
Tony Wickham 79e70c3a82 Merge changes Ia9df40ae,Ieeaa5b66 into ub-launcher3-master
* changes:
  Move params for ClipAnimationHelper#applyTransform into TransformParams
  TaskView has fullscreen progress instead of boolean
2018-12-22 00:15:09 +00:00
Tony Wickham f5c3cddd05 Merge "When undoing a removal, always return to the page it came from" into ub-launcher3-master 2018-12-22 00:14:42 +00:00
Tony Wickham c87388c00d Move params for ClipAnimationHelper#applyTransform into TransformParams
This will help keep the code clean when we add more params, e.g. for
live tiles and for the scrolling gesture.

Bug: 111699315
Change-Id: Ia9df40ae85fe29911b957bd9b06b8c8a31f3be39
2018-12-22 00:04:29 +00:00
Tony Wickham 36b2dba1de TaskView has fullscreen progress instead of boolean
This way we can update the insets of the adjacent task throughout
the swipe up from an app.

Bug: 111699315
Change-Id: Ieeaa5b6667e44f82e7e097acb9f0552609b15809
2018-12-21 15:49:45 -08:00
Bill Yi 7332cddb39 Import translations. DO NOT MERGE
Change-Id: Ifac82f65480a8f5405b7250297945fb296a1fe5b
Auto-generated-cl: translation import
2018-12-21 15:33:28 -08:00
Tony f80e893163 When undoing a removal, always return to the page it came from
We were already returning to the current page, but this wasn't
always right, e.g. when removing the last item on the last page.
So now we mark the page the item was removed from, and bind that
page first when undo is clicked.

This also addresses an issue where we incorrectly returned to the
first page if currentPage = INVALID_RESTORE_PAGE, which happens if
there are no items on the first page.

Bug: 118846684
Change-Id: I4ec1f64b24ba1cc308ce08bfb3111b5981fae99b
2018-12-21 12:21:53 -08:00
Hyunyoung Song c641bd107c Provide more context for "Remove" and "Uninstall" strings for TC
Bug: 120255489
Change-Id: Iec1d93e1aab0bae38d95e9f4e2c87e9328f04da3
2018-12-21 11:01:27 -08:00
Tony 1e0e558cbf Update Launcher3 Go device profile format
Bug: 121044483
Change-Id: I1aa18a8f4a8969e1349c0930e06413b6a2af4ed1
2018-12-20 11:29:24 -08:00
Jorim Jaggi 457c20ebc1 SyncRtTransactionApplier -> SyncRtTransactionApplierCompat
Bug: 118118435
Change-Id: I37bba45db79890f5d7ae6c1d1d63422a89230b35
2018-12-20 14:38:30 +01:00
Hyunyoung Song 09b404cc02 Merging ub-launcher3-master, build 5192449
Test: Manual
Change-Id: I66ac8dfbc118536b2f0d5c9d096d474290e37a56
2018-12-19 18:01:39 -08:00
Hyunyoung Song a7a9583bb8 Remove IconShapeOverride
Bug: 120736782
Change-Id: Iee44f10ff2b9ec447ae74d9ad6a0aa3668c401d6
2018-12-19 17:16:56 -08:00
TreeHugger Robot afe57dd0ef Merge "Add a secondary launcher activity (1/2)" into ub-launcher3-master 2018-12-20 00:28:57 +00:00
android-build-team Robot 3b9e93237d Snap for 5189750 from 727813f87b to qt-release
Change-Id: I955cd1c1c8e3e73b742bddc50ccdb9697045e083
2018-12-19 04:05:53 +00:00
Dave Mankoff 727813f87b Track when plugins are disabled due to crashes.
Bug: 120901833
Test: atest SystemUITests
Change-Id: I243d79290a5162371dd46abd0115f73deda62b3e
2018-12-18 12:46:46 -05:00
vadimt 943b28464d Test swiping up from a killed launcher
Bug: 121164587
Test: StartLauncherViaGestureTests
Change-Id: I01c5bfc0aa23418bad7d44b8d9cf8b95cbe0b320
2018-12-17 18:09:07 -08:00
Vadim Tryshev 57e98b8006 Merge "Adding tests that would reliably reproduce shifted search." into ub-launcher3-master 2018-12-17 23:21:55 +00:00
vadimt 00d4255272 Adding tests that would reliably reproduce shifted search.
This would guaranteed to repro b/118441555 before it was fixed.

The test doesn't use the most powerful feature of race condition
reproducer, which is enumerating all possible event sequences.

Instead, it uses explicit repro sequences, which makes the test much
faster.

Bug: 120628042
Test: The added test
Change-Id: I89a7a9964f160a8a20ba3d9dda2f248237713014
2018-12-17 14:41:20 -08:00
Tony Wickham bf560728c1 Merge "Remove notification dot if app is disabled" into ub-launcher3-master 2018-12-14 00:10:24 +00:00
Vadim Tryshev 1ebf6f5d77 Merge "Not relying on activity manager when choosing a touch consumer." into ub-launcher3-master 2018-12-13 21:33:05 +00:00
vadimt 195d5694e4 Not relying on activity manager when choosing a touch consumer.
Activity manager can report launcher activity as running when is hasn't
yet been resumed.

Bug: 120628042
Test: TaplTests, Fallback tests, manual tests
Change-Id: I6b382b17d05066a63360acc19e094674ecca7130
2018-12-13 12:41:53 -08:00
vadimt d177aba4a2 Fixing ConcurrentModificationException
Bug: 120664974
Test: Manual
Change-Id: I67e88c6980fbabb9afb9f4946baf731852f19b19
2018-12-13 11:53:56 -08:00
Chilun 3516bd89d9 Add a secondary launcher activity (1/2)
This secondary launcher activity with new category SECONDARY_HOME and
multiple instance supporrted could be used on sencondary display.

Bug: 118206886
Bug: 114329798
Test: Manual
Change-Id: Ibaecf8ef7614389760d0fcc547ef6d378a921583
2018-12-13 09:21:47 +00:00
Winson Chung 381a75c194 Fix issue with sync rt applier
- Use the shared lib call to ensure that we always have the sync rt
  applier with viewroot.

Change-Id: I911362d105a2c0223693640a28d358caf6dd29d0
2018-12-11 13:04:38 -08:00
TreeHugger Robot 345273b6a5 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-12-11 19:02:34 +00:00
Bill Yi 80f5c19fd2 Import translations. DO NOT MERGE
Change-Id: I1539df9cc5f5633585a5714fc8069163d7edb951
Auto-generated-cl: translation import
2018-12-11 10:47:07 -08:00
android-build-team Robot 7ea029ccd6 Snap for 5174203 from b7b118546d to qt-release
Change-Id: I7b18326fc5c80b6533845e93f910fe1eb736a228
2018-12-11 04:15:29 +00:00
Winson Chung 282ad21f71 Fix issue with swipe up animation stalling after swiping up
- When the launcher activity is killed, the next init will attempt to
  create a sync applier, which uses the ViewRootImpl of the target
  view. But when onActivityInit() is called, the recents view has not
  been attached to the hierarchy so the view root is not accessible.
  The SyncRtSurfaceTransactionApplier also ignores scheduling all
  updates when it has a non-existant view root, which leads to the
  app surface getting stuck midway during a swipe up (only affects the
  duration of the animation)

Bug: 119661847
Test: adb shell am force-stop com.google.android.apps.nexuslauncher
      then try and swipe up slowly

Change-Id: I8eef9fe38c55c0cb438d63b41c335f78679278a3
2018-12-10 19:08:44 -08:00
Lucas Dupin b93e419e8b Speed up corner animation
The size of the window changes during the animation progress, making the
window look rounded for longer. What we want is to animate it from the
shape of the icon to the shape of the display.

Change-Id: Ib4889b697bf78cdc37c160130fde961650080fb7
Fixes: 120553563
Test: visual
2018-12-11 00:03:54 +00:00
Sunny Goyal 5469fad289 Merge "Bye bye workspace screens table" into ub-launcher3-master 2018-12-10 21:25:18 +00:00
Sunny Goyal c5939393a9 Bye bye workspace screens table
Removing a separate table for workspace screens. List of screens are
automatically parsed using the items in the favorites DB. Order of the
screen based on the screen id and rearranging screens is no longer
supported. In case the screens need to be rearranged, all the items
in the favorites db will need to be updated with new screen ids.

This makes backing up the DB (in the same database) easier as only
one table needs to be duplicates.

Change-Id: I8ba947a898f637d780e2f49925e78604263126e8
2018-12-10 11:43:35 -08:00
TreeHugger Robot ee6e6ea4b6 Merge "Moving TaplTests to AOSP" into ub-launcher3-master 2018-12-10 18:33:57 +00:00
Lucas Dupin b7b118546d Merge "Rounded corners polish" 2018-12-10 18:18:41 +00:00
android-build-team Robot 3fac255df9 Snap for 5171533 from b4b943583c to qt-release
Change-Id: I25a09cd3d863ee0a957e2439a9d6a1e332f046e7
2018-12-09 04:08:59 +00:00
Lucas Dupin d143613023 Rounded corners polish
Fixes:
- Windows too round during launch animation
- Radius not matching window when swiping down

Test: visual
Bug: 120553563
Change-Id: I20ac56ac21c196c2f599b8b45af1e3c072ee59f0
2018-12-07 14:25:07 -08:00
Winson Chung b4b943583c Merge branch 'ub-launcher3-master' into launcher3merge2018-12-07
Test: Presubmit
Change-Id: I063ecf5b4373af34d24b4af444811a5d17198cf5
2018-12-07 12:28:34 -08:00
Vadim Tryshev ed01e28408 Moving TaplTests to AOSP
And fixing TAPL for AOSP.

Bug: 110103162
Test: TaplTests
Change-Id: Ib9fef02b789a9c7444643550d56b9dda4e085b03
2018-12-07 12:00:41 -08:00
Sunny Goyal 415f173331 Changing the format for device profile definition
Device profiles are defined such that the grid size is fixed
and only the icon and text sizes change. For every grid size option
there are multiple display configurations.

Bug: 118758696
Change-Id: I54aac9106c576324b02530913c447e849b4ae1da
2018-12-07 00:06:25 -08:00
TreeHugger Robot dab230f63c Merge "Add framework for reliably reproducing race conditions." into ub-launcher3-master 2018-12-07 07:14:01 +00:00
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
Vadim Tryshev 0d4ac57128 Add framework for reliably reproducing race conditions.
Bug: 120628042
Test: RaceConditionReproducerTest
Change-Id: Id658e2b0da6af186b76501ff16edbd135dda3c9b
2018-12-06 16:11:18 -08: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
Winson Chung affe2bc261 Merge "Revert "Revert "Specify display ID while calling getNavBarPosition()""" into ub-launcher3-master 2018-12-06 19:58:25 +00:00
Winson Chung 5466f284f3 Merge changes from topic "rounded_corners_ub_launcher" into ub-launcher3-master
* changes:
  Revert "Revert "Correct 🕳️ 👊👊👊👊👊👊""
  Revert "Revert "Rounded corners on app transitions""
2018-12-06 19:58:25 +00:00
Winson Chung 54228d70b4 Merge "Revert "Revert "Updating shared lib for rounded corners.""" into ub-launcher3-master 2018-12-06 19:58:25 +00:00
Winson Chung 995478aee3 Revert "Revert "Correct 🕳️ 👊👊👊👊👊👊""
This reverts commit 33226ec0e1.

Reason for revert: Most test devices have the platform changes

Change-Id: Ic3f1c144537d127c690c7949f7144dedf0611c49
2018-12-06 19:37:16 +00:00
Winson Chung 506565aaa0 Revert "Revert "Specify display ID while calling getNavBarPosition()""
This reverts commit 5859f7d62c.

Reason for revert: Most test devices have the platform changes

Change-Id: I86b61f07f873e0d231aaac322001065730436233
2018-12-06 19:37:01 +00:00
Winson Chung 5f593c382f Revert "Revert "Updating shared lib for rounded corners.""
This reverts commit de72d339e5.

Reason for revert: Most test devices have the platform changes

Change-Id: Ibe7e22c5073f2405483945ac726e528bef88fbc9
2018-12-06 19:36:52 +00:00