Commit Graph

141 Commits

Author SHA1 Message Date
Bill Yi 934a1cb6f4 Import translations. DO NOT MERGE
Change-Id: I598aeef629ca1a842172b6108c64f29aadb9f06a
Auto-generated-cl: translation import
2018-10-25 06:26:36 -07:00
Vadim Tryshev 3514a22313 Adding code to open DWP settings of a recent task
Will transition to an API for opening settings if this CL lands:
ag/5338673.

Bug: 118319143
Test: manual test on a prototype
Change-Id: Ia40576e0cd6196bfb0a0e8657916bbadff4c0b59
2018-10-24 13:30:33 -07:00
Winson Chung cc8dbf31db Caching clean up, remove dependency on old shared lib loading/caching logic
- Clarify caching policy, we only cache the last N task snapshots
- Pull out necessary logic from RecentsTaskLoadPlan (deprecated) into
  launcher class RecentTasksList which also manages the invalidation of
  the last loaded list
- Pull out logic from task loading logic in the shared lib into separate
  classes TaskThumbnailCache and TaskIconCache, and have each task view
  manage the load request for data

Bug: 117603579
Test: Thumbnails still load

Change-Id: I938e4dea19e7f5d24724c32194d254ca003e89aa
2018-10-23 00:01:07 +00:00
Bill Yi 07f81e00f3 Import translations. DO NOT MERGE
Change-Id: I55f66fb29371969630a7c86c2f47bc8f1d6e9f0b
Auto-generated-cl: translation import
2018-09-04 16:15:46 -07:00
Matthew Ng eb9cc9dbd5 Animate the long press icon scale for task menu to match task view
Use scale listeners to track each other's icon scale to match them.

Test: go to recents and long press icon
Fixes: 110789415
Change-Id: I9bba3130ecf1d099db9708c84e709d16f5906c36
2018-07-17 11:21:23 -07:00
Android Build Merger (Role) a43a22dad7 [automerger] Revert "Add stagger and "springs" to app closing transition." am: f274996ef3
Change-Id: Ic3e64ddfcd62489548e0b929d899270d0fccf9e6
2018-06-26 23:26:35 +00:00
Jonathan Miranda f274996ef3 Revert "Add stagger and "springs" to app closing transition."
This reverts commit cd57901ca4.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I13e9d2db8f6d6118a1448ba04b67c81b4e485447
2018-06-26 23:24:20 +00:00
Android Build Merger (Role) 012dad7523 [automerger] Revert "Tune app closing/launcher resume animation "spring" values." am: 5023771e05
Change-Id: I7216325a14ad1328311eecc59e7c99f79dc54521
2018-06-26 20:21:09 +00:00
Jonathan Miranda 5023771e05 Revert "Tune app closing/launcher resume animation "spring" values."
This reverts commit c9a7c50fac.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I7ed4270b742803265ed4e3e13b63688842e0b48c
2018-06-26 20:21:07 +00:00
Android Build Merger (Role) a39ad8044a [automerger] Tune app closing/launcher resume animation "spring" values. am: c9a7c50fac
Change-Id: I620eb8f6d2c86b64eb2ff2ed6df2efecfd80a169
2018-06-25 23:43:41 +00:00
Jon Miranda c9a7c50fac Tune app closing/launcher resume animation "spring" values.
Bug: 109828964
Change-Id: I64252667451f511b7affdde5ffb28812876e7f4c
2018-06-25 16:42:58 -07:00
TreeHugger Robot c22289b69e Merge "Touching outside the task in overview goes home" into ub-launcher3-edmonton-polish 2018-06-22 17:44:37 +00:00
Android Build Merger (Role) e98d0cec4a [automerger] Touching outside the task in overview goes home am: b5669efa36
Change-Id: Ib134345cae0afc91f22899fac20a8b93c5930dc1
2018-06-21 23:04:07 +00:00
Matthew Ng b5669efa36 Touching outside the task in overview goes home
There is also a deadzone area around the clear all button to tap easier.

Test: start overview click anywhere that is not the shelf or task
Change-Id: I187ff264444da542aca111b57d94c8199f5a0384
Fixes: 110232233
2018-06-21 16:03:48 -07:00
Android Build Merger (Role) 15caa4e90f [automerger] Add stagger and "springs" to app closing transition. am: cd57901ca4
Change-Id: Iecc50b99ad23502212d6cd164b06ab83a9b5e177
2018-06-20 23:35:34 +00:00
Jon Miranda cd57901ca4 Add stagger and "springs" to app closing transition.
The "spring" is actually three sequential animations: 1) a slide,
2) an oscillation, and 3) a settle.

