Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp164 std::vector<DesperateBreak> populateDesperatePoints(const MeasuredText& measured, in populateDesperatePoints() argument
167 ParaWidth width = measured.widths[range.getStart()]; in populateDesperatePoints()
169 const float w = measured.widths[i]; in populateDesperatePoints()
207 OptimizeContext populateCandidates(const U16StringPiece& textBuf, const MeasuredText& measured, in populateCandidates() argument
216 auto hyIter = std::begin(measured.hyphenBreaks); in populateCandidates()
218 for (const auto& run : measured.runs) { in populateCandidates()
234 proc.feedChar(i, textBuf[i], measured.widths[i]); in populateCandidates()
247 while (hyIter != std::end(measured.hyphenBreaks) && in populateCandidates()
252 desperateBreaks = populateDesperatePoints(measured, contextRange); in populateCandidates()
258 if (nextCharOffset == range.getEnd() || measured.widths[nextCharOffset] > 0) { in populateCandidates()
[all …]
DGreedyLineBreaker.cpp41 GreedyLineBreaker(const U16StringPiece& textBuf, const MeasuredText& measured, in GreedyLineBreaker() argument
46 mMeasuredText(measured), in GreedyLineBreaker()
384 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy() argument
390 GreedyLineBreaker lineBreaker(textBuf, measured, lineWidthLimits, tabStops, enableHyphenation); in breakLineGreedy()
DGreedyLineBreaker.h28 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured,
DOptimalLineBreaker.h26 LineBreakResult breakLineOptimal(const U16StringPiece& textBuf, const MeasuredText& measured,
/frameworks/base/core/java/android/text/
DPrecomputedText.java281 public final @NonNull MeasuredParagraph measured; field in PrecomputedText.ParagraphInfo
287 public ParagraphInfo(@IntRange(from = 0) int paraEnd, @NonNull MeasuredParagraph measured) { in ParagraphInfo() argument
289 this.measured = measured; in ParagraphInfo()
425 return mParagraphInfo[paraIndex].measured; in getMeasuredParagraph()
DStaticLayout.java742 final MeasuredParagraph measuredPara = paragraphInfo[paraIndex].measured; in generate()
915 final int flags, final boolean needMultiply, @NonNull final MeasuredParagraph measured,
924 final int dir = measured.getParagraphDir();
1052 mLineDirections[j] = measured.getDirections(start - widthStart, end - widthStart);
/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/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/base/apct-tests/perftests/core/src/android/text/
DPrecomputedTextMemoryUsageTest.java126 memories[i] += info.measured.getMemoryUsage(); in testMemoryUsage_NoHyphenation_WidthOnly()
147 memories[i] += info.measured.getMemoryUsage(); in testMemoryUsage_Hyphenatation_WidthOnly()
/frameworks/base/tools/preload/
DMemoryUsage.java213 MemoryUsage measured = measure(); in run() local
216 memoryUsage = measured; in run()
/frameworks/minikin/tests/unittest/
DOptimalLineBreakerTest.cpp1084 std::unique_ptr<MeasuredText> measured = builder.build( in TEST_F() local
1095 auto actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1099 actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1111 actual = doLineBreak(textBuf, *measured, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1115 actual = doLineBreak(textBuf, *measured, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1125 std::unique_ptr<MeasuredText> measured = builder.build( in TEST_F() local
1135 auto actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1139 actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1143 actual = doLineBreak(textBuf, *measured, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1147 actual = doLineBreak(textBuf, *measured, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
/frameworks/base/proto/src/
Dwifi.proto897 // total number of unique apps that used Aware (measured on attach)
985 // histogram of usage (in MB) of data-path creation time (in ms) measured as request -> confirm
988 // statistics for data-path (NDP) creation time (in ms) measured as request -> confirm: minimum
991 // statistics for data-path (NDP) creation time (in ms) measured as request -> confirm: maximum
994 // statistics for data-path (NDP) creation time (in ms) measured as request -> confirm: sum
997 // statistics for data-path (NDP) creation time (in ms) measured as request -> confirm: sum of sq
1000 // statistics for data-path (NDP) creation time (in ms) measured as request -> confirm: number of
1382 // Histogram of measured distances (RangingResult entries)
Dmetrics_constants.proto4532 // FIELD: The delay of the activity reporting to be fully drawn measured from the beginning of
/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/base/core/jni/android/graphics/
DPaint.cpp114 float measured = 0; in breakText() local
124 if (measured + width > maxWidth) { in breakText()
131 measured += width; in breakText()
137 array[0] = measured; in breakText()
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto119 // bandwidth for the first hop on the given transport. It is not measured,
/frameworks/base/core/proto/android/os/
Dbatterystats.proto85 // Total realtime duration measured with screen off or dozing.
87 // Total uptime duration measured with screen off or dozing.
/frameworks/av/services/audioflinger/
DThreads.cpp295 nsecs_t bestGap, measured; in adjustTimebaseOffset() local
303 measured = tbase - ((tmono + tmono2) >> 1); in adjustTimebaseOffset()
313 if (llabs(*offset - measured) > toleranceNs) { in adjustTimebaseOffset()
315 (long long)*offset, (long long)measured); in adjustTimebaseOffset()
316 *offset = measured; in adjustTimebaseOffset()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp413 nsecs_t bestGap, measured; in getMonoToBoottimeOffset() local
421 measured = tbase - ((tmono + tmono2) >> 1); in getMonoToBoottimeOffset()
424 return measured; in getMonoToBoottimeOffset()
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dmems.txt2214 offer is little enough when measured by your ability, but when
3362 measured less than six and a half feet. It was strange among so many
4209 measured it. It was nine feet in length.
4214 the other. I measured out the distance, which brought me almost to
Dadvs.txt3618 then had. Having measured these very carefully from seven or eight
6872 the measured tapping of Sherlock Holmes' finger-tips upon the edge of
11661 a better fit if I had been measured for it. Both Mr. and Mrs.
Dlstb.txt134 A measured step was heard upon the stairs, and a moment later a
4310 An hour passed and yet another. When eleven struck, the measured beat
Dretn.txt6828 itself into the measured thud of heavy footsteps rapidly approaching.