/frameworks/base/media/jni/ |
D | android_media_ExifInterface.cpp | 182 && image_data.exposure_time.denominator != 0) { in getRawAttributes() 185 / image_data.exposure_time.denominator; in getRawAttributes() 197 && image_data.fnumber.denominator != 0) { in getRawAttributes() 200 / image_data.fnumber.denominator; in getRawAttributes() 205 && image_data.focal_length.denominator != 0) { in getRawAttributes() 211 image_data.focal_length.denominator)); in getRawAttributes() 215 if (image_data.gps.latitude[0].denominator != 0 in getRawAttributes() 216 && image_data.gps.latitude[1].denominator != 0 in getRawAttributes() 217 && image_data.gps.latitude[2].denominator != 0) { in getRawAttributes() 223 image_data.gps.latitude[0].denominator, in getRawAttributes() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Rational.java | 101 public Rational(int numerator, int denominator) { in Rational() argument 103 if (denominator < 0) { in Rational() 105 denominator = -denominator; 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() 122 int gcd = gcd(numerator, denominator); in Rational() 125 mDenominator = denominator / gcd; in Rational() 306 public static int gcd(int numerator, int denominator) { in gcd() argument 315 int b = denominator; in gcd()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | ColorSpaceTransform.java | 143 int denominator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_DENOMINATOR]; in getElement() local 145 return new Rational(numerator, denominator); in getElement() 171 int denominator = mElements[j + OFFSET_DENOMINATOR]; in copyElements() local 173 destination[i + offset] = new Rational(numerator, denominator); in copyElements() 230 int denominator = mElements[j + OFFSET_DENOMINATOR]; in equals() local 233 Rational r = new Rational(numerator, denominator); in equals() 281 int denominator = mElements[i + OFFSET_DENOMINATOR]; in toShortString() local 284 sb.append(denominator); in toShortString()
|
/frameworks/base/core/java/android/text/style/ |
D | TtsSpan.java | 908 long denominator) { in FractionBuilder() argument 912 setDenominator(denominator); in FractionBuilder() 961 public FractionBuilder setDenominator(long denominator) { in setDenominator() argument 962 return setDenominator(String.valueOf(denominator)); in setDenominator() 971 public FractionBuilder setDenominator(String denominator) { in setDenominator() argument 972 return setStringArgument(TtsSpan.ARG_DENOMINATOR, denominator); in setDenominator() 1067 public MeasureBuilder setDenominator(long denominator) { in setDenominator() argument 1068 return setDenominator(String.valueOf(denominator)); in setDenominator() 1077 public MeasureBuilder setDenominator(String denominator) { in setDenominator() argument 1078 return setStringArgument(TtsSpan.ARG_DENOMINATOR, denominator); in setDenominator()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | Rational.java | 34 public Rational(long nominator, long denominator) { in Rational() argument 36 mDenominator = denominator; in Rational()
|
/frameworks/base/media/java/android/media/ |
D | ExifInterface.java | 416 public final long denominator; field in ExifInterface.Rational 418 private Rational(long numerator, long denominator) { in Rational() argument 420 if (denominator == 0) { in Rational() 422 this.denominator = 1; in Rational() 426 this.denominator = denominator; in Rational() 431 return numerator + "/" + denominator; in toString() 435 return (double) numerator / denominator; in calculate() 514 buffer.putInt((int) value.denominator); in createURational() 529 buffer.putInt((int) value.denominator); in createSRational() 620 final long denominator = inputStream.readUnsignedInt(); in getValue() local [all …]
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryablePrimitive.java | 139 int denominator = 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. 485 * denominator: Denominator. Can be 0. 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 | 80 int32_t denominator; member
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 1336 uint32_t denominator = 1000000000; in DngCreator_setup() local 1339 denominator >>= 1; in DngCreator_setup() 1340 if (denominator == 0) { in DngCreator_setup() 1348 uint32_t exposure[] = { static_cast<uint32_t>(exposureTime), denominator }; in DngCreator_setup() 1461 colorTransform1[ctr++] = entry1.data.r[i].denominator; in DngCreator_setup() 1475 colorTransform2[ctr++] = entry2.data.r[i].denominator; in DngCreator_setup() 1494 calibrationTransform1[ctr++] = entry1.data.r[i].denominator; in DngCreator_setup() 1509 calibrationTransform2[ctr++] = entry2.data.r[i].denominator; in DngCreator_setup() 1528 forwardTransform1[ctr++] = entry1.data.r[i].denominator; in DngCreator_setup() 1543 forwardTransform2[ctr++] = entry2.data.r[i].denominator; in DngCreator_setup() [all …]
|
/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() 494 mutateField(r, "mDenominator", denominator); in createIllegalRational()
|
/frameworks/base/docs/html/guide/topics/renderscript/reference/ |
D | rs_math.jd | 1707 <td>float atan2(float numerator, float denominator); 1712 …at2'>float2</a> numerator, <a href='rs_value_types.html#android_rs:float2'>float2</a> denominator); 1717 …at3'>float3</a> numerator, <a href='rs_value_types.html#android_rs:float3'>float3</a> denominator); 1722 …at4'>float4</a> numerator, <a href='rs_value_types.html#android_rs:float4'>float4</a> denominator); 1731 <tr><th>denominator</th><td>Denominator. Can be 0.</td></tr> 1735 <p> Returns the inverse tangent of <code>(numerator / denominator)</code>, in radians. 1752 <td>float atan2pi(float numerator, float denominator); 1757 …at2'>float2</a> numerator, <a href='rs_value_types.html#android_rs:float2'>float2</a> denominator); 1762 …at3'>float3</a> numerator, <a href='rs_value_types.html#android_rs:float3'>float3</a> denominator); 1767 …at4'>float4</a> numerator, <a href='rs_value_types.html#android_rs:float4'>float4</a> denominator); [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/native/opengl/tests/hwc/ |
D | hwcCommit.cpp | 207 uint32_t denominator(void) { return _d; } in denominator() function in Rational 1141 dfDim = HwcTestDim(selected.denominator(), dfMin.height()); in scHScale() 1240 dfDim = HwcTestDim(dfMin.width(), selected.denominator()); in scVScale()
|
/frameworks/base/docs/html/guide/practices/app-design/ |
D | seamlessness.jd | 194 The lowest common denominator, however, is GPRS, the non-3G data service for
|
/frameworks/base/docs/html/guide/practices/ |
D | seamlessness.jd | 195 The lowest common denominator, however, is GPRS, the non-3G data service for
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 791 exposureCompensationStep.data.r[0].denominator); 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 | 30760 field public static final java.lang.String ARG_DENOMINATOR = "android.arg.denominator";
|
/frameworks/base/api/ |
D | current.txt | 39386 field public static final java.lang.String ARG_DENOMINATOR = "android.arg.denominator";
|
D | test-current.txt | 39465 field public static final java.lang.String ARG_DENOMINATOR = "android.arg.denominator";
|
D | system-current.txt | 42386 field public static final java.lang.String ARG_DENOMINATOR = "android.arg.denominator";
|