Searched refs:minutesRotation (Results 1 – 3 of 3) sorted by relevance
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | SweepWatchFaceService.java | 356 final float minutesRotation = mCalendar.get(Calendar.MINUTE) * 6f; in onDraw() local 374 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); in onDraw() 387 canvas.rotate(secondsRotation - minutesRotation, mCenterX, mCenterY); in onDraw()
|
D | AnalogWatchFaceService.java | 391 final float minutesRotation = mCalendar.get(Calendar.MINUTE) * 6f; in onDraw() local 409 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); in onDraw() 422 canvas.rotate(secondsRotation - minutesRotation, mCenterX, mCenterY); in onDraw()
|
D | ComplicationSimpleWatchFaceService.java | 655 final float minutesRotation = mCalendar.get(Calendar.MINUTE) * 6f; in drawWatchFace() local 673 canvas.rotate(minutesRotation - hoursRotation, mCenterX, mCenterY); in drawWatchFace() 686 canvas.rotate(secondsRotation - minutesRotation, mCenterX, mCenterY); in drawWatchFace()
|