/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
NoiseGenerator.java | 268 int xi = (int) Math.floor(x);
269 int yi = (int) Math.floor(y);
270 int zi = (int) Math.floor(z);
364 rmd = (float) (musgraveData.octaves - Math.floor(musgraveData.octaves));
439 rmd = musgraveData.octaves - (float) Math.floor(musgraveData.octaves);
465 rmd = (float) (musgraveData.octaves - Math.floor(musgraveData.octaves));
498 rmd = musgraveData.octaves - (float) Math.floor(musgraveData.octaves);
575 int xi = (int) FastMath.floor(x);
576 int yi = (int) FastMath.floor(y);
577 int zi = (int) FastMath.floor(z); [all...] |
TextureGeneratorVoronoi.java | 166 int xi = (int) Math.floor(x); 167 int yi = (int) Math.floor(y); 168 int zi = (int) Math.floor(z);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/ |
ShaderUtils.java | 125 public static final int floor(final float x) {
method in class:ShaderUtils 278 return f - ShaderUtils.floor(f);
281 public static float[] floor(float[] fs) {
method in class:ShaderUtils 284 retval[i] = ShaderUtils.floor(fs[i]);
|
/hardware/invensense/60xx/libsensors_iio/software/core/driver/include/ |
mlmath.h | 56 #define floor(x) ml_floor(x) macro
|
/hardware/invensense/60xx/mlsdk/platform/include/ |
mlmath.h | 68 #define floor(x) ml_floor(x) macro
|
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
mlmath.h | 56 #define floor(x) ml_floor(x) macro
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
Utils.java | 40 int seconds = (int) Math.floor(millis / 1000);
|
/external/chromium_org/third_party/skia/src/animator/ |
SkDisplayMath.cpp | 54 SK_FUNCTION(floor), 84 (SkFunctionParamType) SkType_Float, // floor 126 SK_MEMBER_FUNCTION(floor, Float), 177 case SK_FUNCTION(floor):
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
HelloPicking.java | 72 /** create four colored boxes and a floor to shoot at: */
136 /** A floor to show that the "shot" can go through several objects. */
139 Geometry floor = new Geometry("the Floor", box);
local 142 floor.setMaterial(mat1);
143 return floor;
|
/external/skia/src/animator/ |
SkDisplayMath.cpp | 54 SK_FUNCTION(floor), 84 (SkFunctionParamType) SkType_Float, // floor 126 SK_MEMBER_FUNCTION(floor, Float), 177 case SK_FUNCTION(floor):
|
/frameworks/base/libs/hwui/ |
GammaFontRenderer.cpp | 149 mGammaTable[i] = uint8_t((float)::floor(pow(i / 255.0f, gamma) * 255.0f + 0.5f)); 178 mGammaTable[256 + i] = uint8_t((float)::floor(black * 255.0f + 0.5f)); 179 mGammaTable[512 + i] = uint8_t((float)::floor(white * 255.0f + 0.5f));
|
/packages/apps/Browser/src/com/android/browser/ |
WebStorageSizeManager.java | 373 2 << ((int) Math.floor(Math.log10( 375 long maxSizeBytes = (long) Math.min(Math.floor( 377 Math.floor(freeSpaceBytes / 2));
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
RadialPickerLayout.java | 402 int floor = (degrees / stepSize) * stepSize; local 403 int ceiling = floor + stepSize; 407 if (degrees == floor) { 408 floor -= stepSize; 410 degrees = floor; 412 if ((degrees - floor) < (ceiling - degrees)) { 413 degrees = floor; [all...] |
/external/libvorbis/doc/ |
06-floor0.tex | 4 \section{Floor type 0 setup and decode} \label{vorbis:spec:floor0} 8 Vorbis floor type zero uses Line Spectral Pair (LSP, also alternately 18 \subsection{Floor 0 format} 20 Floor zero configuration consists of six integer fields and a list of 26 Configuration information for instances of floor zero decodes from the 52 coefficient values from the bitstream, and then computing the floor 81 operation above, floor decode is to return 'unused' status as if the 92 for the floor currently being decoded has a 109 [floor0_amplitude_offset] values from floor setup, and an output 111 floor output vector [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
DecimalTest.cpp | 557 TEST_F(DecimalTest, Floor) 559 EXPECT_EQ(Decimal(1), Decimal(1).floor()); 560 EXPECT_EQ(Decimal(0), encode(1, -10, Positive).floor()); 561 EXPECT_EQ(Decimal(1), encode(11, -1, Positive).floor()); 562 EXPECT_EQ(Decimal(1), encode(13, -1, Positive).floor()); 563 EXPECT_EQ(Decimal(1), encode(15, -1, Positive).floor()); 564 EXPECT_EQ(Decimal(1), encode(19, -1, Positive).floor()); 566 EXPECT_EQ(Decimal(-1), Decimal(-1).floor()); 567 EXPECT_EQ(Decimal(-1), encode(1, -10, Negative).floor()); 568 EXPECT_EQ(Decimal(-2), encode(11, -1, Negative).floor()); [all...] |
/external/libvorbis/lib/ |
psy.c | 173 bin=floor(fromOC(i*.5)/binHz); 175 hi_curve= floor(toOC((bin+1)*binHz)*2); 802 val = val - logmdct[i]; /* val == mdct line value relative to floor in dB */ 805 /* mdct value is > -17.2 dB below floor */ 809 -0.00 dB boost if mdct value is -17.2dB (relative to floor) 810 -0.77 dB boost if mdct value is 0dB (relative to floor) 811 -1.64 dB boost if mdct value is +17.2dB (relative to floor) 816 /* mdct value is <= -17.2 dB below floor */ 820 +0.00 dB atten if mdct value is -17.2dB (relative to floor) 821 +0.45 dB atten if mdct value is -34.4dB (relative to floor) 1035 float **floor = alloca(ch*sizeof(*floor)); local [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
date-format-tofte.js | 62 var beat = Math.floor(theSeconds/86.4); 151 var h = ""+Math.floor(os/60); 220 return 1 + Math.floor( ( z() + nyDay ) / 7 ); 223 return 1 + Math.floor( ( z() - ( 7 - nyDay ) ) / 7 ); 262 return Math.floor(diff/1000/60/60/24);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
date-format-tofte.js | 62 var beat = Math.floor(theSeconds/86.4); 151 var h = ""+Math.floor(os/60); 220 return 1 + Math.floor( ( z() + nyDay ) / 7 ); 223 return 1 + Math.floor( ( z() - ( 7 - nyDay ) ) / 7 ); 262 return Math.floor(diff/1000/60/60/24);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
date-format-tofte.js | 62 var beat = Math.floor(theSeconds/86.4); 151 var h = ""+Math.floor(os/60); 220 return 1 + Math.floor( ( z() + nyDay ) / 7 ); 223 return 1 + Math.floor( ( z() - ( 7 - nyDay ) ) / 7 ); 262 return Math.floor(diff/1000/60/60/24);
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
DateMath.cpp | 28 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 159 const double yearsToAddBy4Rule = floor(yearMinusOne / 4.0) - leapDaysBefore1971By4Rule; 160 const double yearsToExcludeBy100Rule = floor(yearMinusOne / 100.0) - excludedLeapDaysBefore1971By100Rule; 161 const double yearsToAddBy400Rule = floor(yearMinusOne / 400.0) - leapDaysBefore1971By400Rule; 168 return floor(ms / msPerDay); 181 int approxYear = static_cast<int>(floor(ms / (msPerDay * 365.2425)) + 1970); 205 double result = fmod(floor(ms / msPerMinute), minutesPerHour); 213 double result = fmod(floor(ms/msPerHour), hoursPerDay); 305 double yearday = floor(daysFrom1970ToYear(year)); 468 + floor(1461 * (year + 4800.0 + (mon - 14) / 12) / 4 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_math.py | 385 self.assertRaises(TypeError, math.floor) 387 self.assertEqual(float, type(math.floor(1))) 388 self.assertEqual(float, type(math.floor(1L))) 389 self.assertEqual(float, type(math.floor(1.0))) 390 self.ftest('floor(0.5)', math.floor(0.5), 0) 391 self.ftest('floor(1.0)', math.floor(1.0), 1) 392 self.ftest('floor(1.5)', math.floor(1.5), 1 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_math.py | 385 self.assertRaises(TypeError, math.floor) 387 self.assertEqual(float, type(math.floor(1))) 388 self.assertEqual(float, type(math.floor(1L))) 389 self.assertEqual(float, type(math.floor(1.0))) 390 self.ftest('floor(0.5)', math.floor(0.5), 0) 391 self.ftest('floor(1.0)', math.floor(1.0), 1) 392 self.ftest('floor(1.5)', math.floor(1.5), 1 [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2185-2.js | 51 print("Short " + Math.floor(ms) + "ms"); 104 a.push(Math.floor(Math.random() * LEN)); 130 print(name + " " + Math.floor(ms) + "ms");
|
/external/stlport/stlport/stl/ |
_cmath.h | 347 # pragma function (ceil, floor) 370 _STLP_DMATH_INLINE(floor) 441 _STLP_DEF_MATH_INLINE(floor, floor) 517 # pragma intrinsic (ceil, floor) 563 using ::floor;
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 347 # pragma function (ceil, floor) 370 _STLP_DMATH_INLINE(floor) 441 _STLP_DEF_MATH_INLINE(floor, floor) 517 # pragma intrinsic (ceil, floor) 563 using ::floor;
|