/frameworks/base/core/java/android/util/ |
H A D | FloatMath.java | 43 * @return the floor of value 46 public static float floor(float value) { method in class:FloatMath 47 return (float) Math.floor(value);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | OvalShape.java | 43 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom));
|
H A D | RectShape.java | 44 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom));
|
H A D | RoundRectShape.java | 100 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom),
|
/frameworks/base/libs/hwui/ |
H A D | GammaFontRenderer.cpp | 31 mGammaTable[i] = uint8_t((float)::floor(pow(i / 255.0f, gamma) * 255.0f + 0.5f));
|
H A D | PropertyValuesHolder.cpp | 41 int lowIndex = floor(fraction);
|
H A D | ShadowTessellator.cpp | 171 // extraNumber = floor(acos(dot(n1, n2)) / (M_PI / EXTRA_VERTEX_PER_PI)) 175 // floor(...) --- [0, EXTRA_VERTEX_PER_PI] 182 return (int) floor(angle / divisor);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_IDCT8x8blk.c | 92 pDst[(x * 8) + y] = (OMX_S16) floor(sum + 0.5);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Gradient_Delegate.java | 137 pos = pos - (float)Math.floor(pos); 145 int intPart = (int)Math.floor(pos); 167 pos = pos - (float)Math.floor(pos); 171 int intPart = (int)Math.floor(pos);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A 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/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A 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/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A 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/cpu_ref/ |
H A D | rsCpuIntrinsicResize.cpp | 95 int startx = (int) floor(xf - 1); 96 xf = xf - floor(xf); 130 int startx = (int) floor(xf - 1); 131 xf = xf - floor(xf); 165 int startx = (int) floor(xf - 1); 166 xf = xf - floor(xf); 246 int startx = (int) floor(xf - 1); 247 xf = xf - floor(xf); 269 int startx = (int) floor(xf - 1); 270 xf = xf - floor(x [all...] |
/frameworks/av/media/libeffects/loudness/common/core/ |
H A D | math.h | 82 return static_cast<T>(std::floor(static_cast<double>(x) + 0.5));
|
/frameworks/base/core/jni/android/graphics/ |
H A D | HarfBuzzNGFaceSkia.cpp | 168 int x_ppem = floor(sizeX + 0.5); 169 int y_ppem = floor(sizeY + 0.5);
|
/frameworks/base/core/tests/benchmarks/src/android/util/ |
H A D | FloatMathBenchmark.java | 62 f += FloatMath.floor(100.123f);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | RadialPickerLayout.java | 401 int floor = (degrees / stepSize) * stepSize; 402 int ceiling = floor + stepSize; 406 if (degrees == floor) { 407 floor -= stepSize; 409 degrees = floor; 411 if ((degrees - floor) < (ceiling - degrees)) { 412 degrees = floor;
|
/frameworks/av/services/audioflinger/tests/ |
H A D | test_utils.h | 42 return floor(val * 32767.0 + 0.5); 44 return floor(val * (1UL<<31) + 0.5);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderDrawable.java | 135 w = (int) Math.floor(scale * w); 136 h = (int) Math.floor(scale * h);
|
/frameworks/rs/driver/runtime/ |
H A D | rs_sample.c | 430 int32_t iPixel = floor(pixelUV); 459 int32_t iPixel = floor(uv * (float)(sourceW)); 479 int iPixelU = floor(pixelU); 480 int iPixelV = floor(pixelV); 525 int2 iPixel = convert_int2(floor(uv * dimF)); 565 uint32_t lod0 = (uint32_t)floor(lod); 618 uint32_t lod0 = (uint32_t)floor(lod);
|
/frameworks/av/tools/resampler_tools/ |
H A D | fir.cpp | 35 v = static_cast<int64_t>(floor(x * maxval + 0.5));
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | MetaDataTest.java | 55 Math.floor(md.getFloat("com.android.frameworks.coretests.float") * 10 + .5));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SwipeHelper.java | 232 view.invalidate((int) Math.floor(childBounds.left), 233 (int) Math.floor(childBounds.top), 237 Log.v(TAG, "INVALIDATE(" + (int) Math.floor(childBounds.left) 238 + "," + (int) Math.floor(childBounds.top)
|
/frameworks/minikin/include/minikin/ |
H A D | LineBreaker.h | 98 return floor(widthSoFar / mTabWidth + 1) * mTabWidth;
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | TimeUtils.java | 101 int seconds = (int) Math.floor(duration / 1000);
|