Home
last modified time | relevance | path

Searched refs:secRot (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DSweepWatchFaceService.java212 float secRot = seconds / 30f * (float) Math.PI; in onDraw() local
222 float secX = (float) Math.sin(secRot) * secLength; in onDraw()
223 float secY = (float) -Math.cos(secRot) * secLength; in onDraw()
DAnalogWatchFaceService.java248 float secRot = mTime.second / 30f * (float) Math.PI; in onDraw() local
258 float secX = (float) Math.sin(secRot) * secLength; in onDraw()
259 float secY = (float) -Math.cos(secRot) * secLength; in onDraw()