/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Matrix4f.java | 315 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/ |
D | Matrix4f.java | 314 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/ |
D | FixedAspectSurfaceView.java | 66 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/ |
D | FixedAspectSurfaceView.java | 66 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/ |
D | GLU.java | 111 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/ |
D | TaskResizingAlgorithm.java | 103 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/ |
D | rsCpuRuntimeMath.cpp | 80 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/ |
D | ColorUtils.h | 121 int32_t range, ColorAspects::Range *aspect); 123 int32_t transfer, ColorAspects::Transfer *aspect);
|
/frameworks/av/media/module/foundation/ |
D | ColorUtils.cpp | 173 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/ |
D | rsMatrix4x4.cpp | 298 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()
|
D | rsMatrix4x4.h | 49 void loadPerspective(float fovy, float aspect, float near, float far);
|
D | rsRuntime.h | 214 void rsrMatrixLoadPerspective(rs_matrix4x4* m, float fovy, float aspect, float near, float far);
|
/frameworks/base/core/java/android/content/res/ |
D | CompatibilityInfo.java | 714 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/ |
D | snow_effect.agsl | 74 // TODO: adjust grid size based on aspect ratio. 114 // TODO: adjust grid size based on aspect ratio
|
D | rain_shower.agsl | 26 * @param screenAspectRatio the aspect ratio of the fragment where we will display the effect.
|
D | snow.agsl | 36 * @param screenAspectRatio the aspect ratio of the fragment where we will display the effect.
|
/frameworks/base/startop/apps/test/ |
D | README.md | 5 different aspect of startup testing.
|
/frameworks/native/libs/math/include/math/ |
D | mat4.h | 293 …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/ |
D | codec_fwk.aconfig | 19 description: "Feature flag for dynamic color aspect support"
|
/frameworks/base/core/java/android/window/flags/ |
D | large_screen_experiences_app_compat.aconfig | 114 description: "Enables sysui animation for user aspect ratio button"
|
D | windowing_frontend.aconfig | 189 description: "The aspect ratio should always match when drawing snapshot"
|
/frameworks/native/opengl/tests/angeles/ |
D | demo.c | 502 static void gluPerspective(GLfloat fovy, GLfloat aspect, in gluPerspective() argument 509 xmin = ymin * aspect; in gluPerspective() 510 xmax = ymax * aspect; in gluPerspective()
|
D | README.txt | 65 erroneously in some aspect. This may indicate that the demo source
|
/frameworks/proto_logging/stats/atoms/media/ |
D | media_editing_extension_atoms.proto | 124 // First input media item's aspect ratio. 187 // Output media item's aspect ratio.
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 329 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()
|