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