Home
last modified time | relevance | path

Searched refs:day (Results 1 – 25 of 39) sorted by relevance

12

/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekAdapter.java264 protected void onDayTapped(Time day) { in onDayTapped() argument
265 setDayParameters(day); in onDayTapped()
269 mController.sendEvent(mContext, EventType.GO_TO, day, day, -1, in onDayTapped()
273 mController.sendEvent(mContext, EventType.GO_TO, day, day, -1, in onDayTapped()
280 private void setDayParameters(Time day) { in setDayParameters() argument
281 day.timezone = mHomeTimeZone; in setDayParameters()
284 day.hour = currTime.hour; in setDayParameters()
285 day.minute = currTime.minute; in setDayParameters()
286 day.allDay = false; in setDayParameters()
287 day.normalize(true); in setDayParameters()
[all …]
DSimpleWeeksAdapter.java261 Time day = ((SimpleWeekView)v).getDayFromLocation(event.getX()); in onTouch() local
263 Log.d(TAG, "Touched day at Row=" + view.mWeek + " day=" + day.toString()); in onTouch()
265 if (day != null) { in onTouch()
266 onDayTapped(day); in onTouch()
278 protected void onDayTapped(Time day) { in onDayTapped() argument
279 day.hour = mSelectedDay.hour; in onDayTapped()
280 day.minute = mSelectedDay.minute; in onDayTapped()
281 day.second = mSelectedDay.second; in onDayTapped()
282 setSelectedDay(day); in onDayTapped()
DMonthWeekEventsView.java290 for (int day = 0; day < numDays; day++) { in createDna()
291 mDayXs[day] = computeDayLeftPosition(day) + DNA_WIDTH / 2 + DNA_SIDE_PADDING; in createDna()
575 private int computeDayLeftPosition(int day) { in computeDayLeftPosition() argument
583 x = day * effectiveWidth / mNumDays + xOffset; in computeDayLeftPosition()
725 int day = -1; in drawEvents() local
727 day++; in drawEvents()
732 int xSquare = computeDayLeftPosition(day) + SIDE_PADDING_MONTH_NUMBER + 1; in drawEvents()
733 int rightEdge = computeDayLeftPosition(day + 1); in drawEvents()
1036 int day = mFirstJulianDay + dayPosition; in getDayFromLocation() local
1041 if (day < Time.EPOCH_JULIAN_DAY) { in getDayFromLocation()
[all …]
DSimpleWeekView.java375 int day = mFirstJulianDay + dayPosition; in getDayFromLocation() local
380 if (day < Time.EPOCH_JULIAN_DAY) { in getDayFromLocation()
381 day++; in getDayFromLocation()
382 } else if (day == Time.EPOCH_JULIAN_DAY) { in getDayFromLocation()
389 time.setJulianDay(day); in getDayFromLocation()
DSimpleDayPickerFragment.java149 Time day = mAdapter.getSelectedDay();
150 if (day.year != mSelectedDay.year || day.yearDay != mSelectedDay.yearDay) {
151 goTo(day.toMillis(true), true, true, false);
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DSimpleDate.java31 public int day; // DD field in SimpleDate
49 this.day = sCalendarInstance.get(Calendar.DATE); in setTimestamp()
62 result = prime * result + day; in hashCode()
86 if (day != other.day) { in equals()
102 return this.day - other.getDay(); in compareTo()
108 return day; in getDay()
/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
157 calendar.set(Calendar.DAY_OF_MONTH, day); in updateTitle()
178 int day = savedInstanceState.getInt(DAY); in onRestoreInstanceState() local
180 mDatePicker.init(year, month, day, yearOptional, this); in onRestoreInstanceState()
181 updateTitle(year, month, day); in onRestoreInstanceState()
DDatePicker.java110 mDayPicker = (NumberPicker) findViewById(R.id.day); in DatePicker()
255 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, in SavedState() argument
260 mDay = day; in SavedState()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java1235 for (int day = 0; day < mNumDays; day++) { in remeasure()
1236 mEarliestStartHour[day] = 25; // some big number in remeasure()
1237 mHasAllDayEvent[day] = false; in remeasure()
1858 for (int day = firstDay; day <= lastDay; day++) { in computeEventRelations()
1859 final int count = ++eventsCount[day - mFirstJulianDay]; in computeEventRelations()
1874 for (int day = daynum; durationDays > 0; day++, durationDays--) { in computeEventRelations()
1875 mHasAllDayEvent[day] = true; in computeEventRelations()
2025 private int computeDayLeftPosition(int day) { in computeDayLeftPosition() argument
2027 return day * effectiveWidth / mNumDays + mHoursWidth; in computeDayLeftPosition()
2101 for (int day = 0; day < mNumDays; day++, cell++) { in drawDayHeaderLoop()
[all …]
DUtils.java815 int day; // quick reference to the day this segment is on field in Utils.DNASegment
986 rhs.day = currSegment.day; in createDNAStrands()
1002 lhs.day = currSegment.day; in createDNAStrands()
1018 if (rhs.color == CONFLICT_COLOR && currSegment.day == rhs.day in createDNAStrands()
1031 if (lhs.color == CONFLICT_COLOR && currSegment.day == lhs.day in createDNAStrands()
1105 int dayIndex = segment.day - firstJulianDay; in weaveDNAStrands()
1195 segment.day = event.startDay; in addNewSegment()
DDayOfMonthDrawable.java73 public void setDayOfMonth(int day) { in setDayOfMonth() argument
74 mDayOfMonth = Integer.toString(day); in setDayOfMonth()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeScheduleDaysSelection.java57 final int day = daysOfWeek[i]; in ZenModeScheduleDaysSelection() local
60 c.set(Calendar.DAY_OF_WEEK, day); in ZenModeScheduleDaysSelection()
62 checkBox.setChecked(mDays.get(day)); in ZenModeScheduleDaysSelection()
66 mDays.put(day, isChecked); in ZenModeScheduleDaysSelection()
77 final int day = mDays.keyAt(i); in getDays() local
79 rt.put(day, true); in getDays()
DZenModeScheduleRuleSettings.java159 final int day = daysOfWeek[i]; in updateDays() local
161 if (day == days[j]) { in updateDays()
162 c.set(Calendar.DAY_OF_WEEK, day); in updateDays()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeScheduleDaysSelection.java57 final int day = daysOfWeek[i]; in ZenModeScheduleDaysSelection() local
60 c.set(Calendar.DAY_OF_WEEK, day); in ZenModeScheduleDaysSelection()
62 checkBox.setChecked(mDays.get(day)); in ZenModeScheduleDaysSelection()
66 mDays.put(day, isChecked); in ZenModeScheduleDaysSelection()
77 final int day = mDays.keyAt(i); in getDays() local
79 rt.put(day, true); in getDays()
DZenModeScheduleRuleSettings.java159 final int day = daysOfWeek[i]; in updateDays() local
161 if (day == days[j]) { in updateDays()
162 c.set(Calendar.DAY_OF_WEEK, day); in updateDays()
/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/widget/
DCalendarAppWidgetModel.java319 for (int day = from; day <= to; day++) { in buildFromCursor()
320 LinkedList<RowInfo> bucket = mBuckets.get(day - mTodayJulianDay); in buildFromCursor()
330 int day = mTodayJulianDay; in buildFromCursor() local
335 if (day != mTodayJulianDay) { in buildFromCursor()
336 final DayInfo dayInfo = populateDayInfo(day, recycle); in buildFromCursor()
347 day++; in buildFromCursor()
/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
119 c.set(Calendar.DAY_OF_MONTH, day); in setDate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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
119 c.set(Calendar.DAY_OF_MONTH, day); 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()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/calendarsync/proto/
Dcalendar.proto73 // A boolean value that indicates whether an event is an all-day event.
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java1221 final int day = calendar.get(Calendar.DAY_OF_MONTH); in migrateEvent() local
1223 calendar.set(defaultYear, month, day, in migrateEvent()
/packages/inputmethods/LatinIME/dictionaries/
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Den_GB_wordlist.combined.gz ... ,flags=,originalFreq=146 151 word=day,f=160,flags=,originalFreq= ...

12