Home
last modified time | relevance | path

Searched refs:measured (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp190 const MeasuredText& measured, in populateDesperatePoints() argument
196 ParaWidth width = measured.widths[range.getStart()]; in populateDesperatePoints()
198 const float w = measured.widths[i]; in populateDesperatePoints()
213 ParaWidth width = measured.widths[range.getStart()]; in populateDesperatePoints()
215 const float w = measured.widths[i]; in populateDesperatePoints()
263 OptimizeContext populateCandidates(const U16StringPiece& textBuf, const MeasuredText& measured, in populateCandidates() argument
271 if (measured.runs.empty()) { in populateCandidates()
274 initialLetterSpacing = measured.runs[0]->getLetterSpacingInPx(); in populateCandidates()
282 auto hyIter = std::begin(measured.hyphenBreaks); in populateCandidates()
284 for (const auto& run : measured.runs) { in populateCandidates()
[all …]
DGreedyLineBreaker.h28 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured,
DOptimalLineBreaker.h26 LineBreakResult breakLineOptimal(const U16StringPiece& textBuf, const MeasuredText& measured,
DGreedyLineBreaker.cpp41 GreedyLineBreaker(const U16StringPiece& textBuf, const MeasuredText& measured, in GreedyLineBreaker() argument
46 mMeasuredText(measured), in GreedyLineBreaker()
551 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy() argument
557 GreedyLineBreaker lineBreaker(textBuf, measured, lineWidthLimits, tabStops, enableHyphenation, in breakLineGreedy()
578 GreedyLineBreaker phLineBreaker(textBuf, measured, lineWidthLimits, tabStops, enableHyphenation, in breakLineGreedy()
/frameworks/libs/systemui/viewcapturelib/
DREADME.md8 …e in WindowListener within ViewCapture is measured with System.nanoTime(). The following scenario …
/frameworks/native/cmds/flatland/
DREADME.txt29 measured, each sample measurement runs for between 50 and 200 ms, so a sleep
51 was measured. The third column is the measured benchmark result. It
67 varies - This indicates that the scenario was measured, but it did not
/frameworks/base/tools/orientationplot/
DREADME.txt37 filtered accelerometer data, measured tilt and orientation angle, confidence
63 the measured orientation angle is now within the gap between the new
66 In other words, the hysteresis gap applies only when the measured orientation
76 4. The orientation angle is not measured when the tilt is too close to 90 or -90
/frameworks/base/core/java/android/text/
DStaticLayout.java937 final MeasuredParagraph measuredPara = paragraphInfo[paraIndex].measured; in generate()
1123 @NonNull final MeasuredParagraph measured,
1132 final int dir = measured.getParagraphDir();
1183 calculateEllipsis(start, end, measured, widthStart,
1277 mLineDirections[j] = measured.getDirections(start - widthStart, end - widthStart);
1284 MeasuredParagraph measured, int widthStart,
1308 float w = measured.getCharWidthAt(i - 1 + lineStart - widthStart);
1311 && measured.getCharWidthAt(i + lineStart - widthStart) == 0.0f) {
1333 float w = measured.getCharWidthAt(i + lineStart - widthStart);
1356 float w = measured.getCharWidthAt(right - 1 + lineStart - widthStart);
[all …]
DPrecomputedText.java365 public final @NonNull MeasuredParagraph measured; field in PrecomputedText.ParagraphInfo
371 public ParagraphInfo(@IntRange(from = 0) int paraEnd, @NonNull MeasuredParagraph measured) { in ParagraphInfo() argument
373 this.measured = measured; in ParagraphInfo()
602 return mParagraphInfo[paraIndex].measured; in getMeasuredParagraph()
/frameworks/rs/script_api/
Drs_math.spec237 To get an inverse cosine measured in degrees, use <code>acospi(a) * 180.f</code>.
308 To get an inverse sine measured in degrees, use <code>asinpi(a) * 180.f</code>.
382 To get an inverse tangent measured in degrees, use <code>atan2pi(n, d) * 180.f</code>.
431 To get an inverse tangent measured in degrees, use <code>atanpi(a) * 180.f</code>.
618 Returns the cosine of an angle measured in radians.
641 Returns the hypebolic cosine of v, where v is measured in radians.
664 Returns the cosine of <code>(v * pi)</code>, where <code>(v * pi)</code> is measured in radians.
666 To get the cosine of a value measured in degrees, call <code>cospi(v / 180.f)</code>.
1864 To get an inverse cosine measured in degrees, use <code>acospi(a) * 180.f</code>.
1949 To get an inverse sine measured in degrees, use <code>asinpi(a) * 180.f</code>.
[all …]
/frameworks/native/services/surfaceflinger/TimeStats/timestatsatomsproto/
Dtimestats_atoms.proto81 // Set of timings measured from when SurfaceFlinger began compositing a
88 // Set of timings measured from when SurfaceFlinger first began using the
196 // Set of timings measured between successive presentation timestamps.
198 // Set of timings measured from when an app queued a buffer for
202 // Set of timings measured from when a buffer is ready to be presented,
205 // Set of timings measured from when a buffer was latched by
208 // Set of timings measured from the desired presentation to the actual
211 // Set of timings measured from when an app queued a buffer for
/frameworks/base/core/java/android/widget/flags/
Dnotification_widget_flags.aconfig54 description: "MessagingChild always needs to be measured during MessagingLinearLayout onMeasure."
/frameworks/base/tools/preload/
DMemoryUsage.java213 MemoryUsage measured = measure(); in run() local
216 memoryUsage = measured; in run()
/frameworks/minikin/tests/unittest/
DOptimalLineBreakerTest.cpp1003 std::unique_ptr<MeasuredText> measured = builder.build( in TEST_F() local
1015 auto actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1019 actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1031 actual = doLineBreak(textBuf, *measured, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1035 actual = doLineBreak(textBuf, *measured, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1046 std::unique_ptr<MeasuredText> measured = builder.build( in TEST_F() local
1057 auto actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1061 actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1065 actual = doLineBreak(textBuf, *measured, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1069 actual = doLineBreak(textBuf, *measured, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
[all …]
DGreedyLineBreakerTest.cpp247 float measured = Layout::measureText(textBuffer, Range(0, textBuffer.size()), Bidi::LTR, paint, in TEST_F() local
256 RectangleLineWidth rectangleLineWidth(measured); in TEST_F()
/frameworks/rs/script_api/include/
Drs_math.rsh282 * To get an inverse cosine measured in degrees, use acospi(a) * 180.f.
401 * To get an inverse sine measured in degrees, use asinpi(a) * 180.f.
524 * To get an inverse tangent measured in degrees, use atan2pi(n, d) * 180.f.
608 * To get an inverse tangent measured in degrees, use atanpi(a) * 180.f.
1199 * Returns the cosine of an angle measured in radians.
1238 * Returns the hypebolic cosine of v, where v is measured in radians.
1277 * Returns the cosine of (v * pi), where (v * pi) is measured in radians.
1279 * To get the cosine of a value measured in degrees, call cospi(v / 180.f).
3778 * To get an inverse cosine measured in degrees, use acospi(a) * 180.f.
3925 * To get an inverse sine measured in degrees, use asinpi(a) * 180.f.
[all …]
/frameworks/proto_logging/stats/atoms/sdksandbox/
Dsdksandbox_extension_atoms.proto82 // The stage at which latency is being measured
/frameworks/proto_logging/stats/atoms/wearpas/
Dwearpas_extension_atoms.proto83 * backoff durations, each of which is measured from the moment a "new
/frameworks/base/libs/hwui/jni/
DPaint.cpp113 float measured = 0; in breakText() local
123 if (measured + width > maxWidth) { in breakText()
130 measured += width; in breakText()
136 array[0] = measured; in breakText()
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto104 // bandwidth for the first hop on the given transport. It is not measured,
/frameworks/base/core/proto/android/os/
Dbatterystats.proto89 // Total realtime duration measured with screen off or dozing.
91 // Total uptime duration measured with screen off or dozing.
/frameworks/proto_logging/stats/enums/app/wearservices/
Dwearservices_enums.proto663 // measured.
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp402 nsecs_t bestGap, measured; in getMonoToBoottimeOffset() local
410 measured = tbase - ((tmono + tmono2) >> 1); in getMonoToBoottimeOffset()
413 return measured; in getMonoToBoottimeOffset()
/frameworks/av/services/audioflinger/
DThreads.cpp461 nsecs_t bestGap = 0, measured = 0; // not required, initialized for clang-tidy in adjustTimebaseOffset() local
469 measured = tbase - ((tmono + tmono2) >> 1); in adjustTimebaseOffset()
479 if (llabs(*offset - measured) > toleranceNs) { in adjustTimebaseOffset()
481 (long long)*offset, (long long)measured); in adjustTimebaseOffset()
482 *offset = measured; in adjustTimebaseOffset()
/frameworks/proto_logging/stats/
Datoms.proto2616 // System estimated/measured bytes that the job
2621 // System estimated/measured uploaded bytes that the job
2626 // System estimated/measured bytes that the job
2631 // System estimated/measured uploaded bytes that the job
8159 // Time (in ms since boot) at which the rail energy value was measured.
8431 // GPU memory usage as measured by the kernel tracepoints
14083 // Set of timings measured from when SurfaceFlinger began compositing a
14091 // Set of timings measured from when SurfaceFlinger first began using the
14205 // Set of timings measured between successive presentation timestamps.
14211 // Set of timings measured from when an app queued a buffer for
[all …]

12