Home
last modified time | relevance | path

Searched refs:HOUR (Results 1 – 8 of 8) sorted by relevance

/development/tools/winscope/src/common/
Dtime_utils_test.ts23 const HOUR = BigInt(60) * MINUTE; constant
24 const DAY = BigInt(24) * HOUR;
83 expect(TimeUtils.format(new ElapsedTimestamp(HOUR - 1n), true)).toEqual('59m59s999ms');
84 expect(TimeUtils.format(new ElapsedTimestamp(HOUR - 1n), false)).toEqual('59m59s999ms999999ns');
85 expect(TimeUtils.format(new ElapsedTimestamp(HOUR), true)).toEqual('1h0m0s0ms');
87 TimeUtils.format(new ElapsedTimestamp(HOUR + MINUTE + SECOND + MILLISECOND), true)
93 TimeUtils.format(new ElapsedTimestamp(DAY + HOUR + MINUTE + SECOND + MILLISECOND), true)
118 expect(TimeUtils.parseHumanElapsed('1h0m')).toEqual(new ElapsedTimestamp(HOUR));
120 new ElapsedTimestamp(HOUR + MINUTE + SECOND + MILLISECOND)
125 new ElapsedTimestamp(DAY + HOUR + MINUTE + SECOND + MILLISECOND)
[all …]
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DOpenGLWatchFaceService.java445 float hours = mCalendar.get(Calendar.HOUR) + minutes / 60f; in onDraw()
DSweepWatchFaceService.java359 final float hoursRotation = (mCalendar.get(Calendar.HOUR) * 30) + hourHandOffset; in onDraw()
DAnalogWatchFaceService.java394 final float hoursRotation = (mCalendar.get(Calendar.HOUR) * 30) + hourHandOffset; in onDraw()
DFitStepsWatchFaceService.java386 int hour = mCalendar.get(Calendar.HOUR); in onDraw()
DFitDistanceWatchFaceService.java385 int hour = mCalendar.get(Calendar.HOUR); in onDraw()
DComplicationSimpleWatchFaceService.java658 final float hoursRotation = (mCalendar.get(Calendar.HOUR) * 30) + hourHandOffset; in drawWatchFace()
DDigitalWatchFaceService.java469 int hour = mCalendar.get(Calendar.HOUR); in onDraw()