Home
last modified time | relevance | path

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

12

/frameworks/base/rs/java/android/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/support/java/src/androidx/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/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/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/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.java522 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling() local
523 if (aspect > MAXIMUM_ASPECT_RATIO) { in computeCompatibleScaling()
524 aspect = MAXIMUM_ASPECT_RATIO; in computeCompatibleScaling()
526 int newLongSize = (int)(newShortSize * aspect + 0.5f); in computeCompatibleScaling()
/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/av/media/libstagefright/foundation/
DColorUtils.cpp169 int32_t range, ColorAspects::Range *aspect) { in unwrapColorAspectsFromColorRange() argument
170 if (sRanges.map((ColorRange)range, aspect)) { in unwrapColorAspectsFromColorRange()
177 *aspect = (ColorAspects::Range)(range - start); in unwrapColorAspectsFromColorRange()
180 *aspect = ColorAspects::RangeOther; in unwrapColorAspectsFromColorRange()
211 int32_t transfer, ColorAspects::Transfer *aspect) { in unwrapColorAspectsFromColorTransfer() argument
212 if (sTransfers.map((ColorTransfer)transfer, aspect)) { in unwrapColorAspectsFromColorTransfer()
223 *aspect = (ColorAspects::Transfer)(transfer - start); in unwrapColorAspectsFromColorTransfer()
226 *aspect = ColorAspects::TransferOther; in unwrapColorAspectsFromColorTransfer()
/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.java512 final float aspect = (float) width / (float) height; in resizeDrag() local
513 if (mPreserveOrientation && ((mStartOrientationWasLandscape && aspect < MIN_ASPECT) in resizeDrag()
514 || (!mStartOrientationWasLandscape && aspect > (1.0 / MIN_ASPECT)))) { in resizeDrag()
DTaskRecord.java2288 final float aspect = ((float) parentHeight) / parentWidth; in computeFullscreenBounds() local
2290 final int height = (int) (parentWidth / aspect); in computeFullscreenBounds()
2294 final int width = (int) (parentHeight * aspect); in computeFullscreenBounds()
/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.java300 final String aspect = a.getString(R.styleable.LockPatternView_aspect); in LockPatternView() local
302 if ("square".equals(aspect)) { in LockPatternView()
304 } else if ("lock_width".equals(aspect)) { in LockPatternView()
306 } else if ("lock_height".equals(aspect)) { in LockPatternView()
/frameworks/opt/gamesdk/third_party/cube/app/src/main/cpp/
Dlinmath.h322 static inline void mat4x4_perspective(mat4x4 m, float y_fov, float aspect, float n, float f) { in mat4x4_perspective() argument
327 m[0][0] = a / aspect; in mat4x4_perspective()
/frameworks/base/core/java/android/app/
DWallpaperManager.java1562 float aspect = (float)minimumHeight / (float)minimumWidth; in suggestDesiredDimensions() local
1565 minimumHeight = (int)((minimumWidth * aspect) + 0.5); in suggestDesiredDimensions()
1568 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);

12