Commit Graph

10334 Commits

Author SHA1 Message Date
Sunny Goyal 3e195d7429 Disable fake landscape UI
Bug: 131360075
Change-Id: I21e0a6cdf332e2d16821c589f9630c254b595770
2019-06-19 14:25:00 -07:00
TreeHugger Robot 234fc60302 Merge "Fixing onStateTransitionEnd is not called at the end of reset state" into ub-launcher3-qt-dev 2019-06-19 18:25:12 +00:00
TreeHugger Robot 3bd876ba90 Merge "Set mNextPage after springBack when overscrolling" into ub-launcher3-qt-dev 2019-06-18 23:04:57 +00:00
Tony Wickham 312209b01a Set mNextPage after springBack when overscrolling
Bug: 134609899
Change-Id: I74294655689c4ccd66896550b74e205d1c3df543
2019-06-18 15:55:21 -07:00
Tony 32cb616fab Fix bugs with hotseat in overview
- Allow touches to go through recents to the hotseat.
- Translate the hotseat with the all apps shelf when swiping
  up in background app state.

Bug: 135222111
Change-Id: Ib887fc25ccfeb406a44074198c11f7b1d245443c
2019-06-18 13:41:08 -07:00
Sunny Goyal 8be504000a Fixing onStateTransitionEnd is not called at the end of reset state
Bug: 135299165
Bug: 133867119
Change-Id: Ifac762a44fa45dfef72a9357f09fc96c34162565
2019-06-18 12:03:51 -07:00
Hyunyoung Song f46e3956dd Merge "Fix HOME/RECENTS/BACK duplicated, missing logging" into ub-launcher3-qt-dev 2019-06-14 22:08:48 +00:00
Sunny Goyal b030e5162c Merge "Adding null check before accessing shortcut extras" into ub-launcher3-qt-dev 2019-06-14 17:50:10 +00:00
Sunny Goyal b223cc857b Adding null check before accessing shortcut extras
Bug: 135257548
Change-Id: I1ecc296967a39eb73a60e71a4b1962b92298f327
2019-06-14 07:56:32 -07:00
TreeHugger Robot 89e9203bef Merge "Notifying widgets to use dark text when rendered on light wallpaper" into ub-launcher3-qt-dev 2019-06-13 22:15:04 +00:00
Sunny Goyal df7abe1040 Notifying widgets to use dark text when rendered on light wallpaper
Bug: 109954539
Change-Id: Ifab21626a070c35b351ea99ea3f09f3bf2230d19
2019-06-13 15:07:20 -07:00
TreeHugger Robot ec5561060b Merge "More tracing for app not starting from all apps" into ub-launcher3-qt-dev 2019-06-13 21:22:14 +00:00
vadimt f02bef7345 More tracing for app not starting from all apps
Bug: 132900132
Bug: 134172603
Change-Id: I6a85e616552e84b8165661d25ed4330f55d3946f
2019-06-13 14:05:17 -07:00
Jonathan Miranda 8f3f2f33d3 Merge "Preloads the icon drawable for app open to reduce latency b/w swapping views." into ub-launcher3-qt-dev 2019-06-13 20:41:16 +00:00
Jon Miranda 6dfa312896 Preloads the icon drawable for app open to reduce latency b/w swapping views.
For app close, we already load the icon as soon as we can.

Bug: 135130011
Change-Id: Ia2c45737cf24d1ab5911b222ae097d7a1f9d6a31
2019-06-13 13:17:25 -07:00
Sunny Goyal 5b636ebfd4 Optimizing some layouts in taskview
> Recycling DigitalWellBeingToast so that the view is not inflated everytime
> Simplifying DigitalWellBeingToast to use a single text view
> Adding support for footers in taskView without creating additional layout

Bug: 122345781
Change-Id: Ia889819b93eb8644532ea95c6767554874d5e2d1
2019-06-13 10:39:46 -07:00
Hyunyoung Song 2a70b3d6aa Fix HOME/RECENTS/BACK duplicated, missing logging
Bug:132906035

Double logging onResume when Launcher resumed via back
Double BACK logging when in taskswitcher state

