List of usage examples for android.text TextUtils lastIndexOf
public static int lastIndexOf(CharSequence s, char ch)
From source file:com.android.utils.TreeDebug.java
private static void appendSimpleName(StringBuilder sb, CharSequence fullName) { int dotIndex = TextUtils.lastIndexOf(fullName, '.'); if (dotIndex < 0) { dotIndex = 0;/*from w w w. j a va 2s . com*/ } sb.append(fullName, dotIndex, fullName.length()); }
From source file:com.googlecode.eyesfree.brailleback.TreeDebugNavigationMode.java
private void appendSimpleName(StringBuilder sb, CharSequence fullName) { int dotIndex = TextUtils.lastIndexOf(fullName, '.'); if (dotIndex < 0) { dotIndex = 0;//from www. j a va2 s .co m } sb.append(fullName, dotIndex, fullName.length()); }