Searched refs:SkDoubleToScalar (Results 1 – 8 of 8) 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/gpu/src/ |
D | FlingState.cpp | 48 const SkScalar TOLERANCE = SkDoubleToScalar(0.15); in unit_axis_align()
|
D | app-android.cpp | 155 return SkDoubleToScalar(GetAnimTimeDelta() / 1000.0); in GetAnimSecondsDelta() 167 return SkDoubleToScalar(value); in GetAnimScalar()
|
/external/skia/include/core/ |
D | SkScalar.h | 121 #define SkDoubleToScalar(n) (float)(n) macro 237 #define SkDoubleToScalar(n) SkDoubleToFixed(n) macro
|
/external/skia/src/views/ |
D | SkTouchGesture.cpp | 48 const SkScalar TOLERANCE = SkDoubleToScalar(0.15); in unit_axis_align()
|
/external/skia/samplecode/ |
D | SampleApp.cpp | 225 return SkDoubleToScalar(GetAnimTimeDelta() / 1000.0); in GetAnimSecondsDelta() 237 return SkDoubleToScalar(value); in GetAnimScalar()
|