summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-12-22Fix Talkback announcing null when changing color optionJohn Pan
Move the Talkback announcement for options from OptionSelectorController to GridFragment. We only need this logic for grid option and it's hard to understand with the color option without title. Videos: -Before: https://drive.google.com/file/d/1-tFBWwz_SjbenpmAozPhlC7dRRFHiDkN/view?usp=sharing&resourcekey=0-SLo4PJEo3G3J0O_LVYSd7A -After: https://drive.google.com/file/d/1-XTa--g59Dw_HXxm5SjofE2nxlBWDhtY/view?usp=sharing&resourcekey=0-e9mS5uqltrAR3zyXS8cUqQ -After GridFragment: https://drive.google.com/file/d/11sDHACAOSU4npMao_4f-NUKUje3fZlfj/view?usp=sharing&resourcekey=0-8Pm0qkzvLilSMhpzUBWr6A Bug: 210801885 Test: Manual Change-Id: If47204681655f42741a2e46e2d585144a7d08711
2021-12-10Talkback change for grid optionJohn Pan
-Set content description when grid option not applied nor selected ex "4 x 4" -> "4 x 4, change applied or previewed" -Say "4 x 4, currently previewed" after double tap -Don't focus on apply button after double tap grid option Videos: -Before: https://drive.google.com/file/d/1-5b2bJsvof2WGaaqHjwxJnGGtJWWJUHD/view?usp=sharing&resourcekey=0-PFRWQEqtvxVRZKUC2SUEGg -After: https://drive.google.com/file/d/11kUz8uw7evHpNe-ZvSSG6-sxmUJsPtRr/view?usp=sharing&resourcekey=0-C-BrJmvPgxFmbgvkWn5yQw Bug: 207804306 Test: Manual Change-Id: I7f7b02286b35e82fab38d4b3d770211928e6e9ef
2021-12-06Merge "Let Talkback announce to the user when changing dark/light theme" ↵Chuck Liao
into sc-v2-dev
2021-12-06Let Talkback announce to the user when changing dark/light themeChuck Liao
Screenshot: https://screenshot.googleplex.com/B42zbNsdsA8AC23.png Video: https://drive.google.com/file/d/10rUKU76GpsJie8B9UFlFC_PckNX0LPlE/view?usp=sharing&resourcekey=0-N9fOs-f6WYVpfg5_3zQOww Bug: 207738704 Test: manual Change-Id: I361cd216f752886e8e2aa9b6ba6545517ba4f31a
2021-12-04Merge "Fix grid selection be cleared if rotate screen at multi-pane device" ↵John Pan
into sc-v2-dev
2021-11-17Fix grid selection be cleared if rotate screen at multi-pane deviceJohn Pan
Videos: -Before: https://drive.google.com/file/d/1zcw-gyEa6okwtrabc-8JjL5XujeOUP6G/view?usp=sharing&resourcekey=0-YrN1M-zQo_qGHBoRjENQvw -After: https://drive.google.com/file/d/1cIT4TrdqE7UKWUf2IKkwAQNEb_C9B_Js/view?usp=sharing&resourcekey=0-Xg13eok2rjbpXZEwnhCQqw Bug: 204257793 Test: Manual Change-Id: Ib7a968501f2beb4e986d74c54e69956f1ae4c14a
2021-11-15Add parameter in getPreviewFragment() to support full screen previewChing-Sung Li
Bug: 204411095 Test: Manual Change-Id: I1bfd6264980244d7a7fe48bd8309f5d04f767b30
2021-10-28Fix the title not translated when resuming app from overviewChuck Liao
Video: https://drive.google.com/file/d/140kssFO_fBgizjRpUlmzqL5ZhkN1yXHE/view?usp=sharing&resourcekey=0-y5hWfEFbc9ss4Y2LrFB8vQ https://drive.google.com/file/d/1L6bbeqE_YV4takc91O9ZPjnpT1mrbOZ9/view?usp=sharing&resourcekey=0-3RWB2NOt4B8kYgnKf5er8g Bug: 197825064 Test: manual Change-Id: If92411df840dbcc2186ac6a232dc5874181e5764
2021-10-16Update grid preview selectionJohn Pan
Vedios: -Before: https://drive.google.com/file/d/1HO5LWSmpFpdDk5BjaChEHYRKRbOTKovh/view?usp=sharing&resourcekey=0-lJ7hGNn783U9sVKhOCJ3vg -After: https://drive.google.com/file/d/1I5HTG6wrbB3KU-_7Cpf5zyD485TknUmJ/view?usp=sharing&resourcekey=0-KVF8KQtYg-JNahGsaszUWQ Bug: 201572713 Test: Manual Change-Id: I664db7941b9fe36c300040e95ccb4f0300a37c59
2021-07-01Save themed icon switch's chcked state in savedInstanceStateChing-Sung Li
Add section views with tasks in the message queue (view#post()) running separately would see themed icon switch's checkd state changing quickly. Save the state to the savedInstanceState and restore it could prevent this phenomenon. Bug: 192200516 Test: Manual Change-Id: I04309bd634e2b9a240570fe304dfa34372c2b6df
2021-06-28Merge "Store the themed icon enabled state in SharedPreferences" into sc-devTreeHugger Robot
2021-06-28Store the themed icon enabled state in SharedPreferencesChihhang Chuang
The stored value only gets updated when - App launching and the stored value is stale. - Themed icon toggle gets swithed. Fixes: 191950768 Test: Manually Change-Id: I42f3419befd39fd4e196fc94b18ab73e178bb4fb
2021-06-28Delay setting night mode to show ripple animationChing-Sung Li
Bug: 183944309 Test: Manual Change-Id: I7a5df8d12b35316b7d0711b99426cde25c7a1430
2021-06-24Update the bottom sheet usage of BottomActionBarChihhang Chuang
Fixes: 191940562 Test: Manually Change-Id: I3097ae43902864d3acc36e634c0829962562131c
2021-06-24Merge "Clean up some useless code" into sc-devChuck Liao
2021-06-22Clean up some useless codeChuck Liao
Bug: 191606414 Test: manual Change-Id: Ibc763fe3860fae17b31824cead2c3ea0697adb35
2021-06-22Remove larger preview support for grid previewChihhang Chuang
Because the preview card in grid home page is clear enough. Also remove the unused ViewOnlyFullPreviewActivity. Fixes: 189384424 Test: Manually Change-Id: I88cb36f7e167adc9a5b1042c1ef05223422e2fc5
2021-06-17Merge "Fix ThemePicker build and exclude unused features" into sc-devTreeHugger Robot
2021-06-17Fix ThemePicker build and exclude unused featuresChihhang Chuang
- Exclude Theme and Clock from builds since they are unused, should add them back when the features are needed. Screenshot: https://screenshot.googleplex.com/AeLSMUFq5EdndWr.png Bug: 190354625 Test: m ThemePicker Change-Id: I0219fa5b27354fc7afdcb5526e1b8e8e3d29b755
2021-06-16Improve wallpaper preview loading transitionSantiago Etchebehere
Make WallpaperInfo parcelable Before/after videos: https://drive.google.com/drive/folders/1-PqL0BCOuet9pnrYVphewpwAcvVoBCwo?usp=sharing Bug: 184111918 Test: visual check Change-Id: I46154d4a001b23ed07acf34fc5a136fb9b848122
2021-06-16Merge "Rename the title of the first gird option" into sc-devTreeHugger Robot
2021-06-16Merge "Replace "Hub" naming with "Customization"" into sc-devChihhang Chuang
2021-06-16Rename the title of the first gird optionChuck Liao
Rename it from "Default" to "5x5" to avoid misleading when Launcher's default grid configuration is not 5x5. Screenshots: Before: https://screenshot.googleplex.com/4aTmiqZ3RUFbj3t.png After: https://screenshot.googleplex.com/6ecXhDa9mDUi9aC.png Bug: 191118996 Test: manual Change-Id: Ic2f0cfaf7d783b489123af7426d26742afd915c8
2021-06-15Fix grid option does not show selected stateChuck Liao
Video: https://drive.google.com/file/d/13v6P_Np7ijAhQhYDjMXUWkjs3MWqUMIX/view?usp=sharing&resourcekey=0-sI2jmTp0u1KuTalHNumuzg Bug: 189060136 Test: manual Change-Id: I98a5f2dfde187402a7ea83f40f9bff663e5f1cf6
2021-06-15Replace "Hub" naming with "Customization"Chihhang Chuang
- Since "Hub" is a meaningless naming. - Also update "Mode" prefix naming to "DarkMode". - Remove unused interface in Injector. Bug: 190354625 Test: Manually Change-Id: I5293f590070e9f4a852ab31e64506639a549a558
2021-06-15Merge "[4/4] Move new picker logic to AOSP" into sc-devChihhang Chuang
2021-06-15[4/4] Move new picker logic to AOSPChihhang Chuang
- Remove activity overriden for CustomizationPickerActivity, and use the activity in WallpaperPicker2. Bug: 190354625 Test: Build and run the app Change-Id: I080737f0ec30a6090b1180eba98b3aa8087f50a1 Merged-In: I080737f0ec30a6090b1180eba98b3aa8087f50a1
2021-06-14Use APPLY text button for grid pickerChihhang Chuang
Video: https://drive.google.com/file/d/1NotRBY9GDJe8LgEGrA_g_ruN-dtoktb0/view?usp=sharing Bug: 189384424 Test: Manually Change-Id: I8896640a0818fa993f87363b4c2975d2e7eee16a
2021-06-12Merge "[3/n] Move new picker logic to AOSP" into sc-devTreeHugger Robot
2021-06-11[3/n] Move new picker logic to AOSPChihhang Chuang
HubFragment shows below sections for ThemePicker build. - Wallpaper - Dark/Light theme - Themed icon - Grid Bug: 190354625 Test: Build and run the app Change-Id: I5ab205f7f4dbf5838c39ca0eca4808cad3c86fa1
2021-06-10Register power-save broadcast receiver without blocking UI threadChing-Sung Li
Register power-save broadcast receiver in the background thread to not block UI thread as workaround while system is busy. Bug: 190333611 Test: Manual Change-Id: I097bcf8baa9776462f62b8fcaa35d40b5de0a188
2021-06-10Make the retrival of themed icon setting in background againChing-Sung Li
We get the themed icon setting through content provider through binder call in background thread to unblock UI. Video: - https://drive.google.com/file/d/1d3SxhKTCJtWLtD1vri9qioKvGdZC42ne/view?usp=sharing&resourcekey=0-0r9WI28xLgMaQzRxkQJU_g Bug: 189894912 Bug: 190564428 Test: Manual Change-Id: I23321d227df9115839b6fcc9a0c7bb8eb10c1278
2021-06-09[2/n] Move new picker logic to AOSPChihhang Chuang
- Wallpaper section Bug: 190354625 Test: Build and run the app Change-Id: I2ac6e82abdd2b114d3da5688ff8ecf561032d05f
2021-06-08[1/n] Move new picker logic to AOSPChihhang Chuang
- Dark/light Theme. - Themed Icon. - App Grid. Bug: 190354625 Test: Build and run the app. Change-Id: I54c7c3897568019326b827091270091bc114611c
2021-06-03Expose method to read if themed icons are available.Santiago Etchebehere
Also remove unnecessary clearing of Glide cache. Bug: 187535286 Test: manual (visually verified) Change-Id: Ic683c86e6ec4fd4b34267dae0440801002d01292
2021-06-02Merge "Request Workspace preview in a background thread" into sc-devSantiago Etchebehere
2021-06-01Request Workspace preview in a background threadSantiago Etchebehere
Bug: 189049869 Test: manual Change-Id: Icd98aa40819a4bb4a2ebe4472825d4bf7e0b6a02
2021-05-31Use default item margin when no space for option peeking caseChihhang Chuang
Screenshot for max display and font size: https://screenshot.googleplex.com/8hReLB6G4LUiL4c.png Fixes: 189711388 Test: Manually Change-Id: I91f94dc16a8e1d699e1e40e82487647c4fbd3ef6
2021-05-27Update layout for grid optionsChihhang Chuang
Spec: https://screenshot.googleplex.com/HeqNgrqnsaiMoia.png Screenshot (1-5 options): https://screenshot.googleplex.com/4sShjAjyu2xC8nw.png https://screenshot.googleplex.com/3TThvJLr8omoMsm.png https://screenshot.googleplex.com/BpGbpTdzPSNGCt5.png https://screenshot.googleplex.com/BM3z8g9mcrTktr3.png https://screenshot.googleplex.com/BegfDpyXwvMw6j3.png Fixes: 187138127 Test: Manually Change-Id: I92c541ce54a5c3144d6048407b2434d468680ca5
2021-05-21Merge "Revert^2 "Return to Launcher Home after wallpaper/grid apply"" into ↵Chuck Liao
sc-dev
2021-05-21Revert^2 "Return to Launcher Home after wallpaper/grid apply"Chuck Liao
27e34167ff5e71f9877f16de3807c4bbefd1363f Bug: 188361386 Test: manual Change-Id: Ie88a1c233491153bb1a256ffc34590aa33b5ffa3
2021-05-21Merge "Update the themed icon feature's content Uri path" into sc-devTreeHugger Robot
2021-05-21Merge "Fix intent filter to get launcher's meta-data" into sc-devTreeHugger Robot
2021-05-19Call cleanup on Launcher when requesting a new grid previewSantiago Etchebehere
Bug: 186712316 Test: manual Change-Id: I0909c704cee75b5814510fb626c613a2ce9380b3
2021-05-19Update the themed icon feature's content Uri pathChing-Sung Li
Update the themed icon feature's content Uri path for methods to handle themed icon query / update in Launcher. Bug: 186590551 Test: Manual Change-Id: I2137adaf5fa0df802e4af2e9aba12fd9b7f374a8
2021-05-19Revert "Return to Launcher Home after wallpaper/grid apply"Rex Lin
Revert submission 14622466-return_to_home Reason for revert: DroidMonitor-triggered revert due to breakage <https://android-build.googleplex.com/builds/quarterdeck?branch=git_sc-v2-dev&target=slider-userdebug&lkgb=7377508&lkbb=7377536&fkbb=7377536> Bug: 188616302 Reverted Changes: Ic9ef5bf6a:Return to Launcher Home after wallpaper/grid apply... Ia7b8fad1a:Return to Launcher Home after wallpaper/grid apply... Change-Id: I015a5b894f9f8ed3bdbf8ded6a93a4021b180d23
2021-05-19Return to Launcher Home after wallpaper/grid applyChuck Liao
Video: https://drive.google.com/file/d/13CTn7f8PJVgBQYzznsf9jYoiKhCz0xSs/view?usp=sharing&resourcekey=0-qZbJpbFCDmI0lvkBZHJrQg Bug: 188361386 Test: manual Change-Id: Ia7b8fad1a1d56e4280d92468eed89e7628dc00a9
2021-05-18Fix intent filter to get launcher's meta-dataChing-Sung Li
Use CATEGORY_HOME to get launcher's meta-data. Bug: 186590551 Test: Manual Change-Id: Ic6baa668957eff4a51d2bfc96cf03e1f7d1083b1
2021-05-17Supports themed icon options from LauncherChing-Sung Li
Adds the support of themed icon options from Launcher. Bug: 186590551 Test: Manual Change-Id: Ie64a410564a751ee8df37f032309033dfa435ae4
2021-05-11Add overscroll effect to option gridsPierre-Louis
Fixes: 187470337 Test: manual Change-Id: I270980805f71ae5ea37b013f62b0f92428f4e318