Searched refs:mSelectedDay (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleWeeksAdapter.java | 89 protected Time mSelectedDay; field in SimpleWeeksAdapter 122 mSelectedDay = new Time(); in init() 123 mSelectedDay.setToNow(); in init() 151 mSelectedDay.setJulianDay(julianDay); in updateParams() 166 mSelectedDay.set(selectedTime); in setSelectedDay() 167 long millis = mSelectedDay.normalize(true); in setSelectedDay() 169 Time.getJulianDay(millis, mSelectedDay.gmtoff), mFirstDayOfWeek); in setSelectedDay() 179 return mSelectedDay; in getSelectedDay() 229 selectedDay = mSelectedDay.weekDay; in getView() 241 v.setWeekParams(drawingParams, mSelectedDay.timezone); in getView() [all …]
|
D | SimpleDayPickerFragment.java | 93 protected Time mSelectedDay = new Time(); field in SimpleDayPickerFragment 150 if (day.year != mSelectedDay.year || day.yearDay != mSelectedDay.yearDay) { 170 mSelectedDay.switchTimezone(tz); in onAttach() 171 mSelectedDay.normalize(true); in onAttach() 206 Time.getJulianDay(mSelectedDay.toMillis(false), mSelectedDay.gmtoff)); in setUpAdapter() 290 outState.putLong(KEY_CURRENT_TIME, mSelectedDay.toMillis(true)); in onSaveInstanceState() 305 goTo(mSelectedDay.toMillis(true), false, false, false); in doResumeUpdates() 306 mAdapter.setSelectedDay(mSelectedDay); in doResumeUpdates() 357 return mSelectedDay.toMillis(true); in getSelectedTime() 383 mSelectedDay.set(time); in goTo() [all …]
|
D | MonthByWeekFragment.java | 103 mSelectedDay.timezone = tz; 104 mSelectedDay.normalize(true); 220 mAdapter.setSelectedDay(mSelectedDay); in onAttach() 258 Time.getJulianDay(mSelectedDay.toMillis(true), mSelectedDay.gmtoff)); in setUpAdapter() 334 Time.getJulianDay(mSelectedDay.toMillis(true), mSelectedDay.gmtoff) in onCreateLoader() 361 mAdapter.setSelectedDay(mSelectedDay); in doResumeUpdates() 364 goTo(mSelectedDay.toMillis(true), false, true, false); in doResumeUpdates() 444 mSelectedDay.set(mDesiredDay); in setMonthDisplayed() 448 mSelectedDay.set(time); in setMonthDisplayed() 452 if (mSelectedDay.minute >= 30) { in setMonthDisplayed() [all …]
|
D | MonthByWeekAdapter.java | 106 mSelectedDay.switchTimezone(mHomeTimeZone); in init() 113 mSelectedDay.timezone = mHomeTimeZone; in updateTimeZones() 114 mSelectedDay.normalize(true); in updateTimeZones() 122 mSelectedDay.set(selectedTime); in setSelectedDay() 123 long millis = mSelectedDay.normalize(true); in setSelectedDay() 125 Time.getJulianDay(millis, mSelectedDay.gmtoff), mFirstDayOfWeek); in setSelectedDay() 200 if (mAnimateToday && v.updateToday(mSelectedDay.timezone)) { in getView() 231 selectedDay = mSelectedDay.weekDay; in getView() 249 v.setWeekParams(drawingParams, mSelectedDay.timezone); in getView()
|
D | SimpleWeekView.java | 144 protected int mSelectedDay = DEFAULT_SELECTED_DAY; field in SimpleWeekView 226 mSelectedDay = params.get(VIEW_PARAMS_SELECTED_DAY); in setWeekParams() 228 mHasSelectedDay = mSelectedDay != -1; in setWeekParams() 504 int selectedPosition = mSelectedDay - mWeekStart; in updateSelectionPositions()
|
D | MonthWeekEventsView.java | 1008 int selectedPosition = mSelectedDay - mWeekStart; in updateSelectionPositions()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayFragment.java | 57 Time mSelectedDay = new Time(); field in DayFragment 66 mSelectedDay.timezone = tz; 67 mSelectedDay.normalize(true); 74 mSelectedDay.setToNow(); in DayFragment() 80 mSelectedDay.setToNow(); in DayFragment() 82 mSelectedDay.set(timeMillis); in DayFragment() 120 view.setSelected(mSelectedDay, false, false); in makeView() 171 mSelectedDay.set(goToTime); in goTo()
|