Home
last modified time | relevance | path

Searched refs:aspect (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
DMatrix4f.java310 public void loadPerspective(float fovy, float aspect, float near, float far) { in loadPerspective() argument
313 float left = bottom * aspect; in loadPerspective()
314 float right = top * aspect; in loadPerspective()
332 float aspect = ((float)w) / h; in loadProjectionNormalized() local
333 m1.loadFrustum(-aspect,aspect, -1,1, 1,100); in loadProjectionNormalized()
335 float aspect = ((float)h) / w; in loadProjectionNormalized() local
336 m1.loadFrustum(-1,1, -aspect,aspect, 1,100); in loadProjectionNormalized()
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DMatrix4f.java311 public void loadPerspective(float fovy, float aspect, float near, float far) { in loadPerspective() argument
314 float left = bottom * aspect; in loadPerspective()
315 float right = top * aspect; in loadPerspective()
333 float aspect = ((float)w) / h; in loadProjectionNormalized() local
334 m1.loadFrustum(-aspect,aspect, -1,1, 1,100); in loadProjectionNormalized()
336 float aspect = ((float)h) / w; in loadProjectionNormalized() local
337 m1.loadFrustum(-1,1, -aspect,aspect, 1,100); in loadProjectionNormalized()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DFixedAspectSurfaceView.java66 public void setAspectRatio(float aspect) { in setAspectRatio() argument
67 if (aspect <= 0) { in setAspectRatio()
70 mAspectRatio = aspect; in setAspectRatio()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DFixedAspectSurfaceView.java66 public void setAspectRatio(float aspect) { in setAspectRatio() argument
67 if (aspect <= 0) { in setAspectRatio()
70 mAspectRatio = aspect; in setAspectRatio()
DCameraOps.java151 float aspect = 16/9f; in resume() local
/frameworks/base/opengl/java/android/opengl/
DGLU.java111 public static void gluPerspective(GL10 gl, float fovy, float aspect, in gluPerspective() argument
115 float left = bottom * aspect; in gluPerspective()
116 float right = top * aspect; in gluPerspective()
DMatrix.java381 float fovy, float aspect, float zNear, float zFar) { in perspectiveM() argument
385 m[offset + 0] = f / aspect; in perspectiveM()
/frameworks/rs/cpu_ref/
DrsCpuRuntimeMath.cpp80 static void SC_MatrixLoadPerspective(Matrix4x4 *m, float fovy, float aspect, float near, float far)… in SC_MatrixLoadPerspective() argument
81 m->loadPerspective(fovy, aspect, near, far); in SC_MatrixLoadPerspective()
186 float fovy, float aspect, float near, float far) { in rsMatrixLoadPerspective() argument
187 SC_MatrixLoadPerspective((Matrix4x4 *) m, fovy, aspect, near, far); in rsMatrixLoadPerspective()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java503 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling() local
504 if (aspect > MAXIMUM_ASPECT_RATIO) { in computeCompatibleScaling()
505 aspect = MAXIMUM_ASPECT_RATIO; in computeCompatibleScaling()
507 int newLongSize = (int)(newShortSize * aspect + 0.5f); in computeCompatibleScaling()
/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp168 int32_t range, ColorAspects::Range *aspect) { in unwrapColorAspectsFromColorRange() argument
169 if (sRanges.map((ColorRange)range, aspect)) { in unwrapColorAspectsFromColorRange()
176 *aspect = (ColorAspects::Range)(range - start); in unwrapColorAspectsFromColorRange()
179 *aspect = ColorAspects::RangeOther; in unwrapColorAspectsFromColorRange()
210 int32_t transfer, ColorAspects::Transfer *aspect) { in unwrapColorAspectsFromColorTransfer() argument
211 if (sTransfers.map((ColorTransfer)transfer, aspect)) { in unwrapColorAspectsFromColorTransfer()
222 *aspect = (ColorAspects::Transfer)(transfer - start); in unwrapColorAspectsFromColorTransfer()
225 *aspect = ColorAspects::TransferOther; in unwrapColorAspectsFromColorTransfer()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DColorUtils.h120 int32_t range, ColorAspects::Range *aspect);
122 int32_t transfer, ColorAspects::Transfer *aspect);
/frameworks/rs/
DrsMatrix4x4.cpp298 void Matrix4x4::loadPerspective(float fovy, float aspect, float near, float far) { in loadPerspective() argument
301 float left = bottom * aspect; in loadPerspective()
302 float right = top * aspect; in loadPerspective()
DrsMatrix4x4.h49 void loadPerspective(float fovy, float aspect, float near, float far);
DrsRuntime.h214 void rsrMatrixLoadPerspective(rs_matrix4x4* m, float fovy, float aspect, float near, float far);
/frameworks/native/libs/math/include/math/
Dmat4.h285 …static CONSTEXPR TMat44 perspective(T fov, T aspect, T near, T far, Fov direction = Fov::VERTICAL);
473 CONSTEXPR TMat44<T> TMat44<T>::perspective(T fov, T aspect, T near, T far, TMat44::Fov direction) { in perspective() argument
479 w = h * aspect; in perspective()
482 h = w / aspect; in perspective()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioner.java482 final float aspect = (float) width / (float) height; in resizeDrag() local
483 if (mPreserveOrientation && ((mStartOrientationWasLandscape && aspect < MIN_ASPECT) in resizeDrag()
484 || (!mStartOrientationWasLandscape && aspect > (1.0 / MIN_ASPECT)))) { in resizeDrag()
/frameworks/native/opengl/tests/angeles/
Ddemo.c502 static void gluPerspective(GLfloat fovy, GLfloat aspect, in gluPerspective() argument
509 xmin = ymin * aspect; in gluPerspective()
510 xmax = ymax * aspect; in gluPerspective()
DREADME.txt65 erroneously in some aspect. This may indicate that the demo source
/frameworks/opt/telephony/
DREADME.txt3 A criticial aspect of this class is that most objects in this
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java284 final String aspect = a.getString(R.styleable.LockPatternView_aspect); in LockPatternView() local
286 if ("square".equals(aspect)) { in LockPatternView()
288 } else if ("lock_width".equals(aspect)) { in LockPatternView()
290 } else if ("lock_height".equals(aspect)) { in LockPatternView()
/frameworks/base/core/java/android/app/
DWallpaperManager.java1524 float aspect = (float)minimumHeight / (float)minimumWidth; in suggestDesiredDimensions() local
1527 minimumHeight = (int)((minimumWidth * aspect) + 0.5); in suggestDesiredDimensions()
1530 minimumWidth = (int)((minimumHeight / aspect) + 0.5); in suggestDesiredDimensions()
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt37 Shader compilation and optimization has been a troublesome aspect of OpenGL
/frameworks/rs/script_api/include/
Drs_matrix.rsh358 * aspect: Ratio of x / y.
363 rsMatrixLoadPerspective(rs_matrix4x4* m, float fovy, float aspect, float near, float far);
/frameworks/rs/script_api/
Drs_matrix.spec329 arg: float aspect, "Ratio of x / y."
/frameworks/base/proto/src/
Dmetrics_constants.proto3507 // logged when the aspect ratio changes
3510 // The current aspect ratio of the PiP, logged when it changes.