Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DSweepWatchFaceService.java339 float tickRot = (float) (tickIndex * Math.PI * 2 / 12); in onDraw() local
340 float innerX = (float) Math.sin(tickRot) * innerTickRadius; in onDraw()
341 float innerY = (float) -Math.cos(tickRot) * innerTickRadius; in onDraw()
342 float outerX = (float) Math.sin(tickRot) * outerTickRadius; in onDraw()
343 float outerY = (float) -Math.cos(tickRot) * outerTickRadius; in onDraw()
DAnalogWatchFaceService.java374 float tickRot = (float) (tickIndex * Math.PI * 2 / 12); in onDraw() local
375 float innerX = (float) Math.sin(tickRot) * innerTickRadius; in onDraw()
376 float innerY = (float) -Math.cos(tickRot) * innerTickRadius; in onDraw()
377 float outerX = (float) Math.sin(tickRot) * outerTickRadius; in onDraw()
378 float outerY = (float) -Math.cos(tickRot) * outerTickRadius; in onDraw()
DComplicationSimpleWatchFaceService.java638 float tickRot = (float) (tickIndex * Math.PI * 2 / 12); in drawWatchFace() local
639 float innerX = (float) Math.sin(tickRot) * innerTickRadius; in drawWatchFace()
640 float innerY = (float) -Math.cos(tickRot) * innerTickRadius; in drawWatchFace()
641 float outerX = (float) Math.sin(tickRot) * outerTickRadius; in drawWatchFace()
642 float outerY = (float) -Math.cos(tickRot) * outerTickRadius; in drawWatchFace()