Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPropertyValuesHolder.cpp45 (U8CPU) roundf(a * 255.0f), in evaluate()
46 (U8CPU) roundf(OECF_sRGB(r) * 255.0f), in evaluate()
47 (U8CPU) roundf(OECF_sRGB(g) * 255.0f), in evaluate()
48 (U8CPU) roundf(OECF_sRGB(b) * 255.0f)); in evaluate()
DFrameBuilder.cpp777 roundf(std::max(1.0f, sx)), in deferTextOp()
778 roundf(std::max(1.0f, sy)))); in deferTextOp()
DBakedOpDispatcher.cpp289 roundf(std::max(1.0f, sx)), in renderText()
290 roundf(std::max(1.0f, sy)))); in renderText()
/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/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/minikin/libs/minikin/
DLayout.cpp981 xAdvance = roundf(xAdvance); in doLayoutRun()
989 glyphBounds.mLeft = roundf(HBFixedToFloat(extents.x_bearing)); in doLayoutRun()
990 glyphBounds.mTop = roundf(HBFixedToFloat(-extents.y_bearing)); in doLayoutRun()
991 glyphBounds.mRight = roundf(HBFixedToFloat(extents.x_bearing + extents.width)); in doLayoutRun()
993 roundf(HBFixedToFloat(-extents.y_bearing - extents.height)); in doLayoutRun()
/frameworks/rs/cpu_ref/
DrsCpuRuntimeMath.cpp146 EXPORT_F32_FN_F32(roundf) in EXPORT_F32_FN_F32() argument
/frameworks/base/libs/hwui/font/
DFont.cpp409 int penX = x + (int) roundf(positions[(glyphsCount << 1)]); in render()
410 int penY = y + (int) roundf(positions[(glyphsCount << 1) + 1]); in render()
/frameworks/compile/mclinker/include/mcld/Config/
DConfig.h.cmake350 /* Define to 1 if you have the `roundf' function. */