Home
last modified time | relevance | path

Searched refs:lastChar (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DEOLConvertingOutputStream.java24 int lastChar; field in EOLConvertingOutputStream
33 if (lastChar != '\r') { in write()
38 lastChar = oneByte; in write()
43 if (lastChar == '\r') { in flush()
45 lastChar = '\n'; in flush()
/packages/services/Telephony/src/com/android/phone/common/mail/utility/
DEOLConvertingOutputStream.java23 int lastChar; field in EOLConvertingOutputStream
32 if (lastChar != '\r') { in write()
37 lastChar = oneByte; in write()
42 if (lastChar == '\r') { in flush()
44 lastChar = '\n'; in flush()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DNgramContextUtils.java98 final char lastChar = focusedWord.charAt(length - 1); in getNgramContextFromNthPreviousWord() local
99 if (spacingAndPunctuations.isSentenceTerminator(lastChar)) { in getNgramContextFromNthPreviousWord()
105 if (spacingAndPunctuations.isWordSeparator(lastChar) in getNgramContextFromNthPreviousWord()
106 || spacingAndPunctuations.isWordConnector(lastChar)) { in getNgramContextFromNthPreviousWord()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp199 const int lastChar = PatriciaTrieReadingUtils::getCodePointAndAdvancePosition( in getCodePointsAndProbabilityAndReturnCodePointCount() local
202 outCodePoints[wordPos] = lastChar; in getCodePointsAndProbabilityAndReturnCodePointCount()