Home
last modified time | relevance | path

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

12

/frameworks/rs/support/java/src/androidx/renderscript/
DMatrix4f.java315 public void loadPerspective(float fovy, float aspect, float near, float far) { in loadPerspective() argument
318 float left = bottom * aspect; in loadPerspective()
319 float right = top * aspect; in loadPerspective()
337 float aspect = ((float)w) / h; in loadProjectionNormalized() local
338 m1.loadFrustum(-aspect,aspect, -1,1, 1,100); in loadProjectionNormalized()
340 float aspect = ((float)h) / w; in loadProjectionNormalized() local
341 m1.loadFrustum(-1,1, -aspect,aspect, 1,100); in loadProjectionNormalized()
/frameworks/base/rs/java/android/renderscript/
DMatrix4f.java314 public void loadPerspective(float fovy, float aspect, float near, float far) { in loadPerspective() argument
317 float left = bottom * aspect; in loadPerspective()
318 float right = top * aspect; in loadPerspective()
336 float aspect = ((float)w) / h; in loadProjectionNormalized() local
337 m1.loadFrustum(-aspect,aspect, -1,1, 1,100); in loadProjectionNormalized()
339 float aspect = ((float)h) / w; in loadProjectionNormalized() local
340 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()
/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()
/frameworks/base/core/java/com/android/internal/policy/
DTaskResizingAlgorithm.java103 final float aspect = (float) width / (float) height; in resizeDrag() local
104 if (preserveOrientation && ((startOrientationWasLandscape && aspect < MIN_ASPECT) in resizeDrag()
105 || (!startOrientationWasLandscape && aspect > (1.0 / MIN_ASPECT)))) { in resizeDrag()
/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/av/media/module/foundation/include/media/stagefright/foundation/
DColorUtils.h121 int32_t range, ColorAspects::Range *aspect);
123 int32_t transfer, ColorAspects::Transfer *aspect);
/frameworks/av/media/module/foundation/
DColorUtils.cpp173 int32_t range, ColorAspects::Range *aspect) { in unwrapColorAspectsFromColorRange() argument
174 if (sRanges.map((ColorRange)range, aspect)) { in unwrapColorAspectsFromColorRange()
181 *aspect = (ColorAspects::Range)(range - start); in unwrapColorAspectsFromColorRange()
184 *aspect = ColorAspects::RangeOther; in unwrapColorAspectsFromColorRange()
215 int32_t transfer, ColorAspects::Transfer *aspect) { in unwrapColorAspectsFromColorTransfer() argument
216 if (sTransfers.map((ColorTransfer)transfer, aspect)) { in unwrapColorAspectsFromColorTransfer()
227 *aspect = (ColorAspects::Transfer)(transfer - start); in unwrapColorAspectsFromColorTransfer()
230 *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/base/core/java/android/content/res/
DCompatibilityInfo.java714 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling() local
715 if (aspect > MAXIMUM_ASPECT_RATIO) { in computeCompatibleScaling()
716 aspect = MAXIMUM_ASPECT_RATIO; in computeCompatibleScaling()
718 int newLongSize = (int)(newShortSize * aspect + 0.5f); in computeCompatibleScaling()
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Dsnow_effect.agsl74 // TODO: adjust grid size based on aspect ratio.
114 // TODO: adjust grid size based on aspect ratio
Drain_shower.agsl26 * @param screenAspectRatio the aspect ratio of the fragment where we will display the effect.
Dsnow.agsl36 * @param screenAspectRatio the aspect ratio of the fragment where we will display the effect.
/frameworks/base/startop/apps/test/
DREADME.md5 different aspect of startup testing.
/frameworks/native/libs/math/include/math/
Dmat4.h293 …static CONSTEXPR TMat44 perspective(T fov, T aspect, T near, T far, Fov direction = Fov::VERTICAL);
481 CONSTEXPR TMat44<T> TMat44<T>::perspective(T fov, T aspect, T near, T far, TMat44::Fov direction) { in perspective() argument
487 w = h * aspect; in perspective()
490 h = w / aspect; in perspective()
/frameworks/av/media/aconfig/
Dcodec_fwk.aconfig19 description: "Feature flag for dynamic color aspect support"
/frameworks/base/core/java/android/window/flags/
Dlarge_screen_experiences_app_compat.aconfig114 description: "Enables sysui animation for user aspect ratio button"
Dwindowing_frontend.aconfig189 description: "The aspect ratio should always match when drawing snapshot"
/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/proto_logging/stats/atoms/media/
Dmedia_editing_extension_atoms.proto124 // First input media item's aspect ratio.
187 // Output media item's aspect ratio.
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java329 final String aspect = a.getString(R.styleable.LockPatternView_aspect); in LockPatternView() local
331 if ("square".equals(aspect)) { in LockPatternView()
333 } else if ("lock_width".equals(aspect)) { in LockPatternView()
335 } else if ("lock_height".equals(aspect)) { in LockPatternView()

12