Home
last modified time | relevance | path

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

1234

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicResize.cpp95 int startx = (int) floor(xf - 1); in OneBiCubic()
96 xf = xf - floor(xf); in OneBiCubic()
130 int startx = (int) floor(xf - 1); in OneBiCubic()
131 xf = xf - floor(xf); in OneBiCubic()
165 int startx = (int) floor(xf - 1); in OneBiCubic()
166 xf = xf - floor(xf); in OneBiCubic()
246 int startx = (int) floor(xf - 1); in OneBiCubic()
247 xf = xf - floor(xf); in OneBiCubic()
269 int startx = (int) floor(xf - 1); in OneBiCubic()
270 xf = xf - floor(xf); in OneBiCubic()
[all …]
DrsCpuRuntimeMathFuncs.cpp52 IMPORT_F32_FN_F32(floor)
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DGradient_Delegate.java137 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/
DFloatMath.java46 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/
DOvalShape.java43 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom)); in getOutline()
DRectShape.java44 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom)); in getOutline()
DRoundRectShape.java100 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom), in getOutline()
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dresize.rs47 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/src/com/android/rs/image/
Dresize.rs47 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/
Dresize.rs47 int startx = (int) floor(xf - 1);
48 int starty = (int) floor(yf - 1);
49 xf = xf - floor(xf);
50 yf = yf - floor(yf);
/frameworks/base/tests/RenderScriptTests/ShadersTest/res/raw/
Dvignette_fs.glsl23 int channel = int(floor(mod(gl_FragCoord.x, 3.0)));
25 crt *= clamp(floor(mod(vShift, 4.0)), 0.0, 1.0);
/frameworks/base/libs/hwui/
DGammaFontRenderer.cpp149 mGammaTable[i] = uint8_t((float)::floor(pow(i / 255.0f, gamma) * 255.0f + 0.5f)); in LookupGammaFontRenderer()
179 mGammaTable[256 + i] = uint8_t((float)::floor(black * 255.0f + 0.5f)); in Lookup3GammaFontRenderer()
180 mGammaTable[512 + i] = uint8_t((float)::floor(white * 255.0f + 0.5f)); in Lookup3GammaFontRenderer()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java401 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/core/jni/android/graphics/
DHarfBuzzNGFaceSkia.cpp169 int x_ppem = floor(sizeX + 0.5); in createFont()
170 int y_ppem = floor(sizeY + 0.5); in createFont()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
DomxVCM4P2_IDCT8x8blk.c92 pDst[(x * 8) + y] = (OMX_S16) floor(sum + 0.5); in omxVCM4P2_IDCT8x8blk()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java204 view.invalidate((int) Math.floor(childBounds.left), in invalidateGlobalRegion()
205 (int) Math.floor(childBounds.top), in invalidateGlobalRegion()
209 Log.v(TAG, "INVALIDATE(" + (int) Math.floor(childBounds.left) in invalidateGlobalRegion()
210 + "," + (int) Math.floor(childBounds.top) in invalidateGlobalRegion()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java135 w = (int) Math.floor(scale * w); in renderImage()
136 h = (int) Math.floor(scale * h); in renderImage()
/frameworks/av/media/libeffects/loudness/common/core/
Dmath.h82 return static_cast<T>(std::floor(static_cast<double>(x) + 0.5)); in round()
/frameworks/rs/driver/runtime/
Drs_sample.c430 int32_t iPixel = floor(pixelUV); in sample_LOD_LinearPixel()
459 int32_t iPixel = floor(uv * (float)(sourceW)); in sample_LOD_NearestPixel()
479 int iPixelU = floor(pixelU); in sample_LOD_LinearPixel()
480 int iPixelV = floor(pixelV); in sample_LOD_LinearPixel()
525 int2 iPixel = convert_int2(floor(uv * dimF)); in sample_LOD_NearestPixel()
565 uint32_t lod0 = (uint32_t)floor(lod); in rsSample()
618 uint32_t lod0 = (uint32_t)floor(lod); in rsSample()
/frameworks/av/services/audioflinger/tests/
Dtest_utils.h42 return floor(val * 32767.0 + 0.5);
44 return floor(val * (1UL<<31) + 0.5);
/frameworks/base/core/tests/benchmarks/src/android/util/
DFloatMathBenchmark.java66 f += FloatMath.floor(100.123f); in timeFloatMathFloor()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java271 int floor = (degrees / stepSize) * stepSize; in snapOnly30s() local
272 final int ceiling = floor + stepSize; in snapOnly30s()
276 if (degrees == floor) { in snapOnly30s()
277 floor -= stepSize; in snapOnly30s()
279 degrees = floor; in snapOnly30s()
281 if ((degrees - floor) < (ceiling - degrees)) { in snapOnly30s()
282 degrees = floor; in snapOnly30s()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dlag_wind.tab20 | noise floor = 1.0001 = (0.9999 on r[1] ..r[16]) |
/frameworks/base/graphics/java/android/graphics/
DRectF.java452 dst.set((int) Math.floor(left), (int) Math.floor(top), in roundOut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewLayoutAlgorithm.java353 int pFloorIndex = (int) Math.floor(pIndex); in curveProgressToScreenY()
378 int xFloorIndex = (int) Math.floor(xIndex); in screenYToCurveProgress()

1234