Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSendersView.java234 String messageInfo, int maxChars, ArrayList<SpannableString> styledSenders, in format() argument
240 format(context, conversationInfo, messageInfo, maxChars, styledSenders, in format()
251 String messageInfo, int maxChars, ArrayList<SpannableString> styledSenders, in format() argument
259 handlePriority(maxChars, messageInfo, conversationInfo, styledSenders, in format()
269 private static void handlePriority(int maxChars, String messageInfoString, in handlePriority() argument
283 if (numCharsUsed > maxChars) { in handlePriority()
284 numCharsToRemovePerWord = numCharsUsed - maxChars; in handlePriority()
305 if (length > maxChars && numSendersUsed >= 2) { in handlePriority()
DConversationItemView.java784 final int maxChars = ConversationItemViewCoordinates.getSendersLength(context, in calculateTextsAndBitmaps() local
792 mHeader.messageInfoString.toString(), maxChars, mHeader.styledNames, in calculateTextsAndBitmaps()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorResult.java245 int maxChars = getMaxChars(); in initPositions() local
295 } else if (minCharOffset > -1 || mMaxCharOffset >= maxChars) { in initPositions()
300 mScrollable = (mMaxCharOffset + currentExpLen - minCharOffset + negative >= maxChars); in initPositions()
518 int maxChars = getMaxChars(); in redisplay() local
520 String result = getFormattedResult(currentCharOffset, maxChars, lastDisplayedOffset, false); in redisplay()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
DOpenWnnDictionaryImplJni.c58 static int convertStringToNjChar( JNIEnv *env, NJ_CHAR* dst, jstring srcJ, int maxChars ) in convertStringToNjChar() argument
67 for( i = o = 0 ; src[ i ] != 0x00 && o < maxChars ; ) { in convertStringToNjChar()
106 if( !( o < maxChars - 1 ) ) { in convertStringToNjChar()
136 static int convertNjCharToString( JNIEnv* env, jstring* dstJ, NJ_CHAR* src, int maxChars ) in convertNjCharToString() argument
143 for( i = o = 0 ; src[ i ] != 0x0000 && i < maxChars ; ) { in convertNjCharToString()
168 if( !( i < maxChars - 1 ) || src_tmp[ 2 ] < 0xdc || src_tmp[ 2 ] > 0xdf ) { in convertNjCharToString()