Home
last modified time | relevance | path

Searched refs:weekDay (Results 1 – 13 of 13) sorted by relevance

/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java176 sameDay = (t1.weekDay == t2.weekDay); in calculateOverlappedIntervalScore()
182 sameDay = (t1.weekDay == ((t2.weekDay % 7) + 1)); in calculateOverlappedIntervalScore()
223 final int weekDay; field in RoutineWatchEvaluator.ProgramTime
230 int weekDay = time.get(Calendar.DAY_OF_WEEK); in createFromProgram() local
234 boolean dayChanged = (weekDay != time.get(Calendar.DAY_OF_WEEK)); in createFromProgram()
240 return new ProgramTime(startTimeOfDayInSec, endTimeOfDayInSec, weekDay, dayChanged); in createFromProgram()
243 private ProgramTime(int startTimeOfDayInSec, int endTimeOfDayInSec, int weekDay, in ProgramTime() argument
247 this.weekDay = weekDay; in ProgramTime()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java179 TextView weekDay = (TextView) v.findViewById(R.id.top_button_weekday); in getView() local
184 weekDay.setVisibility(View.VISIBLE); in getView()
185 weekDay.setText(buildDayOfWeek()); in getView()
190 weekDay.setVisibility(View.VISIBLE); in getView()
191 weekDay.setText(buildWeekNum()); in getView()
193 weekDay.setVisibility(View.GONE); in getView()
198 weekDay.setVisibility(View.GONE); in getView()
202 weekDay.setVisibility(View.VISIBLE); in getView()
203 weekDay.setText(buildDayOfWeek()); in getView()
391 int dayOfWeek = t.weekDay; in buildWeekDate()
DEventRecurrenceFormatter.java97 int day = EventRecurrence.timeDay2Day(recurrence.startDate.weekDay); in getRepeatString()
106 int weekday = recurrence.startDate.weekDay; in getRepeatString()
DUtils.java1335 if (weekTime.weekDay == Time.SUNDAY in getWeekNumberFromTime()
1339 } else if (weekTime.weekDay == Time.SATURDAY && firstDayOfWeek == Time.SATURDAY) { in getWeekNumberFromTime()
DDayView.java1204 mFirstVisibleDayOfWeek = mBaseDate.weekDay; in recalc()
1208 int dayOfWeek = time.weekDay; in adjustToBeginningOfWeek()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeekView.java264 if (time.weekDay != mWeekStart) { in setWeekParams()
265 int diff = time.weekDay - mWeekStart; in setWeekParams()
DSimpleWeeksAdapter.java229 selectedDay = mSelectedDay.weekDay; in getView()
DMonthByWeekAdapter.java232 selectedDay = mSelectedDay.weekDay; in getView()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetProvider.java137 final String dayOfWeek = DateUtils.getDayOfWeekString(time.weekDay + 1, in performUpdate()
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DRecurrencePickerDialog.java643 mModel.weeklyByDayOfWeek[mTime.weekDay] = true; in onCreateView()
651 mModel.weeklyByDayOfWeek[mTime.weekDay] = true; in onCreateView()
956 mModel.monthlyByDayOfWeek = mTime.weekDay; in updateDialog()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRoutineWatchEvaluatorTest.java209 assertEquals("Weekday", expectedWeekDay, actualProgramTime.weekDay); in assertProgramTime()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java990 days[0] = EventRecurrence.timeDay2Day(startTime.weekDay); in updateRecurrenceRule()
1021 byday[0] = EventRecurrence.timeDay2Day(startTime.weekDay); in updateRecurrenceRule()
1332 int startDay = startTime.weekDay; in offsetStartTimeIfNecessary()
/packages/apps/Settings/src/com/android/settings/widget/
DChartDataUsageView.java452 time.monthDay -= time.weekDay - FIRST_DAY_OF_WEEK; in getTickPoints()