Home
last modified time | relevance | path

Searched refs:midPoint (Results 1 – 13 of 13) sorted by relevance

/third_party/flutter/skia/src/utils/
DSkDashPath.cpp327 SkPoint midPoint = src.getPoint(0); in InternalFilter() local
330 while (midPoint == src.getPoint(last)) { in InternalFilter()
336 while (midPoint == src.getPoint(next)) { in InternalFilter()
340 SkVector v = midPoint - src.getPoint(last); in InternalFilter()
344 cullPathStorage.moveTo(midPoint - v); in InternalFilter()
345 cullPathStorage.lineTo(midPoint); in InternalFilter()
346 v = midPoint - src.getPoint(next); in InternalFilter()
349 cullPathStorage.lineTo(midPoint - v); in InternalFilter()
/third_party/skia/src/utils/
DSkDashPath.cpp332 SkPoint midPoint = src.getPoint(0); in InternalFilter() local
335 while (midPoint == src.getPoint(last)) { in InternalFilter()
341 while (midPoint == src.getPoint(next)) { in InternalFilter()
345 SkVector v = midPoint - src.getPoint(last); in InternalFilter()
349 cullPathStorage.moveTo(midPoint - v); in InternalFilter()
350 cullPathStorage.lineTo(midPoint); in InternalFilter()
351 v = midPoint - src.getPoint(next); in InternalFilter()
354 cullPathStorage.lineTo(midPoint - v); in InternalFilter()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DDayPeriodRules.java281 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()
/third_party/icu/icu4c/source/i18n/
Ddayperiodrules.cpp399 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()
Dsmpdtfmt.cpp2365 double midPoint = ruleSet->getMidPointForDayPeriod(dayPeriod, status); in parse() local
2371 int32_t midPointHour = (int32_t) midPoint; in parse()
2372 int32_t midPointMinute = (midPoint - midPointHour) > 0 ? 30 : 0; in parse()
/third_party/node/deps/icu-small/source/i18n/
Ddayperiodrules.cpp399 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()
Dsmpdtfmt.cpp2448 double midPoint = ruleSet->getMidPointForDayPeriod(dayPeriod, status); in parse() local
2454 int32_t midPointHour = (int32_t) midPoint; in parse()
2455 int32_t midPointMinute = (midPoint - midPointHour) > 0 ? 30 : 0; in parse()
/third_party/skia/third_party/externals/icu/source/i18n/
Ddayperiodrules.cpp399 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()
Dsmpdtfmt.cpp2423 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()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Ddayperiodrules.cpp399 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()
Dsmpdtfmt.cpp2335 double midPoint = ruleSet->getMidPointForDayPeriod(dayPeriod, status); in parse() local
2341 int32_t midPointHour = (int32_t) midPoint; in parse()
2342 int32_t midPointMinute = (midPoint - midPointHour) > 0 ? 30 : 0; in parse()
/third_party/flutter/engine/flutter/testing/dart/
Dpath_test.dart153 final double midPoint = simpleMetricsDiagonal.iterator.current.length / 2;
154 …inal Tangent posTanDiagonal = simpleMetricsDiagonal.iterator.current.getTangentForOffset(midPoint);
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DSimpleDateFormat.java2571 double midPoint = ruleSet.getMidPointForDayPeriod(dayPeriod.value); in parse() local
2575 int midPointHour = (int) midPoint; in parse()
2576 int midPointMinute = (midPoint - midPointHour) > 0 ? 30 : 0; in parse()