Searched refs:ellipsized (Results 1 – 2 of 2) sorted by relevance
152 final String ellipsized = TextUtils.listEllipsize( in testListEllipsize() local155 assertFalse(fullString.equals(ellipsized)); in testListEllipsize()157 if (!ellipsized.isEmpty()) { in testListEllipsize()158 assertTrue(ellipsized.endsWith(" more")); in testListEllipsize()161 final int lastSpace = ellipsized.lastIndexOf(' '); in testListEllipsize()162 final int penultimateSpace = ellipsized.lastIndexOf(' ', lastSpace - 1); in testListEllipsize()163 assertEquals(',', ellipsized.charAt(penultimateSpace - 1)); in testListEllipsize()164 final String moreCountString = ellipsized.substring( in testListEllipsize()168 final int commaCount = countChars(ellipsized, ','); in testListEllipsize()589 public void ellipsized(final int start, final int end) { in testEllipsizeCallback()
151 mBoringLayout.ellipsized(0, 1); in testPreconditions()153 mBoringLayout.ellipsized(1, 2); in testPreconditions()