/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | FixedAspectSurfaceView.java | 31 * A SurfaceView that maintains its aspect ratio to be a desired target value. 34 * requested aspect ratio. This can happen if both the width and the height are exactly 37 * the dimension that is best adjusted to maintain the aspect ratio.</p> 51 // Get initial aspect ratio from custom attributes 61 * Set the desired aspect ratio for this view. 63 * @param aspect the desired width/height ratio in the current UI orientation. Must be a 66 public void setAspectRatio(float aspect) { argument 67 if (aspect <= 0) { 70 mAspectRatio = aspect; 93 // General goal: Adjust dimensions to maintain the requested aspect rati [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/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/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); 189 float fovy, float aspect, float near, float far) { 190 SC_MatrixLoadPerspective((Matrix4x4 *) m, fovy, aspect, near, far); 188 rsMatrixLoadPerspective(rs_matrix4x4 *m, float fovy, float aspect, float near, float far) argument
|
/frameworks/rs/ |
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;
|
/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/av/media/libstagefright/foundation/ |
H A D | ColorUtils.cpp | 168 int32_t range, ColorAspects::Range *aspect) { 169 if (sRanges.map((ColorRange)range, aspect)) { 176 *aspect = (ColorAspects::Range)(range - start); 179 *aspect = ColorAspects::RangeOther; 210 int32_t transfer, ColorAspects::Transfer *aspect) { 211 if (sTransfers.map((ColorTransfer)transfer, aspect)) { 222 *aspect = (ColorAspects::Transfer)(transfer - start); 225 *aspect = ColorAspects::TransferOther; 350 // Default to BT2020, BT709 or BT601 based on size. Allow 2.35:1 aspect ratio. Limit BT601 167 unwrapColorAspectsFromColorRange( int32_t range, ColorAspects::Range *aspect) argument 209 unwrapColorAspectsFromColorTransfer( int32_t transfer, ColorAspects::Transfer *aspect) argument
|
/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;
|