Age | Commit message (Collapse) | Author |
|
This CL makes the following changes:
This CL makes the following changes:
1. Created an interface WallpaperDataFactory, which is implemented by
DefaultWallpaperModelFactory and GooogleWallpaperModelFactory,
respectively, depending which project we include.
This also avoids complex inheritence pattern, where developers need
to go back and forth to know what's going on when converting.
2. Made DefaultWallpaperModelFactory and
GooogleWallpaperModelFactory injectable classes.
3. Moved functions in DataFactory classes to companion extension
functions. Developers do not need to look into many classes.
4. Since DownloadableLiveWallpaperInfo represents a wallpaper that's not
yet downloaded, we should treat it as a static wallpaper that shows
the static image.
Test: Manually tested that the downloadable wallpaper shows
Bug: 291761856
Flag: ACONFIG com.android.wallpaper.multi_crop_preview_ui_flag DEVELOPMENT
Change-Id: Iefc7202bcd9e963cfb3cc1c5933925f87a40d663
|
|
Flag: ACONFIG com.android.wallpaper.multi_crop_preview_ui_flag DEVELOPMENT
Bug: 303317694
Test: launch multi crop preview
Change-Id: I0121da42a69d221b8f229d69607907495fac7779
|
|
Test: Manually tested the log is correct
Bug: 290848448
Flag: None
Change-Id: Ic7ea9c4ea383f733675eca84c8d405794c6e9bfe
|
|
Flag: com.android.wallpaper.multi_crop_preview_ui_flag
Bug: 303457890
Test: build, presubmit
Change-Id: I2f656a9adb54759b444f8e5648c19a338098724c
|
|
Test: Manually tested logger works as expected
Bug: 305069232
Change-Id: I4e83837498c23d45b66f77dfc7ecbeb037decdb7
|
|
Bug: b/294443903
Test: manually ran ThemePicker
Change-Id: Ie9313d5934ea5ff9555c9c5231fcbc753beff23d
|
|
Make Injector injectable so the existing dependencies can be access by the new classes via injecting Injector, and the existing classes can use the new class via Injector by injecting new classes into Injector.
Inject dispatchers for both world.
Bug: 288128417
Test: launch picker
Change-Id: I05d7db38891fd5320d3efc857499e3774d8da7db
|
|
Bug: 288128417
Test: soong build, gradle build for 3 variants, launch WP
Change-Id: If9c97d30000de03c10ba6b43634ab31c45efdc75
|
|
Bug: 261990616
Test: manually verified that setting or unsetting the flag in System UI
correctly shows or hides the "Custom Clock" section in Wallpaper Picker,
respectively.
Change-Id: Iaac6996a35c2ad2a7a7c945cb56d49802443d965
|
|
Change the flag name for custom clocks
Test: Manual
Bug: 241966062
Change-Id: Ia3f92b6ea36364ccfde81cd48601d275919ebd49
|
|
1. Sort the functions in DefaultCustomizationInjector. Some do not need
to override since they are the same as the parent
2. Rename DefaultCustomizationInjector to ThemePickerInjector
3. Remove WallpapersInjector since it's never used
Bug: 247807196
Test: manuel test to make sure it builds
Change-Id: I82256f30b845504a82ea89bff82eaad3ff3b8a5f
|
|
Due to the refactor, we no longer have the newInstance function from
PreviewFragment. Thus we directly instantiate the fragment in the
injector.
Bug: 246968463
Test: manuel testing and it works as before
Change-Id: I223661e2068d6b1c0d32feb45dff8257c6acb6d5
|
|
Created a clock section which shows on the wallpaper picker home
page and leads to clock customization.
Bug: 241966062
Test: https://screenshot.googleplex.com/64DxwUBSbnfFfPf.png
Change-Id: I8a15652bdc580f37cb56efc88e485cb782fc89b7
|
|
Replace the class of the intent to the valid activity.
Bug: 198711415
Test: manual
Change-Id: I9762b91bfcccb23b069a9e66a79e42834111d0b8
|
|
Bug: 204411095
Test: Manual
Change-Id: I1bfd6264980244d7a7fe48bd8309f5d04f767b30
|
|
Bug: 172188327
Change-Id: Ibde74630db19cbbedc50f7cf6a20d3021ad75469
|
|
Video: https://drive.google.com/file/d/11_MclDVE8Q_ojSYoCDxmK4Ah_FoABPhd/view?usp=sharing
Bug: 163019082
Change-Id: I1aa6ca4e58aff3ad1a9067ff44fb398b1336770b
|
|
It seemed the better than previous way to set default title
Test: Manually
Bug: 160211359
Change-Id: I0e47a62488d01022baca829b618a5f41d50d74a3
|
|
Cleanup only, no business logic change
- AppbarFragment had a good pattern to set title on toolbar. PreviewFragment won't do it throught accessing activity tool bar.
- AppbarFragment had a good pattern to set bottom action bar, which is widely used within the app, PreviewFragment won't do it by itself.
Test: Manually
Fixes: 160211359
Change-Id: Ie9e390c69e82d02192af0e2bcc5274b9a64d514c
|
|
To support the full preview as home or lock screen.
showViewOnlyPreview() is updated accordingly.
Bug: 157724411
Test: Manual
Change-Id: I006116bd5b22c1c1146aff56d4f4a89cb5bcf996
|
|
Bug: 141391722
Change-Id: I096d1c9073acfc8f24a0e6a73a22f8913b896a4a
|
|
* Update Injector to pass Context argument.
* Simplify WallpaperSetter#requestDestination listener.
Bug: 133160356
Change-Id: Ib7546a804c1e818004f6bad0e3b71019feeeed6d
|
|
Bug: 118758604
Change-Id: I18f38d5eea0d30edcc865cf3dfe9c46f5bd89a8c
|