/packages/apps/Gallery3D/src/com/cooliris/media/ |
Utils.java | 299 (int) Math.ceil(Math.sqrt(w * h / maxNumOfPixels)); 301 (int) Math.min(Math.floor(w / minSideLength), 302 Math.floor(h / minSideLength));
|
/external/quake/quake/src/QW/client/ |
qwcl.plg | 93 cl /EP > .\Release\math.spp .\math.s
94 ..\gas2masm\debug\gas2masm.exe < .\Release\math.spp >.\Release\math.asm
95 ml /c /Cp /coff /Fo.\Release\math.obj /Zm /Zi .\Release\math.asm
96 del .\Release\math.spp
244 Performing Custom Build Step on .\math.s
248 math.s
252 Assembling: .\Release\math.asm [all...] |
/dalvik/libcore/math/src/test/java/org/apache/harmony/math/tests/java/math/ |
BigDecimalConstructorsTest.java | 22 package org.apache.harmony.math.tests.java.math; 30 import java.math.BigDecimal; 31 import java.math.BigInteger; 32 import java.math.MathContext; 33 import java.math.RoundingMode; 36 * Class: java.math.BigDecimal 92 args = {java.math.BigInteger.class} 116 args = {java.math.BigInteger.class, int.class} 134 args = {java.math.BigInteger.class, java.math.MathContext.class [all...] |
BigDecimalScaleOperationsTest.java | 22 package org.apache.harmony.math.tests.java.math; 31 import java.math.BigDecimal; 32 import java.math.BigInteger; 33 import java.math.RoundingMode; 36 * Class: java.math.BigDecimal
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CubeMapActivity.java | 168 double angleV = Math.PI * 2 * j / vSteps; 169 float cosV = (float) Math.cos(angleV); 170 float sinV = (float) Math.sin(angleV); 172 double angleU = Math.PI * 2 * i / uSteps; 173 float cosU = (float) Math.cos(angleU); 174 float sinU = (float) Math.sin(angleU); 184 float length = (float) Math.sqrt(nx*nx + ny*ny + nz*nz);
|
/packages/apps/Browser/src/com/android/browser/ |
WebStorageSizeManager.java | 195 mAppCacheMaxSize = Math.max(mGlobalLimit / 4, 282 Math.min(QUOTA_INCREASE_STEP, totalUnusedQuota) : 371 2 << ((int) Math.floor(Math.log10( 373 long maxSizeBytes = (long) Math.min(Math.floor( 375 Math.floor(freeSpaceBytes / 2));
|
/prebuilt/linux-x86/toolchain/sh-4.3.3/libexec/gcc/sh-linux-gnu/4.3.3/install-tools/ |
fixincl | |
/frameworks/base/opengl/java/android/opengl/ |
Matrix.java | 22 * Matrix math utilities. These methods operate on OpenGL ES format 343 return (float) Math.sqrt(x * x + y * y + z * z); 497 a *= (float) (Math.PI / 180.0f); 498 float s = (float) Math.sin(a); 499 float c = (float) Math.cos(a); 555 x *= (float) (Math.PI / 180.0f); 556 y *= (float) (Math.PI / 180.0f); 557 z *= (float) (Math.PI / 180.0f); 558 float cx = (float) Math.cos(x); 559 float sx = (float) Math.sin(x) [all...] |
/development/apps/Term/src/com/android/term/ |
Term.java | 358 val = Math.max(0, Math.min(val, maxValue)); 784 int expansionRows = Math.min(1, mTotalRows - mActiveRows); [all...] |
/frameworks/base/core/java/android/webkit/ |
WebView.java | [all...] |
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
LunarView.java | 295 mDY = Math.random() * -speedInit; 296 mDX = Math.random() * 2 * speedInit - speedInit; 301 mGoalX = (int) (Math.random() * (mCanvasWidth - mGoalWidth)); 302 if (Math.abs(mGoalX - (mX - mLanderWidth / 2)) > mCanvasHeight / 6) 627 double speed = Math.sqrt(mDX * mDX + mDY * mDY); 722 double radians = 2 * Math.PI * mHeading / 360; 723 ddx = Math.sin(radians) * accel; 724 ddy += Math.cos(radians) * accel; 749 double speed = Math.sqrt(mDX * mDX + mDY * mDY); 755 if (onGoal && Math.abs(mHeading - 180) < mGoalAngl [all...] |
/external/quake/quake/src/WinQuake/ |
WinQuake.plg | 102 cl /EP > .\Release\math.spp .\math.s
103 gas2masm\debug\gas2masm < .\Release\math.spp > .\Release\math.asm
104 ml /c /Cp /coff /Fo.\Release\math.obj /Zm /Zi .\Release\math.asm
105 del .\Release\math.spp
266 math.s
270 Assembling: .\Release\math.asm
496 ".\Release\math.obj" [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
RotarySelector.java | 344 // draw circle bounding arc drawable: good sanity check we're doing the math correctly 474 (int) Math.sqrt(middleRadius * middleRadius - triangleBottom * triangleBottom); 542 final int velocity = Math.max(mMinimumVelocity, rawVelocity); 543 mDimplesOfFling = Math.max( 545 Math.abs(velocity / mDimpleSpacing)); 562 final int velocity = Math.min(-mMinimumVelocity, rawVelocity); 563 mDimplesOfFling = Math.max( 565 Math.abs(velocity / mDimpleSpacing)); 577 && Math.abs(eventX - mLeftHandleX) > 5) { 581 && Math.abs(eventX - mRightHandleX) > 5) [all...] |
/bionic/libm/include/ |
math.h | 14 * $FreeBSD: src/lib/msun/src/math.h,v 1.61 2005/04/16 21:12:47 das Exp $ 81 /* XXX We need a <machine/math.h>. */ 170 /* Old value from 4.4BSD-Lite math.h; this is probably better. */ 288 * BSD math library entry points 373 * float versions of BSD math library entry points 402 * long double versions of ISO/POSIX math functions
|
/external/dropbear/libtomcrypt/ |
makefile.msvc | 39 src/math/fp/ltc_ecc_fp_mulmod.obj src/math/gmp_desc.obj src/math/ltm_desc.obj src/math/multi.obj \ 40 src/math/rand_prime.obj src/math/tfm_desc.obj src/misc/base64/base64_decode.obj \
|
/external/kernel-headers/original/linux/ |
jiffies.h | 142 * is a constant and is in nanoseconds. We will used scaled math 148 * Scaled math??? What is that? 150 * Scaled math is a way to do integer math on values that would, 160 * simple math is: jiff = (sec * NSEC_PER_SEC) / NSEC_PER_JIFFIE; We 174 * Often the math we use will expand beyond 32-bits so we tell C how to
|
/external/v8/test/mjsunit/ |
number-tostring-small.js | 117 (Math.pow(2,32)-1).toString(16); 118 (Math.pow(2,32)-1).toString(2); 126 (Math.pow(2,32) + 1).toString(2); 130 (-(Math.pow(2,32)-1)).toString(2); 132 (-Math.pow(2,32)).toString(2); 133 (-(Math.pow(2,32) + 1)).toString(2);
|
/frameworks/base/core/java/android/widget/ |
FrameLayout.java | 246 maxWidth = Math.max(maxWidth, child.getMeasuredWidth()); 247 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); 256 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 257 maxWidth = Math.max(maxWidth, getSuggestedMinimumWidth()); 262 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); 263 maxWidth = Math.max(maxWidth, drawable.getMinimumWidth());
|
/ndk/build/platforms/android-3/arch-arm/usr/include/ |
math.h | 14 * $FreeBSD: src/lib/msun/src/math.h,v 1.61 2005/04/16 21:12:47 das Exp $ 81 /* XXX We need a <machine/math.h>. */ 170 /* Old value from 4.4BSD-Lite math.h; this is probably better. */ 288 * BSD math library entry points 373 * float versions of BSD math library entry points 402 * long double versions of ISO/POSIX math functions
|
/ndk/build/platforms/android-4/arch-arm/usr/include/ |
math.h | 14 * $FreeBSD: src/lib/msun/src/math.h,v 1.61 2005/04/16 21:12:47 das Exp $ 81 /* XXX We need a <machine/math.h>. */ 170 /* Old value from 4.4BSD-Lite math.h; this is probably better. */ 288 * BSD math library entry points 373 * float versions of BSD math library entry points 402 * long double versions of ISO/POSIX math functions
|
/ndk/build/platforms/android-5/arch-arm/usr/include/ |
math.h | 14 * $FreeBSD: src/lib/msun/src/math.h,v 1.61 2005/04/16 21:12:47 das Exp $ 81 /* XXX We need a <machine/math.h>. */ 170 /* Old value from 4.4BSD-Lite math.h; this is probably better. */ 288 * BSD math library entry points 373 * float versions of BSD math library entry points 402 * long double versions of ISO/POSIX math functions
|
/ndk/build/platforms/android-5/arch-x86/usr/include/ |
math.h | 14 * $FreeBSD: src/lib/msun/src/math.h,v 1.61 2005/04/16 21:12:47 das Exp $ 81 /* XXX We need a <machine/math.h>. */ 170 /* Old value from 4.4BSD-Lite math.h; this is probably better. */ 288 * BSD math library entry points 373 * float versions of BSD math library entry points 402 * long double versions of ISO/POSIX math functions
|
/ndk/build/platforms/android-8/arch-arm/usr/include/ |
math.h | 14 * $FreeBSD: src/lib/msun/src/math.h,v 1.61 2005/04/16 21:12:47 das Exp $ 81 /* XXX We need a <machine/math.h>. */ 170 /* Old value from 4.4BSD-Lite math.h; this is probably better. */ 288 * BSD math library entry points 373 * float versions of BSD math library entry points 402 * long double versions of ISO/POSIX math functions
|
/ndk/build/platforms/android-8/arch-x86/usr/include/ |
math.h | 14 * $FreeBSD: src/lib/msun/src/math.h,v 1.61 2005/04/16 21:12:47 das Exp $ 81 /* XXX We need a <machine/math.h>. */ 170 /* Old value from 4.4BSD-Lite math.h; this is probably better. */ 288 * BSD math library entry points 373 * float versions of BSD math library entry points 402 * long double versions of ISO/POSIX math functions
|
/frameworks/base/awt/java/awt/geom/ |
Point2D.java | 268 return Math.sqrt(distanceSq(x1, y1, x2, y2)); 281 return Math.sqrt(distanceSq(px, py)); 292 return Math.sqrt(distanceSq(p));
|