summaryrefslogtreecommitdiff
path: root/src/com/android
AgeCommit message (Collapse)Author
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
2021-05-07Make CustomizationPickerActivity can be overriddenChing-Sung Li
Bug: 181756152 Test: Build; Manual Change-Id: If8674cb413eba35c84543afe6980f1601d26b2dd
2021-05-06Merge "Draw 4x5 graph for grid options" into sc-devPierre-Louis Guidez
2021-05-06Draw 4x5 graph for grid optionsPierre-Louis
Simplified the draw method Screenshot: https://screenshot.googleplex.com/8hsf2bUJXM3osH3.png Screenshot (high density): https://screenshot.googleplex.com/6A7fpV3ow5FWHdW.png Screenshot (low density): https://screenshot.googleplex.com/AJDAgo5jWfDBgSe.png Bug: 186606404 Test: manual, at different screen densities Change-Id: Ibe4080be00d492028b1cb74ed1700498ad812196
2021-05-01Add color logging functionKunhung Li
- logColorApplied() Bug: 186193935 Test: build & statsd_testdrive 179 Change-Id: I650d9f836b4c40fecc2f82d03ff0d01777fb421b
2021-04-29Give grid options space for bottom action barPierre-Louis
Bottom action bar dimens have been cleaned, including moving option_border here Screenshot (after selection): https://screenshot.googleplex.com/Av4wZEfzb9cEMsT Bug: 185324244 Test: manual Change-Id: I173bd3fec9e69819aee9cd31bf42700614a45c30
2021-04-28Merge "Fix collapsing toolbar does not stretch to top" into sc-devKunhung Li
2021-04-27Fix collapsing toolbar does not stretch to topKunhung Li
- Make status bar color become transparent. - Use getSystemWindowInsetTop() to keep status bar height for GridFragment. Bug: 186382184 Test: manual Change-Id: Ic0b510c0526394e98b7a819324382560f5c3d4e6
2021-04-26Renamed renderPreview to requestPreviewSantiago Etchebehere
Bug: 185198554 Test: manual Change-Id: Iad8d45ab54c0ed6e13809a2be33b788731c281e9
2021-04-19Remove hard-coded colors in Wallpaper PickerTianguang Zhang
The CLs in this topic remove the hard-coded colors from the app, replacing them with ?android:attr/, ?attr/, and sometimes @color/ that is defined using device default colors. Fixes: 173549815 Test: none added Change-Id: I4f0d18c1c4afdc5e1651e5b34fef8c7d71cdf8b7