Searched refs:SkDoubleToScalar (Results 1 – 11 of 11) sorted by relevance
/external/chromium/chrome/browser/ui/views/ |
D | detachable_toolbar_view.cc | 45 rect->set(SkDoubleToScalar(horizontal_padding - 0.5), in CalculateContentArea() 46 SkDoubleToScalar(vertical_padding - 0.5), in CalculateContentArea() 47 SkDoubleToScalar(view->width() - horizontal_padding - 0.5), in CalculateContentArea() 48 SkDoubleToScalar(view->height() - vertical_padding - 0.5)); in CalculateContentArea() 73 rect, SkDoubleToScalar(roundness), SkDoubleToScalar(roundness), paint); in PaintContentAreaBackground() 88 rect, SkDoubleToScalar(roundness), SkDoubleToScalar(roundness), in PaintContentAreaBorder()
|
D | create_application_shortcut_view.cc | 179 border_rect.fLeft + SkDoubleToScalar(0.5), in OnPaint() 180 border_rect.fTop + SkDoubleToScalar(0.5), in OnPaint() 181 border_rect.fRight - SkDoubleToScalar(0.5), in OnPaint() 182 border_rect.fBottom - SkDoubleToScalar(0.5), in OnPaint()
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
D | SkiaUtils.h | 62 return SkDoubleToScalar(isfinite(d) ? d : 0); in WebCoreDoubleToSkScalar()
|
/external/skia/src/gpu/ |
D | FlingState.cpp | 41 const SkScalar TOLERANCE = SkDoubleToScalar(0.15); in unit_axis_align()
|
D | app-android.cpp | 161 return SkDoubleToScalar(GetAnimTimeDelta() / 1000.0); in GetAnimSecondsDelta() 173 return SkDoubleToScalar(value); in GetAnimScalar()
|
/external/skia/include/core/ |
D | SkScalar.h | 114 #define SkDoubleToScalar(n) (float)(n) macro 230 #define SkDoubleToScalar(n) SkDoubleToFixed(n) macro
|
/external/skia/include/utils/ |
D | SkMatrix44.h | 55 #define SkMScalarToScalar SkDoubleToScalar
|
/external/skia/src/views/ |
D | SkTouchGesture.cpp | 41 const SkScalar TOLERANCE = SkDoubleToScalar(0.15); in unit_axis_align()
|
/external/skia/samplecode/ |
D | SampleApp.cpp | 508 return SkDoubleToScalar(GetAnimTimeDelta() / 1000.0); in GetAnimSecondsDelta() 520 return SkDoubleToScalar(value); in GetAnimScalar()
|
/external/skia/src/ports/ |
D | SkFontHost_mac_coretext.cpp | 240 return SkDoubleToScalar(cgFloat); in CGToScalar()
|
/external/skia/src/core/ |
D | SkPath.cpp | 1937 cross = SkDoubleToScalar((p1x - p0x) * (p2y - p0y) - in cross_prod()
|