Searched defs:hyphen (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/hwui/
H A DPaint.h75 void setHyphenEdit(uint32_t hyphen) { argument
76 mHyphenEdit = hyphen;
/frameworks/minikin/include/minikin/
H A DMinikinFont.h30 // The hyphen edit represents an edit to the string when a word is
31 // hyphenated. The most common hyphen edit is adding a "-" at the end
35 HyphenEdit() : hyphen(0) { }
36 HyphenEdit(uint32_t hyphenInt) : hyphen(hyphenInt) { }
37 bool hasHyphen() const { return hyphen != 0; }
38 bool operator==(const HyphenEdit &other) const { return hyphen == other.hyphen; }
40 uint32_t hyphen; member in class:android::HyphenEdit
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp387 static jint getHyphenEdit(JNIEnv* env, jobject clazz, jlong paintHandle, jint hyphen) { argument
392 static void setHyphenEdit(JNIEnv* env, jobject clazz, jlong paintHandle, jint hyphen) { argument
394 paint->setHyphenEdit((uint32_t)hyphen);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java1104 /*package*/ static void nSetHyphenEdit(long nativePaint, int hyphen) { argument
1109 delegate.mHyphenEdit = hyphen;
/frameworks/minikin/libs/minikin/
H A DLayout.cpp620 HyphenEdit hyphen = ctx->paint.hyphenEdit; local
629 // Only apply hyphen to the last word in the string.
630 ctx->paint.hyphenEdit = wordend >= start + count ? hyphen : HyphenEdit();
644 // Only apply hyphen to the last (leftmost) word in the string.
645 ctx->paint.hyphenEdit = iter == end ? hyphen : HyphenEdit();
793 // effect of assigning the hyphen width to a nonspacing mark
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1534 * Get the current value of hyphen edit.
1536 * @return the current hyphen edit value
1545 * Set a hyphen edit on the paint (causes a hyphen to be added to text when
1548 * @param hyphen 0 for no edit, 1 for adding a hyphen (other values in future)
1552 public void setHyphenEdit(int hyphen) { argument
1553 nSetHyphenEdit(mNativePaint, hyphen);
2712 private static native void nSetHyphenEdit(long paintPtr, int hyphen); argument

Completed in 1576 milliseconds