Searched refs:roundf (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/libs/hwui/ |
D | PropertyValuesHolder.cpp | 44 *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()
|
D | FrameBuilder.cpp | 756 SkMatrix::MakeScale(roundf(std::max(1.0f, sx)), roundf(std::max(1.0f, sy)))); in deferTextOp()
|
D | BakedOpDispatcher.cpp | 281 fontRenderer.setFont(op.paint, SkMatrix::MakeScale(roundf(std::max(1.0f, sx)), in renderText() 282 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 | 718 xAdvance = roundf(xAdvance); in doLayoutRun() 727 glyphBounds.mLeft = roundf(HBFixedToFloat(extents.x_bearing)); in doLayoutRun() 728 glyphBounds.mTop = roundf(HBFixedToFloat(-extents.y_bearing)); in doLayoutRun() 729 glyphBounds.mRight = roundf(HBFixedToFloat(extents.x_bearing + extents.width)); in doLayoutRun() 731 roundf(HBFixedToFloat(-extents.y_bearing - extents.height)); in doLayoutRun()
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AAudioUtilities.cpp | 59 return (int16_t) roundf(fmaxf(fminf(f * scale, scale - 1.f), -scale)); in clamp16_from_float() 171 *destination++ = (int16_t) roundf(sample); in AAudio_linearRamp() 268 int16_t sample16 = (int16_t) roundf(sample); in AAudio_linearRampMonoToStereo()
|
/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 | 401 int penX = x + (int)roundf(positions[(glyphsCount << 1)]); in render() 402 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. */
|