Home
last modified time | relevance | path

Searched refs:advance (Results 1 – 25 of 83) sorted by relevance

1234

/frameworks/minikin/tests/unittest/
DBoundsCacheTest.cpp36 void operator()(const MinikinRect& rect, float advance) { in operator ()() argument
38 mAdvance = advance; in operator ()()
42 float advance() const { return mAdvance; } in advance() function in minikin::BoundsCapture
65 EXPECT_EQ(bounds1.advance(), bounds2.advance()); in TEST()
85 EXPECT_NE(bounds1.advance(), bounds2.advance()); in TEST()
94 EXPECT_NE(bounds1.advance(), bounds2.advance()); in TEST()
109 EXPECT_NE(bounds1.advance(), bounds2.advance()); in TEST()
125 EXPECT_NE(bounds1.advance(), bounds2.advance()); in TEST()
143 EXPECT_NE(bounds1.advance(), bounds2.advance()); in TEST()
169 EXPECT_EQ(bounds1.advance(), bounds3.advance()); in TEST()
DLayoutCoreTest.cpp82 EXPECT_EQ(10.0f, layout.advance()); in TEST()
97 EXPECT_EQ(20.0f, layout.advance()); in TEST()
112 EXPECT_EQ(60.0f, layout.advance()); in TEST()
138 EXPECT_EQ(30.0f, layout.advance()); in TEST()
153 EXPECT_EQ(30.0f, layout.advance()); in TEST()
172 EXPECT_EQ(10.0f, layout.advance()); in TEST()
184 EXPECT_EQ(10.0f, layout.advance()); in TEST()
196 EXPECT_EQ(10.0f, layout.advance()); in TEST()
210 EXPECT_EQ(20.0f, layout.advance()); in TEST()
225 EXPECT_EQ(20.0f, layout.advance()); in TEST()
[all …]
/frameworks/minikin/libs/minikin/
DMeasurement.cpp34 float advance = 0.0f; in getRunAdvance() local
40 advance += charAdvance; in getRunAdvance()
66 advance -= clusterWidth * numGraphemeClustersAfter / numGraphemeClusters; in getRunAdvance()
69 return advance; in getRunAdvance()
86 float advance) { in getOffsetForAdvance() argument
99 if (x > advance) { in getOffsetForAdvance()
111 + xSearchStart - advance; in getOffsetForAdvance()
127 void operator()(const MinikinRect& rect, float advance) { in operator ()()
131 mAdvance += advance; in operator ()()
DLayout.cpp63 float advance = 0; in measureText() local
67 advance += doLayoutRunCached(textBuf, runInfo.range, runInfo.isRtl, paint, 0, startHyphen, in measureText()
70 return advance; in measureText()
80 float advance = 0; in doLayoutRunCached() local
89 advance += doLayoutWord(textBuf.data() + context.getStart(), in doLayoutRunCached()
94 return advance; in doLayoutRunCached()
116 *mTotalAdvance = layoutPiece.advance(); in operator ()()
161 mAdvance += src.advance() + extraAdvance; in appendLayout()
DMeasuredText.cpp90 mTotalAdvance += layoutPiece.advance(); in operator ()()
96 float advance() const { return mTotalAdvance; } in advance() function in minikin::TotalAdvanceCompositor
124 return compositor.advance(); in measureHyphenPiece()
230 mAdvance += layoutPiece.advance(); in operator ()()
234 float advance() const { return mAdvance; } in advance() function in minikin::BoundsCompositor
253 return std::make_pair(compositor.advance(), compositor.bounds()); in getBounds()
315 auto[advance, bounds] = in getBounds()
319 totalAdvance += advance; in getBounds()
DBoundsCache.cpp24 value->advance = layoutPiece.advance(); in operator ()()
/frameworks/base/graphics/java/android/graphics/
DPathDashPathEffect.java42 public PathDashPathEffect(Path shape, float advance, float phase, in PathDashPathEffect() argument
44 native_instance = nativeCreate(shape.readOnlyNI(), advance, phase, in PathDashPathEffect()
48 private static native long nativeCreate(long native_path, float advance, in nativeCreate() argument
/frameworks/minikin/include/minikin/
DBoundsCache.h36 float advance; member
59 f(getBounds(piece, paint), piece.advance()); in getOrCreate()
66 f(value->rect, value->advance); in getOrCreate()
75 f(ve.value->rect, ve.value->advance); in getOrCreate()
/frameworks/base/core/java/android/util/
DJsonReader.java314 advance(); in expect()
372 private JsonToken advance() throws IOException { in advance() method in JsonReader
395 advance(); in nextName()
414 advance(); in nextString()
432 advance(); in nextBoolean()
449 advance(); in nextNull()
466 advance(); in nextDouble()
497 advance(); in nextLong()
528 advance(); in nextInt()
556 JsonToken token = advance(); in skipValue()
/frameworks/native/libs/ui/include_private/ui/
DRegionHelper.h169 advance(lhs, SpannerBase::lhs_head, SpannerBase::lhs_tail); in next()
172 advance(rhs, SpannerBase::rhs_head, SpannerBase::rhs_tail); in next()
178 static inline void advance(region& reg, TYPE& aTop, TYPE& aBottom) { in advance() function
243 advance(lhs, SpannerBase::lhs_head, SpannerBase::lhs_tail); in next()
246 advance(rhs, SpannerBase::rhs_head, SpannerBase::rhs_tail); in next()
252 static inline void advance(region& reg, TYPE& left, TYPE& right) { in advance() function
DFlattenableHelpers.h70 FlattenableUtils::advance(*buffer, *size, str.length()); in flatten()
79 FlattenableUtils::advance(*buffer, *size, length); in unflatten()
92 FlattenableUtils::advance(*buffer, *size, value.getFlattenedSize()); in flatten()
99 FlattenableUtils::advance(*buffer, *size, value->getFlattenedSize()); in unflatten()
/frameworks/av/media/libmedia/include/media/
DPatchBuilder.h70 return *advance() = portCfg; in add()
74 audio_port_config* added = advance(); in add()
88 struct audio_port_config* advance() { in advance() function
/frameworks/base/core/java/android/text/
DTextLine.java460 final boolean advance = (mDir == Layout.DIR_RIGHT_TO_LEFT) == runIsRtl;
462 h += advance ? w : -w;
464 final float baseh = advance ? oldh : h;
465 FontMetricsInt crtfmi = advance ? fmi : null;
666 boolean advance = toLeft == runIsRtl;
667 if (cursor != (advance ? runLimit : runStart) || advance != trailing) {
670 runIsRtl, cursor, advance);
673 if (newCaret != (advance ? runLimit : runStart)) {
686 boolean advance = toLeft == paraIsRtl;
687 int otherRunIndex = runIndex + (advance ? 2 : -2);
[all …]
/frameworks/av/media/libaudioprocessing/
DAudioResamplerCubic.cpp108 advance(&left, in[inputIndex*2]); in resampleStereo16()
109 advance(&right, in[inputIndex*2+1]); in resampleStereo16()
176 advance(&left, in[inputIndex]); in resampleMono16()
DAudioResamplerFirGen.h70 inline void advance() { in advance() function
110 inline void advance() { in advance() function
111 mSineInnerCur.advance(); in advance()
112 mSineInnerPrev.advance(); in advance()
745 sg.advance();
/frameworks/native/libs/gui/
DBufferItem.cpp137 FlattenableUtils::advance(buffer, size, sizeof(uint32_t)); in flatten()
155 FlattenableUtils::advance(buffer, size, mSurfaceDamage.getFlattenedSize()); in flatten()
159 FlattenableUtils::advance(buffer, size, mHdrMetadata.getFlattenedSize()); in flatten()
221 FlattenableUtils::advance(buffer, size, mSurfaceDamage.getFlattenedSize()); in unflatten()
225 FlattenableUtils::advance(buffer, size, mHdrMetadata.getFlattenedSize()); in unflatten()
DHdrMetadata.cpp54 FlattenableUtils::advance(buffer, size, metadataSizeinByte); in flatten()
92 FlattenableUtils::advance(buffer, size, metadataSizeinByte); in unflatten()
/frameworks/compile/mclinker/include/mcld/ADT/
DHashIterator.h102 inline void advance() { in advance() function
204 inline void advance() { in advance() function
286 this->Base::advance();
292 this->Base::advance();
/frameworks/compile/mclinker/include/mcld/Support/
DGCFactory.h34 inline void advance() { in advance() function
91 this->Base::advance();
97 this->Base::advance();
/frameworks/compile/mclinker/include/mcld/
DInputTree.h48 IteratorType::advance();
51 IteratorType::advance();
57 IteratorType::advance();
60 IteratorType::advance();
/frameworks/base/core/java/android/widget/
DAdvanceable.java30 public void advance(); in advance() method
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbACAudioStreamEndpoint.java36 stream.advance(mLength - stream.getReadCount()); in parseRawDescriptors()
/frameworks/base/core/tests/coretests/src/android/graphics/
DPaintTest.java192 final float advance = p.getTextRunAdvances(chars, start, count, in assertGetTextRunAdvances() local
199 assertEquals(advance, firstPartAdvance + secondPartAdvance, 1.0f); in assertGetTextRunAdvances()
208 assertEquals(advance, p.measureText(str, start, end), 1.0f); in assertGetTextRunAdvances()
209 assertEquals(advance, p.getRunAdvance( in assertGetTextRunAdvances()
/frameworks/base/libs/hwui/jni/
DPathEffect.cpp48 jlong shapeHandle, jfloat advance, jfloat phase, jint style) { in OneD_constructor() argument
51 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase, in OneD_constructor()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dpayload.h102 std::advance(this->ConstCursor(), in ConsumeReadBufferSectionData()
142 std::advance(this->ConstCursor(), in ConsumeReadBufferSectionData()

1234