Change-Id: I44233339b238b6bee32ec2c7b0de4908b2556566
2019-06-12 17:11:24 -07:00
Sunny Goyal 022b182634 Updating consumed insets when dispatching to child views
Bug: 134963243
Change-Id: I4fa072128398cfd22b906037c6c444495781c9d0
2019-06-12 12:15:16 -07:00
Sunny Goyal c8502c1df5 Do not rebind when when deviceProfile has not changed
This avoids UI flicker when using fakeLandscape UI during swipe-up animation

Bug: 131360075
Change-Id: I651e0acb79b54be66b93c746eed6e9b099f2f767
2019-06-12 11:25:26 -07:00
TreeHugger Robot 98cf5545e5 Merge "Saving instance state so that widget cache is updated properly before rebind" into ub-launcher3-qt-dev 2019-06-12 18:15:22 +00:00
TreeHugger Robot 58dc1cfc61 Merge "Merge branch 'ub-launcher3-qt-r1-dev' into ub-launcher3-qt-dev" into ub-launcher3-qt-dev 2019-06-12 17:40:06 +00:00
Winson Chung 2fb6a4cfc9 Merge "Reset the overview sysui state when returning to the previous task" into ub-launcher3-qt-dev 2019-06-12 17:27:32 +00:00
vadimt 63a3846b56 Merge "Calling sendStateEventToTest() from a place guaranteed to be called" into ub-launcher3-qt-dev
am: c1fa3abd2e

Change-Id: I90802248680747645bc975e81fb4fe477f2db679
2019-06-11 17:31:17 -07:00
TreeHugger Robot c1fa3abd2e Merge "Calling sendStateEventToTest() from a place guaranteed to be called" into ub-launcher3-qt-dev 2019-06-12 00:12:08 +00:00
Winson Chung a36c8004ed Reset the overview sysui state when returning to the previous task
- Otherwise, it gets stuck until the next time launcher pauses/task launch

Bug: 135008910
Change-Id: Ia0696d764522e36a4064583cb82003c1e9c0cb7a
2019-06-11 16:53:01 -07:00
Winson Chung ee15e52258 Merge "Defer listening for notification changes until resume" into ub-launcher3-qt-dev
am: ca29259673

Change-Id: I135a79f492491c6c5c0bc449bc0c7faabbd8fd10
2019-06-11 15:01:50 -07:00
TreeHugger Robot ca29259673 Merge "Defer listening for notification changes until resume" into ub-launcher3-qt-dev 2019-06-11 21:43:02 +00:00
vadimt 8f9cf2f38f Calling sendStateEventToTest() from a place guaranteed to be called
See discussion in the bug

Bug: 133867119
Change-Id: Id162cfa3b0a0aafe17dd9b41e2c4b5d02c411830
2019-06-10 18:01:58 -07:00
Winson Chung 8758311c2a Defer listening for notification changes until resume
Bug: 134964922
Test: Take a systrace while swiping up, ensure there are no resource icon
      loads other than the icon for the current app while launcher is
      starting

Change-Id: I469a2089df02434918125b005cd795f5514ec389
2019-06-10 14:20:58 -07:00
Sunny Goyal 76ba0a328d Saving instance state so that widget cache is updated properly before rebind
List widgets use a static cache which is initialized as part of saveInstanceState.
Calling this ensures that no extra binder calls are made on rotation

Bug: 134707989
Change-Id: I8d4450134168bd412ba2911c57354a603868bc47
2019-06-10 12:00:10 -07:00
vadimt af6325138b More tracing for b/133009122
am: 34b2f03b30

Change-Id: I4487817d7b2905bf8837a35a2e13147c63ed1344
2019-06-10 11:55:05 -07:00
vadimt 34b2f03b30 More tracing for b/133009122
Bug: 133009122
Change-Id: I09a95b88ea55e1759151b2bcd5ede0c1efa38e7e
2019-06-10 11:26:37 -07:00
vadimt 1b0b3aa1ba More tracing for b/133009122
am: c25d975342

Change-Id: Iee85b5a93612867c8eabae37b0d6fa1a388a4084
2019-06-07 13:11:43 -07:00
vadimt c25d975342 More tracing for b/133009122
Bug: 133009122
Change-Id: Ic843c3147d8a7513b6e2b8732af18458eae10d63
2019-06-07 12:13:11 -07:00
Vadim Tryshev 9d14e5520e Merge "Freezing all apps updates during certain tests" into ub-launcher3-qt-r1-dev 2019-06-07 01:34:30 +00:00
vadimt 51d2cf913c Merge "Add tracing for b/134532571" into ub-launcher3-qt-dev
am: bfe171f9cb

