Commit Graph
47938 Commits
Author SHA1 Message Date
Winson Chung f107c9ef6d Fixing regression in background task loading.
Bug: 117603579
Test: Take systrace, ensure that we aren't loading thumbnails on the UI
      thread

Change-Id: I4b522246a5ab12dc37c1dffdccd05232bbc1f6fe
2018-10-29 10:51:10 -07:00
android-build-team Robot fd1cb78bac Snap for 5096429 from 65c9da39e0 to qt-release
Change-Id: Ic1d204d5175ca8569a5a9c13babc0ccc36e914a5
2018-10-28 03:04:04 +00:00
Zak Cohen d4dc9545c3 Remove unused code from DeepShortcutView.
Change-Id: I4df34c71912bdd91c3e5ef37ae4af7b185fd369a
Tested: manual on pixel 3
2018-10-26 13:24:04 -07:00
Zak Cohen cc4c61472e DeepShortcut - show loading placeholder before content is available.
Sometimes the deep shortcuts can take time to load, show an initial loading
state before any text is set.

Note: changed singleLine to lines=1 as the former causes issues with RTL
layout and is deprecated.

Bug: 78620208
Tested: manual test on pixel 3

Change-Id: I782addb8d64425a1a95cee4f104fc0bd44809815
2018-10-26 11:25:58 -07:00
TreeHugger Robot 2c89278895 Merge "Adding test methods" into ub-launcher3-master 2018-10-25 23:07:06 +00:00
TreeHugger Robot a96f916504 Merge "Moving Plugin and feature flags UI to androidX" into ub-launcher3-master 2018-10-25 20:25:09 +00:00
Sunny Goyal eae0514f1a Moving Plugin and feature flags UI to androidX
> Combining both preference into a single screen
> Adding plugin preference screen so quickstep build

