Searched refs:lastTwo (Results 1 – 1 of 1) sorted by relevance
1336 final CharSequence lastTwo = mConnection.getTextBeforeCursor(3, 0); in tryPerformDoubleSpacePeriod() local1337 if (null == lastTwo) return false; in tryPerformDoubleSpacePeriod()1338 final int length = lastTwo.length(); in tryPerformDoubleSpacePeriod()1340 if (lastTwo.charAt(length - 1) != Constants.CODE_SPACE) { in tryPerformDoubleSpacePeriod()1346 Character.isSurrogatePair(lastTwo.charAt(0), lastTwo.charAt(1)) ? in tryPerformDoubleSpacePeriod()1347 Character.codePointAt(lastTwo, length - 3) : lastTwo.charAt(length - 2); in tryPerformDoubleSpacePeriod()