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.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()
376 int dayOfWeek = t.weekDay; in buildWeekDate()
DUtils.java1245 if (weekTime.weekDay == Time.SUNDAY in getWeekNumberFromTime()
1249 } else if (weekTime.weekDay == Time.SATURDAY && firstDayOfWeek == Time.SATURDAY) { in getWeekNumberFromTime()
DDayView.java1187 mFirstVisibleDayOfWeek = mBaseDate.weekDay; in recalc()
1191 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.java231 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/TV/tests/unit/src/com/android/tv/recommendation/
DRoutineWatchEvaluatorTest.java271 assertEquals("Weekday", expectedWeekDay, actualProgramTime.weekDay); in assertProgramTime()