/frameworks/base/rs/java/android/renderscript/ |
H A D | Matrix4f.java | 306 * @param aspect aspect ratio of the screen 310 public void loadPerspective(float fovy, float aspect, float near, float far) { argument 313 float left = bottom * aspect; 314 float right = top * aspect; 320 * projection matrix with aspect ratio defined by the parameters 332 float aspect = ((float)w) / h; 333 m1.loadFrustum(-aspect,aspect, -1,1, 1,100); 335 float aspect [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Matrix4f.java | 307 * @param aspect aspect ratio of the screen 311 public void loadPerspective(float fovy, float aspect, float near, float far) { argument 314 float left = bottom * aspect; 315 float right = top * aspect; 321 * projection matrix with aspect ratio defined by the parameters 333 float aspect = ((float)w) / h; 334 m1.loadFrustum(-aspect,aspect, -1,1, 1,100); 336 float aspect [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLU.java | 103 * @param aspect specifies the aspect ration that determins the field of 104 * view in the x direction. The aspect ratio is the ratio of x 111 public static void gluPerspective(GL10 gl, float fovy, float aspect, argument 115 float left = bottom * aspect; 116 float right = top * aspect;
|
H A D | Matrix.java | 370 * aspect ratio, and z clip planes. 376 * @param aspect width to height aspect ratio of the viewport 381 float fovy, float aspect, float zNear, float zFar) { 385 m[offset + 0] = f / aspect; 380 perspectiveM(float[] m, int offset, float fovy, float aspect, float zNear, float zFar) argument
|
/frameworks/rs/ |
H A D | rsMatrix4x4.h | 49 void loadPerspective(float fovy, float aspect, float near, float far);
|
H A D | rsMatrix4x4.cpp | 298 void Matrix4x4::loadPerspective(float fovy, float aspect, float near, float far) { argument 301 float left = bottom * aspect; 302 float right = top * aspect;
|
H A D | rsRuntime.h | 206 void rsrMatrixLoadPerspective(rs_matrix4x4* m, float fovy, float aspect, float near, float far);
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | UiTest.java | 181 float aspect = ((float)w) / h; 182 m1.loadFrustum(-aspect,aspect, -1,1, 1,100); 184 float aspect = ((float)h) / w; 185 m1.loadFrustum(-1,1, -aspect,aspect, 1,100);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | Camera.java | 44 mData.aspect = 0;
|
H A D | ColladaParser.java | 458 float aspect = getFloat(camera, "aspect_ratio");
459 fov = getFloat(camera, "xfov") / aspect;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuRuntimeMath.cpp | 83 static void SC_MatrixLoadPerspective(Matrix4x4 *m, float fovy, float aspect, float near, float far) { argument 84 m->loadPerspective(fovy, aspect, near, far); 198 float fovy, float aspect, float near, float far) { 199 SC_MatrixLoadPerspective((Matrix4x4 *) m, fovy, aspect, near, far); 197 rsMatrixLoadPerspective(rs_matrix4x4 *m, float fovy, float aspect, float near, float far) argument
|
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 49 * This is the maximum aspect ratio we will allow while keeping 489 float aspect = ((float)longSize) / shortSize; 490 if (aspect > MAXIMUM_ASPECT_RATIO) { 491 aspect = MAXIMUM_ASPECT_RATIO; 493 int newLongSize = (int)(newShortSize * aspect + 0.5f);
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 933 float aspect = (float)minimumHeight / (float)minimumWidth; 936 minimumHeight = (int)((minimumWidth * aspect) + 0.5); 939 minimumWidth = (int)((minimumHeight / aspect) + 0.5);
|
/frameworks/rs/scriptc/ |
H A D | rs_matrix.rsh | 394 * @param aspect Ratio of x / y. 399 rsMatrixLoadPerspective(rs_matrix4x4* m, float fovy, float aspect, float near, float far);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 254 final String aspect = a.getString(R.styleable.LockPatternView_aspect); 256 if ("square".equals(aspect)) { 258 } else if ("lock_width".equals(aspect)) { 260 } else if ("lock_height".equals(aspect)) {
|
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 502 static void gluPerspective(GLfloat fovy, GLfloat aspect, argument 509 xmin = ymin * aspect; 510 xmax = ymax * aspect;
|