Home
last modified time | relevance | path

Searched refs:diameter (Results 1 – 7 of 7) sorted by relevance

/external/qemu/android/skin/
Dtrackball.c161 int diameter; member
209 trackball_init( TrackBall ball, int diameter, int ring, in trackball_init() argument
213 int diameter2 = diameter + ring*2; in trackball_init()
221 ball->diameter = diameter2; in trackball_init()
304 int diameter2 = diameter + 2*ring; in trackball_init()
305 double radius = diameter*0.5; in trackball_init()
374 return ( (unsigned)(x) < (unsigned)ball->diameter && in trackball_contains()
375 (unsigned)(y) < (unsigned)ball->diameter ); in trackball_contains()
474 int diameter = ball->diameter; in trackball_refresh() local
477 Fix16 dot_threshold = DOT_THRESHOLD * diameter; in trackball_refresh()
[all …]
Dtrackball.h22 int diameter; member
/external/skia/src/core/
DSkScan_Hairline.cpp311 void SkScan::FrameRect(const SkRect& r, SkScalar diameter, const SkRegion* clip, SkBlitter* blitter) in FrameRect() argument
313 SkASSERT(diameter > 0); in FrameRect()
318 SkScalar radius = diameter / 2; in FrameRect()
324 if (r.width() <= diameter || r.height() <= diameter) in FrameRect()
330 tmp.set(outer.fLeft, outer.fTop, outer.fRight, outer.fTop + diameter); in FrameRect()
332 tmp.fTop = outer.fBottom - diameter; in FrameRect()
336 tmp.set(outer.fLeft, outer.fTop + diameter, outer.fLeft + diameter, outer.fBottom - diameter); in FrameRect()
338 tmp.fLeft = outer.fRight - diameter; in FrameRect()
/external/webkit/WebCore/platform/graphics/android/
DGraphicsContextAndroid.cpp445 const SkScalar diameter = paint.getStrokeWidth(); in drawLine() local
446 const SkScalar radius = SkScalarHalf(diameter); in drawLine()
456 dx = diameter * 2; in drawLine()
463 dy = diameter * 2; in drawLine()
470 SkScalar width = SkScalarDiv(SkIntToScalar(count), diameter); in drawLine()
/external/icu4c/i18n/
Dastro.cpp1298 double diameter, double refraction, in riseOrSet() argument
1312 rise?"T":"F", diameter, refraction, epsilon)); in riseOrSet()
1332 double x = diameter / 2 + refraction; in riseOrSet()
Dastro.h664 double diameter, double refraction,
/external/qemu/android/
Dmain.c594 params.diameter = 30; in qemulator_setup()
1131 params.diameter = aconfig_unsigned(n, "diameter", 20); in init_skinned_ui()