| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/WallpaperPicker2/+/14970016
Change-Id: I30f1651f1469791d4bb6f662d28d599721418938
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Fix WallpaperPreviewBitmapTransformation rounding error when scaling
- Precompute the thumbnail background color to use as placeholder if
possible
- Allow the placeholder to be serialized in WallpaperInfo so it's
available when opening the preview
- If available, obtain a low res preview as bitmap
- Remove unused views from wallpaper_preview_card
- Make TouchForwardingLayout transparent from loading to avoid it
showing in the fragment transition
Before/after videos: https://drive.google.com/drive/folders/1-PqL0BCOuet9pnrYVphewpwAcvVoBCwo?usp=sharing
Bug: 184111918
Test: visual check
Change-Id: Icaabafd5c430a0324899e471aa8f28453ab04f1a
|
|\|
| |
| |
| |
| |
| | |
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/WallpaperPicker2/+/14974893
Change-Id: I1d7546303791cbdfb8c2a8087dc3db1782676ccd
|
| |
| |
| |
| |
| |
| |
| |
| | |
Since "Hub" is a meaningless naming.
Bug: 190354625
Test: Manually
Change-Id: I1eb781377b195283c839c8953b9ee7ec6a7e14be
|
|\|
| |
| |
| |
| |
| |
| |
| | |
sc-dev am: b8a4d92293
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/WallpaperPicker2/+/14947730
Change-Id: I576067d2fede63257f2ff600fb1137c95c9531d4
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When prefetching, we should also consider to force fetch the data
if the fetched data is reset. Otherwise, the prefetch will get
old system wallpaper categoires instead of fetching new ones.
Bug: 190824871
Test: manual
Change-Id: Ie1960847f11f0c59194d947266a1d263892f8fe6
|
|\| |
| | |
| | |
| | |
| | |
| | | |
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/WallpaperPicker2/+/14928651
Change-Id: Id5fedf30cdfda28b761e25d6a5a6d08c61d1d627
|
| |/
| |
| |
| |
| |
| |
| |
| | |
HubFragment shows wallpaper section only for WallpaperPicker2 build.
Bug: 190354625
Test: Build and run the app
Change-Id: Ia98a6cb59221f1ec12fab547479f89b079283479
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
packages/apps/WallpaperPicker2 has its own copy of BuildCompat,
supposedly to allow overriding the SDK version in tests, but that
feature is never used and having an extra copy causes more work
every time the platform version is updated or finalized. Remove
it and use checks against android.os.Build.VERSION.SDK_INT instead.
Future checks against development versions should use the offical
androidx.core.os.BuildCompat.
Bug: 186121492
Test: m WallpaperPicker2
Change-Id: I2c92e97219d01d439da5b8b49a7c1da8e34984e2
|
|/
|
|
|
|
| |
Bug: 188589807
Test: manual
Change-Id: Ib20aa0c2d5097e3640896b34238c8524e2be7e34
|
|
|
|
|
|
|
|
| |
Generated with Android Studio. strings.xml files are excluded. Moved tab_text_color here.
Test: build pass
Bug: 185360060
Change-Id: Ic3e9c70b7d3926b7e9397debb2c2e6bc0debf40c
|
|
|
|
|
|
|
|
|
|
| |
Screenshots:
https://screenshot.googleplex.com/c7boVR5XpxEVutM.png
https://screenshot.googleplex.com/3r2EkyV8GCoawu3.png
Bug: 182344964
Test: manual
Change-Id: I2c0fcb193cf38bb6b6a18b253398a703df7b2423
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL configures IndividualPickerFragment to use a thumbnail with a customizable border defined as a resource string representing the path of the border.
Screenshots
The following screenshots are obtained by adding the statement
```
thumbnail.setClippingPath(R.string.diamond_border);
```
after every usage of `thumbnail.setClipped`.
* Day - https://screenshot.googleplex.com/8TNpBTtKp23wp3b
* Night - https://screenshot.googleplex.com/Aybh6nsFKiZ7ajp
Bug: 182498328
Fixes: 182498328
Test: none added
Change-Id: Ic14ad2484b24d119ee60adca2951887c106e8d13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
tests/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I3981f108c11cfcc48e9e0dedeff008a1275a94ce
|
|
|
|
|
|
| |
Bug: 181912301
Test: build app
Change-Id: Ia83dceb966528b1912aadd27ca6437ed2eabc5c7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL configures IndividualPickerFragment to use a round thumbnail for the applied wallpaper.
Screenshots
* Day - https://screenshot.googleplex.com/3tzed4USi4VyR38.png
* Night - https://screenshot.googleplex.com/mcF6nM4NQwWuWTk.png
Bug: 178745862
Fixes: 178745862
Test: added in IndividualPickerActivityTest.java
Change-Id: Icb9142d2c3d43e312be8c9c0b1647eedededef87
|
|
|
|
|
|
| |
Bug: 181338669
Test: adb shell am instrument -w -m -e debug false -e class 'com.android.wallpaper.picker.individual.IndividualPickerActivityTest' com.google.android.apps.wallpaper.tests/androidx.test.runner.AndroidJUnitRunner
Change-Id: Icf634b91e9449d879b190bba2e250d526955888b
|
|
|
|
|
| |
Bug: 172188327
Change-Id: If2027364c1f691fd7c2d02e7c9a271b2def29f94
|
|
|
|
|
|
|
|
|
|
| |
When in RTL, the current wallpaper is centered on the rightmost side
of the image when using static wallpapers. Make sure the preview follows
this same behavior.
Bug: 175610692
Change-Id: I8662375bbd8224b2b882a34939f7d11d67205a7d
|
|
|
|
|
|
|
| |
- Log the launch source when entering TopLevelPickerActivity, DeepLinkActivity and BasePreviewActivity
Bug: 154781896
Change-Id: Iea3f0bda6ff05e57fa9356e1890cd76c64e2a978
|
|
|
|
|
|
|
| |
the app(activity).
Bug: 169029398
Change-Id: Icbbb11c33ae4d4dd7d376a7792d0f685ad809421
|
|
|
|
|
|
| |
This will fix broken tests.
Change-Id: Ic9094b9fa7c3b88a904f82f28d9089410da800a2
|
|
|
|
|
|
|
| |
Video: https://drive.google.com/file/d/11_MclDVE8Q_ojSYoCDxmK4Ah_FoABPhd/view?usp=sharing
Bug: 163019082
Change-Id: I2094c6078a1b3f7eae7307edbe74d9d764b4f501
|
|
|
|
|
|
|
|
| |
It seemed the better than previous way to set default title
Test: Manually
Bug: 160211359
Change-Id: I9536964e0d56e55c44d5ed1f785982f5b4cd2129
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Fixes: 160206877
Change-Id: I5cc4c05f1b885adbbe0f66afac3fb1ea6183ba0b
|
|
|
|
|
|
|
|
|
|
|
| |
Add more modes for live / image full preview fragments can support
preview as home or lock screen.
Video:
https://drive.google.com/file/d/1vu-U-7Qr-K9bqsyefap1jwNrbfvt-WDU/view?usp=sharing
Bug: 157724411
Test: Manual
Change-Id: I5b789ccd813ab977002681551537f2d4cf0d0037
|
|
|
|
|
|
|
|
|
| |
- Define logSnapshot() in UserEventLogger.
- Daily log snapshot data.
Bug: 151130766
Test: Manual
Change-Id: Ia46801fbbf44b1d06fa9ac9d709367844014a1e3
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Define key for SharedPreference.
KEY_APP_LAUNCH_COUNT
KEY_FIRST_LAUNCH_DATE_SINCE_SETUP
KEY_FIRST_WALLPAPER_APPLY_DATE_SINCE_SETUP
- Save picker launch count and first launch date.
- Save wallpaper first apply date.
Test: Manual
Bug: 151130766
Change-Id: Id332d97f49763b65d3279e7d1ca5584dd7c38661
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
IndividualPickerActivityTest.
- Avoids the "rotation" action is not shown correctly when onCategoryLoaded() is called after onBottomActionBarReady().
- [Test case] Change the behavior of clicking the tile.
- [Test case] Remove the tests for rotation tile UI.
- [Test case] Change the trigger point of the daily rotation from the rotation tile to the rotation action.
- [Test case] Fix the RuntimeException below for testShowStartRotationDialog_WifiOnly_ClickOK_Fails_ShowsErrorDialog(), testStartRotation_WifiOnly_FailOnce_Retry(), and testStartRotation_WifiOnly_FailOnce_Retry_ShouldStillHaveWifiTurnedOff().
java.lang.RuntimeException: Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus.
Bug: 157259520
Test: adb shell am instrument -w -r -e debug false -e class 'com.android.wallpaper.picker.individual.IndividualPickerActivityTest' com.google.android.apps.wallpaper.tests/androidx.test.runner.AndroidJUnitRunner
Change-Id: I14cf96e0a4a8b6ffef01b932d6cc4d29e267da7d
|
|
|
|
|
|
|
|
|
| |
- Add wallpaper service name into WallpaperPreferences.
- Add missing keys for clearLockWallpaperMetadata.
Test: Manual
Bug: 156345208
Change-Id: Id82e13150f8664c05edee30465233cc24dfc9e31
|
|
|
|
|
| |
Bug: 150840985
Change-Id: I2e767b2868564cb68d836a94a0f4923d3966dae9
|
|
|
|
|
|
|
|
| |
Video:
https://drive.google.com/a/google.com/file/d/1--iz9FlxuZbkEfhIWZv6oKEmxL5KP0JW/view?usp=sharing
Bug: 150840985
Change-Id: I3669c27bcee50f7accbbd50d0f88aae6c60530e0
|
|
|
|
|
|
|
|
|
|
| |
Add missing method for override
- logLiveWallpaperInfoSelected()
- logLiveWallpaperCustomizeSelected()
Bug: 150885584
Test: Manual
Change-Id: I38370213054bc597579d8066329767466362b834
|
|\
| |
| |
| | |
ub-launcher3-master
|
| |
| |
| |
| | |
Change-Id: Id5581029f7988730f7f7767c02f5245d04a220b2
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The testSetWallpaper_TemporarilyLocksScreenOrientation breaks because
- The dialog dismiss event comes after #setCurrentWallpaper, which
restores the orientation state unexpectly.
- The #saveAndLockScreenOrientation was called twice continusly, which
overrides the saved orientation state.
Solution:
- Save orientation only works if there's no data is saved. Continusly
calling is working for the first call.
- Restore orientation only works if has data saved.
Bug: 139867803
Change-Id: Ibfdd0c71f45eb411f3fadfe43515af7f26f3fdb3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create a new LivePreviewFragment with the same UI and
functionality of Android's LivePicker.
Note that there's still redundancy between
ImagePreviewFragment and LivePreviewFragment, follow up
CLs will clean this up and share as much as possible.
Still missing is support for delete and settings action
buttons. The new LivePreviewFragment won't be hooked up
until all the functionality is implemented.
Bug: 141391722
Change-Id: I859f9122c368c01575c23f73a80ffdb519ef0e71
|
|
|
|
|
|
|
| |
Migrate tests for PreviewActivity
Bug: 141954442
Change-Id: I8cdacfd1268ee4817cf1b64b67a73e60aa773f47
|
|
Add instrumented and robolectric tests support.
Bug: 141954442
Change-Id: Id9331b5962819d126f29d4854b7b7d87bf5e79ea
|