Change-Id: I3d2ff3ebdac3c774659e79ecb81be6f75f765eb0
2018-10-25 13:07:42 -07:00
Vadim Tryshev f908a2e50e Adding test methods
Bug: 117888000
Test: Running new Nexus tests
Change-Id: I52a1f89add36dd38bbae8db262dd2e82280db130
2018-10-25 11:43:59 -07:00
Rajeev Kumar 2f586e4aa4 Merge "Update gradle version and buildToolsVersion in Launcher3 build.gradle file." into ub-launcher3-master 2018-10-25 18:04:47 +00:00
Bill Yi 934a1cb6f4 Import translations. DO NOT MERGE
Change-Id: I598aeef629ca1a842172b6108c64f29aadb9f06a
Auto-generated-cl: translation import
2018-10-25 06:26:36 -07:00
android-build-team Robot bf018307df Snap for 5090430 from 2e2ddafebf to qt-release
Change-Id: Ibcdcd624ad347c074224e3d478e74bfd46bc20d3
2018-10-25 03:02:56 +00:00
Bill Yi 65c9da39e0 [automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE am: f880549235 -s ours am: a32302773a -s ours
am: 11e370d608  -s ours

Change-Id: I9c1edd823959a6ed0ce885b0664686b0653c983f
2018-10-24 19:23:48 -07:00
Bill Yi 11e370d608 [automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE am: f880549235 -s ours
am: a32302773a  -s ours

Change-Id: Iaca2b9bb4253774e9d862cf2da3540a209d3dccc
2018-10-24 18:51:39 -07:00
Tracy Zhou 8deb4c667e Merge "Support Live Tile in Quickstep (Pt1) - Z ordering" into ub-launcher3-master 2018-10-25 00:55:17 +00:00
Rajeev Kumar eaa010a130 Update gradle version and buildToolsVersion in Launcher3 build.gradle file.
Test: Gradle build of Launcher3 completed successully in Android Studio
3.2.1

Change-Id: If53639985613cde15a125b58e2c527ff864277ea
2018-10-24 16:35:51 -07:00
Bill Yi a32302773a [automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE
am: f880549235  -s ours

Change-Id: Ib969d0b34a977a0b9047c522429f2d5fa40db1f4
2018-10-24 15:49:26 -07:00
Vadim Tryshev e10fedb5f3 Merge "Adding code to open DWP settings of a recent task" into ub-launcher3-master 2018-10-24 21:56:23 +00:00
Bill Yi f880549235 Merge pie-platform-release to aosp-master - DO NOT MERGE
Change-Id: If5698c0fe3623a933d66fcb6b5919d8e40f74e7c
2018-10-24 14:47:24 -07:00
Tracy Zhou d43e7c2fd4 Support Live Tile in Quickstep (Pt1) - Z ordering
- Place Launcher above app surface.
- Use LauncherLayoutListener to clear the area where the current task is in order to punch a hole and reveal the app view underneath

Bug: 111697218
Test: Manual test

Change-Id: I4d4e0f1113a8e60566257c030ae9b591789eb3b3
2018-10-24 14:24:54 -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
Hyunyoung Song e3f664db79 Merge "Increase the touch slop for noti shade pull down. Bug: 116879058" into ub-launcher3-master 2018-10-24 20:01:20 +00:00
Bill Yi 2e2ddafebf [automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT MERGE am: 7708c80e34 -s ours
am: d3059d1230  -s ours

Change-Id: Ied90025357516105f6aecae1bcdb329e2ad2be89
2018-10-24 10:36:17 -07:00
Bill Yi d3059d1230 [automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT MERGE
am: 7708c80e34  -s ours

Change-Id: I60f8f9182ff0b2eb69dcd1e4029801efbc6f2d76
2018-10-24 10:25:08 -07:00
Hyunyoung Song 0638949fe9 Increase the touch slop for noti shade pull down.
Bug: 116879058

Change-Id: I3ff0491292e5238cd74bb6d97c0ab79711ad3af1
2018-10-24 10:18:00 -07:00
Bill Yi 7708c80e34 Merge pi-platform-release to stage-aosp-master - DO NOT MERGE
Change-Id: I911ffeb6515d88891d1ce61b99c4df0812a0aaae
2018-10-24 09:07:10 -07:00
Brett Chabot d7d692c2f9 Replace use of deprecated target androidx-test
Test: make Launcher3Tests
Change-Id: Ib14fd9da1df3c022d39efb69660ff59b8a47db5d
2018-10-23 21:17:58 -07:00
android-build-team Robot 6ab4fb43ce Snap for 5087535 from 5ee074a11b to qt-release
Change-Id: I3c1f1db58c259b7e9442962eeb376aa7244f627a
2018-10-24 03:00:45 +00:00
Winson Chung 0d9275deba Updating shared lib from package & class rename.
Change-Id: If3003c6e454ea60f30372f985fa7f34c9b6ed46d
2018-10-23 15:42:41 -07:00
Winson Chung ad6fd393f8 Don't assume there will be a running task
- During tests, if apps and launcher are killed, then there may be no
  running task

Change-Id: Iaef1c4ad0b31cec3c8da7d868e3e7b49d3b09faa
2018-10-23 15:11:42 -07:00
Winson Chung 445ab9d8cd Merge "Caching clean up, remove dependency on old shared lib loading/caching logic" into ub-launcher3-master 2018-10-23 19:59:21 +00:00
Winson Chung 02b83db128 Merge "Updating shared lib" into ub-launcher3-master 2018-10-23 19:59:21 +00:00
TreeHugger Robot dcaa2d2ae7 Merge "Handling configuration changes at runtime instead of killing the process" into ub-launcher3-master 2018-10-23 19:46:11 +00:00
Winson Chung fd61e04424 Updating shared lib
Bug: 117603579
Change-Id: Ie4fbb962bc1ae3d13bfa7778aa505e1ad7ea8853
2018-10-23 11:44:36 -07:00
Hyunyoung Song 60d75850f6 Merge "Remove shape detection logic for icon legacy treatment Bug: 117991192" into ub-launcher3-master 2018-10-23 11:08:01 +00:00
android-build-team Robot 556884362d Snap for 5085055 from 17170c698c to qt-release
Change-Id: I0602e34b126f1d0862e44582a303776845d639bc
2018-10-23 03:12:24 +00: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
Winson Chung 5ee074a11b 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-22 17:00:28 -07:00
Winson Chung 17170c698c Merge "Merge branch 'ub-launcher3-master' into launcher3merge2018-10-22" 2018-10-22 23:27:56 +00:00
Hyunyoung Song 848d86ad32 Remove shape detection logic for icon legacy treatment
Bug: 117991192

Change-Id: Ife2047e7b36099daa4526c471e5c70554f068de1
2018-10-22 15:08:50 -07:00
Vadim Tryshev b92656af19 Passing package name to a remote action
Bug: 117888000
Test: manual test with a prototype
Change-Id: Ieea91c443186ccd653ae04fe76baff14e78021a0
2018-10-22 14:43:08 -07:00
TreeHugger Robot d6e4cdcdb5 Merge "Only show flags UI if developer options is enabled" into ub-launcher3-master 2018-10-22 21:20:07 +00:00
TreeHugger Robot e3617a01ef Merge "Enable creating task shortcuts without inheriting" into ub-launcher3-master 2018-10-22 21:19:00 +00:00
Ryan Lothian 904dbcdf9d Only show flags UI if developer options is enabled
Change-Id: I69005e623dab9f1f2f0682b61311836b62337835
2018-10-22 17:06:47 -04:00
Tony Wickham 2f7110d614 Merge "Add FirstScreenWidget plugin interface" into ub-launcher3-master 2018-10-22 20:36:10 +00:00
Tony Wickham 6ec45c76cf Add FirstScreenWidget plugin interface
Bug: 115877296
Change-Id: I974300a6460677758cbe99cab3bb71339eb2928b
2018-10-22 13:20:34 -07:00
Zak Cohen 8d21fd69f1 Merge "Deepshortcuts - only keep the per package shortcut count in memory." into ub-launcher3-master 2018-10-22 18:56:17 +00:00
TreeHugger Robot 76fea5fdd0 Merge "Adding dark theme for AddItemActivity" into ub-launcher3-master 2018-10-22 18:48:44 +00:00
Zak Cohen 658c67a609 Deepshortcuts - only keep the per package shortcut count in memory.
Change to only keep the per Activity shortcut count in memory, not
the list of ids.
The full shortcuts are loaded at long press time so saves memory.

Bug:117239104
Test:Manual and ran instrumentation tests
Change-Id: Iee974ecba2c977216be4f078396ceed22b931f5d
2018-10-22 11:38:09 -07:00
Hyunyoung Song 35df4cbb67 Merge "Create OWNERS file in master branch" 2018-10-22 18:21:54 +00:00
Winson Chung 0a312c07dd Merge branch 'ub-launcher3-master' into launcher3merge2018-10-22
Test: Presubmit
Change-Id: I6127a17d944d5d5dde0265d2b4154230e035ed60
2018-10-22 10:36:05 -07:00