/frameworks/base/core/java/android/util/ |
D | Rational.java | 101 public Rational(int numerator, int denominator) { in Rational() argument 104 numerator = -numerator; in Rational() 109 if (denominator == 0 && numerator > 0) { in Rational() 112 } else if (denominator == 0 && numerator < 0) { in Rational() 115 } else if (denominator == 0 && numerator == 0) { in Rational() 118 } else if (numerator == 0) { in Rational() 122 int gcd = gcd(numerator, denominator); in Rational() 124 mNumerator = numerator / gcd; in Rational() 306 public static int gcd(int numerator, int denominator) { in gcd() argument 314 int a = numerator; in gcd()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | ColorSpaceTransform.java | 142 int numerator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_NUMERATOR]; in getElement() local 145 return new Rational(numerator, denominator); in getElement() 170 int numerator = mElements[j + OFFSET_NUMERATOR]; in copyElements() local 173 destination[i + offset] = new Rational(numerator, denominator); in copyElements() 229 int numerator = mElements[j + OFFSET_NUMERATOR]; in equals() local 233 Rational r = new Rational(numerator, denominator); in equals() 280 int numerator = mElements[i + OFFSET_NUMERATOR]; in toShortString() local 282 sb.append(numerator); in toShortString()
|
/frameworks/base/media/jni/ |
D | android_media_ExifInterface.cpp | 181 if (image_data.exposure_time.numerator != 0 in getRawAttributes() 184 (double)image_data.exposure_time.numerator in getRawAttributes() 196 if (image_data.fnumber.numerator != 0 in getRawAttributes() 199 (double)image_data.fnumber.numerator in getRawAttributes() 204 if (image_data.focal_length.numerator != 0 in getRawAttributes() 210 image_data.focal_length.numerator, in getRawAttributes() 222 image_data.gps.latitude[0].numerator, in getRawAttributes() 224 image_data.gps.latitude[1].numerator, in getRawAttributes() 226 image_data.gps.latitude[2].numerator, in getRawAttributes() 244 image_data.gps.longitude[0].numerator, in getRawAttributes() [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | TtsSpan.java | 907 long numerator, in FractionBuilder() argument 911 setNumerator(numerator); in FractionBuilder() 941 public FractionBuilder setNumerator(long numerator) { in setNumerator() argument 942 return setNumerator(String.valueOf(numerator)); in setNumerator() 951 public FractionBuilder setNumerator(String numerator) { in setNumerator() argument 952 return setStringArgument(TtsSpan.ARG_NUMERATOR, numerator); in setNumerator() 1047 public MeasureBuilder setNumerator(long numerator) { in setNumerator() argument 1048 return setNumerator(String.valueOf(numerator)); in setNumerator() 1057 public MeasureBuilder setNumerator(String numerator) { in setNumerator() argument 1058 return setStringArgument(TtsSpan.ARG_NUMERATOR, numerator); in setNumerator()
|
/frameworks/base/media/java/android/media/ |
D | ExifInterface.java | 415 public final long numerator; field in ExifInterface.Rational 418 private Rational(long numerator, long denominator) { in Rational() argument 421 this.numerator = 0; in Rational() 425 this.numerator = numerator; in Rational() 431 return numerator + "/" + denominator; in toString() 435 return (double) numerator / denominator; in calculate() 513 buffer.putInt((int) value.numerator); in createURational() 528 buffer.putInt((int) value.numerator); in createSRational() 619 final long numerator = inputStream.readUnsignedInt(); in getValue() local 621 values[i] = new Rational(numerator, denominator); in getValue() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryablePrimitive.java | 138 int numerator = buffer.getInt(); in unmarshalObject() local 140 return new Rational(numerator, denominator); in unmarshalObject()
|
/frameworks/rs/scriptc/ |
D | rs_math.rsh | 479 * Returns the inverse tangent of (numerator / denominator), in radians. 484 * numerator: Numerator. 488 atan2(float numerator, float denominator); 491 atan2(float2 numerator, float2 denominator); 494 atan2(float3 numerator, float3 denominator); 497 atan2(float4 numerator, float4 denominator); 501 atan2(half numerator, half denominator); 506 atan2(half2 numerator, half2 denominator); 511 atan2(half3 numerator, half3 denominator); 516 atan2(half4 numerator, half4 denominator); [all …]
|
/frameworks/av/include/camera/ndk/ |
D | NdkCameraMetadata.h | 79 int32_t numerator; member
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcCommit.cpp | 206 uint32_t numerator(void) { return _n; } in numerator() function in Rational 208 void setNumerator(uint32_t numerator) { _n = numerator; } in setNumerator() argument 1140 scDim = HwcTestDim(selected.numerator(), scMin.height()); in scHScale() 1239 scDim = HwcTestDim(scMin.width(), selected.numerator()); in scVScale() 1372 if ((val.numerator() < nRange.lower()) in double2Rational() 1373 || (val.numerator() > nRange.upper())) { continue; } in double2Rational() 1379 val.setNumerator(val.numerator() + 1); in double2Rational() 1380 if (val.numerator() > nRange.upper()) { continue; } in double2Rational()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RationalTest.java | 491 private static Rational createIllegalRational(int numerator, int denominator) { in createIllegalRational() argument 492 Rational r = new Rational(numerator, denominator); in createIllegalRational() 493 mutateField(r, "mNumerator", numerator); in createIllegalRational()
|
/frameworks/av/media/libstagefright/ |
D | OggExtractor.cpp | 879 size_t numerator = mTableOfContents.size(); in buildTableOfContents() local 881 if (numerator > kMaxNumTOCEntries) { in buildTableOfContents() 882 size_t denom = numerator - kMaxNumTOCEntries; in buildTableOfContents() 887 if (accum >= numerator) { in buildTableOfContents() 889 accum -= numerator; in buildTableOfContents()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 1460 colorTransform1[ctr++] = entry1.data.r[i].numerator; in DngCreator_setup() 1474 colorTransform2[ctr++] = entry2.data.r[i].numerator; in DngCreator_setup() 1493 calibrationTransform1[ctr++] = entry1.data.r[i].numerator; in DngCreator_setup() 1508 calibrationTransform2[ctr++] = entry2.data.r[i].numerator; in DngCreator_setup() 1527 forwardTransform1[ctr++] = entry1.data.r[i].numerator; in DngCreator_setup() 1542 forwardTransform2[ctr++] = entry2.data.r[i].numerator; in DngCreator_setup() 1561 static_cast<uint32_t>(entry.data.r[i].numerator); in DngCreator_setup()
|
/frameworks/base/docs/html/guide/topics/renderscript/reference/ |
D | rs_math.jd | 1707 <td>float atan2(float numerator, float denominator); 1712 …t2</a> atan2(<a href='rs_value_types.html#android_rs:float2'>float2</a> numerator, <a href='rs_val… 1717 …t3</a> atan2(<a href='rs_value_types.html#android_rs:float3'>float3</a> numerator, <a href='rs_val… 1722 …t4</a> atan2(<a href='rs_value_types.html#android_rs:float4'>float4</a> numerator, <a href='rs_val… 1730 <tr><th>numerator</th><td>Numerator.</td></tr> 1735 <p> Returns the inverse tangent of <code>(numerator / denominator)</code>, in radians. 1752 <td>float atan2pi(float numerator, float denominator); 1757 …</a> atan2pi(<a href='rs_value_types.html#android_rs:float2'>float2</a> numerator, <a href='rs_val… 1762 …</a> atan2pi(<a href='rs_value_types.html#android_rs:float3'>float3</a> numerator, <a href='rs_val… 1767 …</a> atan2pi(<a href='rs_value_types.html#android_rs:float4'>float4</a> numerator, <a href='rs_val… [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 787 private void printRatio(PrintWriter pw, long numerator, long denominator) { 788 long thousands = (numerator*1000)/denominator;
|
/frameworks/rs/api/ |
D | rs_math.spec | 341 Returns the inverse tangent of <code>(numerator / denominator)</code>, in radians. 366 Returns the inverse tangent of <code>(numerator / denominator)</code>, in radians, divided by pi. 1023 Returns the remainder of (numerator / denominator), where the quotient is rounded towards zero. 1990 Returns the approximate inverse tangent of <code>(numerator / denominator)</code>, in radians. 2017 Returns the approximate inverse tangent of <code>(numerator / denominator)</code>, 2873 Returns the remainder of (numerator / denominator), where the quotient is rounded towards 2901 Returns the quotient and the remainder of (numerator / denominator).
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 790 (float)exposureCompensationStep.data.r[0].numerator / in initialize()
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
D | databinding-studio-bundle.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/databinding/
android/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 30774 field public static final java.lang.String ARG_NUMERATOR = "android.arg.numerator";
|
/frameworks/base/api/ |
D | current.txt | 39400 field public static final java.lang.String ARG_NUMERATOR = "android.arg.numerator";
|
D | test-current.txt | 39479 field public static final java.lang.String ARG_NUMERATOR = "android.arg.numerator";
|
D | system-current.txt | 42400 field public static final java.lang.String ARG_NUMERATOR = "android.arg.numerator";
|