summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Remove pre-installed check for LivePicker"Kunhung Li2019-05-081-1/+12
| | | | | | | | This reverts commit d21c55c0a148e20ace3672a5e0a984846a26fc85. Bug: 127218308 Test: Manual test Change-Id: If99f19af96d742d96c118a2fce7a97bafd76b778
* Add preview checkbox for LivePickerKunhung Li2019-04-301-11/+79
| | | | | | | | | | Enable preview checkbox to hide bottom panel, otherwise to show it. Default behavior will show bottom panel with preview unchecked. Bug: 130383883 Test: Manual Test Change-Id: Ida5a5fa7ece501aefd906b70b6990eb89fe14c74
* Fix touch is being consumed by customizable panelKunhung Li2019-04-181-8/+6
| | | | | | | | | | This is caused by dispatching touch event to wallpaper engine without conditions. It will check if there is no other view to handle touch event then dispatch to wallpaper engine. Bug: 130681068 Test: Manual test Change-Id: Ie59e8af5afbfa4ac5e3d0bfe52faf3c4d7259ac0
* Keep "Set wallpaper" button the same position in different tabs.Kunhung Li2019-04-122-0/+28
| | | | | | | | | | | | | | 1. Consider both (info > setting) page and (info < setting) page cases, add extra space to let "Set wallpaper" button can align bottom. 2. Add extra height in info page top area if info page has enough empty space. 3. Refine info and setting layouts in portrait and landscape. 4. Correct dummy data can't show title. Bug: 128393998 Test: Manual test Change-Id: I29a3dc8309fa879d1b93c5db81630f6e0cbd36d8
* Hide deletion action for currently set Live wallpaperChing-Sung Li2019-03-121-2/+12
| | | | | | | | Hide deletion action for currently set Live wallpaper in LivePicker Bug: 126453855 Test: Manual Change-Id: I7c35f2820819c66f7377c4c9843d8d6646670953
* Remove pre-installed check for LivePickerKunhung Li2019-03-051-13/+1
| | | | | | | | | For more apps can easily access delete feature, will remove isPackagePreInstalled(). Bug: 122094510 Test: Manual test Change-Id: I31c773265c959e172d480776b86b0225bbd9956a
* Align info and setting tab to the same heightKunhung Li2019-02-261-9/+13
| | | | | | | | | | | | | It will feel tab jumping while switching to different tab, which causes from info tab and customize tab's height are not the same. Visit all child views first and then determine the maximum height for ViewPager. Bug: 126301901 Test: Manual Test Change-Id: Iada213a96622179b201a96b36ee551c6732dd5cc
* Merge "Migrate away from temporary androidx.design_design target."TreeHugger Robot2019-01-311-1/+1
|\
| * Migrate away from temporary androidx.design_design target.Aurimas Liutikas2019-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | androidx.design_design was a target created temporarily while the com.google.android.material_material was being added. This migrated to the final material design class packages. Exempt-From-Owner-Approval: Large scale refactor Test: make -j LiveWallpapersPicker Change-Id: I9c17c0e8f20e86adc84575f77a0e9bc12bec7308
* | Show comfirm dialog before deleting a wallpaperKunhung Li2019-01-311-3/+14
|/ | | | | | Bug: 122505782 Test: Manual Change-Id: I013df1e3d8e33268f382cb237447d8ed2bd8a0a6
* Supports inline control for live wallpapersRichard Chou2019-01-262-147/+294
| | | | | | | | | | To support inline control (Slice), WallpaperInfo has a new attribute settingsSliceUri. A ViewPager is added to LiveWallpapersPicker for the display of both wallpaper attribution and settings Slice. Bug: 111862421 Test: Manual Change-Id: I28e808ec58f12179da1acc000634d6c41eec805b
* Delete feature for LivePickerKunhung Li2019-01-152-4/+52
| | | | | | | | | Provide a delete function in menu item that can notify delete info to wallpaper package then finish back to the requesting activity. Bug: 122094510 Test: Manual Change-Id: I9e7303ee9cbbae0a7987b4b8848a1aa3293c72b3
* API change for support wallpaper on secondary displays.wilsonshih2018-12-051-1/+2
| | | | | | Bug: 115486823 Test: Manually launch the app without error. Change-Id: Id159156693c9631ecb2cdca25eece49a4f8396b9
* Merge "Supports wallpaper for multi display, API change."Wei Sheng Shih2018-11-221-3/+4
|\
| * Supports wallpaper for multi display, API change.wilsonshih2018-11-071-3/+4
| | | | | | | | | | | | | | | | | | | | API change on IWallpaperConnection. Bug: 115486823 Test: manual run this app. Test: atest ActivityManagerMultiDisplayTests Change-Id: I13b8644a041d8ee7a5cced4c4f5d33a0f5ae68b4
* | Temporary fix for live wallpaper surface flickerSantiago Etchebehere2018-11-051-0/+1
|/ | | | | Test: manual, load live wallpaper preview and observe Change-Id: I50e248bb9604f91a6b94e68ebbc3858509af3df7
* Set the result code before finishingAjay Nadathur2017-11-071-1/+4
| | | | | | bug: 65691577 Test: Manually tested and verified that resultCode is set Change-Id: I5132cabf4ff84975a3b49e3aa099622ae52b3853
* Fix wallpaper settings crashLucas Dupin2017-08-021-7/+17
| | | | | | | | | | | | A wallpaper with invalid settings activity name in its meta-data would crash LivePicker. We're now trying to resolve the settings intent ahead of time and not even showing the 'gear' if resolution fails. Change-Id: I15faf466a78b65b4aedc063a5fbb29e852168a03 Fixes: 62398874 Test: Wrote a wallpaper with invalid meta-data, tried to open its settings.
* Avoid crash when unbinding wallpaperLucas Dupin2017-07-061-2/+7
| | | | | | | | | | | A wallpaper service might have crashed before we try to unbind it, in this case a runtime exception will be thrown. Let's just ignore it since there is nothing else to be done. Bug: 62828614 Test: manually set Windy wallpaper and resize it Change-Id: If9882ea27aaf3c92d2069ae6c8ef409c6ae2fa91
* Update LivePicker "back arrow" vector asset.Oren Blasberg2017-06-281-1/+7
| | | | | | | | | | New arrow vector is slightly rounded in accordance with new spec. Test: Manually verified the new arrow icon is present and looks good both in LTR and RTL. Bug: 63099233 Change-Id: If8d06dcb5688aecffbfd9f4feb65bffb8ff9e539
* Api compatibility regarding WallpaperManager in OLucas Dupin2017-04-261-0/+6
| | | | | | | Bug: 36856508 Change-Id: Id073300f790caf779aae6c8e67424b5def345644 Topic: wallpaper_color_extraction Test: make
* Prompt wp destination when system imagery can migrate to lock.John Heroy2016-12-191-2/+5
| | | | | | | | | | | | | | | WallpaperManager#setWallpaperComponent migrates system wallpaper imagery to lock, so now LivePicker should ask for a live wallpaper destination except when there's a live wallpaper set and there's no lock wallpaper imagery. Bug: 32670638 Fixed: 32670638 Test: Set a static wallpaper to system+lock, then try to set a live wallpaper and observe that LivePicker prompts the user for a destination. Change-Id: I39767b592c5a91c06670d6d00af90069b5c8e353
* Use proper action bar item backgroundJorim Jaggi2016-08-111-0/+2
| | | | | Bug: 22007160 Change-Id: I6b99f818b71addbccce09225e20932339fd88449
* Expand attribution pane touch target to title.John Heroy2016-08-081-0/+1
| | | | | | | | | This change makes it easier for users to hide the attribution pane (for example: left-handed user in LTR locale more easily tapping title to hide the pane). Bug: 30597113 Change-Id: I810a032fa9864366052a9fd56317b243b3121dd9
* Adding icons in Set Wallpaper disambiguation dialog UISunny Goyal2016-07-181-5/+33
| | | | | Bug: 29319713 Change-Id: If8b689e9b27a3cbd1f5123cc584cda3662f2ee38
* Don't show dummy data in pickerJorim Jaggi2016-06-231-2/+1
| | | | | Bug: 28936996 Change-Id: I8c4ee50861c37a32258aa47fe29bbcdc845e84c9
* Adjust wallpaper picker to match static wallpaper pickerJorim Jaggi2016-06-021-58/+192
| | | | | | | | | | - Implement new action bar - Use BottomSheet behavior from design lib - Fill in values from live wallpaper if desired - Don't use separate dialog for loading state Bug: 28770685 Change-Id: I8dd862fe4c83f702e249f7f3644df89fee771f4f
* Track in-progress wallpaper API changesChristopher Tate2016-03-301-2/+2
| | | | | | | | FLAG_*, not FLAG_SET_* Bug 27365822 Change-Id: I60cb14560c5fb359639788b39f60096f77ad85ab
* Prompt to set live wallpaper on home or home and lock screen.Tony Wickham2016-03-221-10/+45
| | | | | Bug: 27706226 Change-Id: I005063dcb08e2f3840eec6fe7e487855bd823900
* Used call via IPC so that we can check user restriction in WallpaperManager.Oleksandr Peletskyi2016-02-261-4/+1
| | | | | | | BUG: 24890474 Change-Id: Ia755b3bc44d8dec270ecc8ee102b83bad56b92b2 (cherry picked from commit 83aab8c6a51d2fc5ab7600db9bcd0e49d8121617)
* Updating the LiveWallpaperPicker UISunny Goyal2015-08-314-162/+47
| | | | | | | | > Using the settings theme > Removing GirdLayout usage, using ListView with appropriate padding > Removing trampoline activity when starting wallpaper preview Change-Id: Iea12a8c1c6d6cdc0682add07e1b9565827da71c8
* Moving the set wallpaper button to the top to match the default launcher styleSunny Goyal2015-08-281-12/+24
| | | | | | Using a cog image instead of the Settings... button Change-Id: Ia106ff1bd978ab67fd8405e2cd66cf701d29e7a4
* Track framework changes.Dianne Hackborn2014-09-081-1/+3
| | | | Change-Id: Iddfa0fa4ea852bf9794c115313ae9068e684ae49
* Fixed a bug where the caller of the wallpaper changing activitySelim Cinek2014-02-271-1/+9
| | | | | | | did not receive the correct result back, since it was discarded. Bug: 12063773 Change-Id: I47adcb6522df1d71824c32e7f8fb80296f657aff
* Update to follow framework.Dianne Hackborn2012-09-161-0/+4
| | | | Change-Id: I38c6e59234432b103a619dbf5dab0b1fd029f101
* Implement issue #4499996: LiveWallpaperPreview activity intent filterDianne Hackborn2012-04-191-0/+90
| | | | Change-Id: If717ce64157356e470b198fb74ff8bab96d3f4ba
* Fix NPE in Live Wallpaper pickerMichael Jurka2012-03-261-0/+4
| | | | | | Bug: 5913040 Change-Id: Ic8e975ca1a9b9712509c6e9b31d55be2111e36a1
* Removing Live Wallpaper Description - Bug 5462731Leon Hong2011-11-181-12/+0
| | | | Change-Id: If8d4ed443590576ffd203054f1f5b7ee26adb7cf
* Fix 3421874: Crash when quickly tapping in wallpaper picker screenPatrick Dubroy2011-02-111-3/+1
| | | | We can't do a UI operation on a background thread. Fix is to move the code into onProgressUpdate, which runs on the UI thread.
* Fixed an issue with fragment display on a phoneAdam Lesinski2010-12-131-1/+19
| | | | | | | -A class name change was not reflected in the xml -Rotation of the screen caused a crash Change-Id: I483baf8b93c333e349ff1d4e5c6219abcbfad56c
* Fixed bug in orientation changeAdam Lesinski2010-12-061-33/+33
| | | | | | | | | -The Fragment was missing an empty public constructor b/3257935 -Restructured some of the logic determining whether to show a dialog or an embedded view Change-Id: I42295ef88cd800b775ea6970c59c34cb46ca17d5
* Merge "Updated the LivePicker for tablet UI"Adam Lesinski2010-12-032-29/+140
|\
| * Updated the LivePicker for tablet UIAdam Lesinski2010-12-032-29/+140
| | | | | | | | | | | | - Basic UI for the new LivePicker. Missing small tweaks Change-Id: I5d48e5ea5afc7feccf5f35124b944283060685df
* | Send tap commands when previewing live wallpapers.Jeff Brown2010-12-021-3/+21
|/ | | | | | | This enables live wallpapers that rely on tap commands for user interaction to work during live preview. Change-Id: I3dad37702c71ae491bb2fd06edc7544515f6e3fb
* Changed the process of enumerating live wallpapersAdam Lesinski2010-11-242-187/+229
| | | | | | Made the wallpaper enumeration process an AsyncTask Change-Id: I670e7d78ecb1eeb1f4c9b18ac3f487de931ff4f0
* Deprecate fill_parent and introduce match_parent.Romain Guy2010-01-081-3/+3
| | | | Bug: #2361749.
* Fix http://b/2248037 (crash in LW picker).Daniel Sandler2009-11-191-2/+7
|
* Clean up live wallpaper picker list.Daniel Sandler2009-11-161-7/+2
| | | | | | | | | | | | Author information is no longer shown (ultimately not meaningful information). LWs can add an attribution to their descriptions if necessary. Note that the preferred geometry of a LW thumbnail image is now square. (This allows for more descriptive text, and is also easier for the author to get right.) Bug: http://b/2261754
* Fix http://b/2248037 .Daniel Sandler2009-11-111-2/+7
| | | | | If there's no author information, just show the title in the picker list.
* Related work on issue #2170897.Dianne Hackborn2009-11-101-0/+20
| | | | The wallpaper preview now delivers touch events to the wallpaper.