Bug: 109828964
Change-Id: I0a2c55f877446a6408952a1201636760283be57b
2018-06-20 16:35:19 -07:00
Android Build Merger (Role) 54c1af806f [automerger] Moving clear all button inside the recents view am: c82c6396e9
Change-Id: I1109b5ae959cab870fbf81e60ca143534b22cc20
2018-06-11 20:51:12 +00:00
Sunny Goyal c82c6396e9 Moving clear all button inside the recents view
Bug: 72222505
Bug: 109828536

Change-Id: I843b79db3e47abc2c41ed78f186b9c941941ddef
2018-06-11 13:51:03 -07:00
Android Build Merger (Role) d822a85aa5 [automerger] Making the self always follow the vertical progress without any min height limit. After a certain height, the self fades out, but keeps following the vertical progress. am: 0f3af75eb0
Change-Id: Id6a0999f2ee3bf140df7e407011648a096fe1b8b
2018-06-11 16:51:49 +00:00
Sunny Goyal 0f3af75eb0 Making the self always follow the vertical progress without any min height limit.
After a certain height, the self fades out, but keeps following the vertical progress.

Eventually the fade-out can be decoupled from vertical progress and tied to the state

Bug: 109829614
Change-Id: I9808ed3fa1730b938196bc6d3518a6d096a13f4c
2018-06-11 09:51:42 -07:00
Android Build Merger (Role) 184e968628 [automerger] Changed the Task Menu to overlay on top of the task view am: 1b9c3d6fe3
Change-Id: I572cb5fe8801b2374487d489f78f2bf232df7217
2018-06-08 21:25:18 +00:00
Matthew Ng 1b9c3d6fe3 Changed the Task Menu to overlay on top of the task view
When tapping the icon for each card in overview, the options will
overlay on top of the task view below the icon instead of popping up
above the task view.

Change-Id: I42746022432385d976134988262514a238a5066e
Fixes: 109676098
Test: go to overview, tap the icon for the task
2018-06-08 14:24:22 -07:00
Android Build Merger (Role) a7d219f798 [automerger] Some launcher3 fixes so that it compiles with different configurations am: d0f43ceba7 am: 9e40ef9894
Change-Id: Ie3eed75fab341dfe274a566c71d6b6fdbab70854
2018-05-31 01:15:28 +00:00
Sunny Goyal d0f43ceba7 Some launcher3 fixes so that it compiles with different configurations
Bug: 79996542
Change-Id: I4267aeb8f5b0714415970c63453049ff41466644
2018-05-30 18:15:21 -07:00
Android Build Merger (Role) 13fbca937d [automerger] Fix clipping recents when scaling down am: 615ad40c38 am: 7f510c5886
Change-Id: Ief4341d4b37b59da54729c114fa066fc53484171
2018-05-29 19:15:32 +00:00
Tony 615ad40c38 Fix clipping recents when scaling down
- Parent shouldn't clip scaled down child
- Remove outline provider from scaled down child so it doesn't clip

Bug: 80267476
Change-Id: I9feb1ccf2069b8c88d8499e2813c818f9aea19af
2018-05-29 12:09:57 -07:00
Android Build Merger (Role) 85e4ee5b52 [automerger] Calculate the scale up for quickscrub based on the available size of the screen am: ccd90231e6
Change-Id: Id3ed73e6e8c6957cce65c86ea253e6dd3f0d11fa
2018-05-24 18:16:15 +00:00
Sunny Goyal ccd90231e6 Calculate the scale up for quickscrub based on the available size of the screen
Bug: 80139193
Change-Id: I0492ce5bfa347bad12a09a13e404ded77e797623
2018-05-24 11:16:05 -07:00
Bill Yi 1117bdd7c2 Import translations. DO NOT MERGE
Change-Id: I14967d93f4762c4efdaf689bb2e3ca42423140bb
Auto-generated-cl: translation import
2018-05-23 14:00:26 -07:00
Bill Yi 793a0238fc Import translations. DO NOT MERGE
Change-Id: Ifb3ec95e81a8988a78e8b4dd90fee00b355525c3
Auto-generated-cl: translation import
2018-05-23 13:57:50 -07:00
Android Build Merger (Role) 80213f0354 [automerger] Making overview panel accessible via Tab am: f1507a6a64
Change-Id: I21a2dd970e1bb725034acd2255f11ce62515db8f
2018-05-22 21:49:32 +00:00
Vadim Tryshev f1507a6a64 Making overview panel accessible via Tab
Keyboard navigation of AllAppsContainerView is broken in TOT; disabling
focusing there is necessary for Recents.

Bug: 72222505
Test: Manual
Change-Id: I85d544f7c8dbdaf12e49de51c6626bbc3dc32917
2018-05-22 14:47:44 -07:00
Android Build Merger (Role) 63ba30ac5e [automerger] Hide clear-all button from accessibility am: bad1c73e73
Change-Id: I169aa26a2139c2cb9b6431bf7cb4f33096dec0db
2018-05-19 00:29:16 +00:00
Vadim Tryshev bad1c73e73 Hide clear-all button from accessibility
This solves muliple navigation problems in Overview.

