aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/lockclock/misc/Constants.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactor cLock to use the new Weather APILuis Vidal2016-04-221-2/+2
| | | | | | | | | | | | | | | - Content provider was removed - Weather sources (Yahoo and OpenWeatherMap) were removed. Those providers will reside in their own package. - cLock was refactored to use the Weather API to process weather updates and city name disambiguation - cLock will let the active weather service provider decide whether back to back requests are OK. In other words, cLock does not enforce the 10 min wait period between requests anymore TICKET: CYNGNOS-2116 Change-Id: I87ccd5727013dbbd7e96ce0a8e3d4f766f823072
* Allow user to change background color/transparency for the widget,Zach Prezkuta2015-08-141-1/+5
| | | | | | | | for greater compatibility with various wallpapers Use slider for background transparency adjustment Change-Id: I7f1d00fd5df6ea52b127287fc17baf1477fbb9a3
* Port over improvements from ChronusDanny Baumann2014-01-071-2/+7
| | | | | | | | | | - new weather source: OpenWeatherMap - weather icon pack support - weather forecast activity and popup - updated weather and in-app icons - some new translations (AR, TR, SL) Change-Id: I2bcc2042bf83d0e0bb4a00200de1310042303e9c
* cLock: Forward port CM10.2 updatesDvTonder2013-12-091-1/+4
| | | | Change-Id: Icec530485324193f76ac7bfe48ca5ca179bd0b7b
* Improve weather retrieval code.Danny Baumann2013-10-131-2/+3
| | | | | | | | | | - add weather provider abstraction - centralize yahoo specific bits at one place - switch to parsing JSON instead of XML - switch to using places instead of placefinder, which allows localized city names and custom location selection Change-Id: I5acfa084fda5024bd1af940a866fcdf77ef2895a
* LockClock: Add support for API level 16Matt Booth2013-09-251-0/+1
| | | | | | | Thanks to Matt Booth for the main implementation and Danny Baumann for the initial porting into the CM source tree Change-Id: I3de1e786c80ee440a4685da3d6c7b3dd989fd8e3
* LockCLock: Remove calendar iconRescue92013-08-081-0/+1
| | | | | | | | Remove the calendar icon from the panel. Patch 4: Removed all references to hiding the icon JIRA: CYAN-1735 Change-Id: I22fee93d720f407caf611b1f6d04ea05742e1647
* cLock: added option to highlight the upcoming calendar eventsNicolai Ehemann2013-03-201-0/+5
| | | | | | | | | | | | | With this option, today's, and after 8pm also tomorrow's events can be displayed bold and in different colors. Patchset 1-7- Initial commits Patchset 8 - Fix strings - Fix preference summaries for color preferences - Set feature defaults to off Patchset 9 - Fix bold preference Change-Id: I209442c0747ed5984f312c85c6744400a83b17fb
* cLock: Make the list of calendar entries scrollable (max. 10 entries)Nicolai Ehemann2013-03-161-1/+1
| | | | | | | This changes the rendering and calendar data aquiration quite drastically, as a new widget service had to be introduced. Change-Id: I5bcdaa952acde2caa5a3f04b2c8c98868fd7cbfb
* cLock: Add ability to change font and monochrome icon colorsDvTonder2013-03-101-0/+10
| | | | | | | | | | | | | | This commit adds the ability to select individual colors for the various panels of the cLock widget. It will also apply the selected color as an overlay on the alarm, weather condition (mono only) and the calendar icons. The colors supported are the standard Android 4.x Holo color set with White, Black and Grey added. IMHO a full color picker would be an overkill for this feature. Change-Id: I621669f49c414b0bbd1236b9d0fb2f0c08e4beea
* cLock: Updates to how dates are displayed in calendar entriesNicolai Ehemann2013-03-081-0/+16
| | | | | | | | | | | | | | | | | This commit: - Removes the display of the date in calendar entries when the interval is below one week - Switches formatting of date in calendar entries from manual localized formatting strings to DateUtils locale-aware format methods - Adds full date if events are > 1 week Screenshots: - Before: https://dl.dropbox.com/u/39911341/screenshot_confusing_appointments.png - After: https://dl.dropbox.com/u/39911341/screenshot_confusing_appointments_fixed.png Change-Id: I29883fc9c81229d4fd25a74428a997eef1c27c62
* cLock: Make the showing of weather when minimized a user optionDvTonder2013-03-061-0/+1
| | | | | | Also includes some code cleanup Change-Id: Iad2c4dba4f6e1d77fae28d3f52fa1ef878815614
* Chronus: Optimize widget loading/displayDvTonder2013-01-181-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Completely refactors the Calendar handling and changes the refresh interval from every minute to the minimum of either the next weather refresh or the next event start/end. It also now detects more events (new calendar entry, deleted calendar entry, location change, timezone change etc) Patch set 7 : Change the startup of the provider to only update the required panels on enabling the appwigdet and updates This further reduces the number of times the widget refreshes itself, now limited only to actual events Patch set 8 : Change the weather refresh time to be absolute, not relative to current time Patch set 9 : Refactor the calendar to use a CalendarInfo class that maintains a static list of events. This allows the refreshing of the lock screen widget without querying the calendar provider every time the screen turns on Patch set 10: Simplified onReceive loading/updating of widget with additional tweaks to handling deleted widgets and a fix to the refresh timer calculations including a check of the lookahead window. Patch set 11: Change the alarmservice to wake the CPU and do the update if the device is sleeping. This way, since the updates are so infrequent now, it makes sense to ensure things are updated (if needed) when the user turns the screen on after a while. Patch set 12: Change application ID to an ID registered for Chronus Patch set 13: Store the returned WOEID in sharedPreferences it if its valid and retrieve the previously stored one if not. This allows for the querying of weather data even though the Yahoo Placefinder service API limit has been exceeded and it returns an invalid XML result on geocode query. Patch set 14: Add a flag to determine when we want the real placefinder result or the cached result is also OK Patch set 15: Final comments and code formatting cleanup Patch set 16: Factor out weather fetching to separate service to decouple weather fetching from widget update. Also optimize a lot of code. Patch set 17: Fix alarms refresh and optimize calendar query and weather refresh behaviour. Patch set 18: Unify debug flags Change-Id: I0496dad356c92fb26ad7289268327b27b365b6cd
* Chronus: Add Analog clockDvTonder2013-01-061-0/+1
| | | | | | | | | | | | | | Tested on Mako and Maguro (XHDPI) with a 5x4 homes screen grid and on i9000 (HDPI) with a 4x4 home screen grid. Patch set 5 : Rebase Patch set 6 : Fix rebase derp Patch set 7 : Tweak drawables to make them fit properly Patch set 8 : Fix string per Marco's suggestion Patch set 9 : Tweak layouts to better work on HDPI devices Separate layout calcs based on clock type Change-Id: I1265b0e7b86e3d67ea1dcc01ab8f0fe1632f986a
* Chronus: Add support for alternate (Color) weather iconsDvTonder2013-01-031-0/+1
| | | | | | | | | Color weather icons sourced from https://github.com/Root-Box with credit to Vostradamus & m.Long (maxromanyuk)(xiao4) Remove MDPI resources since there are no 4.2.1 MDPI devices Change-Id: I4aed8ce327d4eaf01413da0cce3aa46e8a8e156d
* Chronus: Add ability to configure minutes and date/alarm fontsDvTonder2013-01-031-0/+2
| | | | | | Plus a bit of clock and alarm related code cleanup Change-Id: Ibfed809156a15e193a3a61ea468c46b7aad16a04
* Chronus: Fix weather invert low / high temperaturesDvTonder2013-01-031-1/+1
| | | | Change-Id: Idbc4121a4b01769376c274b244e72128b656362d
* Chronus: Add ability to hide All day events in the calendar panelDvTonder2013-01-021-1/+2
| | | | Change-Id: I9883071754ceade9c0b50a8788ae80230dcf6413
* Start of new fragments based preferencesDvTonder2012-12-301-0/+1
|
* Add the ability to force a weather refresh if neededDvTonder2012-12-291-0/+3
|
* Add ability to show up to a defined maximum (currently capped at 3) calendar ↵DvTonder2012-12-291-0/+2
| | | | events
* MInor cleanup and proper settings defaultsDvTonder2012-12-291-6/+0
|
* More cleanupDanesh Mondegarian2012-12-291-6/+1
|
* Start of changing the preference storage handlingDvTonder2012-12-281-1/+1
|
* Add Calendar support and some general cleanup of copyrightsDvTonder2012-12-281-12/+27
|
* Add Alarm display handlingDvTonder2012-12-281-0/+1
|
* Add widget preferencesDvTonder2012-12-281-0/+10
|
* Change widget UI to update every 60 secondsDvTonder2012-12-281-1/+2
|
* Initial commitDvTonder2012-12-271-0/+25