/external/skia/src/utils/ |
D | SkDashPath.cpp | 329 SkPoint midPoint = src.getPoint(0); in InternalFilter() local 332 while (midPoint == src.getPoint(last)) { in InternalFilter() 338 while (midPoint == src.getPoint(next)) { in InternalFilter() 342 SkVector v = midPoint - src.getPoint(last); in InternalFilter() 346 cullPathStorage.moveTo(midPoint - v); in InternalFilter() 347 cullPathStorage.lineTo(midPoint); in InternalFilter() 348 v = midPoint - src.getPoint(next); in InternalFilter() 351 cullPathStorage.lineTo(midPoint - v); in InternalFilter()
|
/external/skqp/src/utils/ |
D | SkDashPath.cpp | 335 SkPoint midPoint = src.getPoint(0); in InternalFilter() local 338 while (midPoint == src.getPoint(last)) { in InternalFilter() 344 while (midPoint == src.getPoint(next)) { in InternalFilter() 348 SkVector v = midPoint - src.getPoint(last); in InternalFilter() 352 cullPathStorage.moveTo(midPoint - v); in InternalFilter() 353 cullPathStorage.lineTo(midPoint); in InternalFilter() 354 v = midPoint - src.getPoint(next); in InternalFilter() 357 cullPathStorage.lineTo(midPoint - v); in InternalFilter()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/ |
D | LegendreGaussIntegrator.java | 223 double midPoint = min + halfStep; in stage() local 227 sum += weights[j] * f.value(midPoint + halfStep * abscissas[j]); in stage() 229 midPoint += step; in stage()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | DayPeriodRules.java | 281 double midPoint = (startHour + endHour) / 2.0; in getMidPointForDayPeriod() local 286 midPoint += 12; in getMidPointForDayPeriod() 287 if (midPoint >= 24) { in getMidPointForDayPeriod() 288 midPoint -= 24; in getMidPointForDayPeriod() 292 return midPoint; in getMidPointForDayPeriod()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | DayPeriodRules.java | 274 double midPoint = (startHour + endHour) / 2.0; in getMidPointForDayPeriod() local 279 midPoint += 12; in getMidPointForDayPeriod() 280 if (midPoint >= 24) { in getMidPointForDayPeriod() 281 midPoint -= 24; in getMidPointForDayPeriod() 285 return midPoint; in getMidPointForDayPeriod()
|
/external/icu/icu4c/source/i18n/ |
D | dayperiodrules.cpp | 399 double midPoint = (startHour + endHour) / 2.0; in getMidPointForDayPeriod() local 404 midPoint += 12; in getMidPointForDayPeriod() 405 if (midPoint >= 24) { in getMidPointForDayPeriod() 406 midPoint -= 24; in getMidPointForDayPeriod() 410 return midPoint; in getMidPointForDayPeriod()
|
D | smpdtfmt.cpp | 2423 double midPoint = ruleSet->getMidPointForDayPeriod(dayPeriod, status); in parse() local 2429 int32_t midPointHour = (int32_t) midPoint; in parse() 2430 int32_t midPointMinute = (midPoint - midPointHour) > 0 ? 30 : 0; in parse()
|
/external/smali/util/src/main/java/org/jf/util/ |
D | ClassFileNameHandler.java | 194 int midPoint = codePoints.length/2; in shortenPathComponent() local 196 int firstEnd = midPoint; // exclusive in shortenPathComponent() 197 int secondStart = midPoint+1; // inclusive in shortenPathComponent() 198 int bytesRemoved = utf8Length(codePoints[midPoint]); in shortenPathComponent()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | XYPlotZoomPan.java | 364 final float midPoint = calcMax - (span / 2.0f); in calculateZoom() local 366 newX.x = midPoint - offset; in calculateZoom() 367 newX.y = midPoint + offset; in calculateZoom()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | DateTimeFormats.java | 1017 int midPoint = (first.get0() + first.get1()) / 2; in addDayPeriods() local 1030 … englishValue = icuServiceBuilderEnglish.formatDayPeriod(midPoint, context, width); in addDayPeriods() 1041 nativeValue = icuServiceBuilder.formatDayPeriod(midPoint, nativeValue); in addDayPeriods()
|
/external/deqp/modules/gles3/performance/ |
D | es3pBufferDataUploadTests.cpp | 1003 const int midPoint = (int)samples.size() / 2; in calculateSampleFitLinearity() local 1004 …const LineParametersWithConfidence startApproximation = fitLineToSamples(samples, 0, midPoint, &T:… in calculateSampleFitLinearity() 1005 …const LineParametersWithConfidence endApproximation = fitLineToSamples(samples, midPoint, (int)sam… in calculateSampleFitLinearity() 1860 const int midPoint = (numSamples+1) / 2; // !< ceil(m_numSamples / 2) in generateTwoPassRandomIterationOrder() local 1868 for (int sampleNdx = 0; sampleNdx < midPoint; ++sampleNdx) in generateTwoPassRandomIterationOrder() 1870 for (int sampleNdx = midPoint; sampleNdx < numSamples; ++sampleNdx) in generateTwoPassRandomIterationOrder() 1871 iterationOrder[sampleNdx] = (sampleNdx - midPoint) * 2 + 1; in generateTwoPassRandomIterationOrder() 1873 for (int ndx = 0; ndx < midPoint; ++ndx) in generateTwoPassRandomIterationOrder() 1874 std::swap(iterationOrder[ndx], iterationOrder[rnd.getInt(0, midPoint - 1)]); in generateTwoPassRandomIterationOrder() 1875 for (int ndx = midPoint; ndx < (int)iterationOrder.size(); ++ndx) in generateTwoPassRandomIterationOrder() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 2593 double midPoint = ruleSet.getMidPointForDayPeriod(dayPeriod.value); in parse() local 2597 int midPointHour = (int) midPoint; in parse() 2598 int midPointMinute = (midPoint - midPointHour) > 0 ? 30 : 0; in parse()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | SimpleDateFormat.java | 2578 double midPoint = ruleSet.getMidPointForDayPeriod(dayPeriod.value); in parse() local 2582 int midPointHour = (int) midPoint; in parse() 2583 int midPointMinute = (midPoint - midPointHour) > 0 ? 30 : 0; in parse()
|