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() 293 outState.putLong(KEY_CURRENT_TIME, mSelectedDay.toMillis(true)); in onSaveInstanceState() 308 goTo(mSelectedDay.toMillis(true), false, false, false); in doResumeUpdates() 309 mAdapter.setSelectedDay(mSelectedDay); in doResumeUpdates() 360 return mSelectedDay.toMillis(true); in getSelectedTime() 386 mSelectedDay.set(time); in goTo() [all …]
|
D | MonthByWeekFragment.java | 98 mSelectedDay.timezone = tz; 99 mSelectedDay.normalize(true); 215 mAdapter.setSelectedDay(mSelectedDay); in onAttach() 253 Time.getJulianDay(mSelectedDay.toMillis(true), mSelectedDay.gmtoff)); in setUpAdapter() 327 Time.getJulianDay(mSelectedDay.toMillis(true), mSelectedDay.gmtoff) in onCreateLoader() 354 mAdapter.setSelectedDay(mSelectedDay); in doResumeUpdates() 357 goTo(mSelectedDay.toMillis(true), false, true, false); in doResumeUpdates() 437 mSelectedDay.set(mDesiredDay); in setMonthDisplayed() 441 mSelectedDay.set(time); in setMonthDisplayed() 445 if (mSelectedDay.minute >= 30) { in setMonthDisplayed() [all …]
|
D | MonthByWeekAdapter.java | 100 mSelectedDay.switchTimezone(mHomeTimeZone); in init() 107 mSelectedDay.timezone = mHomeTimeZone; in updateTimeZones() 108 mSelectedDay.normalize(true); in updateTimeZones() 116 mSelectedDay.set(selectedTime); in setSelectedDay() 117 long millis = mSelectedDay.normalize(true); in setSelectedDay() 119 Time.getJulianDay(millis, mSelectedDay.gmtoff), mFirstDayOfWeek); in setSelectedDay() 194 if (mAnimateToday && v.updateToday(mSelectedDay.timezone)) { in getView() 225 selectedDay = mSelectedDay.weekDay; in getView() 243 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() 176 mSelectedDay.set(goToTime); in goTo()
|