/external/setupdesign/main/src/com/google/android/setupdesign/view/ |
D | IllustrationVideoView.java | 66 private float aspectRatio = 1.0f; // initial guess until we know field in IllustrationVideoView 115 if (height < width * aspectRatio) { in onMeasure() 117 width = (int) (height / aspectRatio); in onMeasure() 120 height = (int) (width * aspectRatio); in onMeasure() 333 float aspectRatio = 0.0f; in onPrepared() local 335 aspectRatio = (float) mp.getVideoHeight() / mp.getVideoWidth(); in onPrepared() 339 if (Float.compare(this.aspectRatio, aspectRatio) != 0) { in onPrepared() 340 this.aspectRatio = aspectRatio; in onPrepared() 377 return aspectRatio; in getAspectRatio()
|
D | Illustration.java | 52 private float aspectRatio = 0.0f; field in Illustration 76 aspectRatio = a.getFloat(R.styleable.SudIllustration_sudAspectRatio, 0.0f); in init() 122 public void setAspectRatio(float aspectRatio) { in setAspectRatio() argument 123 this.aspectRatio = aspectRatio; in setAspectRatio() 136 if (aspectRatio != 0.0f) { in onMeasure() 138 int illustrationHeight = (int) (parentWidth / aspectRatio); in onMeasure() 158 if (aspectRatio != 0f) { in onLayout()
|
/external/skia/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/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/pdfium/fxbarcode/pdf417/ |
D | BC_PDF417Writer.cpp | 67 int32_t aspectRatio = 4; in Encode() local 70 lineThickness, aspectRatio * lineThickness); in Encode() 88 scale * lineThickness, scale * aspectRatio * lineThickness); in Encode()
|
/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/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/ |
D | Size.java | 107 public final float aspectRatio() { in aspectRatio() method in Size
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/ |
D | Size.java | 107 public final float aspectRatio() { in aspectRatio() method in Size
|
/external/setupdesign/main/src/com/google/android/setupdesign/ |
D | SetupWizardLayout.java | 273 public void setIllustrationAspectRatio(float aspectRatio) { in setIllustrationAspectRatio() argument 277 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/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/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/epid-sdk/doc/html/ |
D | jquery.js | 81 …aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:… property
|
/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
|