/aosp12/frameworks/base/rs/java/android/renderscript/ |
H A 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()
|
/aosp12/frameworks/rs/support/java/src/androidx/renderscript/ |
H A 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()
|
/aosp12/packages/apps/DevCamera/src/com/android/devcamera/ |
H A D | CameraInfoCache.java | 256 float aspect = mLargestYuvSize.getWidth() / mLargestYuvSize.getHeight(); in getPreviewSize() local 257 aspect = aspect > 1f ? aspect : 1f / aspect; in getPreviewSize() 258 if (aspect > 1.6) { in getPreviewSize()
|
/aosp12/system/tools/aidl/ |
H A D | aidl_to_ndk.cpp | 425 TypeInfo::Aspect aspect = GetTypeAspect(types, aidl); in NdkNameOf() local 429 return aspect.cpp_name; in NdkNameOf() 431 if (aspect.value_is_cheap) { in NdkNameOf() 432 return aspect.cpp_name; in NdkNameOf() 434 return "const " + aspect.cpp_name + "&"; in NdkNameOf() 437 return aspect.cpp_name + "*"; in NdkNameOf() 464 TypeInfo::Aspect aspect = GetTypeAspect(c.types, c.type); in WriteToParcelFor() local 465 aspect.write_func(c); in WriteToParcelFor() 469 TypeInfo::Aspect aspect = GetTypeAspect(c.types, c.type); in ReadFromParcelFor() local 470 aspect.read_func(c); in ReadFromParcelFor()
|
H A D | aidl_language.cpp | 789 const auto& aspect = typenames.GetArgumentAspect(GetType()); in CheckValid() local 791 if (aspect.possible_directions.size() == 0) { in CheckValid() 792 AIDL_ERROR(this) << aspect.name << " cannot be an argument type"; in CheckValid() 797 if (!DirectionWasSpecified() && aspect.possible_directions != std::set{AidlArgument::IN_DIR}) { in CheckValid() 798 AIDL_ERROR(this) << "The direction of '" << GetName() << "' is not specified. " << aspect.name in CheckValid() 799 << " can be an " << FormatDirections(aspect.possible_directions) in CheckValid() 804 if (aspect.possible_directions.count(GetDirection()) == 0) { in CheckValid() 806 << " parameter because " << aspect.name << " can only be an " in CheckValid() 807 << FormatDirections(aspect.possible_directions) << " parameter."; in CheckValid()
|
/aosp12/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
H A D | FixedAspectSurfaceView.java | 61 public void setAspectRatio(float aspect) { in setAspectRatio() argument 62 Assert.checkArgument(aspect >= 0, "Aspect ratio must be positive"); in setAspectRatio() 63 aspectRatio = aspect; in setAspectRatio()
|
/aosp12/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | FixedAspectSurfaceView.java | 66 public void setAspectRatio(float aspect) { in setAspectRatio() argument 67 if (aspect <= 0) { in setAspectRatio() 70 mAspectRatio = aspect; in setAspectRatio()
|
/aosp12/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
H A D | FixedAspectSurfaceView.java | 66 public void setAspectRatio(float aspect) { in setAspectRatio() argument 67 if (aspect <= 0) { in setAspectRatio() 70 mAspectRatio = aspect; in setAspectRatio()
|
/aosp12/frameworks/base/opengl/java/android/opengl/ |
H A 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()
|
H A D | Matrix.java | 381 float fovy, float aspect, float zNear, float zFar) { in perspectiveM() argument 385 m[offset + 0] = f / aspect; in perspectiveM()
|
/aosp12/frameworks/rs/cpu_ref/ |
H A 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()
|
/aosp12/frameworks/base/core/java/com/android/internal/policy/ |
H A 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()
|
/aosp12/frameworks/av/media/libstagefright/foundation/ |
H A D | ColorUtils.cpp | 169 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()
|
/aosp12/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 580 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling() local 581 if (aspect > MAXIMUM_ASPECT_RATIO) { in computeCompatibleScaling() 582 aspect = MAXIMUM_ASPECT_RATIO; in computeCompatibleScaling() 584 int newLongSize = (int)(newShortSize * aspect + 0.5f); in computeCompatibleScaling()
|
/aosp12/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
H A D | ColorUtils.h | 120 int32_t range, ColorAspects::Range *aspect); 122 int32_t transfer, ColorAspects::Transfer *aspect);
|
/aosp12/frameworks/rs/ |
H A 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()
|
H A D | rsMatrix4x4.h | 49 void loadPerspective(float fovy, float aspect, float near, float far);
|
/aosp12/frameworks/native/libs/math/include/math/ |
H A D | mat4.h | 285 …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()
|
/aosp12/frameworks/base/startop/apps/test/ |
H A D | README.md | 5 different aspect of startup testing.
|
/aosp12/frameworks/native/opengl/tests/angeles/ |
H A 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()
|
H A D | README.txt | 65 erroneously in some aspect. This may indicate that the demo source
|
/aosp12/hardware/interfaces/media/omx/1.0/ |
H A D | IOmxStore.hal | 89 * key: 'block-aspect-ratio-range', value-type: range<ratio> 95 * key: 'pixel-aspect-ratio-range', value-type: range<ratio>
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | README.txt | 3 A criticial aspect of this class is that most objects in this
|
/aosp12/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 301 final String aspect = a.getString(R.styleable.LockPatternView_aspect); in LockPatternView() local 303 if ("square".equals(aspect)) { in LockPatternView() 305 } else if ("lock_width".equals(aspect)) { in LockPatternView() 307 } else if ("lock_height".equals(aspect)) { in LockPatternView()
|
/aosp12/hardware/interfaces/automotive/sv/1.0/ |
H A D | types.hal | 120 * to maintain the aspect ratio of the output frame. Must be in range (20, 249 * Height is computed keeping the aspect ratio of the mapping info,
|