/aosp12/packages/services/BuiltInPrintService/jni/lib/ |
H A D | printable_area.c | 53 job_params->printable_area_width = (unsigned int) floorf(((job_params->page_width - in printable_area_get() 55 job_params->printable_area_height = (unsigned int) floorf(((job_params->page_height - in printable_area_get() 66 job_params->print_top_margin = floorf( in printable_area_get() 69 job_params->print_top_margin = floorf(((top_margin) * (float) job_params->pixel_units)); in printable_area_get() 72 job_params->print_left_margin = floorf(((job_params->job_left_margin - left_margin) * in printable_area_get() 75 job_params->print_left_margin = floorf( in printable_area_get() 79 job_params->print_right_margin = floorf(((job_params->job_right_margin - right_margin) * in printable_area_get() 82 job_params->print_right_margin = floorf( in printable_area_get() 86 job_params->print_bottom_margin = floorf( in printable_area_get() 90 job_params->print_bottom_margin = floorf( in printable_area_get()
|
/aosp12/frameworks/base/libs/hwui/ |
H A D | Rect.h | 194 left = floorf(left + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries() 195 top = floorf(top + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries() 203 left = floorf(left + 0.5f - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries() 204 top = floorf(top + 0.5f - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries() 205 right = floorf(right + 0.5f + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries() 211 left = floorf(left + 0.5f); in snapToPixelBoundaries() 212 top = floorf(top + 0.5f); in snapToPixelBoundaries() 213 right = floorf(right + 0.5f); in snapToPixelBoundaries() 214 bottom = floorf(bottom + 0.5f); in snapToPixelBoundaries() 218 left = floorf(left); in roundOut() [all …]
|
/aosp12/bionic/libm/x86_64/ |
H A D | floorf.S | 33 ENTRY(floorf) 36 END(floorf)
|
/aosp12/bionic/libm/x86/ |
H A D | floorf.S | 33 ENTRY(floorf) 39 END(floorf)
|
/aosp12/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | s_roundf.c | 46 t = floorf(x); in roundf() 51 t = floorf(-x); in roundf()
|
H A D | s_floorf.c | 34 floorf(float x) in floorf() function
|
/aosp12/frameworks/native/libs/ui/ |
H A D | Transform.cpp | 263 r.left = static_cast<int32_t>(floorf(std::min({lt[0], rt[0], lb[0], rb[0]}))); in transform() 264 r.top = static_cast<int32_t>(floorf(std::min({lt[1], rt[1], lb[1], rb[1]}))); in transform() 268 r.left = static_cast<int32_t>(floorf(std::min({lt[0], rt[0], lb[0], rb[0]}) + 0.5f)); in transform() 269 r.top = static_cast<int32_t>(floorf(std::min({lt[1], rt[1], lb[1], rb[1]}) + 0.5f)); in transform() 270 r.right = static_cast<int32_t>(floorf(std::max({lt[0], rt[0], lb[0], rb[0]}) + 0.5f)); in transform() 271 r.bottom = static_cast<int32_t>(floorf(std::max({lt[1], rt[1], lb[1], rb[1]}) + 0.5f)); in transform() 310 int xpos = static_cast<int>(floorf(tx() + 0.5f)); in transform() 311 int ypos = static_cast<int>(floorf(ty() + 0.5f)); in transform()
|
/aosp12/frameworks/native/libs/renderengine/gl/filters/ |
H A D | BlurFilter.cpp | 82 const uint32_t fboWidth = floorf(mDisplayWidth * kFboScale); in setAsDrawTarget() 83 const uint32_t fboHeight = floorf(mDisplayHeight * kFboScale); in setAsDrawTarget()
|
/aosp12/frameworks/av/media/libstagefright/renderfright/gl/filters/ |
H A D | BlurFilter.cpp | 82 const uint32_t fboWidth = floorf(mDisplayWidth * kFboScale); in setAsDrawTarget() 83 const uint32_t fboHeight = floorf(mDisplayHeight * kFboScale); in setAsDrawTarget()
|
/aosp12/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | geometry_utils.h | 25 ? (floorf((f) * 10000.0f) / 10000.0f) : (f)
|
/aosp12/packages/services/BuiltInPrintService/jni/plugins/ |
H A D | wprint_image.c | 212 native_image_output_width = (int) floorf(image_output_width * native_scaling); in wprint_image_set_output_properties() 213 native_image_output_height = (int) floorf(image_output_height * native_scaling); in wprint_image_set_output_properties() 331 image_info->scaled_width = (int) floorf(rw); in wprint_image_set_output_properties() 332 image_info->scaled_height = (int) floorf(targetHeight); in wprint_image_set_output_properties() 334 image_info->scaled_height = (int) floorf(targetWidth * sourceHeight / sourceWidth); in wprint_image_set_output_properties() 335 image_info->scaled_width = (int) floorf(targetWidth); in wprint_image_set_output_properties()
|
H A D | lib_pclm.c | 70 myPageInfo->mediaWidth = floorf( in _get_pclm_media_size() 72 myPageInfo->mediaHeight = floorf( in _get_pclm_media_size()
|
H A D | lib_pwg.c | 112 myPageInfo->mediaWidth = floorf( in _get_pwg_media_size() 114 myPageInfo->mediaHeight = floorf( in _get_pwg_media_size()
|
/aosp12/bionic/libm/ |
H A D | builtins.cpp | 52 float floorf(float x) { return __builtin_floorf(x); } in floorf() function
|
H A D | libm.map.txt | 130 floorf;
|
/aosp12/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | ShapeAnimation.cpp | 65 float cellSize = floorf(width / 7 - cellSpace); in createContent()
|
/aosp12/packages/modules/NeuralNetworks/common/operations/ |
H A D | ResizeImageOps.cpp | 86 : static_cast<int>(floorf(scaler(y, heightScale))), in resizeNearestNeighbor() 93 : static_cast<int>(floorf(scaler(x, widthScale))), in resizeNearestNeighbor()
|
/aosp12/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_utils.h | 208 cropI.right = int(floorf(cropF.right)); in integerizeSourceCrop() 209 cropI.bottom = int(floorf(cropF.bottom)); in integerizeSourceCrop()
|
/aosp12/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_utils.h | 233 cropI.right = int(floorf(cropF.right)); in integerizeSourceCrop() 234 cropI.bottom = int(floorf(cropF.bottom)); in integerizeSourceCrop()
|
/aosp12/frameworks/av/services/camera/libcameraservice/common/ |
H A D | DepthPhotoProcessor.cpp | 379 pointsQuantized.push_back(floorf(((far * (point - near)) / in processDepthMapFrame() 381 confidenceQuantized.push_back(floorf(*confidenceIt * 255.0f)); in processDepthMapFrame()
|
/aosp12/packages/services/BuiltInPrintService/jni/ipphelper/ |
H A D | ipp_print.c | 149 *mediaWidth = floorf(_MI_TO_100MM(SupportedMediaSizes[i].WidthInInches)); in _get_pwg_media_size() 150 *mediaHeight = floorf(_MI_TO_100MM(SupportedMediaSizes[i].HeightInInches)); in _get_pwg_media_size()
|
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_utils.h | 283 cropI.right = int(floorf(cropF.right)); in integerizeSourceCrop() 284 cropI.bottom = int(floorf(cropF.bottom)); in integerizeSourceCrop()
|
/aosp12/frameworks/rs/cpu_ref/ |
H A D | rsCpuRuntimeMath.cpp | 125 EXPORT_F32_FN_F32(floorf) in EXPORT_F32_FN_F32()
|
/aosp12/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
H A D | genPCLm.cpp | 1895 myPageInfo->mediaWidth = floorf( in GetPclmMediaDimensions() 1897 myPageInfo->mediaHeight = floorf( in GetPclmMediaDimensions() 1899 myPageInfo->mediaWidthInPixels = floorf( in GetPclmMediaDimensions() 1902 myPageInfo->mediaHeightInPixels = floorf( in GetPclmMediaDimensions()
|
/aosp12/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | hwc_display.cpp | 63 layer->src_rect.bottom = layer->src_rect.top + floorf(height); in ApplyDeInterlaceAdjustment() 753 target->left = floorf(source.left); in SetRect() 754 target->top = floorf(source.top); in SetRect()
|