Searched refs:hyphen (Results 1 - 7 of 7) sorted by relevance
/frameworks/minikin/include/minikin/ |
H A D | MinikinFont.h | 30 // 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/libs/hwui/hwui/ |
H A D | Paint.h | 75 void setHyphenEdit(uint32_t hyphen) { argument 76 mHyphenEdit = hyphen;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 1534 * 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
|
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 620 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/opt/vcard/java/com/android/vcard/ |
H A D | VCardUtils.java | 478 * should contain only alphabets, digits, and hyphen. 504 final int hyphen = '-'; 515 (codepoint == hyphen))) {
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 387 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 D | Paint_Delegate.java | 1104 /*package*/ static void nSetHyphenEdit(long nativePaint, int hyphen) { argument 1109 delegate.mHyphenEdit = hyphen;
|
Completed in 163 milliseconds