Home
last modified time | relevance | path

Searched refs:lineLength (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessageMime.java335 int partLength, lineLength = 0; in encodeHeaderAddresses() local
336 lineLength += headerName.getBytes().length; in encodeHeaderAddresses()
341 if(lineLength + partLength >= 998) // max line length in RFC2822 in encodeHeaderAddresses()
344 lineLength = 0; in encodeHeaderAddresses()
347 lineLength += partLength; in encodeHeaderAddresses()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DEvaluator.java853 final int lineLength = cm.getMaxChars(); in getPreferredPrec() local
866 if (wholeSize <= lineLength - sepCharsNoDecimal && lastDigitOffset <= 0) { in getPreferredPrec()
872 <= lineLength - sepCharsWithDecimal) { in getPreferredPrec()
886 return lineLength - 2; in getPreferredPrec()
892 int result = msd - wholeSize + lineLength - negative - 1; in getPreferredPrec()
893 if (wholeSize <= lineLength - sepCharsNoDecimal) { in getPreferredPrec()
895 if (wholeSize < lineLength - sepCharsWithDecimal) { in getPreferredPrec()