/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextFadeActivity.java | 37 ((TextView) findViewById(R.id.contact_tile_name)).setEllipsize(TextUtils.TruncateAt.MARQUEE);
|
MarqueeActivity.java | 41 text1.setEllipsize(TextUtils.TruncateAt.MARQUEE); 49 text2.setEllipsize(TextUtils.TruncateAt.MARQUEE);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
FixedLineSummaryPreference.java | 21 import android.text.TextUtils.TruncateAt; 57 summary.setEllipsize(TruncateAt.END);
|
/frameworks/base/core/java/android/widget/ |
EditText.java | 146 * broken in the middle. {@link TextUtils.TruncateAt#MARQUEE 147 * TextUtils.TruncateAt#MARQUEE} is not supported. 151 * {@link TextUtils.TruncateAt#MARQUEE}. 152 * @see TextView#setEllipsize(TextUtils.TruncateAt) 155 public void setEllipsize(TextUtils.TruncateAt ellipsis) { 156 if (ellipsis == TextUtils.TruncateAt.MARQUEE) { 158 + "TextUtils.TruncateAt.MARQUEE");
|
/frameworks/base/core/java/android/text/ |
BoringLayout.java | 53 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { 91 TextUtils.TruncateAt ellipsize, 95 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { 138 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { 148 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) {
|
StaticLayout.java | 247 * of {@link android.text.TextUtils.TruncateAt#END} or 248 * {@link android.text.TextUtils.TruncateAt#MARQUEE}, to be ellipsized instead 256 public Builder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) { 426 TextUtils.TruncateAt mEllipsize; 489 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { 503 TextUtils.TruncateAt ellipsize, int ellipsizedWidth, int maxLines) { 601 TextUtils.TruncateAt ellipsize = b.mEllipsize; 783 && (ellipsize == TextUtils.TruncateAt.END 785 && ellipsize != TextUtils.TruncateAt.MARQUEE)); [all...] |
TextUtils.java | [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutTest.java | 473 TextUtils.TruncateAt ellipsize, int maxLines) { 486 // Single line case and TruncateAt.END so that we have some ellipsis 488 TextUtils.TruncateAt.END, 1); 492 // Single line case and TruncateAt.MIDDLE so that we have some ellipsis 494 TextUtils.TruncateAt.MIDDLE, 1); 498 // Single line case and TruncateAt.END so that we have some ellipsis 500 TextUtils.TruncateAt.END, 1); 504 // Single line case and TruncateAt.MARQUEE so that we have NO ellipsis 506 TextUtils.TruncateAt.MARQUEE, 1); 517 SPACE_MULTI, SPACE_ADD, false, TextUtils.TruncateAt.END, halfWidth, 1) [all...] |
TextUtilsTest.java | 294 TextUtils.TruncateAt kind = null; 298 kind = TextUtils.TruncateAt.START; 302 kind = TextUtils.TruncateAt.END; 306 kind = TextUtils.TruncateAt.MIDDLE;
|
/cts/tests/tests/text/src/android/text/cts/ |
TextUtilsTest.java | 52 import android.text.TextUtils.TruncateAt; 100 String re = TextUtils.ellipsize(text, p, width, TruncateAt.START).toString(); 516 TextUtils.ellipsize(text, p, textWidth, TruncateAt.START).toString()); 520 TextUtils.ellipsize(text, p, textWidth, TruncateAt.END).toString()); 524 TextUtils.ellipsize(text, p, textWidth, TruncateAt.MIDDLE).toString()); 526 // issue 1688347, ellipsize() is not defined for TruncateAt.MARQUEE. 530 TextUtils.ellipsize(text, p, textWidth, TruncateAt.MARQUEE).toString()); 533 assertEquals("", TextUtils.ellipsize(text, p, textWidth, TruncateAt.END).toString()); 534 assertEquals("", TextUtils.ellipsize(text, p, textWidth - 1, TruncateAt.END).toString()); 535 assertEquals("", TextUtils.ellipsize(text, p, -1f, TruncateAt.END).toString()) [all...] |
DynamicLayoutTest.java | 93 TextUtils.TruncateAt.START, 114 TextUtils.TruncateAt.START, 233 TextUtils.TruncateAt.END,
|
StaticLayoutTest.java | 38 import android.text.TextUtils.TruncateAt; 96 TextUtils.TruncateAt.MIDDLE, ELLIPSIZE_WIDTH); 100 TextUtils.TruncateAt ellipsize) { 183 builder.setEllipsize(TruncateAt.END); 196 builder.setEllipsize(TruncateAt.END); 398 // Multilines (6 lines) and TruncateAt.START so no ellipsis at all 400 TextUtils.TruncateAt.MIDDLE); 421 // Multilines (6 lines) and TruncateAt.MIDDLE so no ellipsis at all 423 TextUtils.TruncateAt.MIDDLE); 432 // Multilines (6 lines) and TruncateAt.END so ellipsis only on the last lin [all...] |
BoringLayoutTest.java | 102 TextUtils.TruncateAt.START, 175 TextUtils.TruncateAt.START, 312 TextUtils.TruncateAt.START,
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
StringTexture.java | 67 text, paint, lengthLimit, TextUtils.TruncateAt.END).toString();
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
PagerTitleStrip.java | 26 import android.text.TextUtils.TruncateAt; 139 mPrevText.setEllipsize(TruncateAt.END); 140 mCurrText.setEllipsize(TruncateAt.END); 141 mNextText.setEllipsize(TruncateAt.END);
|
/packages/apps/UnifiedEmail/src/com/android/mail/text/ |
FolderSpan.java | 83 TextUtils.TruncateAt.MIDDLE).toString();
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
EllipsizedMultilineTextView.java | 84 text.length()), getPaint(), avail, TextUtils.TruncateAt.END);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QSDualTileLabel.java | 23 import android.text.TextUtils.TruncateAt; 77 mSecondLine.setEllipsize(TruncateAt.END);
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
CheckableLabeledButton.java | 28 import android.text.TextUtils.TruncateAt; 109 labelView.setEllipsize(TruncateAt.END);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
DefaultSuggestionView.java | 101 mText1.setEllipsize(TextUtils.TruncateAt.START); 105 mText1.setEllipsize(TextUtils.TruncateAt.MIDDLE);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
EditTextTest.java | 262 mEditText1.setEllipsize(TextUtils.TruncateAt.START); 263 assertSame(TextUtils.TruncateAt.START, mEditText1.getEllipsize()); 269 mEditText1.setEllipsize(TextUtils.TruncateAt.MARQUEE);
|
/frameworks/base/core/java/com/android/internal/widget/ |
ImageFloatingTextView.java | 71 TextUtils.TruncateAt effectiveEllipsize, boolean useSaved) {
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
CandidateTextView.java | 137 setEllipsize(TextUtils.TruncateAt.START);
|
/frameworks/base/core/java/android/content/pm/ |
PackageItemInfo.java | 199 TextUtils.TruncateAt.END);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
MediaProjectionPermissionActivity.java | 124 paint, MAX_APP_NAME_SIZE_PX, TextUtils.TruncateAt.END).toString();
|