Searched refs:roundf (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/libs/hwui/ |
D | PropertyValuesHolder.cpp | 45 (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()
|
D | FrameBuilder.cpp | 777 roundf(std::max(1.0f, sx)), in deferTextOp() 778 roundf(std::max(1.0f, sy)))); in deferTextOp()
|
D | BakedOpDispatcher.cpp | 289 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/ |
D | numeric.h | 68 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/ |
D | Region.cpp | 166 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/ |
D | Layout.cpp | 981 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/ |
D | rsCpuRuntimeMath.cpp | 146 EXPORT_F32_FN_F32(roundf) in EXPORT_F32_FN_F32() argument
|
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 409 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/ |
D | Config.h.cmake | 350 /* Define to 1 if you have the `roundf' function. */
|