Home
last modified time | relevance | path

Searched defs:text (Results 1 – 25 of 380) sorted by relevance

12345678910>>...16

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
DLocaleSpanCompatUtilsTests.java82 final SpannableString text = new SpannableString("0123456789"); in testUpdateLocaleSpan() local
90 final SpannableString text = new SpannableString("0123456789"); in testUpdateLocaleSpan() local
101 final SpannableString text = new SpannableString("0123456789"); in testUpdateLocaleSpan() local
111 final SpannableString text = new SpannableString("0123456789"); in testUpdateLocaleSpan() local
121 final SpannableString text = new SpannableString("0123456789"); in testUpdateLocaleSpan() local
133 final SpannableString text = new SpannableString("0123456789"); in testUpdateLocaleSpan() local
147 final SpannableString text = new SpannableString("0123456789"); in testUpdateLocaleSpan() local
158 final SpannableString text = new SpannableString("0123456789"); in testUpdateLocaleSpan() local
169 final SpannableString text = new SpannableString("0123456789"); in testUpdateLocaleSpan() local
180 final SpannableString text = new SpannableString("0123456789"); in testUpdateLocaleSpan() local
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DICalendarTest.java33 String text = "BEGIN:STUB\n" + in testAddProperty() local
49 String text = "BEGIN:STUB\n" + in testAddComponent() local
69 String text = "BEGIN:STUB\n" + in testParseBasicComponent() local
155 String text = "BEGIN:VEVENT\nEND:VEVENT\n"; in testParseBareEvent() local
165 String text = "BEGIN:VEVENT\n" + in testParseEvent1() local
189 String text = "BEGIN:VEVENT\n" + in testParseEvent2() local
208 String text = "BEGIN:VEVENT\n" + in testParseInvalidProperty() local
221 String text = "NOTBEGIN:STUB\n" + in testParseEventDoesNotStartWithBegin() local
234 String text = "NOTBEGIN:STUB\n" + in testParseCalendarDoesNotStartWithBegin() local
247 String text = "NOTBEGIN:STUB\n" + in testParseComponentDoesNotStartWithBegin() local
[all …]
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DLocaleUtils.java65 final String text = localeElements[INDEX_LANGUAGE]; in constructLocaleFromString() local
73 final String text = localeElements[INDEX_SCRIPT]; in constructLocaleFromString() local
84 final String text = localeElements[INDEX_REGION]; in constructLocaleFromString() local
104 private static boolean isValidLanguage(final String text) { in isValidLanguage()
108 private static boolean isValidScript(final String text) { in isValidScript()
112 private static boolean isValidRegion(final String text) { in isValidRegion()
117 private static boolean isAlphabetSequence(final String text, final int lower, final int upper) { in isAlphabetSequence()
130 private static boolean isDigitSequence(final String text, final int lower, final int upper) { in isDigitSequence()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/wm/
DBarControlPolicyTest.java64 String text = "sample text"; in reloadFromSetting_invalidPolicyControlString_doesNotSetFilters() local
68 text in reloadFromSetting_invalidPolicyControlString_doesNotSetFilters() local
78 String text = "immersive.status=" + PACKAGE_NAME; in reloadFromSetting_validPolicyControlString_setsFilters() local
82 text in reloadFromSetting_validPolicyControlString_setsFilters() local
92 String text = "immersive.status=" + PACKAGE_NAME; in reloadFromSetting_filtersSet_doesNotSetFiltersAgain() local
96 text in reloadFromSetting_filtersSet_doesNotSetFiltersAgain() local
DDisplaySystemBarsControllerTest.java89 String text = "sample text"; in onDisplayAdded_loadsBarControlPolicyFilters() local
93 text in onDisplayAdded_loadsBarControlPolicyFilters() local
/packages/apps/Tag/src/com/android/apps/tag/record/
DTextRecord.java48 private TextRecord(String languageCode, String text) { in TextRecord()
55 TextView text = (TextView) inflater.inflate(R.layout.tag_text, parent, false); in getView() local
107 String text = new String(payload, in parse() local
129 public static NdefRecord newTextRecord(String text, Locale locale) { in newTextRecord()
133 public static NdefRecord newTextRecord(String text, Locale locale, boolean encodeInUtf8) { in newTextRecord()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestionFormatter.java42 protected void applyQueryTextStyle(Spannable text, int start, int end) { in applyQueryTextStyle()
47 protected void applySuggestedTextStyle(Spannable text, int start, int end) { in applySuggestedTextStyle()
52 private void setSpans(Spannable text, int start, int end, Object[] spans) { in setSpans()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DStringTexture.java36 private StringTexture(String text, TextPaint paint, in StringTexture()
54 String text, float textSize, int color) { in newInstance()
59 String text, float textSize, int color, in newInstance()
72 private static StringTexture newInstance(String text, TextPaint paint) { in newInstance()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigUiBase.java56 public void setSubmitButton(CharSequence text); in setSubmitButton()
57 public void setForgetButton(CharSequence text); in setForgetButton()
58 public void setCancelButton(CharSequence text); in setCancelButton()
DWifiConfigUiBase2.java81 void setSubmitButton(CharSequence text); in setSubmitButton()
86 void setForgetButton(CharSequence text); in setForgetButton()
91 void setCancelButton(CharSequence text); in setCancelButton()
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
DIntentModule.java39 private final @StringRes int text; field in IntentModule
48 public IntentModule(Context context, Intent intent, @StringRes int text, @DrawableRes int image) { in IntentModule()
55 @StringRes int text, in IntentModule()
93 @StringRes int text; in newCallModule() local
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DStringUtils.java110 public static int codePointCount(@Nullable final CharSequence text) { in codePointCount()
128 public static boolean containsInArray(@Nonnull final String text, in containsInArray()
146 public static boolean containsInCommaSplittableText(@Nonnull final String text, in containsInCommaSplittableText()
155 public static String removeFromCommaSplittableTextIfExists(@Nonnull final String text, in removeFromCommaSplittableTextIfExists()
321 public static int getCapitalizationType(@Nonnull final String text) { in getCapitalizationType()
357 public static boolean isIdenticalAfterUpcase(@Nonnull final String text) { in isIdenticalAfterUpcase()
370 public static boolean isIdenticalAfterDowncase(@Nonnull final String text) { in isIdenticalAfterDowncase()
383 public static boolean isIdenticalAfterCapitalizeEachWord(@Nonnull final String text, in isIdenticalAfterCapitalizeEachWord()
404 public static String capitalizeEachWord(@Nonnull final String text, in capitalizeEachWord()
439 public static boolean lastPartLooksLikeURL(@Nonnull final CharSequence text) { in lastPartLooksLikeURL()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DState.java31 public State(String text) { in State()
35 public State(String text, int type) { in State()
59 void setText(String text) { in setText()
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DByResource.java40 public static BySelector text(Resources resources, int stringRes) { in text() method in ByResource
41 String text = resources.getString(stringRes); in text() local
/packages/apps/Contacts/src/com/android/contacts/format/
DTextHighlighter.java47 public void setPrefixText(TextView view, String text, String prefix) { in setPrefixText()
61 public void applyMaskingHighlight(SpannableString text, int start, int end) { in applyMaskingHighlight()
72 public CharSequence applyPrefixHighlight(CharSequence text, String prefix) { in applyPrefixHighlight()
DFormatUtils.java107 SpannableString text = new SpannableString(input); in applyStyleToSpan() local
113 public static void copyToCharArrayBuffer(String text, CharArrayBuffer buffer) { in copyToCharArrayBuffer()
141 public static int indexOfWordPrefix(CharSequence text, String prefix) { in indexOfWordPrefix()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/ui/
DTextBlockView.java27 public TextBlockView(CharSequence text) { in TextBlockView()
31 public TextBlockView(CharSequence text, CharSequence footer) { in TextBlockView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSuppressorHelperTest.java62 final String text = SuppressorHelper.getSuppressionText(mContext, null); in testGetSuppressionText_SuppressorNull_ReturnNull() local
68 final String text = SuppressorHelper.getSuppressorCaption(mContext, mSuppressor); in testGetSuppressorCaption_SuppressorNotNull_ReturnSuppressorName() local
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DHeaderTextSelector.java34 public HeaderTextSelector(TextView text, Selector selector) { in HeaderTextSelector()
74 private static int getLengthOfFilename(CharSequence text) { in getLengthOfFilename()
87 void select(Spannable text, int start, int stop); in select()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyOutput.java46 abstract boolean hasSameKeyOutput(final String text); in hasSameKeyOutput()
78 boolean hasSameKeyOutput(final String text) { in hasSameKeyOutput()
120 Text(final String text) { mText = text; } in Text()
133 boolean hasSameKeyOutput(final String text) { in hasSameKeyOutput()
160 CasePreservedText(final String text) { super(text); } in CasePreservedText()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/widget/
DCarUiTextViewTest.java99 SpannableString text = new SpannableString(LONG_CHAR_SEQUENCE); in testSpanOverLastLine() local
118 CharSequence text = "This is line 1\nline2\nand then line\n"; in testLineBreaks_lineBreakAtEnd() local
132 SpannableString text = new SpannableString("Test"); in testSpan() local
/packages/apps/Launcher3/src/com/android/launcher3/views/
DArrowTipView.java122 public ArrowTipView show(String text, int top) { in show()
135 public ArrowTipView show(String text, int gravity, int arrowMarginStart, int top) { in show()
182 @Nullable public ArrowTipView showAtLocation(String text, @Px int arrowXCoord, @Px int yCoord) { in showAtLocation()
202 String text, @Px int arrowXCoord, Rect rect, @Px int margin) { in showAroundRect()
223 @Nullable private ArrowTipView showAtLocation(String text, @Px int arrowXCoord, in showAtLocation()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/
DCarUiText.java62 public CarUiText(@NonNull CharSequence text) { in CarUiText()
77 public CarUiText(@NonNull CharSequence text, int maxLines) { in CarUiText()
162 public Builder(CharSequence text) { in Builder()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVoicemailErrorMessage.java58 private final CharSequence text; field in VoicemailErrorMessage.Action
62 public Action(CharSequence text, View.OnClickListener listener) { in Action()
66 public Action(CharSequence text, View.OnClickListener listener, boolean raised) { in Action()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DContentFragment.java156 public void setText(int textViewResourceId, String text) { in setText()
160 public void setTitleText(String text) { in setTitleText()
164 public void setBreadCrumbText(String text) { in setBreadCrumbText()
168 public void setDescriptionText(String text) { in setDescriptionText()
184 protected void setText(View parent, int textViewResourceId, String text) { in setText()

12345678910>>...16