Home
last modified time | relevance | path

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

12345678910>>...15

/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:DUMMY\n" + in testAddProperty() local
49 String text = "BEGIN:DUMMY\n" + in testAddComponent() local
69 String text = "BEGIN:DUMMY\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:DUMMY\n" + in testParseEventDoesNotStartWithBegin() local
234 String text = "NOTBEGIN:DUMMY\n" + in testParseCalendarDoesNotStartWithBegin() local
247 String text = "NOTBEGIN:DUMMY\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/Email/tests/src/com/android/emailcommon/utility/
DTextUtilitiesTests.java145 private void findTagEnd(String text, String tag) { in findTagEnd()
201 String text = "This< should be visibl>e"; in brokentestHighlightSingleTermText() local
228 String text = "This should be visible"; in brokentestHighlightTwoTermText() local
244 String text = "This should be visible"; in brokentestHighlightDuplicateTermText() local
256 String text = "This shoulder is visible"; in brokentestHighlightOverlapTermText() local
269 String text = "The shoulders are visible"; in brokentestHighlightOverlapTermText2() 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/UnifiedEmail/src/com/android/emailcommon/utility/
DConversionUtilities.java71 String text = MimeUtility.getTextFromPart(viewable); in parseBodyFields() local
85 String text = sbText.toString(); in parseBodyFields() local
90 String text = sbHtml.toString(); in parseBodyFields() local
DTextUtilities.java329 public static String makeSnippetFromHtmlText(String text) { in makeSnippetFromHtmlText()
333 public static String makeSnippetFromPlainText(String text) { in makeSnippetFromPlainText()
364 public static String makeSnippetFromText(String text, boolean stripHtml) { in makeSnippetFromText()
459 static /*package*/ char stripHtmlEntity(String text, int pos, int[] skipCount) { in stripHtmlEntity()
515 public static String highlightTermsInHtml(String text, String query) { in highlightTermsInHtml()
532 public static CharSequence highlightTermsInText(String text, String query) { in highlightTermsInText()
567 public static CharSequence highlightTerms(String text, String query, boolean html) in highlightTerms()
/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.java53 public void setSubmitButton(CharSequence text); in setSubmitButton()
54 public void setForgetButton(CharSequence text); in setForgetButton()
55 public void setCancelButton(CharSequence text); in setCancelButton()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConfigUiBase.java53 public void setSubmitButton(CharSequence text); in setSubmitButton()
54 public void setForgetButton(CharSequence text); in setForgetButton()
55 public void setCancelButton(CharSequence text); in setCancelButton()
/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/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/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/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/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/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/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/UnifiedEmail/src/org/apache/james/mime4j/codec/
DEncoderUtil.java194 public static String encodeIfNecessary(String text, Usage usage, in encodeIfNecessary()
216 public static boolean hasToBeEncoded(String text, int usedCharacters) { in hasToBeEncoded()
268 public static String encodeEncodedWord(String text, Usage usage) { in encodeEncodedWord()
291 public static String encodeEncodedWord(String text, Usage usage, in encodeEncodedWord()
320 public static String encodeEncodedWord(String text, Usage usage, in encodeEncodedWord()
512 private static String encodeB(String prefix, String text, in encodeB()
540 private static String encodeQ(String prefix, String text, Usage usage, in encodeQ()
584 private static byte[] encode(String text, Charset charset) { in encode()
591 private static Charset determineCharset(String text) { in determineCharset()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DBadgeSpan.java63 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { in getSize()
72 private int measureWidth(Paint paint, CharSequence text, int start, int end) { in measureWidth()
77 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, in draw()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyEditTextPreference.java62 String text = getText(); in getSummary() local
76 String text = (String) newValue; in onPreferenceChange() local
/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/Contacts/tests/src/com/android/contacts/format/
DFormatUtilsTests.java57 private void checkCharArrayBufferToString(String text) { in checkCharArrayBufferToString()
111 private void checkIndexOfWordPrefix(String text, String wordPrefix, int expectedIndex) { in checkIndexOfWordPrefix()

12345678910>>...15