Home
last modified time | relevance | path

Searched refs:mTimeModel (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DDataModel.java194 private TimeModel mTimeModel; field in DataModel
212 mTimeModel = new TimeModel(mContext); in init()
216 mSettingsModel = new SettingsModel(mContext, prefs, mTimeModel); in init()
843 return mTimeModel.currentTimeMillis(); in currentTimeMillis()
850 return mTimeModel.elapsedRealtime(); in elapsedRealtime()
857 return mTimeModel.is24HourFormat(); in is24HourFormat()
864 return mTimeModel.getCalendar(); in getCalendar()
DDataModel.kt179 private var mTimeModel: TimeModel? = null variable in com.android.deskclock.data.DataModel
190 mTimeModel = TimeModel(mContext!!) in init()
194 mSettingsModel = SettingsModel(mContext!!, prefs, mTimeModel!!) in init()
838 return mTimeModel!!.currentTimeMillis() in currentTimeMillis()
845 return mTimeModel!!.elapsedRealtime() in elapsedRealtime()
852 return mTimeModel!!.is24HourFormat() in is24HourFormat()
859 get() = mTimeModel!!.calendar
DSettingsModel.java41 private final TimeModel mTimeModel; field in SettingsModel
49 mTimeModel = timeModel; in SettingsModel()
173 return SettingsDAO.getTimeZones(mContext, mTimeModel.currentTimeMillis()); in getTimeZones()
DSettingsModel.kt35 private val mTimeModel: TimeModel constant in com.android.deskclock.data.SettingsModel
144 get() = SettingsDAO.getTimeZones(mContext, mTimeModel.currentTimeMillis())