Home
last modified time | relevance | path

Searched refs:wordSpacing (Results 1 – 11 of 11) sorted by relevance

/frameworks/minikin/libs/minikin/
DLayout.cpp100 float wordSpacing) in LayoutAppendFunctor() argument
105 mWordSpacing(wordSpacing) {} in LayoutAppendFunctor()
132 float wordSpacing = count == 1 && isWordSpace(buf[start]) ? paint.wordSpacing : 0; in doLayoutWord() local
137 LayoutAppendFunctor f(layout, advances, &totalAdvance, bufStart, wordSpacing); in doLayoutWord()
140 if (wordSpacing != 0) { in doLayoutWord()
141 totalAdvance += wordSpacing; in doLayoutWord()
143 advances[0] += wordSpacing; in doLayoutWord()
DMeasuredText.cpp183 float wordSpacing = range.getLength() == 1 && isWordSpace(textBuf[range.getStart()]) in appendLayout() local
184 ? mPaint.wordSpacing in appendLayout()
188 LayoutCompositor compositor(outLayout, wordSpacing); in appendLayout()
/frameworks/minikin/include/minikin/
DMinikinPaint.h55 wordSpacing(0), in MinikinPaint()
68 float wordSpacing; member
86 letterSpacing == paint.letterSpacing && wordSpacing == paint.wordSpacing &&
98 .update(wordSpacing) in hash()
DLayoutCache.h51 mWordSpacing(paint.wordSpacing), in LayoutCacheKey()
/frameworks/base/libs/hwui/hwui/
DPaint.h73 void setWordSpacing(float wordSpacing) { mWordSpacing = wordSpacing; } in setWordSpacing() argument
DMinikinUtils.cpp42 minikinPaint.wordSpacing = paint->getWordSpacing(); in prepareMinikinPaint()
/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp189 paint1.wordSpacing = 0.0f; in TEST()
193 paint2.wordSpacing = 1.0f; in TEST()
DLayoutTest.cpp141 paint.wordSpacing = 5.0f; in TEST_F()
232 paint.wordSpacing = -5.0f; in TEST_F()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1799 public void setWordSpacing(@Px float wordSpacing) { in setWordSpacing() argument
1800 nSetWordSpacing(mNativePaint, wordSpacing); in setWordSpacing()
3140 private static native void nSetWordSpacing(long paintPtr, float wordSpacing); in nSetWordSpacing() argument
/frameworks/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java1078 /*package*/ static void nSetWordSpacing(long nativePaint, float wordSpacing) { in nSetWordSpacing() argument
1083 delegate.mWordSpacing = wordSpacing; in nSetWordSpacing()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp925 static void setWordSpacing(jlong paintHandle, jfloat wordSpacing) { in setWordSpacing() argument
927 paint->setWordSpacing(wordSpacing); in setWordSpacing()