/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | AUtils.h | 25 inline static const T divRound(const T &num, const T &den) { in divRound() argument 26 if ((num >= 0) ^ (den >= 0)) { in divRound() 27 return (num - den / 2) / den; in divRound() 29 return (num + den / 2) / den; in divRound() 35 inline static const T divUp(const T &num, const T &den) { in divUp() argument 36 if (den < 0) { in divUp() 37 return (num < 0 ? num + den + 1 : num) / den; in divUp() 39 return (num < 0 ? num : num + den - 1) / den; in divUp() 45 inline static const T align(const T &num, const U &den) { in align() argument 46 return (num + (T)(den - 1)) & (T)~(den - 1); in align()
|
/frameworks/base/media/java/android/media/ |
D | Utils.java | 158 private static Rational scaleRatio(Rational ratio, int num, int den) { 159 int common = gcd(num, den); 161 den /= common; 164 (int)(ratio.getDenominator() * (double)den)); // saturate to int 167 static Range<Rational> scaleRange(Range<Rational> range, int num, int den) { 168 if (num == den) { 172 scaleRatio(range.getLower(), num, den), 173 scaleRatio(range.getUpper(), num, den)); 182 static int divUp(int num, int den) { 183 return (num + den - 1) / den; [all …]
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | ParamsUtils.java | 139 int den = RATIONAL_DENOMINATOR; in createRational() local 142 numF = value * den; in createRational() 144 if ((numF > Integer.MIN_VALUE && numF < Integer.MAX_VALUE) || (den == 1)) { in createRational() 148 den /= 10; in createRational() 157 return new Rational(num, den); in createRational()
|
/frameworks/base/core/java/android/util/ |
D | Rational.java | 339 double den = mDenominator; in doubleValue() local 341 return num / den; in doubleValue() 356 float den = mDenominator; in floatValue() local 358 return num / den; in floatValue()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerFirGen.h | 333 double den = Poly4(-0.34598737196e8, 0.23852643181e6, 335 return num / den; 348 double den = Poly3(0.103150763823e2, -0.14181687413e2, 350 return exp(x) * sqrt(y) * num / den; 375 static inline double I0SqrRat(double x2, double num, double den) { 380 I0Term<6>::value, x2) * num / den; // e < 1.6e-7 388 den *= Poly4(-0.34598737196e8, 0.23852643181e6, 390 return num / den;
|
/frameworks/base/tests/JankBench/scripts/external/ |
D | statistics.py | 267 den = 10**-exp 270 den = 1 273 return (num, den)
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 195 public static long multiplySafe(long value, long num, long den) { in multiplySafe() argument 196 if (den == 0) den = 1; in multiplySafe() 211 return (long) (((double) num / den) * value); in multiplySafe() 214 return r / den; in multiplySafe()
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
D | SoftVPXEncoder.cpp | 134 mCodecConfiguration->g_timebase.den = 1000000; in initEncoder()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 3015 public final String formatRatioLocked(long num, long den) { in formatRatioLocked() argument 3016 if (den == 0L) { in formatRatioLocked() 3019 float perc = ((float)num) / ((float)den) * 100; in formatRatioLocked()
|
/frameworks/support/work/integration-tests/testapp/src/main/assets/ |
D | advs.txt | 4951 had, when the fit was on him, made use of an opium den in the 4978 the den of which I was in search. Ordering my cab to wait, I passed 5056 "Holmes!" I whispered, "what on earth are you doing in this den?" 5079 had emerged from the opium den, and I was walking down the street 5101 sots, as I have done before now. Had I been recognised in that den my 5112 poor devil who has been done to death in that den. It is the vilest 5227 steps--for the house was none other than the opium den in which you 5280 lives upon the second floor of the opium den, and who was certainly 5302 learn to have been the lodger at the opium den, and to have been the 5380 be solved--what Neville St. Clair was doing in the opium den, what [all …]
|
D | retn.txt | 1896 would put it to. Brooding over the case in that den of his, it 4969 in the world is Mr. James Wilder doing in that den at this hour of 5298 leave him in this den for three days." 7282 until the early morning. So it was to-day. I was sitting in my den,
|
D | lstb.txt | 6099 scene well enough. You saw the horrible den upstairs, where the poor
|
D | case.txt | 367 house, and gambling-den in the town, and his quick observation and
|