Home
last modified time | relevance | path

Searched refs:floor (Results 1 – 20 of 20) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Deboled.js83 oled.drawPixel(Math.floor(Math.random()*63), Math.floor(Math.random()*47), 1);
87 oled.drawLine(31, 24, Math.floor(Math.random()*63), Math.floor(Math.random()*47), 1);
93 var thisPeak = Math.abs(lastPeak + Math.floor(Math.random()*(-6) + Math.random()*6));
107 var eqbarHeights = [ Math.floor(Math.random()*32),
108 Math.floor(Math.random()*32),
109 Math.floor(Math.random()*32),
110 Math.floor(Math.random()*32),
111 Math.floor(Math.random()*32),
112 Math.floor(Math.random()*32),
113 Math.floor(Math.random()*32) ];
/hardware/ti/omap4-aah/libtiutils/
DUtilsCommon.h37 int floor(T x);
58 inline int floor(const T x) { in floor() function
65 return floor(x + T(0.5)); in round()
67 return floor(x - floor(x - T(1)) + T(0.5)) + floor(x - T(1)); in round()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_systemdependent.h41 return (int)floor(x + 0.5); in round()
Dvp9_tapify.py22 return int(math.floor(b))
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp321 (uint8_t)floor(latitude), latMinutes, latHemisphere, in loc_eng_nmea_generate_pos()
322 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
474 (uint8_t)floor(latitude), latMinutes, latHemisphere, in loc_eng_nmea_generate_pos()
475 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXExif.cpp110 mEXIFData.mGPSData.mAltitude = floor(fabs(gpsPos)); in setParametersEXIF()
817 deg = (int) floor(fabs(coord)); in convertGPSCoord()
818 tmp = ( fabs(coord) - floor(fabs(coord)) ) * GPS_MIN_DIV; in convertGPSCoord()
819 min = (int) floor(tmp); in convertGPSCoord()
820 tmp = ( tmp - floor(tmp) ) * ( GPS_SEC_DIV * GPS_SEC_ACCURACY ); in convertGPSCoord()
821 sec = (int) floor(tmp); in convertGPSCoord()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXExif.cpp107 mEXIFData.mGPSData.mAltitude = floor(fabs(gpsPos)); in setParametersEXIF()
815 deg = (int) floor(fabs(coord)); in convertGPSCoord()
816 tmp = ( fabs(coord) - floor(fabs(coord)) ) * GPS_MIN_DIV; in convertGPSCoord()
817 min = (int) floor(tmp); in convertGPSCoord()
818 tmp = ( tmp - floor(tmp) ) * ( GPS_SEC_DIV * GPS_SEC_ACCURACY ); in convertGPSCoord()
819 sec = (int) floor(tmp); in convertGPSCoord()
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dmlmath.h56 #define floor(x) ml_floor(x) macro
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dmlmath.h56 #define floor(x) ml_floor(x) macro
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp329 (uint8_t)floor(latitude), latMinutes, latHemisphere, in loc_eng_nmea_generate_pos()
330 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
482 (uint8_t)floor(latitude), latMinutes, latHemisphere, in loc_eng_nmea_generate_pos()
483 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp328 (uint8_t)floor(latitude), latMinutes, latHemisphere, in loc_eng_nmea_generate_pos()
329 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
481 (uint8_t)floor(latitude), latMinutes, latHemisphere, in loc_eng_nmea_generate_pos()
482 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp325 (uint8_t)floor(latitude), latMinutes, latHemisphere, in loc_eng_nmea_generate_pos()
326 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
478 (uint8_t)floor(latitude), latMinutes, latHemisphere, in loc_eng_nmea_generate_pos()
479 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp328 (uint8_t)floor(latitude), latMinutes, latHemisphere, in loc_eng_nmea_generate_pos()
329 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
481 (uint8_t)floor(latitude), latMinutes, latHemisphere, in loc_eng_nmea_generate_pos()
482 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp328 (uint8_t)floor(latitude), latMinutes, latHemisphere, in loc_eng_nmea_generate_pos()
329 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
481 (uint8_t)floor(latitude), latMinutes, latHemisphere, in loc_eng_nmea_generate_pos()
482 (uint8_t)floor(longitude),lonMinutes, lonHemisphere); in loc_eng_nmea_generate_pos()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Didct8x8_test.cc31 return static_cast<int>(floor(x + 0.5)); in round()
Ddct32x32_test.cc34 return static_cast<int>(floor(x + 0.5)); in round()
Ddct16x16_test.cc38 return static_cast<int>(floor(x + 0.5)); in round()
/hardware/libhardware_legacy/include/hardware_legacy/
Drtt.h257 int floor; // floor in units of 1/16th of floor. 0x80000000 if unknown. member
/hardware/qcom/media/msm8996/videopp/inc/
Domx_vdpp.h789 return floor(value); in roundToNearestInt()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c995 cropped_width = floor((cropped_height * p_thumb_dim->dst_dim.width) / in mm_jpeg_update_thumbnail_crop()
1003 cropped_height = floor((cropped_width * p_thumb_dim->dst_dim.height) / in mm_jpeg_update_thumbnail_crop()
1010 floor((p_thumb_dim->crop.width - cropped_width) / 2); in mm_jpeg_update_thumbnail_crop()
1015 floor((p_thumb_dim->crop.height - cropped_height) / 2); in mm_jpeg_update_thumbnail_crop()