Home
last modified time | relevance | path

Searched refs:SkDoubleToScalar (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/ui/views/
Ddetachable_toolbar_view.cc45 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()
Dcreate_application_shortcut_view.cc179 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/
DSkiaUtils.h62 return SkDoubleToScalar(isfinite(d) ? d : 0); in WebCoreDoubleToSkScalar()
/external/skia/gpu/src/
DFlingState.cpp48 const SkScalar TOLERANCE = SkDoubleToScalar(0.15); in unit_axis_align()
Dapp-android.cpp155 return SkDoubleToScalar(GetAnimTimeDelta() / 1000.0); in GetAnimSecondsDelta()
167 return SkDoubleToScalar(value); in GetAnimScalar()
/external/skia/include/core/
DSkScalar.h121 #define SkDoubleToScalar(n) (float)(n) macro
237 #define SkDoubleToScalar(n) SkDoubleToFixed(n) macro
/external/skia/src/views/
DSkTouchGesture.cpp48 const SkScalar TOLERANCE = SkDoubleToScalar(0.15); in unit_axis_align()
/external/skia/samplecode/
DSampleApp.cpp225 return SkDoubleToScalar(GetAnimTimeDelta() / 1000.0); in GetAnimSecondsDelta()
237 return SkDoubleToScalar(value); in GetAnimScalar()