Lines Matching refs:DataModel
62 import com.android.deskclock.data.DataModel
194 val displaySeconds: Boolean = DataModel.dataModel.displayClockSeconds in setClockSecondsEnabled()
195 when (DataModel.dataModel.clockStyle) { in setClockSecondsEnabled()
196 DataModel.ClockStyle.ANALOG -> { in setClockSecondsEnabled()
200 DataModel.ClockStyle.DIGITAL -> { in setClockSecondsEnabled()
212 return when (DataModel.dataModel.clockStyle) { in setClockStyle()
213 DataModel.ClockStyle.ANALOG -> { in setClockStyle()
218 DataModel.ClockStyle.DIGITAL -> { in setClockStyle()
231 return when (DataModel.dataModel.screensaverClockStyle) { in setScreensaverClockStyle()
232 DataModel.ClockStyle.ANALOG -> { in setScreensaverClockStyle()
237 DataModel.ClockStyle.DIGITAL -> { in setScreensaverClockStyle()
525 fun now(): Long = DataModel.dataModel.elapsedRealtime() in now()
527 fun wallClock(): Long = DataModel.dataModel.currentTimeMillis() in now()