/frameworks/base/services/core/java/com/android/server/ |
TwilightCalculator.java | 25 /** Value of {@link #mState} if it is currently day */ 26 public static final int DAY = 0; 50 * Time of sunset (civil twilight) in milliseconds or -1 in the case the day 57 * day or night never ends. 97 // The day or night never ends for the given date and location, if this value is out of 105 mState = DAY; 117 mState = DAY;
|
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/ |
WeatherDataProvider.java | 34 String day; field in class:WeatherDataPoint 38 day = d; 51 public static final String DAY = "day"; 90 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE }); 93 c.addRow(new Object[]{ new Integer(i), data.day, new Integer(data.degrees) }); 124 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE });
|
WeatherWidgetService.java | 68 String day = "Unknown Day"; local 71 final int dayColIndex = mCursor.getColumnIndex(WeatherDataProvider.Columns.DAY); 74 day = mCursor.getString(dayColIndex); 78 // Return a proper item with the proper day and temperature 82 rv.setTextViewText(R.id.widget_item, String.format(formatStr, temp, day)); 87 extras.putString(WeatherWidgetProvider.EXTRA_DAY_ID, day);
|
/libcore/luni/src/test/java/libcore/icu/ |
DateIntervalFormatTest.java | 27 private static final long DAY = 24 * HOUR; 28 private static final long MONTH = 31 * DAY; 79 assertEquals("1/19/2009 ? 1/22/2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 84 assertEquals("19.01.2009 - 22.01.2009", formatDateRange(de_DE, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 89 assertEquals("19/1/2009?22/1/2009", formatDateRange(es_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 94 assertEquals("19/1/2009?22/1/2009", formatDateRange(es_ES, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 100 assertEquals("January 19 ? 22, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, 0)); 101 assertEquals("Jan 19 ? 22, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_DATE | FORMAT_ABBREV_ALL)); 102 assertEquals("Mon, Jan 19 ? Thu, Jan 22, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_WEEKDAY | FORMAT_ABBREV_ALL)); 103 assertEquals("Monday, January 19 ? Thursday, January 22, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_WEEKDAY)) [all...] |
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
UsageStatsTest.java | 63 private static final long DAY = MINUTE * 60 * 24; 64 private static final long WEEK = 7 * DAY; 65 private static final long MONTH = 30 * DAY; 66 private static final long YEAR = 365 * DAY; 206 SystemClock.setCurrentTimeMillis(System.currentTimeMillis() - (DAY / 2)); 217 assertLessThan(Math.abs(diff - (DAY / 2)), TIME_DIFF_THRESHOLD); 225 SystemClock.setCurrentTimeMillis(System.currentTimeMillis() + (DAY / 2)); 277 intervalLengths.put(UsageStatsManager.INTERVAL_DAILY, DAY); 292 // Verify that each period is a day long.
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherDataProvider.java | 39 String day; field in class:WeatherDataPoint 43 day = d; 56 public static final String DAY = "day"; 95 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE }); 98 c.addRow(new Object[]{ new Integer(i), data.day, new Integer(data.degrees) }); 129 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE });
|
WeatherWidgetService.java | 73 String day = "Unknown Day"; local 76 final int dayColIndex = mCursor.getColumnIndex(WeatherDataProvider.Columns.DAY); 79 day = mCursor.getString(dayColIndex); 83 // Return a proper item with the proper day and temperature 87 rv.setTextViewText(R.id.widget_item, String.format(formatStr, temp, day)); 92 extras.putString(WeatherWidgetProvider.EXTRA_DAY_ID, day);
|
/frameworks/base/core/java/android/app/ |
DatePickerDialog.java | 47 private static final String DAY = "day"; 65 * @param dayOfMonth The day of the month that was set. 75 * @param dayOfMonth The initial day of the dialog. 101 * @param dayOfMonth The initial day of the dialog. 124 public void onDateChanged(DatePicker view, int year, int month, int day) { 125 mDatePicker.init(year, month, day, this); 126 updateTitle(year, month, day); 158 * @param dayOfMonth The date day of month. 164 private void updateTitle(int year, int month, int day) { 200 final int day = savedInstanceState.getInt(DAY); local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
ClockContract.java | 221 * Alarm day in month. 225 public static final String DAY = "day";
|
AlarmInstance.java | 67 DAY, 104 values.put(DAY, instance.mDay);
|
ClockDatabaseHelper.java | 87 ClockContract.InstancesColumns.DAY + " INTEGER NOT NULL, " +
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 43 private static final int DAY = 18; 128 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); 157 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY); 160 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY); 202 // for compatibility. Maybe one day we'll be able to fix this...
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePickerDialog.java | 51 private static final String DAY = "day"; 73 * @param dayOfMonth The day of the month that was set. 83 * @param dayOfMonth The initial day of the dialog. 99 * @param dayOfMonth The initial day of the dialog. 119 * @param dayOfMonth The initial day of the dialog. 137 * @param dayOfMonth The initial day of the dialog. 181 public void onDateChanged(DatePicker view, int year, int month, int day) { 182 updateTitle(year, month, day); 192 private void updateTitle(int year, int month, int day) { 217 int day = savedInstanceState.getInt(DAY); local [all...] |
/external/libmtp/ |
hotplug.sh.in | 162 DAY=`echo ${DATE} | awk 'BEGIN { FS="/"} {print $3; }'`
|
/external/chromium_org/v8/src/ |
dateparser.cc | 14 // Day and month defaults to 1. 21 int day = kNone; local 28 day = comp_[2]; 32 day = comp_[1]; 39 day = comp_[0]; 43 day = comp_[1]; 46 day = comp_[0]; 56 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false; 60 output->set(DAY, Smi::FromInt(day)); [all...] |
dateparser.h | 20 // [2]: day 31 YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, MILLISECOND, UTC_OFFSET, OUTPUT_SIZE 378 DayComposer* day,
|
/external/chromium_org/chrome/browser/resources/quota_internals/ |
event_handler.js | 136 var DAY = 23 * HOUR; 137 var WEEK = 7 * DAY; 141 var SHOW_HOUR = 3 * DAY; 143 var SHOW_WEEK = 3 * 30 * DAY; 154 result = Math.ceil(delta / DAY) + ' day ago ';
|
/packages/apps/Calendar/src/com/android/calendar/ |
AllInOneActivity.java | 481 case ViewType.DAY: 746 // custom drawable that shows the day of the month of today [all...] |
CalendarViewAdapter.java | 49 // Day view: show day of the week + full date underneath 52 // Agenda view: show day of the week + full date underneath 66 // The current selected event's time, used to calculate the date and day of the week 78 // Updates time specific variables (time-zone, today's Julian day). 107 // Sets the time zone and today's Julian day to be used by the adapter. 183 case ViewType.DAY: 223 case ViewType.DAY: 304 // Used when the user selects a new day/week/month to watch 310 // Builds a string with the day of the week and the word yesterday/today/tomorro [all...] |
GeneralPreferences.java | 114 public static final int DEFAULT_DETAILED_VIEW = CalendarController.ViewType.DAY;
|
CalendarController.java | 133 * One of the Agenda/Day/Week/Month view types 139 final int DAY = 2; 160 // Event start and end times. All-day events are represented in: 175 * It is the default attendee response and an all day event indicator. 178 * To signal the event is an all-day event, "or" ALL_DAY_MASK with the response. 182 * Set to {@link #EXTRA_CREATE_ALL_DAY} for creating an all-day event. 253 * an all-day event 322 // The current use of this method for VIEW_EVENT is by the day view to show an EventInfo 339 * @param extraLong default response value for the "simple event view" and all day indication. 359 * @param extraLong default response value for the "simple event view" and all day indication [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
LLand.java | 156 private static final int DAY = 0, NIGHT = 1, TWILIGHT = 2, SUNSET = 3; 158 { 0xFFc0c0FF, 0xFFa0a0FF }, // DAY 256 boolean showingSun = (mTimeOfDay == DAY || mTimeOfDay == SUNSET) && frand() > 0.25; 262 if (mTimeOfDay == DAY) { 295 if (HAVE_STARS && r1 < 0.3 && mTimeOfDay != DAY) { [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
ssl.py | 395 ("MON DAY 24HOUR:MINUTE:SEC YEAR TIMEZONE") and return
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
ssl.py | 395 ("MON DAY 24HOUR:MINUTE:SEC YEAR TIMEZONE") and return
|
/prebuilts/misc/common/com.android.uiautomator.platform.common/ |
com.android.uiautomator.platform.common.jar | |