Lines Matching refs:DataModel
62 import com.android.deskclock.data.DataModel
200 val displaySeconds: Boolean = DataModel.dataModel.displayClockSeconds in setClockSecondsEnabled()
201 when (DataModel.dataModel.clockStyle) { in setClockSecondsEnabled()
202 DataModel.ClockStyle.ANALOG -> { in setClockSecondsEnabled()
206 DataModel.ClockStyle.DIGITAL -> { in setClockSecondsEnabled()
218 return when (DataModel.dataModel.clockStyle) { in setClockStyle()
219 DataModel.ClockStyle.ANALOG -> { in setClockStyle()
224 DataModel.ClockStyle.DIGITAL -> { in setClockStyle()
237 return when (DataModel.dataModel.screensaverClockStyle) { in setScreensaverClockStyle()
238 DataModel.ClockStyle.ANALOG -> { in setScreensaverClockStyle()
243 DataModel.ClockStyle.DIGITAL -> { in setScreensaverClockStyle()
531 fun now(): Long = DataModel.dataModel.elapsedRealtime() in now()
533 fun wallClock(): Long = DataModel.dataModel.currentTimeMillis() in now()