Home
last modified time | relevance | path

Searched refs:roundf (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/
DPropertyValuesHolder.cpp44 *outColor = SkColorSetARGB((U8CPU)roundf(a * 255.0f), (U8CPU)roundf(OECF_sRGB(r) * 255.0f), in evaluate()
45 (U8CPU)roundf(OECF_sRGB(g) * 255.0f), in evaluate()
46 (U8CPU)roundf(OECF_sRGB(b) * 255.0f)); in evaluate()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dnumeric.h68 return vec2i(roundf(v.x()), roundf(v.y())); in Round()
72 return vec2i(roundf(static_cast<float>(v.x()) * scale), in Scale()
73 roundf(static_cast<float>(v.y()) * scale)); in Scale()
/frameworks/minikin/libs/minikin/
DLayoutCore.cpp513 xAdvance = roundf(xAdvance); in LayoutPiece()
522 glyphBounds.mLeft = roundf(HBFixedToFloat(extents.x_bearing)); in LayoutPiece()
523 glyphBounds.mTop = roundf(HBFixedToFloat(-extents.y_bearing)); in LayoutPiece()
524 glyphBounds.mRight = roundf(HBFixedToFloat(extents.x_bearing + extents.width)); in LayoutPiece()
526 roundf(HBFixedToFloat(-extents.y_bearing - extents.height)); in LayoutPiece()
/frameworks/base/core/jni/android/graphics/
DRegion.cpp166 dst->fLeft = (int)::roundf(src.fLeft * scale); in scale_rect()
167 dst->fTop = (int)::roundf(src.fTop * scale); in scale_rect()
168 dst->fRight = (int)::roundf(src.fRight * scale); in scale_rect()
169 dst->fBottom = (int)::roundf(src.fBottom * scale); in scale_rect()
/frameworks/rs/cpu_ref/
DrsCpuRuntimeMath.cpp146 EXPORT_F32_FN_F32(roundf) in EXPORT_F32_FN_F32() argument
/frameworks/compile/mclinker/include/mcld/Config/
DConfig.h.cmake350 /* Define to 1 if you have the `roundf' function. */