/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Gradient_Delegate.java | 136 pos = pos - (float)Math.floor(pos); in getGradientColor() 144 int intPart = (int)Math.floor(pos); in getGradientColor() 166 pos = pos - (float)Math.floor(pos); in getGradientColor() 170 int intPart = (int)Math.floor(pos); in getGradientColor()
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
D | FloatMath_Delegate.java | 45 /*package*/ static float floor(float value) { in floor() method in FloatMath_Delegate 46 return (float)Math.floor(value); in floor()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | FloatMathTest.java | 34 assertEquals(78, FloatMath.floor(78.89f), 0); in testFloor() 35 assertEquals(-79, FloatMath.floor(-78.89f), 0); in testFloor()
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/res/raw/ |
D | vignette_fs.glsl | 23 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/ |
D | GammaFontRenderer.cpp | 76 mBlackGamma[i] = uint8_t((float)::floor(black * 255.0f + 0.5f)); in GammaFontRenderer() 77 mWhiteGamma[i] = uint8_t((float)::floor(white * 255.0f + 0.5f)); in GammaFontRenderer()
|
/frameworks/base/core/java/android/util/ |
D | FloatMath.java | 39 public static native float floor(float value); in floor() method in FloatMath
|
D | TimeUtils.java | 209 int seconds = (int) Math.floor(duration / 1000); in formatDurationLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 155 view.invalidate((int) Math.floor(childBounds.left), in invalidateGlobalRegion() 156 (int) Math.floor(childBounds.top), in invalidateGlobalRegion() 160 Log.v(TAG, "INVALIDATE(" + (int) Math.floor(childBounds.left) in invalidateGlobalRegion() 161 + "," + (int) Math.floor(childBounds.top) in invalidateGlobalRegion()
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
D | omxVCM4P2_IDCT8x8blk.c | 77 pDst[(x * 8) + y] = (OMX_S16) floor(sum + 0.5); in omxVCM4P2_IDCT8x8blk()
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/ |
D | lag_wind.tab | 20 | noise floor = 1.0001 = (0.9999 on r[1] ..r[16]) |
|
/frameworks/base/graphics/java/android/graphics/ |
D | RectF.java | 427 dst.set((int) FloatMath.floor(left), (int) FloatMath.floor(top), in roundOut()
|
/frameworks/support/v4/java/android/support/v4/util/ |
D | TimeUtils.java | 98 int seconds = (int) Math.floor(duration / 1000); in formatDurationLocked()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 271 (int) Math.min(Math.floor(w / minSideLength), in computeInitialSampleSize() 272 Math.floor(h / minSideLength)); in computeInitialSampleSize()
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
D | PlaybackActivity.java | 60 int intComponent = (int) Math.floor(Math.abs(mDist)); in onScroll()
|
D | PlaybackGraphs.java | 112 int intIndex = (int) Math.floor(index); in getPercentile()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | MetaDataTest.java | 55 Math.floor(md.getFloat("com.android.frameworks.coretests.float") * 10 + .5)); in checkMetaData()
|
/frameworks/base/location/java/android/location/ |
D | Location.java | 184 int degrees = (int) Math.floor(coordinate); in convert() 190 int minutes = (int) Math.floor(coordinate); in convert()
|
/frameworks/base/libs/rs/driver/ |
D | rsdRuntimeMath.cpp | 36 int i = (int)floor(v); in SC_fract() 266 int i = (int)floor(v); in SC_frac()
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rs | 100 TEST_FUNC_1(floor);
|
/frameworks/base/core/java/android/gesture/ |
D | GestureUtils.java | 212 int xFloor = (int) Math.floor(x); in plot() 214 int yFloor = (int) Math.floor(y); in plot()
|
/frameworks/base/media/java/android/media/videoeditor/ |
D | MediaImageItem.java | 958 bitmapHeight = (float)Math.floor(nativeHeight / dx); in scaleImage() 963 bitmapWidth = (float)Math.floor(nativeWidth / dy); in scaleImage()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | MultiWaveView.java | 372 view.invalidate((int) Math.floor(childBounds.left), in invalidateGlobalRegion() 373 (int) Math.floor(childBounds.top), in invalidateGlobalRegion()
|
/frameworks/base/libs/rs/scriptc/ |
D | rs_cl.rsh | 343 extern float __attribute__((overloadable)) floor(float); 344 FN_FUNC_FN(floor) 387 * @param iptr iptr[0] will be set to the floor of the input value.
|
/frameworks/base/core/java/android/text/method/ |
D | BaseMovementMethod.java | 431 final int lineLeft = (int) Math.floor(layout.getLineLeft(line)); in getScrollBoundsLeft()
|
/frameworks/compile/libbcc/lib/ScriptCRT/ |
D | rs_cl.c | 406 extern float __attribute__((overloadable)) floor(float); 407 FN_FUNC_FN(floor) 424 int i = (int)floor(v); in FN_FUNC_FN_FN()
|