aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/lockclock/misc/Constants.java
diff options
context:
space:
mode:
authorNicolai Ehemann <en@enlightened.de>2013-03-15 23:57:38 +0100
committerNicolai Ehemann <en@enlightened.de>2013-03-20 11:44:20 +0100
commit73560c0e07eb80d72eb0bc89ded2df75de53b288 (patch)
treefe6c6c59657b8712fdfa5825c3a23ae177bc4388 /src/com/cyanogenmod/lockclock/misc/Constants.java
parent5e69eec8fdb7950dbe2735e4746c276b0e1a63fd (diff)
downloadandroid_packages_apps_LockClock-73560c0e07eb80d72eb0bc89ded2df75de53b288.tar.gz
android_packages_apps_LockClock-73560c0e07eb80d72eb0bc89ded2df75de53b288.tar.bz2
android_packages_apps_LockClock-73560c0e07eb80d72eb0bc89ded2df75de53b288.zip
cLock: added option to highlight the upcoming calendar events
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
Diffstat (limited to 'src/com/cyanogenmod/lockclock/misc/Constants.java')
-rwxr-xr-xsrc/com/cyanogenmod/lockclock/misc/Constants.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/lockclock/misc/Constants.java b/src/com/cyanogenmod/lockclock/misc/Constants.java
index 09ca18a..79501ab 100755
--- a/src/com/cyanogenmod/lockclock/misc/Constants.java
+++ b/src/com/cyanogenmod/lockclock/misc/Constants.java
@@ -55,12 +55,17 @@ public class Constants {
public static final String CALENDAR_SHOW_DESCRIPTION = "calendar_show_description";
public static final String CALENDAR_FONT_COLOR = "calendar_font_color";
public static final String CALENDAR_DETAILS_FONT_COLOR = "calendar_details_font_color";
+ public static final String CALENDAR_HIGHLIGHT_UPCOMING_EVENTS = "calendar_highlight_upcoming_events";
+ public static final String CALENDAR_UPCOMING_EVENTS_BOLD = "calendar_highlight_upcoming_events_bold";
+ public static final String CALENDAR_UPCOMING_EVENTS_FONT_COLOR = "calendar_highlight_upcoming_events_font_color";
+ public static final String CALENDAR_UPCOMING_EVENTS_DETAILS_FONT_COLOR = "calendar_highlight_upcoming_events_details_font_color";
// other shared pref entries
public static final String WEATHER_LAST_UPDATE = "last_weather_update";
public static final String WEATHER_DATA = "weather_data";
public static final int MAX_CALENDAR_ITEMS = 10;
+ public static final long CALENDAR_UPCOMING_EVENTS_FROM_HOUR = 20L;
public static final int CALENDAR_FORMAT_TIME =
DateUtils.FORMAT_SHOW_TIME
| DateUtils.FORMAT_NO_NOON