summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-10Fixes wallpaper crash when loading live thumbnailandroid-13.0.0_r82android-13.0.0_r81android-13.0.0_r80android-13.0.0_r74android-13.0.0_r73android-13.0.0_r72android-13.0.0_r66android-13.0.0_r65android-13.0.0_r64android-13.0.0_r60android-13.0.0_r59android-13.0.0_r58android13-qpr3-c-s8-releaseandroid13-qpr3-c-s7-releaseandroid13-qpr3-c-s6-releaseandroid13-qpr3-c-s5-releaseandroid13-qpr3-c-s4-releaseandroid13-qpr3-c-s3-releaseandroid13-qpr3-c-s2-releaseandroid13-qpr3-c-s12-releaseandroid13-qpr3-c-s11-releaseandroid13-qpr3-c-s10-releaseandroid13-qpr3-c-s1-releaseChris Poultney
Crash occurred at 100% after fresh (wipe) install. Fixes: 277540737 Test: manually verified correct thumbnail loading Change-Id: Ia301ad3222c422ebef4e844258ff9abe813cced9
2023-04-06Merge "Reload wallpapers if changed onResume" into tm-qpr-devTreehugger Robot
2023-04-07Reload wallpapers if changed onResumeAustin Wang
`IndividualPickerFragment2` launches other fragment for setting wallpaper and back to it when it's done. Ideally, the lifecycle should be `onResume` and we should check if the wallpaper has changed then reload the UI. Bug: 268067048 Test: Test: verify the applied wallpaper are checked. Change-Id: Id8113dbc1b66562df634ea40db396f5528d7504f
2023-04-06Merge "Calculate LiveWallpaper thumbnail raw dimension" into tm-qpr-devTreeHugger Robot
2023-04-06Calculate LiveWallpaper thumbnail raw dimensionAustin Wang
`LiveWallpaper` has no implementation to calculate the raw thumbnail dimension, in this case when saving the thumbnail it's stretched to fill the thumbnail tile size (based on display width) instead of scale to fit in the tile size. Bug: 276238490 Test: set livewallpaper from inner/outer screen Change-Id: I03d774c1554cac989d02d9959124e525a52c6a76
2023-04-05Merge "Fixes wallpaper thumbnails disappearing after setting wallpaper" into ↵Chris Poultney
tm-qpr-dev
2023-04-04Merge "Shows blurred thumbnail before fading to live preview" into tm-qpr-devChris Poultney
2023-04-04Fixes wallpaper thumbnails disappearing after setting wallpaperChris Poultney
Fixes: 276767415 Test: manually verified that error is fixed in picker Change-Id: Iadb7cea99283878874db99ad13c27680c99df438
2023-03-31Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: I114c97f89d51eb88c5680fa906821023b36a9d1b
2023-03-31Merge "Fades in preview of feathers to avoid flicker" into tm-qpr-devChris Poultney
2023-03-31Merge "Updates wallpaper preview when choosing new wallpaper" into tm-qpr-devChris Poultney
2023-03-31Shows blurred thumbnail before fading to live previewChris Poultney
Bug: 268066031 Test: manually verified blur display and fade to preview Change-Id: Id7aadea31143e8a407c5855f0d1cd070b83a0b32
2023-03-31Fades in preview of feathers to avoid flickerChris Poultney
Bug: 268066031 Test: manually verified that fade has replace flicker for feather videos Test: manually verified that static wallpaper previews are unchanged Test: manually verified that other live wallpaper previews are unchanged Change-Id: I16219084f5e2b20df8bbeb27bb21b66937bd8a77
2023-03-31Updates wallpaper preview when choosing new wallpaperChris Poultney
Forces refresh every time WallpaperSectionController resumes, which starts update on background thread. This workaround may be necessary until activity is no longer restarted on wallpaper/theme choice. Fixes: 275095150 Test: manually verified that preview updates correctly Change-Id: I5dce6dcf08fdbd4bd79095cd54dc580a77ba11ee
2023-03-28Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: Ic353b7830a5a25a1f84ce8348c8812d8da12ec81
2023-03-24Merge "Use the same cropping for outer screen and unfolded vertical hinge" ↵TreeHugger Robot
into tm-qpr-dev
2023-03-24Merge "Add progress button in preview" into tm-qpr-devBob Yang
2023-03-24Use the same cropping for outer screen and unfolded vertical hingeAustin Wang
Offset the preview to start if on handheld or unfolded horizontal hinge. Bug: 266436682 Test: set wallpaper on tablets, foldables w/ different screen config. Change-Id: I8d787eaa3981fbf2c4916a69c5468e97f7131322
2023-03-23[WPP2] Hide preview bottom components when overlay tabs are shownGeorge Lin
For deciding show/hide of the bottom components, we need to take care of 2 cases 1. When on color update, we need to set the QSB flag and re-render the surface 2. When show/hide the wallpaper control, we specifically send a message to show/hide the workspace bottom components Test: https://drive.google.com/file/d/1z1EG6KsLKFxAlS8GBLV16GoGvwI72IHc/view?usp=sharing&resourcekey=0-OGzB0RmiK5qvV2rwMYvUHQ Test: https://drive.google.com/file/d/1gK54Y5MuHTt2tAuFDxY7z8RIL22J5c9f/view?usp=sharing&resourcekey=0-jPPC1pl1VkCS_tib2-pVxA Test: https://drive.google.com/file/d/1ntUSgD7KbHPDGNpomQ5zE0D2fsYVeuNA/view?usp=sharing&resourcekey=0-TCuuvL4p022ATzKYuF-Q1A Test: https://drive.google.com/file/d/1yA1K52N-orajamnrxWD17Qg7bCclmq53/view?usp=sharing&resourcekey=0-6LHnZGM5JpFQISNJ6X7jEg Bug: 266618769 Change-Id: If8d5bf678d5c9ef23788b0a2702c46c549f8492e
2023-03-23Merge "Enabling refresh of the collection view for emoji wallpapers" into ↵Abdullah Tabassum
tm-qpr-dev
2023-03-23Add progress button in previewBob Yang
Test: Manual Bug: 268600841 Change-Id: Ifcc640fd0670b246d006255e14a829771a220b80
2023-03-22Enabling refresh of the collection view for emoji wallpapersabdullahirum
This diff enables collection view screen to refresh after a new emoji wallpaper has been created video before: https://drive.google.com/file/d/1lGGo72-ltkTSrTnCoEmQAKLBfLxOJbiz/view?usp=share_link&resourcekey=0-rVEveu-MpWtGQ3hLQFlktg video after: https://drive.google.com/file/d/1fIZ16oL4YAxOtUU9W09EPXBHfCGiru8j/view?usp=share_link&resourcekey=0-DeINZAR9PRZLJeGj-TmZww Bug: 274756292 Test: manual Change-Id: I123399708c09fe01194d8d0751934490e8e8b511
2023-03-22[WPP2] Improve full previewGeorge Lin
1. Add a cross button when in full preview to hint that we can exit with a tap 2. Make the black scrim darker. So that the smart space text is not too distracting 3. When info sheet is expanding, also hide the black scrim Test: https://drive.google.com/file/d/10XR2Pb-KbDCgAQmUwgeHn9fI_YpPqBhJ/view?usp=sharing&resourcekey=0-fXtotFlXLLhOWtJThkxY7g Bug: 274184171 Change-Id: Id9fa9b510c12d4affc7c6cc050b7aff0a93e763e
2023-03-21[WPP2] Animate hide wallpaper preview controllerGeorge Lin
1. Make the black scrim gradient at top and bottom only 2. Hide all the control when on click Test: https://drive.google.com/file/d/1kkomcgWui1FdCR23_HsvQ62fgJNDqBZB/view?usp=sharing&resourcekey=0-lAkkTdoN_kYSuR5ltUe7lQ Bug: 274184171 Change-Id: I94f20d62bcd056b58ef3c633d6817df9e31fe1fe
2023-03-17Merge "Added a new feature flag for AI Wallpaper in WallpaperPicker" into ↵Bhavuk Jain
tm-qpr-dev
2023-03-16Disconnects preview engines when closing Hub pickerChris Poultney
Fixes: 273646112 Test: Manually verified that WallpaperConnection#disconnect is called Change-Id: Ic66020c726c6328b7045dad8f18cdd9a9246510f
2023-03-15Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-devTreeHugger Robot
2023-03-15Merge "Wallpaper Quick Switcher Reload (1/3)" into tm-qpr-devCatherine Liang
2023-03-15Added a new feature flag for AI Wallpaper in WallpaperPickerBhavuk Jain
This CL aims at adding a new flag for AI Wallpapers in WallpaperPicker Bug: b/258689851 Test: N/A Change-Id: I7248c38180c26f793d8e633581186355df6103da
2023-03-15Import translations. DO NOT MERGE ANYWHEREBill Yi
Auto-generated-cl: translation import Change-Id: I9851a6afde5139bb6402fb338dc59f4cbdaea22f
2023-03-14Grid Picker Selection Animation Fix (2/2)Catherine Liang
Fix grid picker selection animation issue, due to comparison issues in diff util. Bug: 273336388 Test: Manually verified that grid picker, color picker, and quick affordance picker selection animation function correctly. Tested with print statements to verify diff util functions as intended. Updated field types in grid view model test. Change-Id: I7a6d9c2adf1668738ad59f8e536a5f7fbe258f47
2023-03-14Merge "System Colors picker selection animation (2/2)" into tm-qpr-devCatherine Liang
2023-03-13System Colors picker selection animation (2/2)Catherine Liang
Added selection animation to system colors by adapting color picker to use option item framework. Adjusted icon type used by option item framework to accomdate for color icons made up of multiple images. Animation on optimistic update can occasionally lead to animation being cut off due to restart, working with designers to resolve in follow-up CL Bug: 270188654 Test: existing view-model and interactor tests updated for field type changes, and still pass without logic changes. Manually verified picker is unchanged and funactional with revamped UI flag turned off. Manually verified animations, recording - https://drive.google.com/file/d/1BGFf9gyYMBKS9t8uLD1eQB4unb6Dv_z3/view?usp=sharing&resourcekey=0-IZFfkwrM9nmcgsD6RyW3lA Change-Id: Iff3cb2148bcf3a055725ac83c2c70e97727c4f85
2023-03-10Wallpaper Quick Switcher Reload (1/3)Catherine Liang
Ensure that wallpaper preview and color section reload to show new wallpaper and new colors when a wallpaper in the wallpaper quick switcher section is selected. This was not the case when system colors is set to a basic color. Bug: 270193793 Test: Updated WallpapaerInteractorTest to include new test, and made sure original tests still pass. Also manually tested--wallpaper preview and colors reload when an option in wallpaper quick switcher section is selected, whether system color is set to a wallpaper color or a basic color, and made sure that there is no significant lag. Also made sure picker is unchanged and funactional with revamped UI flag turned off Recording - https://drive.google.com/file/d/1PEjnJPT2h2UfcWALxkYCFZmY8QMMj4rV/view?usp=sharing&resourcekey=0-jOw5CvSA5zacuvAeDTniMQ Change-Id: I8aa0ce0d7ffd0430d3699bcea43c9e8b9b4b7afb
2023-03-10Fixes crash due to incorrect live wallpaper handlingChris Poultney
Fixes: 272421363 Test: manual with lock screen live wallpaper disabled in T Test: manual with lock screen live wallpaper disabled and enabled in U Change-Id: I6317f0c269eb7552cd59f5b1b165c2830e2b7066
2023-03-09Merge "Use no-op snapshot store in restorers (1/2)." into tm-qpr-devAle Nijamkin
2023-03-09Merge "Remove unused effect check flag" into tm-qpr-devBob Yang
2023-03-08Use no-op snapshot store in restorers (1/2).Alejandro Nijamkin
When the revamped UI flag is off, the undo system doesn't start a session, which means it doesn't hand a "store" to its restorers. By having all restorers start off with a safe-to-use no-op store, we circumvent a lot of crashes. Fix: 272157475 Fix: 271967027 Test: manually verified that the crashes no longer occur with the flag on or off and that the undo system (reset button) still works. Change-Id: Ib8be9b516f641c59d92c6137bae1eab096b8cd89
2023-03-08Merge "Fix for wallpaper preview on foldable devices" into tm-qpr-devAbdullah Tabassum
2023-03-08Merge "Shows lock screen live wallpaper preview" into tm-qpr-devChris Poultney
2023-03-08Shows lock screen live wallpaper previewChris Poultney
Shows a proper lock screen preview image when the lock screen has a separate live wallpaper set. This is behind flag WallpaperManager#isLockscreenLiveWallpaperEnabled(). Tests will be added as follow-ups because test architecture changes are needed. Bug: 267479837 Test: added as follow-ups Change-Id: Ic8be571f37f63e5e46672b562e4ee8be26d6e1b7
2023-03-08Merge "Add an effect probe for clicks myPhoto" into tm-qpr-devBob Yang
2023-03-08Merge "Let the wallpaper tiles can have their own content descriptions" into ↵Chuck Liao
tm-qpr-dev
2023-03-08Remove unused effect check flagBob Yang
Bug: 272157724 Bug: 272046324 Test: Manually Change-Id: I5eb9c529906ff8d9e3495145e300dd4daa036ddb
2023-03-07Make Lock Screen preview first and defaultSantiago Etchebehere
When using Full Screen preview, we want to default to lock screen preview first Bug: 267185017 Test: manual Flag: wallpaper_fullscreen_preview_enabled Change-Id: I2550d6df22fe50cc76af623e11a53c7ebfa5ffd5
2023-03-07Merge "Improves updating of persisted live wallpaper metadata" into tm-qpr-devChris Poultney
2023-03-07Add an effect probe for clicks myPhotoBob Yang
When the user clicks myPhoto, we probe aiai first to wake aiai up. Bug: 267407197 Test: Manual Change-Id: Ia1ad0fa6af9411489b2f1c209ae4952e145a50a5
2023-03-06Fix for wallpaper preview on foldable devicesabdullahirum
This diff removes the side panel from the preview of the Image that is being previewed as the wallpaper video before (bug): https://drive.google.com/file/d/1VUFKcJDgnVl1PJ4jlBSOr77jMtyQ6990/view?usp=share_link&resourcekey=0-ojU2Vs-O3ncdI-07QM56ng video for expected flow: https://drive.google.com/file/d/1GX--UJ0Y5yJNCKzP9PWrOBP2Y5BD8qmV/view?usp=share_link&resourcekey=0-rMrrRIkOd9dLDL4eYRn2hg video after (this cl's code changes): https://drive.google.com/file/d/1BqvI3aBT7W5MW__-e-fBr6w6LeSC1NI3/view?usp=share_link&resourcekey=0-co1ranoRVG07UM-LjCe_xg video with folding and unfolding and different orientations: https://drive.google.com/file/d/1P7RRf9vyIM6BU6T4Iyu-1uBJ9_NEayaL/view?usp=share_link&resourcekey=0-AI50nBENeyew7YAwtcpYCA Bug: 268435701 Test: manual Change-Id: I48f8632b214b171271040e7303cdc5a14cb19c38
2023-03-03Improves updating of persisted live wallpaper metadataChris Poultney
Adds a public method to set persisted live wp metadata, and adds a `destination` parameter to the callback for live wallpaper change. No specific tests are added for this because a) this is best tested from WallpaperPickerGoogle, and b) more infrastructure is needed there to enable testing this change. Bug: 269497366 Test: atest WallpaperPicker2Tests Change-Id: I510edd5b751e4e5d0f73d32a0b407583cb876472
2023-03-03Prevents undo logic from executing when new hub UI is disabledChris Poultney
Bug: 270997324 Test: n/a Change-Id: Ib7b89df1a13fb248c7b880aef903f362df9a84c5