Searched refs:newMsgBody (Results 1 – 2 of 2) sorted by relevance
471 String newMsgBody = null; in fragmentText() local477 newMsgBody = Sms7BitEncodingTranslator.translate(text, isCdma && ted.msgCount == 1); in fragmentText()479 if (TextUtils.isEmpty(newMsgBody)) { in fragmentText()480 newMsgBody = text; in fragmentText()484 int textLen = newMsgBody.length(); in fragmentText()494 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText()498 nextPos = SmsMessageBase.findNextUnicodePosition(pos, limit, newMsgBody); in fragmentText()505 result.add(newMsgBody.substring(pos, nextPos)); in fragmentText()
1083 CharSequence newMsgBody = null; in calculateLength() local1086 newMsgBody = Sms7BitEncodingTranslator.translate(msgBody, false /* isCdmaFormat */); in calculateLength()1088 if (TextUtils.isEmpty(newMsgBody)) { in calculateLength()1089 newMsgBody = msgBody; in calculateLength()1091 TextEncodingDetails ted = GsmAlphabet.countGsmSeptets(newMsgBody, use7bitOnly); in calculateLength()1093 return SmsMessageBase.calcUnicodeEncodingDetails(newMsgBody); in calculateLength()