Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java183 sameDay = (t1.weekDay == t2.weekDay); in calculateOverlappedIntervalScore()
192 sameDay = (t1.weekDay == ((t2.weekDay % 7) + 1)); in calculateOverlappedIntervalScore()
234 final int weekDay; field in RoutineWatchEvaluator.ProgramTime
241 int weekDay = time.get(Calendar.DAY_OF_WEEK); in createFromProgram() local
245 boolean dayChanged = (weekDay != time.get(Calendar.DAY_OF_WEEK)); in createFromProgram()
256 return new ProgramTime(startTimeOfDayInSec, endTimeOfDayInSec, weekDay, dayChanged); in createFromProgram()
260 int startTimeOfDayInSec, int endTimeOfDayInSec, int weekDay, boolean dayChanged) { in ProgramTime() argument
263 this.weekDay = weekDay; in ProgramTime()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.kt135 val weekDay: TextView = v?.findViewById(R.id.top_button_weekday) as TextView in getView() constant
139 weekDay.setVisibility(View.VISIBLE) in getView()
140 weekDay.setText(buildDayOfWeek()) in getView()
145 weekDay.setVisibility(View.VISIBLE) in getView()
146 weekDay.setText(buildWeekNum()) in getView()
148 weekDay.setVisibility(View.GONE) in getView()
153 weekDay.setVisibility(View.GONE) in getView()
312 val dayOfWeek: Int = t.weekDay in buildWeekDate()
DUtils.kt1259 if (weekTime.weekDay === Time.SUNDAY && in getWeekNumberFromTime()
1264 } else if (weekTime.weekDay === Time.SATURDAY && firstDayOfWeek == Time.SATURDAY) { in getWeekNumberFromTime()
DDayView.kt828 mFirstVisibleDayOfWeek = mBaseDate!!.weekDay in recalc()
832 val dayOfWeek: Int = time!!.weekDay in adjustToBeginningOfWeek()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeekView.kt187 if (time.weekDay !== mWeekStart) { in setWeekParams()
188 var diff: Int = time.weekDay - mWeekStart in setWeekParams()
DSimpleWeeksAdapter.kt182 selectedDay = mSelectedDay!!.weekDay in getView()
DMonthByWeekAdapter.kt199 selectedDay = mSelectedDay!!.weekDay in getView()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetProvider.kt129 time.weekDay + 1, in performUpdate()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRoutineWatchEvaluatorTest.java271 assertEquals("Weekday", expectedWeekDay, actualProgramTime.weekDay); in assertProgramTime()