Searched refs:aspect (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
H A DMatrix4f.java306 * @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 DMatrix4f.java307 * @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 DGLU.java103 * @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 DMatrix.java370 * 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 DrsMatrix4x4.h49 void loadPerspective(float fovy, float aspect, float near, float far);
H A DrsMatrix4x4.cpp298 void Matrix4x4::loadPerspective(float fovy, float aspect, float near, float far) { argument
301 float left = bottom * aspect;
302 float right = top * aspect;
H A DrsRuntime.h206 void rsrMatrixLoadPerspective(rs_matrix4x4* m, float fovy, float aspect, float near, float far);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DUiTest.java181 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 DCamera.java44 mData.aspect = 0;
H A DColladaParser.java458 float aspect = getFloat(camera, "aspect_ratio");
459 fov = getFloat(camera, "xfov") / aspect;
/frameworks/rs/cpu_ref/
H A DrsCpuRuntimeMath.cpp83 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 DCompatibilityInfo.java49 * 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 DWallpaperManager.java933 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 Drs_matrix.rsh394 * @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 DLockPatternView.java254 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 Ddemo.c502 static void gluPerspective(GLfloat fovy, GLfloat aspect, argument
509 xmin = ymin * aspect;
510 xmax = ymax * aspect;

Completed in 1104 milliseconds