Home | History | Annotate | Download | only in globaltime

Lines Matching refs:radius

59      * radius r0 to radius r1 about the center point (cx, cy),
63 * @param radius the radius of the outer rim of the clock
67 * @param r0 the starting radius for the line
68 * @param r1 the ending radius for the line
71 float radius, float pos, float cx, float cy, float r0, float r1) {
83 float norm = (radius / 2.0f) / (float) Math.sqrt(ox * ox + oy * oy);
186 * @param radius the radius of the clock face
197 float cx, float cy, float radius, float alpha, float textAlpha,
204 int iradius = (int)radius;
264 canvas.drawText(cityName, cx - tw / 2, cy - radius - th, paint);
267 cx - tw / 2 + 1, cy - radius - th, paint);
271 canvas.drawText(time, cx - tw / 2, cy + radius + th + 5, paint);
283 paint.setStrokeWidth(radius * 0.12f);
289 float r0 = radius * 0.1f;
290 float r1 = radius * 0.4f;
291 float r2 = radius * 0.6f;
292 float r3 = radius * 0.65f;
293 float r4 = radius * 0.7f;
294 float r5 = radius * 0.9f;
304 drawLine(path, radius * 0.12f, i / 12.0f, cx, cy, r4, r5);
308 drawLine(path, radius * 0.12f, hh / 12.0f, cx, cy, r0, r1);
310 drawLine(path, radius * 0.12f, mm / 60.0f, cx, cy, r0, r2);
312 drawLine(path, radius * 0.036f, ss / 60.0f, cx, cy, r0, r3);
315 drawVArrow(path, cx + radius * 1.13f, cy - radius,
316 radius * 0.15f, -radius * 0.1f);
319 drawVArrow(path, cx + radius * 1.13f, cy + radius,
320 radius * 0.15f, radius * 0.1f);
323 drawHArrow(path, cx - radius * 1.3f, cy, -radius * 0.1f,
324 radius * 0.15f);
325 drawHArrow(path, cx + radius * 1.3f, cy, radius * 0.1f,
326 radius * 0.15f);