Bug: 79165501
Change-Id: I2ae99fe3ad24194c9516bb2a99344289ef7408e8
Testing: Manual
2018-05-18 17:28:19 -07:00
android-build-team Robot f69f0c2bf0 Merge "Adding a carent in the scrim" into ub-launcher3-edmonton 2018-05-09 20:12:59 +00:00
android-build-team Robot ae59144edb Merge changes from topic "new-caret" into ub-launcher3-master
* changes:
  [automerger] Adding a carent in the scrim am: ef39540dde
  Adding a carent in the scrim
2018-05-09 20:12:59 +00:00
Android Build Merger (Role) 6ea60b8332 [automerger] Tweaks to app closing animation. am: d26d5aaa6d
Change-Id: Ia50af519ece522ea781d027af5f2dddb1095475e
2018-05-09 19:51:49 +00:00
Jon Miranda d26d5aaa6d Tweaks to app closing animation.
Change-Id: Ia2cbc1401a57ad8dc3e3553110497eb35c19fe64
2018-05-09 12:51:34 -07:00
Android Build Merger (Role) e474f14f65 [automerger] Adding a carent in the scrim am: ef39540dde
Change-Id: I0d0e3bd2c24559b93bd7d5b4e23833b1dd9921e8
2018-05-09 19:39:35 +00:00
Sunny Goyal ef39540dde Adding a carent in the scrim
> Caret is only visible when the accessibility is enabled
> It is visible in NOTMAL and OVERVIEW state and moves out of the
  scrim along with the scrim.
> Acts as an accessible target for various options

Bug: 78172350
Bug: 79215734
Change-Id: I8a968b67e36901859649546295f6491d49cc9ce9
2018-05-09 12:39:30 -07:00
Sunny Goyal fe392da300 Merge "Chaniging all-apps scrim" into ub-launcher3-edmonton 2018-05-08 18:10:12 +00:00
Sunny Goyal c6d01b825a Merge changes from topic "am-e4fc8b63-7d30-48ba-8bff-555d9e7e1860" into ub-launcher3-master
* changes:
  [automerger] Chaniging all-apps scrim am: 927447e71d
  Chaniging all-apps scrim
2018-05-08 18:10:12 +00:00
Android Build Merger (Role) ec602d7bdb [automerger] Chaniging all-apps scrim am: 927447e71d
Change-Id: I93a2a39e56572a0531ac6731327c3c0c610681b0
2018-05-08 15:29:52 +00:00
Sunny Goyal 927447e71d Chaniging all-apps scrim
> Converting the scrim to View, to better avoid overdraw
> Overview and Spring loaded state have different scrim alpha
> When going from overview to all-apps, there is a color scrim drawn over the overview panel.
  The slef color is merged with this color to prevent overdraw, and the remaining screen is drawn
  with a cut-out round rect path

Bug: 79111591
Change-Id: I26801fde13dd6adb4b06110bbe8087e35cc31847
2018-05-08 08:29:43 -07:00
Bill Yi 4602e5c261 Import translations. DO NOT MERGE
Change-Id: I22d1469557a142df3e48e44eb140932edd80b85c
Auto-generated-cl: translation import
2018-05-07 16:40:49 -07:00
Bill Yi db7327f85f Import translations. DO NOT MERGE
Change-Id: I6646ab8842f39b209cd6d8eb7bcceb88569e6117
Auto-generated-cl: translation import
2018-05-07 16:38:30 -07:00
Android Build Merger (Role) 04b60811f9 [automerger] Annotating groups of views in Overview for accessibility am: ce367a3218
Change-Id: I4c5cc4658317343155aa011eeac257ce2b6ffe4c
2018-05-04 17:46:27 +00:00
Vadim Tryshev ce367a3218 Annotating groups of views in Overview for accessibility
This will break the initial focus assignment. This should be later fixed
in Talkback.

Bug: 72409756
Test: Talkback reads pane title, even though at a wrong moment.
Change-Id: I38458ef7c3b5745169d7bc17ce8751f683ba9c71
2018-05-04 10:45:12 -07:00
Android Build Merger (Role) ad1fdf10e5 [automerger] Using a custom view instead of ImageView to avoid relayout when the icon changes am: 85c53f2af5
Change-Id: I4aa9529cadc728b3a58846a593f7e8031c4f6fc7
2018-05-02 22:38:26 +00:00
Sunny Goyal 85c53f2af5 Using a custom view instead of ImageView to avoid relayout when the icon changes
Bug: 78585335
Change-Id: I078aec5b80ec45933ba4974df68cab23ac4a0ca0
2018-05-02 15:38:21 -07:00