Home
last modified time | relevance | path

Searched refs:hoursRotation (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DSweepWatchFaceService.java359 final float hoursRotation = (mCalendar.get(Calendar.HOUR) * 30) + hourHandOffset; in onDraw() local
366 canvas.rotate(hoursRotation, mCenterX, mCenterY); in onDraw()
374 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); in onDraw()
DAnalogWatchFaceService.java394 final float hoursRotation = (mCalendar.get(Calendar.HOUR) * 30) + hourHandOffset; in onDraw() local
401 canvas.rotate(hoursRotation, mCenterX, mCenterY); in onDraw()
409 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); in onDraw()
DComplicationSimpleWatchFaceService.java658 final float hoursRotation = (mCalendar.get(Calendar.HOUR) * 30) + hourHandOffset; in drawWatchFace() local
665 canvas.rotate(hoursRotation, mCenterX, mCenterY); in drawWatchFace()
673 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); in drawWatchFace()