Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkDashPath.cpp350 SkPoint midPoint = src.getPoint(0); in InternalFilter() local
353 while (midPoint == src.getPoint(last)) { in InternalFilter()
359 while (midPoint == src.getPoint(next)) { in InternalFilter()
363 SkVector v = midPoint - src.getPoint(last); in InternalFilter()
367 cullPathStorage.moveTo(midPoint - v); in InternalFilter()
368 cullPathStorage.lineTo(midPoint); in InternalFilter()
369 v = midPoint - src.getPoint(next); in InternalFilter()
372 cullPathStorage.lineTo(midPoint - v); in InternalFilter()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/
DLegendreGaussIntegrator.java223 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/
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()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDayPeriodRules.java274 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/cronet/third_party/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.cpp2471 double midPoint = ruleSet->getMidPointForDayPeriod(dayPeriod, status); in parse() local
2477 int32_t midPointHour = (int32_t) midPoint; in parse()
2478 int32_t midPointMinute = (midPoint - midPointHour) > 0 ? 30 : 0; in parse()
/external/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.cpp2471 double midPoint = ruleSet->getMidPointForDayPeriod(dayPeriod, status); in parse() local
2477 int32_t midPointHour = (int32_t) midPoint; in parse()
2478 int32_t midPointMinute = (midPoint - midPointHour) > 0 ? 30 : 0; in parse()
/external/smali/util/src/main/java/org/jf/util/
DClassFileNameHandler.java194 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/google-smali/third_party/util/src/main/java/com/android/tools/smali/util/
DClassFileNameHandler.java198 int midPoint = codePoints.length/2; in shortenPathComponent() local
200 int firstEnd = midPoint; // exclusive in shortenPathComponent()
201 int secondStart = midPoint+1; // inclusive in shortenPathComponent()
202 int bytesRemoved = utf8Length(codePoints[midPoint]); in shortenPathComponent()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYPlotZoomPan.java364 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/deqp-deps/glslang/Test/
Dspv.debuginfo.glsl.tesc54 vec4 midPoint = 0.5 * (p0 + p1);
59 vec4 v0 = ubo.modelview * midPoint;
Dspv.debuginfo.hlsl.tesc67 float4 midPoint = 0.5 * (p0 + p1);
72 float4 v0 = mul(ubo.modelview, midPoint);
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dspv.debuginfo.glsl.tesc54 vec4 midPoint = 0.5 * (p0 + p1);
59 vec4 v0 = ubo.modelview * midPoint;
Dspv.debuginfo.hlsl.tesc67 float4 midPoint = 0.5 * (p0 + p1);
72 float4 v0 = mul(ubo.modelview, midPoint);
/external/deqp-deps/glslang/Test/baseResults/
Dspv.debuginfo.glsl.tesc.out30 62: String "midPoint"
68 Name 60 "midPoint"
533 60(midPoint): 29(ptr) Variable Function
545 … 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 61 60(midPoint) 43
550 Store 60(midPoint) 68
562 127: 27(fvec4) Load 60(midPoint)
Dspv.debuginfo.hlsl.tesc.out48 143: String "midPoint"
95 Name 141 "midPoint"
544 141(midPoint): 21(ptr) Variable Function
556 … 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 142 141(midPoint) 40
561 Store 141(midPoint) 149
571 168: 18(fvec4) Load 141(midPoint)
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dspv.debuginfo.glsl.tesc.out30 62: String "midPoint"
68 Name 60 "midPoint"
533 60(midPoint): 29(ptr) Variable Function
545 … 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 61 60(midPoint) 43
550 Store 60(midPoint) 68
562 127: 27(fvec4) Load 60(midPoint)
Dspv.debuginfo.hlsl.tesc.out48 143: String "midPoint"
95 Name 141 "midPoint"
544 141(midPoint): 21(ptr) Variable Function
556 … 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 142 141(midPoint) 40
561 Store 141(midPoint) 149
571 168: 18(fvec4) Load 141(midPoint)
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/listener/
DBarLineChartTouchListener.java162 midPoint(mTouchPointCenter, event); in onTouch()
464 private static void midPoint(MPPointF point, MotionEvent event) { in midPoint() method in BarLineChartTouchListener
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DDateTimeFormats.java1017 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/
Des3pBufferDataUploadTests.cpp1003 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/
DSimpleDateFormat.java2594 double midPoint = ruleSet.getMidPointForDayPeriod(dayPeriod.value); in parse() local
2598 int midPointHour = (int) midPoint; in parse()
2599 int midPointMinute = (midPoint - midPointHour) > 0 ? 30 : 0; in parse()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java2579 double midPoint = ruleSet.getMidPointForDayPeriod(dayPeriod.value); in parse() local
2583 int midPointHour = (int) midPoint; in parse()
2584 int midPointMinute = (midPoint - midPointHour) > 0 ? 30 : 0; in parse()