Home
last modified time | relevance | path

Searched refs:PI (Results 1 – 23 of 23) sorted by relevance

/development/ndk/platforms/android-4/samples/san-angeles/jni/
Ddemo.c39 #undef PI
40 #define PI 3.1415926535897932f macro
230 float t1 = -PI + longitude * 2 * PI / resol1; in createSuperShape()
231 float t2 = -PI + (longitude + 1) * 2 * PI / resol1; in createSuperShape()
232 float p1 = -PI / 2 + latitude * 2 * PI / resol2; in createSuperShape()
233 float p2 = -PI / 2 + (latitude + 1) * 2 * PI / resol2; in createSuperShape()
507 ymax = zNear * (GLfloat)tan(fovy * PI / 360); in gluPerspective()
/development/apps/OBJViewer/com/android/objviewer/
DOBJViewer.java45 private static final float PI = (float)Math.PI; field in OBJView
46 private static final float TWO_PI = (float)(2.0*Math.PI);
47 private static final float PI_OVER_TWO = (float)(Math.PI/2.0);
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DSweepWatchFaceService.java202 float tickRot = (float) (tickIndex * Math.PI * 2 / 12); in onDraw()
212 float secRot = seconds / 30f * (float) Math.PI; in onDraw()
214 float minRot = minutes / 30f * (float) Math.PI; in onDraw()
215 float hrRot = ((mTime.hour + (minutes / 60f)) / 6f ) * (float) Math.PI; in onDraw()
DAnalogWatchFaceService.java239 float tickRot = (float) (tickIndex * Math.PI * 2 / 12); in onDraw()
248 float secRot = mTime.second / 30f * (float) Math.PI; in onDraw()
250 float minRot = minutes / 30f * (float) Math.PI; in onDraw()
251 float hrRot = ((mTime.hour + (minutes / 60f)) / 6f ) * (float) Math.PI; in onDraw()
DTiltWatchFaceService.java202 final float cameraAngle = (float) (((float) i) / mNumCameraAngles * 2 * Math.PI); in onGlContextCreated()
/development/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/
DDialView.java231 Double startAngle = Math.PI * (9 / 8d); // Angles are in radiansq in computeXYForPosition()
232 Double angle = startAngle + (pos * (Math.PI / 4)); in computeXYForPosition()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DKube.java259 mAngleIncrement = (float)Math.PI / 50; in animate()
260 mEndAngle = mCurrentAngle + ((float)Math.PI * count) / 2f; in animate()
262 mAngleIncrement = -(float)Math.PI / 50; in animate()
263 mEndAngle = mCurrentAngle - ((float)Math.PI * count) / 2f; in animate()
DLayer.java47 float twopi = (float)Math.PI *2f; in setAngle()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DColorPickerDialog.java164 private static final float PI = 3.1415926f; field in ColorPickerDialog.ColorPickerView
189 float unit = angle/(2*PI); in onTouchEvent()
DMatrixPaletteRenderer.java344 float unitAngle = (float) Math.cos(animationUnit * 2 * Math.PI); in onDrawFrame()
393 double angle = Math.PI * 2 * i / uSteps; in generateWeightedGrid()
DCubeMapActivity.java168 double angleV = Math.PI * 2 * j / vSteps; in generateTorusGrid()
172 double angleU = Math.PI * 2 * i / uSteps; in generateTorusGrid()
DTouchPaint.java494 canvas.rotate((float) (orientation * 180 / Math.PI), x, y); in drawOval()
532 double direction = mRandom.nextDouble() * Math.PI * 2; in drawSplat()
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DMainActivity.java265 final float max = (float) Math.PI; in getFilterParameter()
266 final float min = (float) -Math.PI; in getFilterParameter()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java447 float direction = mRandom.nextFloat() * (float) Math.PI * 2;
590 private static final float CORNER_ANGLE = (float) Math.PI * 2 / 3;
591 private static final float TO_DEGREES = (float) (180.0 / Math.PI);
/development/samples/Compass/src/com/example/android/compass/
DCompassActivity.java232 final float rad2deg = (float)(180.0f/Math.PI); in onSensorChanged()
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java435 float direction = mRandom.nextFloat() * (float) Math.PI * 2; in step()
640 private static final float CORNER_ANGLE = (float) Math.PI * 2 / 3;
641 private static final float TO_DEGREES = (float) (180.0 / Math.PI);
/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java732 double radians = 2 * Math.PI * mHeading / 360; in updatePhysics()
/development/perftests/panorama/input/
Dtest_006.ppm1937 =,( B7TJ']Z(da/PI".'?0!* &�������
2250 ��� �PI/�#!
3282 SJ1lbJ/!������3! ) �� ��  �#QC58*- �'A5IBPI"VT]["ut=zxBWR-]X3d^Bb]AQE,�u[f[L…
5476 …������������������������������������������������������������%1//<:->;->;<PI���������������������…
6337 …����������������ƻ������llgP_T4`V5h`C�z]��x��|�������������������������|b^W=PI'd];������z{gabOnq`vz…
7180 …��a�TXR' �" *#B;3H>4XOD^VEmeTmfOibKxuTifE[X7]Y8<>BDEH ilD__6hh?VS0DBPI'mfDh]<qfEl`=wlIPEWL…
Dtest_003.ppm2568PI%�QJ(>7ni8��[|~KwzFJJ!''�YX6ML*���
4186 7.&QH?QJ?PI>RMBVQEVPBTOAXP?WO>(
7057 &D;0H>4RI>VLBd[Jg_MidHqlPfbBa^=`_=?>>A?BLO%BDVV/ee>ZV3<7PI'leCkfAVQ,XS,WR*51A=`_4nmBBE-0…
9274 …60E=,OF5PJ8VP>^[EgeOffO[[D^^FggPQM;miWuo^^XFYSBWQ??:(3-:6'<8)51"EB3=7)60"PI>}vl��~������bYOOE=A7…
Dtest_008.ppm3788PI/.'�� ��.#J>8XLF}ut�������|zaYXQIHaYXd[Zg_^kba_WV;31%
5202 …,.#&-,54 0/:8&ZYFML:PJ:`ZJe]Otl^zqanfVlfTWQ?LI6QM;B>,?<)30LJ1KF/B=&81PI/YT;50'';>;�����…
6942 �4,D;3I?7YMDZOE`XH_WFnhJsmOig?wuMppHLL#=?OQ'?C15JM ^a4]Z5;8EAd_<g`<VO*PI"TM';5 B<^]1hg<EF13…
Dtest_007.ppm5303 …�ʹ�ͻ�л�ϼ�л�л�н�Ͻ�Ͼ�о�о����������������������������������������ڄ�zSSILJ=IF:PI>PI>dZRi`Xzne�}t��{��~…
9191 …�{k�|l��u��s��p��t��t��t��w����{_if0�J`_(:8ba5][/{uYXR6ME5WO>_WIRJ<MD:PF<PI>OH=OJ>RMBVQEZVJifTYV…
Dtest_034.ppm9627 …8 "=(D">,D4L 7:68D8C7A5C7A5H<E:F;F;I=I>MC PI%OH#JCQJ&YM*ZO,TI(RF&_Q1fX8]O-WI'ZI(…
Dtest_012.ppm6063 …140314351301436553751717/65<683533555613010133//#>75PI3-,&#!� .0')…