/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 88 int startx = (int) floor(xf - 1); in OneBiCubic() 89 xf = xf - floor(xf); in OneBiCubic() 123 int startx = (int) floor(xf - 1); in OneBiCubic() 124 xf = xf - floor(xf); in OneBiCubic() 158 int startx = (int) floor(xf - 1); in OneBiCubic() 159 xf = xf - floor(xf); in OneBiCubic() 239 int startx = (int) floor(xf - 1); in OneBiCubic() 240 xf = xf - floor(xf); in OneBiCubic() 262 int startx = (int) floor(xf - 1); in OneBiCubic() 263 xf = xf - floor(xf); in OneBiCubic() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Gradient_Delegate.java | 137 pos = pos - (float)Math.floor(pos); in getGradientColor() 145 int intPart = (int)Math.floor(pos); in getGradientColor() 167 pos = pos - (float)Math.floor(pos); in getGradientColor() 171 int intPart = (int)Math.floor(pos); in getGradientColor()
|
/frameworks/base/core/java/android/util/ |
D | FloatMath.java | 46 public static float floor(float value) { in floor() method in FloatMath 47 return (float) Math.floor(value); in floor()
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | OvalShape.java | 44 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom)); in getOutline()
|
D | RectShape.java | 45 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom)); in getOutline()
|
D | RoundRectShape.java | 102 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom), radius); in getOutline()
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | resize.rs | 47 int startx = (int) floor(xf - 1); 48 int starty = (int) floor(yf - 1); 49 xf = xf - floor(xf); 50 yf = yf - floor(yf);
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | resize.rs | 47 int startx = (int) floor(xf - 1); 48 int starty = (int) floor(yf - 1); 49 xf = xf - floor(xf); 50 yf = yf - floor(yf);
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | resize.rs | 47 int startx = (int) floor(xf - 1); 48 int starty = (int) floor(yf - 1); 49 xf = xf - floor(xf); 50 yf = yf - floor(yf);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialPickerLayout.java | 401 int floor = (degrees / stepSize) * stepSize; in snapOnly30s() local 402 int ceiling = floor + stepSize; in snapOnly30s() 406 if (degrees == floor) { in snapOnly30s() 407 floor -= stepSize; in snapOnly30s() 409 degrees = floor; in snapOnly30s() 411 if ((degrees - floor) < (ceiling - degrees)) { in snapOnly30s() 412 degrees = floor; in snapOnly30s()
|
/frameworks/base/libs/hwui/ |
D | GammaFontRenderer.cpp | 31 mGammaTable[i] = uint8_t((float)::floor(pow(i / 255.0f, gamma) * 255.0f + 0.5f)); in GammaFontRenderer()
|
D | PropertyValuesHolder.cpp | 70 int lowIndex = floor(fraction); in getValueFromData()
|
D | ShadowTessellator.cpp | 182 return (int) floor(angle / divisor); in getExtraVertexNumber()
|
/frameworks/base/core/jni/android/graphics/ |
D | HarfBuzzNGFaceSkia.cpp | 170 int x_ppem = floor(sizeX + 0.5); in createFont() 171 int y_ppem = floor(sizeY + 0.5); in createFont()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
D | omxVCM4P2_IDCT8x8blk.c | 92 pDst[(x * 8) + y] = (OMX_S16) floor(sum + 0.5); in omxVCM4P2_IDCT8x8blk()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderDrawable.java | 135 w = (int) Math.floor(scale * w); in renderImage() 136 h = (int) Math.floor(scale * h); in renderImage()
|
/frameworks/av/media/libeffects/loudness/common/core/ |
D | math.h | 82 return static_cast<T>(std::floor(static_cast<double>(x) + 0.5)); in round()
|
/frameworks/base/core/tests/benchmarks/src/android/util/ |
D | FloatMathBenchmark.java | 62 f += FloatMath.floor(100.123f); in timeFloatMathFloor()
|
/frameworks/rs/driver/runtime/ |
D | rs_sample.c | 428 int32_t iPixel = floor(pixelUV); in sample_LOD_LinearPixel() 457 int32_t iPixel = floor(uv * (float)(sourceW)); in sample_LOD_NearestPixel() 475 int iPixelU = floor(pixelU); in sample_LOD_LinearPixel() 476 int iPixelV = floor(pixelV); in sample_LOD_LinearPixel() 521 int2 iPixel = convert_int2(floor(uv * dimF)); in sample_LOD_NearestPixel() 561 uint32_t lod0 = (uint32_t)floor(lod); in rsSample() 614 uint32_t lod0 = (uint32_t)floor(lod); in rsSample()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 240 view.invalidate((int) Math.floor(childBounds.left), in invalidateGlobalRegion() 241 (int) Math.floor(childBounds.top), in invalidateGlobalRegion() 245 Log.v(TAG, "INVALIDATE(" + (int) Math.floor(childBounds.left) in invalidateGlobalRegion() 246 + "," + (int) Math.floor(childBounds.top) in invalidateGlobalRegion()
|
/frameworks/av/media/libaudioprocessing/tests/ |
D | test_utils.h | 48 return floor(val * 32767.0 + 0.5); 50 return floor(val * (1UL<<31) + 0.5);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
D | lag_wind.tab | 20 | noise floor = 1.0001 = (0.9999 on r[1] ..r[16]) |
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 295 int floor = (degrees / stepSize) * stepSize; in snapOnly30s() local 296 final int ceiling = floor + stepSize; in snapOnly30s() 300 if (degrees == floor) { in snapOnly30s() 301 floor -= stepSize; in snapOnly30s() 303 degrees = floor; in snapOnly30s() 305 if ((degrees - floor) < (ceiling - degrees)) { in snapOnly30s() 306 degrees = floor; in snapOnly30s()
|
/frameworks/base/graphics/java/android/graphics/ |
D | RectF.java | 452 dst.set((int) Math.floor(left), (int) Math.floor(top), in roundOut()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 277 (int) Math.min(Math.floor(w / minSideLength), in computeInitialSampleSize() 278 Math.floor(h / minSideLength)); in computeInitialSampleSize()
|