Home
last modified time | relevance | path

Searched refs:month (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DSimpleDate.java30 public int month; // MM field in SimpleDate
50 this.month = sCalendarInstance.get(Calendar.MONTH); in setTimestamp()
63 result = prime * result + month; in hashCode()
83 if (month != other.month) { in equals()
98 int monthDiff = this.month - other.getMonth(); in compareTo()
112 return month; in getMonth()
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DDatePickerDialog.java149 public void onDateChanged(DatePicker view, int year, int month, int day) { in onDateChanged() argument
150 updateTitle(year, month, day); in onDateChanged()
153 private void updateTitle(int year, int month, int day) { in updateTitle() argument
156 calendar.set(Calendar.MONTH, month); in updateTitle()
177 int month = savedInstanceState.getInt(MONTH); in onRestoreInstanceState() local
180 mDatePicker.init(year, month, day, yearOptional, this); in onRestoreInstanceState()
181 updateTitle(year, month, day); in onRestoreInstanceState()
DDatePicker.java120 mMonthPicker = (NumberPicker) findViewById(R.id.month); in DatePicker()
255 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, in SavedState() argument
259 mMonth = month; in SavedState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DUnusedAppsFragment.kt176 for (month in Months.allMonths()) { in <lambda>() constant
177 val category = preferenceScreen.findPreference<PreferenceCategory>(month.value)!! in <lambda>()
195 for ((month, packages) in categorizedPackages) { in <lambda>() variable
196 val category = preferenceScreen.findPreference<PreferenceCategory>(month.value)!! in <lambda>()
197 category.title = if (month == Months.THREE) { in <lambda>()
266 for (month in Months.values()) { in <lambda>() constant
267 Log.i(LOG_TAG, "sessionId: $sessionId $month unused: " + in <lambda>()
269 for (revokedPackageInfo in categorizedPackages[month]!!) { in <lambda>()
271 val isNewlyRevoked = month == Months.THREE in <lambda>()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipDatetimeTest.java36 private Date makeDate(int month, int day, int year, int hours, int min, int sec, TimeZone tz) { in makeDate() argument
40 builder.setDate(year, month - 1, day); in makeDate()
46 private Date makeDate(int month, int day, int year, int hours, int min, int sec) { in makeDate() argument
47 return makeDate(month, day, year, hours, min, sec, null); in makeDate()
50 private String makeTzAdjustedString(int month, int day, int year, int hours, int min, in makeTzAdjustedString() argument
53 cal.setTime(makeDate(month, day, year, hours, min, sec)); in makeTzAdjustedString()
DBipAttachmentFormatTest.java35 private Date makeDate(int month, int day, int year, int hours, int min, int sec, TimeZone tz) { in makeDate() argument
39 builder.setDate(year, month - 1, day); in makeDate()
45 private Date makeDate(int month, int day, int year, int hours, int min, int sec) { in makeDate() argument
46 return makeDate(month, day, year, hours, min, sec, null); in makeDate()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java17 package com.android.calendar.month;
519 int month; in updateMonthHighlight()
521 month = child.getFirstMonth(); in updateMonthHighlight()
523 month = child.getLastMonth(); in updateMonthHighlight()
528 if (mCurrentMonthDisplayed == 11 && month == 0) { in updateMonthHighlight()
530 } else if (mCurrentMonthDisplayed == 0 && month == 11) { in updateMonthHighlight()
533 monthDiff = month - mCurrentMonthDisplayed; in updateMonthHighlight()
565 mCurrentMonthDisplayed = time.month;
DSimpleWeekView.java17 package com.android.calendar.month;
274 mFirstMonth = time.month; in setWeekParams()
288 mFirstMonth = time.month; in setWeekParams()
290 mOddMonth [i] = (time.month %2) == 1; in setWeekParams()
291 if (time.month == focusMonth) { in setWeekParams()
309 mLastMonth = time.month; in setWeekParams()
DSimpleWeeksAdapter.java17 package com.android.calendar.month;
252 public void updateFocusMonth(int month) { in updateFocusMonth() argument
253 mFocusMonth = month; in updateFocusMonth()
DMonthByWeekFragment.java17 package com.android.calendar.month;
443 if (time.year == mDesiredDay.year && time.month == mDesiredDay.month) { in setMonthDisplayed()
DMonthListView.java17 package com.android.calendar.month;
DMonthByWeekAdapter.java17 package com.android.calendar.month;
DMonthWeekEventsView.java17 package com.android.calendar.month;
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DDateTileView.java91 public void setDate(int date, int month, int year) { in setDate() argument
98 if (month == mMonth) { in setDate()
102 if (month != mMonth) { in setDate()
103 mMonth = month; in setDate()
/packages/apps/Settings/src/com/android/settings/datetime/
DDatePreferenceController.java90 public void onDateSet(DatePicker view, int year, int month, int day) { in onDateSet() argument
91 setDate(year, month, day); in onDateSet()
114 void setDate(int year, int month, int day) { in setDate() argument
118 c.set(Calendar.MONTH, month); in setDate()
/packages/apps/Calendar/tests/src/com/android/calendar/
DWeekNumberTest.java37 public DateAndWeekNumber(int year, int month, int day, int expectedWeekNumber) { in DateAndWeekNumber() argument
41 date.set(0, 0, 0, day, month, year); in DateAndWeekNumber()
44 allDayDate.set(day, month, year); in DateAndWeekNumber()
DUtilsTests.java141 int month, int year) { in createTimeInMillis()
142 return createTimeInMillis(second, minute, hour, monthDay, month, year, in createTimeInMillis()
147 int month, int year, String timezone) { in createTimeInMillis()
149 t.set(second, minute, hour, monthDay, month, year); in createTimeInMillis()
/packages/apps/Contacts/src/com/android/contacts/util/
DDateUtils.java112 private static final Calendar getUtcDate(int year, int month, int dayOfMonth) { in getUtcDate() argument
116 calendar.set(Calendar.MONTH, month); in getUtcDate()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java394 if (t.month != t1.month) { in buildWeekDate()
DAllInOneActivity.java70 import com.android.calendar.month.MonthByWeekFragment;
DDayView.java1116 if (start.month != end.month) { in updateTitle()
/packages/apps/Calendar/
Dproguard.flags22 -keepclassmembers class com.android.calendar.month.MonthWeekEventsView {
/packages/modules/GeoTZ/tzbb_data/
DMETADATA25 last_upgrade_date { year: 2020 month: 11 day: 10 }
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java1220 final int month = calendar.get(Calendar.MONTH); in migrateEvent() local
1223 calendar.set(defaultYear, month, day, in migrateEvent()
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt6179 Landroid/icu/util/DateTimeRule;->month:I
6686 Landroid/icu/util/SimpleDateRule;->month:I

12