Searched refs:hoursRotation (Results 1 – 3 of 3) sorted by relevance
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | SweepWatchFaceService.java | 359 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()
|
D | AnalogWatchFaceService.java | 394 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()
|
D | ComplicationSimpleWatchFaceService.java | 658 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()
|