Home
last modified time | relevance | path

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

123

/frameworks/minikin/libs/minikin/
DMeasurement.cpp33 float advance = 0.0f; in getRunAdvance() local
39 advance += charAdvance; in getRunAdvance()
64 advance -= clusterWidth * numGraphemeClustersAfter / numGraphemeClusters; in getRunAdvance()
67 return advance; in getRunAdvance()
84 float advance) { in getOffsetForAdvance() argument
97 if (x > advance) { in getOffsetForAdvance()
109 + xSearchStart - advance; in getOffsetForAdvance()
DMinikinFontFreeType.cpp45 FT_Fixed advance; in GetHorizontalAdvance() local
46 FT_Get_Advance(mTypeface, glyph_id, flags, &advance); in GetHorizontalAdvance()
47 return advance * (1.0 / 65536); in GetHorizontalAdvance()
DLayout.cpp292 float advance = font->GetHorizontalAdvance(glyph, *paint); in harfbuzzGetGlyphHorizontalAdvance() local
293 return 256 * advance + 0.5; in harfbuzzGetGlyphHorizontalAdvance()
606 float advance = 0; in measureText() local
609 advance += doLayoutRunCached(buf, runInfo.mRunStart, runInfo.mRunLength, bufSize, in measureText()
614 return advance; in measureText()
621 float advance = 0; in doLayoutRunCached() local
632 advance += doLayoutWord(buf + wordstart, iter - wordstart, wordcount, in doLayoutRunCached()
647 advance += doLayoutWord(buf + wordstart, bufStart - wordstart, iter - bufStart, in doLayoutRunCached()
653 return advance; in doLayoutRunCached()
/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/base/core/java/android/text/
DTextLine.java311 boolean advance = (mDir == Layout.DIR_RIGHT_TO_LEFT) == runIsRtl; in measure()
312 if (inSegment && advance) { in measure()
317 h += advance ? w : -w; in measure()
487 boolean advance = toLeft == runIsRtl;
488 if (cursor != (advance ? runLimit : runStart) || advance != trailing) {
491 runIsRtl, cursor, advance);
494 if (newCaret != (advance ? runLimit : runStart)) {
507 boolean advance = toLeft == paraIsRtl;
508 int otherRunIndex = runIndex + (advance ? 2 : -2);
520 advance = toLeft == otherRunIsRtl;
[all …]
/frameworks/base/core/java/android/util/
DJsonReader.java312 advance(); in expect()
370 private JsonToken advance() throws IOException { in advance() method in JsonReader
393 advance(); in nextName()
412 advance(); in nextString()
430 advance(); in nextBoolean()
447 advance(); in nextNull()
464 advance(); in nextDouble()
495 advance(); in nextLong()
526 advance(); in nextInt()
554 JsonToken token = advance(); in skipValue()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DPaintTest.java48 final float advance = p.getTextRunAdvances(str, start, end, contextStart, contextEnd, in assertGetTextRunAdvances() local
54 assertEquals(advance, advance_c, 1.0f); in assertGetTextRunAdvances()
61 assertEquals(advance, firstPartAdvance + secondPartAdvance, 1.0f); in assertGetTextRunAdvances()
69 assertEquals(advance, firstPartAdvance_c + secondPartAdvance_c, 1.0f); in assertGetTextRunAdvances()
81 assertEquals(advance, p.measureText(str, start, end), 1.0f); in assertGetTextRunAdvances()
82 assertEquals(advance, p.getRunAdvance( in assertGetTextRunAdvances()
/frameworks/native/include/private/ui/
DRegionHelper.h188 advance(lhs, SpannerBase::lhs_head, SpannerBase::lhs_tail); in next()
191 advance(rhs, SpannerBase::rhs_head, SpannerBase::rhs_tail); in next()
198 void advance(region& reg, TYPE& aTop, TYPE& aBottom) { in advance() function
269 advance(lhs, SpannerBase::lhs_head, SpannerBase::lhs_tail); in next()
272 advance(rhs, SpannerBase::rhs_head, SpannerBase::rhs_tail); in next()
279 void advance(region& reg, TYPE& left, TYPE& right) { in advance() function
/frameworks/base/core/jni/android/graphics/
DHarfBuzzNGFaceSkia.cpp101 hb_position_t advance = 0; in harfbuzzGetGlyphHorizontalAdvance() local
103 SkiaGetGlyphWidthAndExtents(hbFontData->m_paint, glyph, &advance, 0); in harfbuzzGetGlyphHorizontalAdvance()
104 return advance; in harfbuzzGetGlyphHorizontalAdvance()
DPathEffect.cpp49 jlong shapeHandle, jfloat advance, jfloat phase, jint style) { in OneD_constructor() argument
52 SkPathEffect* effect = SkPath1DPathEffect::Create(*shape, advance, phase, in OneD_constructor()
/frameworks/av/services/audioflinger/
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()
696 sg.advance();
DAudioResamplerCubic.h53 static inline void advance(state* p, int16_t in) { in advance() function
/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();
DBinTree.h40 void advance() { in advance() function
70 void advance() { in advance() function
156 IteratorType::advance();
162 IteratorType::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/native/libs/gui/
DBufferItem.cpp116 FlattenableUtils::advance(buffer, size, sizeof(uint32_t)); in flatten()
134 FlattenableUtils::advance(buffer, size, mSurfaceDamage.getFlattenedSize()); in flatten()
190 FlattenableUtils::advance(buffer, size, mSurfaceDamage.getFlattenedSize()); in unflatten()
/frameworks/base/core/java/android/widget/
DAdvanceable.java30 public void advance(); in advance() method
/frameworks/minikin/include/minikin/
DMeasurement.h28 float advance);
/frameworks/base/tools/preload2/src/com/android/preload/ui/
DNullProgressMonitor.java24 public void advance(int arg0) {} in advance() method in NullProgressMonitor
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPathDashPathEffect_Delegate.java65 /*package*/ static long nativeCreate(long native_path, float advance, float phase, in nativeCreate() argument
/frameworks/av/media/libnbaio/
DNBLog.cpp364 size_t advance = length + 3; in dump() local
412 advance = 0; in dump()
424 i += advance; in dump()
/frameworks/av/cmds/stagefright/
Dmuxer.cpp173 extractor->advance(); in muxing()
214 extractor->advance(); in muxing()
/frameworks/base/media/jni/
Dandroid_media_MediaExtractor.h57 status_t advance();

123