/packages/apps/Calendar/tests/src/com/android/calendar/ |
H A D | WeekNumberTest.java | 37 public DateAndWeekNumber(int year, int month, int day, int expectedWeekNumber) { argument 41 date.set(0, 0, 0, day, month, year); 44 allDayDate.set(day, month, year);
|
H A D | UtilsTests.java | 141 int month, int year) { 142 return createTimeInMillis(second, minute, hour, monthDay, month, year, 147 int month, int year, String timezone) { 149 t.set(second, minute, hour, monthDay, month, year); 140 createTimeInMillis(int second, int minute, int hour, int monthDay, int month, int year) argument 146 createTimeInMillis(int second, int minute, int hour, int monthDay, int month, int year, String timezone) argument
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
H A D | Utils.java | 23 int month, int year, String timezone) { 25 t.set(second, minute, hour, monthDay, month, year); 22 createTimeInMillis(int second, int minute, int hour, int monthDay, int month, int year, String timezone) argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DayOfMonthCursor.java | 22 * Helps control and display a month view of a calendar that has a current 25 * <li>Keeps track of current month, day, year</li> 31 * This should be used by anyone who presents a month view to users and wishes 33 * mind about when to flip the month, we can change it here only. 44 * @param month The initial month. 50 public DayOfMonthCursor(int year, int month, int dayOfMonth, int weekStartDay) { argument 51 super(year, month, weekStartDay); 75 * @return 0 if the selection is in the current month, otherwise -1 or +1 98 * Move up one box, potentially flipping to the previous month [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
H A D | UtilityTest.java | 36 private void testParseDateTimesHelper(String date, int year, int month, argument 40 assertEquals(month, cal.get(Calendar.MONTH) + 1); 59 private void testParseEmailDateTimeHelper(String date, int year, int month, argument 61 GregorianCalendar cal = new GregorianCalendar(year, month - 1, day,
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
H A D | SimpleDate.java | 26 * Represents a date (year, month, day) 30 public int month; // MM field in class:SimpleDate 50 this.month = sCalendarInstance.get(Calendar.MONTH); 63 result = prime * result + month; 83 if (month != other.month) { 98 int monthDiff = this.month - other.getMonth(); 112 return month;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
H A D | DateTileView.java | 91 public void setDate(int date, int month, int year) { argument 98 if (month == mMonth) { 102 if (month != mMonth) { 103 mMonth = month;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
H A D | SetDateTimeActivity.java | 61 String month = result.get(mIndex); 68 if (months[i].equals(month)) { 153 public static void setDate(Context context, int year, int month, int day) { argument 157 c.set(Calendar.MONTH, month);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | SimpleWeeksAdapter.java | 17 package com.android.calendar.month; 57 * Which month should be in focus currently. 248 * Changes which month is in focus and updates the view. 250 * @param month The month to show as in focus [0-11] 252 public void updateFocusMonth(int month) { argument 253 mFocusMonth = month;
|
H A D | MonthListView.java | 17 package com.android.calendar.month; 38 // behavior. Between MIN_VELOCITY_FOR_FLING and MULTIPLE_MONTH_VELOCITY_THRESHOLD, do one month 39 // fling. Above MULTIPLE_MONTH_VELOCITY_THRESHOLD, do multiple month flings according to the 40 // fling strength. When doing multiple month fling, the velocity is reduced by this threshold 41 // to prevent moving from one month fling to 4 months and above flings. 131 // Do a "snap to start of month" fling 139 // Below the threshold, fling one month. Above the threshold , fling 147 // detected the list moved back one month. 162 // Get the day of the first day of the next/previous month 166 mTempTime.month [all...] |
H A D | MonthByWeekAdapter.java | 17 package com.android.calendar.month; 291 // If agenda view is visible with month view , refresh the views
|
H A D | MonthByWeekFragment.java | 17 package com.android.calendar.month; 245 // Synchronized the loading time of the month's events with the animation of the 460 if (time.year == mDesiredDay.year && time.month == mDesiredDay.month) {
|
H A D | SimpleDayPickerFragment.java | 17 package com.android.calendar.month; 53 * easily display a month selection component in a given style. 61 // Affects when the month selection will change while scrolling up 70 // The size of the month name displayed above the week list 105 // The first day of the focus month 109 // The name of the month to display 113 // which month should be displayed/highlighted [0-11] 239 // set the title to the month of the second week 365 * in range it will move the list so that the first of the month containing 441 // and if so scroll to the month tha [all...] |
H A D | SimpleWeekView.java | 17 package com.android.calendar.month; 82 * Which month is currently in focus, as defined by {@link Time#month} 87 * If this month should display week numbers. false if 0, true otherwise. 120 // Quick lookup for checking which days are in the focus month 122 // Quick lookup for checking which days are in an odd month (to set a different background) 126 // The month of the first day in this week 128 // The month of the last day in this week 204 * will only update if a new value is included, except for focus month, 205 * which will always default to no focus month i [all...] |
H A D | MonthWeekEventsView.java | 17 package com.android.calendar.month; 255 // divided up by day for generating the large month version and the full
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
H A D | DatePickerDialog.java | 50 private static final String MONTH = "month"; 71 * @param monthOfYear The month that was set (0-11) for compatibility 73 * @param dayOfMonth The day of the month that was set. 82 * @param monthOfYear The initial month of the dialog. 98 * @param monthOfYear The initial month of the dialog. 119 * @param monthOfYear The initial month of the dialog. 137 * @param monthOfYear The initial month of the dialog. 182 public void onDateChanged(DatePicker view, int year, int month, int day) { argument 183 updateTitle(year, month, day); 193 private void updateTitle(int year, int month, in argument [all...] |
H A D | DatePicker.java | 46 * A view for selecting a month / year / day based on a calendar like layout. 87 * @param monthOfYear The month that was set (0-11) for compatibility 89 * @param dayOfMonth The day of the month that was set. 120 mMonthPicker = (NumberPicker) findViewById(R.id.month); 126 * If the user is in a locale where the month names are numeric, 127 * use just the number instead of the "month" character for 147 /* We display the month 1-12 but store it 0-11 so always 151 // Adjust max day of the month 255 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, argument 259 mMonth = month; [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | DateUtils.java | 114 private static final Calendar getUtcDate(int year, int month, int dayOfMonth) { argument 118 calendar.set(Calendar.MONTH, month); 202 * determine whether the month field should be displayed before the day field, and returns
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/ |
H A D | DateTime.java | 35 private final int month; field in class:DateTime 42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) { argument 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone); 45 this.month = month; 69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) { argument 71 c.set(year, month - 1, day, hour, minute, second); 91 return month;
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/ |
H A D | DateTime.java | 35 private final int month; field in class:DateTime 42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) { argument 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone); 45 this.month = month; 69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) { argument 71 c.set(year, month - 1, day, hour, minute, second); 91 return month;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
H A D | DatePicker.java | 173 protected boolean setDate(int year, int month, int day) { argument 180 GregorianCalendar cal = new GregorianCalendar(year, month, day); 188 mSelectedMonth = month; 189 updateDayStrings(year, month); 192 updateSelection(mColMonthIndex, month); 211 private void updateDayStrings(int year, int month) { argument 214 final GregorianCalendar calendar = new GregorianCalendar(year, month, 1);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
H A D | DateTimeParser.java | 101 private int month; field in class:DateTimeParser.Date 104 public Date(String year, int month, int day) { argument 106 this.month = month; 111 public int getMonth() { return month; } 205 m = month(); 218 final public int month() throws ParseException { method in class:DateTimeParser
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/ |
H A D | DateTimeParser.java | 101 private int month; field in class:DateTimeParser.Date 104 public Date(String year, int month, int day) { argument 106 this.month = month; 111 public int getMonth() { return month; } 205 m = month(); 218 final public int month() throws ParseException { method in class:DateTimeParser
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | DateTimeSettings.java | 175 public void onDateSet(DatePicker view, int year, int month, int day) { argument 178 setDate(activity, year, month, day); 324 /* package */ static void setDate(Context context, int year, int month, int day) { argument 328 c.set(Calendar.MONTH, month);
|
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
H A D | FillCallLogTestActivity.java | 518 public void onDateSet(DatePicker view, int year, int month, int day) { argument 520 mCallDateMonth = month;
|