/external/setupdesign/main/src/com/google/android/setupdesign/view/ |
D | IllustrationVideoView.java | 67 private float aspectRatio = 1.0f; // initial guess until we know field in IllustrationVideoView 133 if (height < width * aspectRatio) { in onMeasure() 135 width = (int) (height / aspectRatio); in onMeasure() 138 height = (int) (width * aspectRatio); in onMeasure() 386 float aspectRatio = 0.0f; in onPrepared() local 388 aspectRatio = (float) mp.getVideoHeight() / mp.getVideoWidth(); in onPrepared() 392 if (Float.compare(this.aspectRatio, aspectRatio) != 0) { in onPrepared() 393 this.aspectRatio = aspectRatio; in onPrepared() 442 return aspectRatio; in getAspectRatio()
|
D | Illustration.java | 52 private float aspectRatio = 0.0f; field in Illustration 80 aspectRatio = a.getFloat(R.styleable.SudIllustration_sudAspectRatio, 0.0f); in init() 126 public void setAspectRatio(float aspectRatio) { in setAspectRatio() argument 127 this.aspectRatio = aspectRatio; in setAspectRatio() 140 if (aspectRatio != 0.0f) { in onMeasure() 142 int illustrationHeight = (int) (parentWidth / aspectRatio); in onMeasure() 162 if (aspectRatio != 0f) { in onLayout()
|
/external/skqp/src/core/ |
D | SkRTree.cpp | 10 SkRTree::SkRTree(SkScalar aspectRatio) in SkRTree() argument 11 : fCount(0), fAspectRatio(isfinite(aspectRatio) ? aspectRatio : 1) {} in SkRTree() 64 int SkRTree::CountNodes(int branches, SkScalar aspectRatio) { in CountNodes() argument 78 int numStrips = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(numBranches) / aspectRatio)); in CountNodes() 101 return nodes + CountNodes(nodes, aspectRatio); in CountNodes()
|
D | SkBBHFactory.cpp | 14 SkScalar aspectRatio = bounds.width() / bounds.height(); in operator ()() local 15 return new SkRTree(aspectRatio); in operator ()()
|
D | SkRTree.h | 40 explicit SkRTree(SkScalar aspectRatio = 1); 84 static int CountNodes(int branches, SkScalar aspectRatio);
|
/external/libjpeg-turbo/ |
D | rdgif.c | 388 int colormaplen, aspectRatio; in start_input_gif() local 417 aspectRatio = UCH(hdrbuf[6]); in start_input_gif() 418 if (aspectRatio != 0 && aspectRatio != 49) in start_input_gif()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | AttributeSetBuilderTest.java | 283 .addAttribute(R.attr.aspectRatio, "1234.456") in getAttributeFloatValue_shouldGetFloatValuesFromAttributes() 352 .addAttribute(R.attr.aspectRatio, "1") in getAttributeNameResource() 356 .isEqualTo(R.attr.aspectRatio); in getAttributeNameResource()
|
D | R.java | 55 public static final int aspectRatio=0x7f010008; field in R.attr
|
/external/angle/util/ |
D | Matrix.h | 43 static Matrix4 perspective(float fov, float aspectRatio, float n, float f);
|
D | Matrix.cpp | 116 Matrix4 Matrix4::perspective(float fovY, float aspectRatio, float nearZ, float farZ) in perspective() argument 119 const float frustumWidth = frustumHeight * aspectRatio; in perspective()
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/env/ |
D | Size.java | 107 public final float aspectRatio() { in aspectRatio() method in Size
|
/external/angle/src/common/ |
D | matrix_utils.cpp | 201 Mat4 Mat4::Perspective(float fov, float aspectRatio, float n, float f) in Perspective() argument 204 const float frustumWidth = frustumHeight * aspectRatio; in Perspective()
|
D | matrix_utils.h | 414 static Mat4 Perspective(float fov, float aspectRatio, float n, float f);
|
/external/setupdesign/main/src/com/google/android/setupdesign/ |
D | SetupWizardLayout.java | 279 public void setIllustrationAspectRatio(float aspectRatio) { in setIllustrationAspectRatio() argument 283 illustration.setAspectRatio(aspectRatio); in setIllustrationAspectRatio()
|
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ |
D | Camera2BasicFragment.java | 280 Size aspectRatio) { in chooseOptimalSize() argument 286 int w = aspectRatio.getWidth(); in chooseOptimalSize() 287 int h = aspectRatio.getHeight(); in chooseOptimalSize()
|
/external/dng_sdk/source/ |
D | dng_negative.cpp | 4729 real64 aspectRatio = AspectRatio (); in ConvertToProxy() local 4733 if (aspectRatio >= 1.0) in ConvertToProxy() 4735 newSize.v = Max_int32 (1, Round_int32 (proxySize / aspectRatio)); in ConvertToProxy() 4739 newSize.h = Max_int32 (1, Round_int32 (proxySize * aspectRatio)); in ConvertToProxy() 4749 if (aspectRatio >= 1.0) in ConvertToProxy() 4752 newSize.h = (uint32) sqrt (proxyCount * aspectRatio); in ConvertToProxy() 4754 newSize.v = Max_int32 (1, Round_int32 (newSize.h / aspectRatio)); in ConvertToProxy() 4761 newSize.v = (uint32) sqrt (proxyCount / aspectRatio); in ConvertToProxy() 4763 newSize.h = Max_int32 (1, Round_int32 (newSize.v * aspectRatio)); in ConvertToProxy()
|
/external/angle/third_party/vulkan_memory_allocator/src/ |
D | Common.h | 242 static mat4 Perspective(float fovY, float aspectRatio, float zNear, float zFar) in Perspective() 245 float xScale = yScale / aspectRatio; in Perspective()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowTypedArrayTest.java | 163 .addAttribute(R.attr.aspectRatio, "1") in shouldEnumeratePresentValues()
|
D | ShadowContextTest.java | 254 .addAttribute(R.attr.aspectRatio, "1.5") in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet()
|
/external/openscreen/cast/streaming/ |
D | answer_messages_unittest.cc | 61 "aspectRatio": "64:27", 390 "aspectRatio": "64:27", in TEST()
|
/external/doclava/res/assets/templates/assets/ |
D | jquery-resizable.min.js | 40 …aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:… property
|
/external/tinyxml2/docs/ |
D | jquery.js | 53 …aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:… property
|
/external/oboe/docs/reference/ |
D | jquery.js | 53 …aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:… property
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/ |
D | MediaCodecVideoRenderer.java | 1317 float aspectRatio = (float) formatShortEdgePx / formatLongEdgePx; in getCodecMaxSize() local 1319 int shortEdgePx = (int) (longEdgePx * aspectRatio); in getCodecMaxSize()
|
/external/doclava/res/assets/templates-sdk/assets/js/ |
D | android_3p-bundle.js | 2670 …aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:nu… property
|