Age | Commit message (Collapse) | Author |
|
|
|
into sc-dev
|
|
Bug: 185308659
Test: manual
Change-Id: I817ae35a9349e400d81a59de26ed5d617e329fc4
|
|
|
|
|
|
Bug: 182345292
Test: n/a
Change-Id: Ib6cd18c8633a74ba207f345692b2ccd2357e7adf
|
|
And clean up the generics usage.
Bug: 185419553
Test: manual
Change-Id: I7b1e0cb565b19eab1b4abbe9f5eb9cb43f30cfd2
|
|
As pointed by chuckliao@ in in ag/14142321, it was not correct to
default to false for forceCategoryRefresh
Bug: 155931313
Test: manual
Change-Id: Ic6a87de13d8144517a4da0bfb1e1368b1f6903a4
|
|
Screenshots:
- Mock: https://screenshot.googleplex.com/5GZPCniwyjZHUif.png
- Before: https://screenshot.googleplex.com/A4urU58jTrmdTx2.png
- After:
- 3 buttons: https://screenshot.googleplex.com/7sBqvyN5xNf6p74.png
- Gesture: https://screenshot.googleplex.com/7qYx3Mb25QmGePM.png
Bug: 185293474
Test: manual
Change-Id: Ifa9c1eb40c4553638d667150f2f38483f1f3d5f9
|
|
Screenshot (large): https://screenshot.googleplex.com/9878yWwEZzQFeWE.png
Screenshot: https://screenshot.googleplex.com/5ZrnUWLti6PuC3x.png
Fixes: 185319447
Test: Manual & Build Pass
Change-Id: If896369a9710be04653471b1dce381e88e2a5ba7
|
|
Screenshot: https://screenshot.googleplex.com/8ip2QAavgHmLbcS.png
Screenshot (large display size, 4th option available upon scrolling): https://screenshot.googleplex.com/5fMWNR2A9qdF4zf.png
Not restricting the preview height by preview_pager_max_height or dimen/preview_pager_maximum_height_ratio yielded better and more consistent results at different display sizes.
Bug: 181103476
Test: Manual & Build pass
Change-Id: I8212277b0cb46d0fc74b5e8eedd937ab3a216418
|
|
- Enable up arrow for fragments.
- Apply up arrow for coming from home case.
Bug: 177638480
Test: manual
Change-Id: I7f0e9343732fc4d358680106c4070281af8ab686
|
|
|
|
There are several places new GridOptionsManager across activities, so
the pattern of GridFragmentHost makes code complexity. Also reduce a lot
of duplicated code for creating GridOptionsManager.
Bug: 184128735
Test: Manual
Change-Id: I46c38025896fd85bdf18af18dbfbd7f8107628e1
|
|
If we pass "false" it has the same effect of what we were doing before
(that is, only reload if not initialized)
Bug: 155931313
Test: manual
Change-Id: I8135ae48c60db009f53252828e242d1af3b1248a
|
|
And get rid of LiveTileOverlay
Bug: 179127643
Test: manual
Change-Id: I6ef28f93a05bf11923891e5648c97da144a5ce26
|
|
|
|
Bug: 181111177
Test: manual
Change-Id: I990b7a50860093ed5031db1772ab35e2239748c5
|
|
- Log the launch source when launched by settings search
Bug: 183071440
Test: m -j40; manually
Change-Id: I391b5ead24d54b5127fa6d9977b3c1b74128078f
|
|
Bug: 181110703
Test: manual
Change-Id: I5ffecf861d4b2c7be0949780c6d0faf486a7daab
|
|
- Implement AppbarFragmentHost for activity.
- Inherit onBottomActionBarReady parent function to hide back button
if back arrow exists.
Bug: 177638480
Test: Manual
Change-Id: I75ef8626126bd4583d5dfa864e9adb02292db285
|
|
Bug: 183385553
Test: Manual
Change-Id: I769dc8914281a1d393038a1afa9cb0cc989e7071
|
|
attached to not only fragment but also activity independently.
Bug: 181299737
Test: Manual
Change-Id: Id2342d4a3ac65f5cbfe9b1e89df21415d7165650
|
|
Launch the new Customization picker by checking enabled system property (extended).
Bug: 179129798
Test: Manual
Change-Id: I8016e54e423938bf52efe6e0e9dd2a9cbc9c1fce
|
|
Bug: 175869253
Test: Build WPPG and install to run
Change-Id: Ib0c1edb0e1b0529bd3326f8d4df502f4dfc56b76
|
|
preview" in "custom style name" page.
Reason: The card view which Talkback focused on is not clickable.
Solution: Set the click listener on this card view instead of its child view. (Like what we did in ThemeFragment and GridFragment)
Result video: https://drive.google.com/file/d/1bCDhjEIPiSc67O4r_Lu_nCcm7iberD-S/view?usp=sharing&resourcekey=0-7KHLTpmlYWvPygN7w4oyNg
Bug: 178355698
Test: Use Talkback to focus on the "style preview" in "custom style name" page. It should speak "double-tap to activate" now.
Change-Id: If4842fdfbae1bbd80b3ad05d1648d71a7a544515
|
|
Test: Presubmit
Bug: 178631736
Change-Id: I289034559aa96e62ca4a319b19a0204dde96d853
|
|
Check and bypass loading thumbnail if Activity is destroyed. This
prevents exception in loading thumbnail without considering Activity's
lifecycle.
Bug: 177446199
Test: Manual
Change-Id: I8afd3946d194162cf9ee89aa55cff1ae685f827e
|
|
It's because the translation of R.string.default_theme_title in some language is different with the title of the default theme bundle.
Change the logic of finding default theme bundle to get rid of string comparison.
Bug: 176087825
Change-Id: I471a711ad51515c8b4586b4e8a9b1e8e88b5b7d4
|
|
Bug: 172188327
Change-Id: Ibde74630db19cbbedc50f7cf6a20d3021ad75469
|
|
Bug: 175867467
Change-Id: I60e137732bd2c50097ad5d76e2243ad24f4cf8c7
|
|
collection id.
Ex. the default system wallpaper(the pink wallpaper)
Bug: 172529099
Change-Id: I162ceba7d892d21236f3fa7fb2bc14cec9cf8026
|
|
Override getAccessibilityTitle() and define related
accessibility strings to let TakbackBack speak out
each custom style page.
Video:
https://drive.google.com/file/d/1dOBKrfmr7PkrPLTp0XQta3co1GQpSdeN/view?usp=sharing&resourcekey=0-CW-4b9ZT5eMAEWmnqVnlNw
Bug: 174213366
Test: Manual
Change-Id: Ic41b5d0e6df43fbccfc2e31c7b9fce9a50b95f89
|
|
Post the wallpaper preview setup to message queue of UI thread to
prevent race condition in layout of Grid fragment's bottom action bar.
Bug: 170795716
Test: Manual
Change-Id: I5b94ac71424aebf6bf7a1833ed00de22ad91b2d6
|
|
- Change custom icon page thumbnail icon to widget icon, make it can
load the drawable from Launcher package
- Change preview icon(airplane mode) to battery icon
Screenshot: https://screenshot.googleplex.com/9fp9tpW7hbTeA5s.png
Bug: 159376354
Test: Manually, make full rom with ag/12947502, install local WPPG and check visually
Change-Id: Iba98e8bed43ca0c7a393be42061beba78e5fed9d
|
|
- Log the launch source when entering CustomizationPickerActivity
Bug: 154781896
Change-Id: Iaa339a456c4bf453c6420411ed1ba9632ac4f13a
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/ThemePicker/+/12673115
Change-Id: I17c67dc12d45f97c6dbf1da483d5c7b4fa6ce6e9
|
|
|
|
Test: Manual, not defining a default theme in stub provider doesn't crash app
Change-Id: I2b33681cffe8670478687c06667a701bb682cf2f
(cherry picked from commit 10252aa2bf4eaa4b41cced2fe9bd0962f7a61421)
|
|
the app(activity).
Bug: 169029398
Change-Id: I0549b2213a2567a7a46a79f0a779f08c61d0b163
|
|
Add DatePreference parameter into SysUiStatsLog.write()
Bug: 168680386
Test: build & statsd_testdrive 179
Change-Id: Ie6eb44ac71e266fb383e433f1150fcc4667dd772
|
|
It's because CustomizationPickerActivity is cast to BaseActivity to call isSafeToCommitFragmentTransaction(), but it is not a BaseActivity.
Extract isSafeToCommitFragmentTransaction() to an interface to let CustomizationPickerActivity to implement it.
Bug: 167943713
Change-Id: Idd392fbd2fbadf3d8f4d69fb68ba1ccec948306a
|
|
Video: https://drive.google.com/file/d/11_MclDVE8Q_ojSYoCDxmK4Ah_FoABPhd/view?usp=sharing
Bug: 163019082
Change-Id: I1aa6ca4e58aff3ad1a9067ff44fb398b1336770b
|
|
When WallpaperEngine scalePreview API is not available, use a static
thumbnail for live wallpapers instead of crashing.
Also refactor to extract a single WallpaperSurfaceCallback to make this
simpler.
Bug: 12329489
Change-Id: I7eebcab38a619cb65de9926fe3f956f069652b57
|
|
screenshot: https://screenshot.googleplex.com/p4ZDA8pVPpS.png
Bug: 159627664
Test: maunally
Change-Id: I4ecc709534bef0c72f70b3350d10a53997c33123
|
|
- Adjust the recyclerview setLayoutManager() timing, since we set it twice when using gird layout, it will mis-trigger our setContentDescription() method randomly and make some options setup wrong content description
video: https://drive.google.com/file/d/1xGjw9zacgeQsPtQA7DkWo3d-TvzPUYIi/view?usp=sharing
Fixes: 160761967
Test: manually
Change-Id: I52eec0f40e5c65c5e520abe32a08611959ce5d13
|
|
- Change part of the preview layout to not import for a11y, make it
won't be focused by TB
- Add new content description to each preview layout
video: https://drive.google.com/file/d/1JTZCv7bdRuvzbYbxJXU-yBto4UcivijA/view?usp=sharing
Fixes: 160760041
Test: manually
Change-Id: I70df6d74bb39f75641b8200f5ea505d9c21d2b11
|
|
Because there are two different size ImageViews using the same drawable instance, the bound size was updated to break one of the ImageView displaying.
Video: https://drive.google.com/file/d/1eVzxyn1ojbWanUg47yHXA9AoKZTjXWzp/view?usp=sharing
Test: Manually
Fixes: 160695343
Change-Id: I27f843d21f268e5c82e9682f6af7e0aa907e00eb
|
|
It seemed the better than previous way to set default title
Test: Manually
Bug: 160211359
Change-Id: I0e47a62488d01022baca829b618a5f41d50d74a3
|
|
- Use setAccessibilityPaneTitle to notify/update the a11y states when selecting other options.
- Since we only update the state to our structure not original android components, recyclerview option's state(isSelected) won't be updated when selected. By default, TB will announce "selected" after selecting new options, but we custom it and not following default behavior(by setting extra content description to make it announce "currently previewed"), need to setup the a11y panel title to make it update the a11y states then TB will announce it after selected.
video: https://drive.google.com/file/d/1Q2pSz116JL0bg7HpK3ULoTUhpXTyZoWo/view?usp=sharing
Bug: 157004966
Test: manually
Change-Id: Ib96e0d1013a000022d85df2840e8680e564b844b
|