Home
last modified time | relevance | path

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

/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.cpp155 EXPORT_F32_FN_F32(roundf) in EXPORT_F32_FN_F32() argument
282 { "_Z5roundf", (void *)&roundf, true },
/frameworks/base/libs/hwui/font/
DFont.cpp421 int penX = x + (int) roundf(positions[(glyphsCount << 1)]); in render()
422 int penY = y + (int) roundf(positions[(glyphsCount << 1) + 1]); in render()
/frameworks/minikin/libs/minikin/
DLayout.cpp753 xAdvance = roundf(xAdvance); in doLayoutRun()
/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp2745 roundf(fmaxf(1.0f, sx)),
2746 roundf(fmaxf(1.0f, sy)));