Change-Id: I86539398e74beb527cbede66143ff1c61990cca8
2019-06-06 17:31:41 -07:00
TreeHugger Robot bfe171f9cb Merge "Add tracing for b/134532571" into ub-launcher3-qt-dev 2019-06-07 00:10:30 +00:00
vadimt 0f08db5eeb Add tracing for b/134532571
Bug: 134172603
Bug: 134532571
Change-Id: I75c8e0212a9b35d33842d5380fbe733b486be932
2019-06-06 17:00:57 -07:00
Sunny Goyal bbbfc62c63 Merge "Disable seamless rotation for 3 and 2 button mode" into ub-launcher3-qt-dev
am: 19f7c6fefb

Change-Id: Iec2636f14a157e9a9b5e9c47e1c258b9158dc942
2019-06-06 15:58:04 -07:00
Sunny Goyal 0b1cb75ee8 Disable seamless rotation for 3 and 2 button mode
Bug: 134095068
Change-Id: I8603e49a85b5524a02c9085485a180b022e3f91e
2019-06-06 15:35:45 -07:00
vadimt d4c90e12e9 Freezing all apps updates during certain tests
This CL adds a very low risk because most (but not all) changes affect
only Launcher behavior during the test.

This should fix a lab-only flake when all apps keeps changing while
the test is working with it.

Example: test figures out which icon to click, by the moment it clicks
there, there is another icon there, or the icon is under the search box,
and clicking opens IME.

Switching test devices to airplane mode didn't help. The earlier change
that prevents popup menu cancellation is not general enough.

Now the tests are given an API to explicitly freeze and unfreeze
all-apps, which should be a final solution.

Bug: 132900132
Bug: 133765434
Change-Id: I8b81cc9be004482beb6cdcdd05406e2d9b4c7629
2019-06-06 11:10:56 -07:00
Sunny Goyal 5db7cb9c2d Merge "Fixing wrong origin when launching new task from overview" into ub-launcher3-qt-dev
am: bfaabbea81

Change-Id: Ie0939ae8c5286631da3ef08ffaf0151bdc81c7e6
2019-06-05 19:54:59 -07:00
Sunny Goyal bfaabbea81 Merge "Fixing wrong origin when launching new task from overview" into ub-launcher3-qt-dev 2019-06-06 00:16:29 +00:00
Tony Wickham dd31cda247 Merge "Fade out scrim when swiping to home" into ub-launcher3-qt-dev
am: be1fde798c

Change-Id: I490a890b122a87a42e21b2dda30abb32c209a717
2019-06-05 15:36:30 -07:00
Tony Wickham be1fde798c Merge "Fade out scrim when swiping to home" into ub-launcher3-qt-dev 2019-06-05 22:27:49 +00:00
Sunny Goyal 90e9352ee1 Merge "Allowing tracing to be enabled using command line on all build flavors" into ub-launcher3-qt-dev
am: 0d6856a108

Change-Id: I8366486c5370ed34f2694b37be41f6fed7e66d54
2019-06-05 15:19:24 -07:00
Sunny Goyal b88d4a64fd Allowing tracing to be enabled using command line on all
build flavors

Change-Id: I5f8ee996bdcede2393eeb4aaa1b45fec7619d405
2019-06-05 14:09:51 -07:00
Sunny Goyal bda6b45341 Fixing wrong origin when launching new task from overview
> Also removing some unnecessary layout passes during launch animation

Bug: 133226418
Change-Id: I36fe69827853366deb7c56ca25f39e20c1a0b825
2019-06-05 12:25:28 -07:00
Zak Cohen 8d19146b7b Remove unused hints code.
This layout is handled by the provider of the hints now.

Bug: 132886768
Test: manual
Change-Id: Ifc0db2395a7503b1b03dcb796961ef6647c0413b
(cherry picked from commit f3231f417d)
2019-06-05 11:18:09 -07:00
Sunny Goyal 87c8a511cd resolve merge conflicts of f17eb616a8 to ub-launcher3-qt-r1-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I4e177dfb7ba3bde6eb53f63c2f2df273feef90ee
2019-06-05 10:44:02 -07:00