Home
last modified time | relevance | path

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

12345678910

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DCsvUtilsTests.java45 final String text = CsvUtils.unescapeField("\""); // " in testUnescapeException() local
51 final String text = CsvUtils.unescapeField("\"\"\""); // """ in testUnescapeException() local
57 final String text = CsvUtils.unescapeField("\"\"\"\"\""); // """"" in testUnescapeException() local
63 final String text = CsvUtils.unescapeField("\"text"); // "text in testUnescapeException() local
69 final String text = CsvUtils.unescapeField("text\""); // text" in testUnescapeException() local
75 final String text = CsvUtils.unescapeField("te\"xt"); // te"xt in testUnescapeException() local
81 final String text = CsvUtils.unescapeField("\"\"text"); // ""text in testUnescapeException() local
87 final String text = CsvUtils.unescapeField("text\"\""); // text"" in testUnescapeException() local
93 final String text = CsvUtils.unescapeField("te\"\"xt"); // te""xt in testUnescapeException() local
99 final String text = CsvUtils.unescapeField("\"\"text\""); // ""text" in testUnescapeException() 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/java/src/com/android/inputmethod/latin/utils/
DStringUtils.java46 public static int codePointCount(final String text) { in codePointCount()
61 public static boolean containsInArray(final String text, final String[] array) { in containsInArray()
75 public static boolean containsInCommaSplittableText(final String text, in containsInCommaSplittableText()
83 public static String appendToCommaSplittableTextIfNotExists(final String text, in appendToCommaSplittableTextIfNotExists()
94 public static String removeFromCommaSplittableTextIfExists(final String text, in removeFromCommaSplittableTextIfExists()
180 public static int getCapitalizationType(final String text) { in getCapitalizationType()
216 public static boolean isIdenticalAfterUpcase(final String text) { in isIdenticalAfterUpcase()
229 public static boolean isIdenticalAfterDowncase(final String text) { in isIdenticalAfterDowncase()
243 public static boolean looksValidForDictionaryInsertion(final CharSequence text, in looksValidForDictionaryInsertion()
267 public static boolean isIdenticalAfterCapitalizeEachWord(final String text, in isIdenticalAfterCapitalizeEachWord()
[all …]
DCsvUtils.java80 private static int indexOfNonSpace(final String text, final int fromIndex) { in indexOfNonSpace()
103 private static int lastIndexOfNonSpace(final String text, final int fromIndex, in lastIndexOfNonSpace()
124 private static int indexOfSeparatorComma(final String text, final int fromIndex) { in indexOfSeparatorComma()
159 /* private */ static String unescapeField(final String text) { in unescapeField()
240 /* private */ static String escapeField(final String text, final boolean alwaysQuoted) { in escapeField()
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DTextUtilitiesTests.java142 private void findTagEnd(String text, String tag) { in findTagEnd()
198 String text = "This< should be visibl>e"; in brokentestHighlightSingleTermText() local
225 String text = "This should be visible"; in brokentestHighlightTwoTermText() local
241 String text = "This should be visible"; in brokentestHighlightDuplicateTermText() local
253 String text = "This shoulder is visible"; in brokentestHighlightOverlapTermText() local
266 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/Settings/src/com/android/settings/wifi/
DWifiConfigUiBase.java36 public void setSubmitButton(CharSequence text); in setSubmitButton()
37 public void setForgetButton(CharSequence text); in setForgetButton()
38 public void setCancelButton(CharSequence text); in setCancelButton()
DWifiDialog.java85 public void setSubmitButton(CharSequence text) { in setSubmitButton()
90 public void setForgetButton(CharSequence text) { in setForgetButton()
95 public void setCancelButton(CharSequence text) { in setCancelButton()
DWifiConfigUiForSetupWizardXL.java152 public void setSubmitButton(CharSequence text) { in setSubmitButton()
158 public void setForgetButton(CharSequence text) { in setForgetButton()
163 public void setCancelButton(CharSequence text) { in setCancelButton()
/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.java37 private StringTexture(String text, TextPaint paint, in StringTexture()
55 String text, float textSize, int color) { in newInstance()
60 String text, float textSize, int color, in newInstance()
73 private static StringTexture newInstance(String text, TextPaint paint) { in newInstance()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
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()
DConversionUtilities.java84 String text = MimeUtility.getTextFromPart(viewable); in parseBodyFields() local
122 String text = sbText.toString(); in parseBodyFields() local
127 String text = sbHtml.toString(); in parseBodyFields() 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/ContactsCommon/src/com/android/contacts/common/format/
DTextHighlighter.java51 public void setPrefixText(TextView view, String text, String prefix) { in setPrefixText()
65 public void applyMaskingHighlight(SpannableString text, int start, int end) { in applyMaskingHighlight()
76 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/Calculator/src/com/android/calculator2/
DLogic.java120 String text = mHistory.getText(); in clearWithHistory() local
150 String text = getText(); in acceptInsert() local
178 public void evaluateAndShowResult(String text, Scroll scroll) { in evaluateAndShowResult()
196 String text = getText(); in onUp() local
206 String text = getText(); in onDown() local
216 String text = getText(); in updateHistory() local
324 static boolean isOperator(String text) { in isOperator()
DCalculatorDisplay.java86 EditText text = (EditText) getChildAt(i); in setLogic() local
124 EditText text = (EditText) getCurrentView(); in getText() local
128 void setText(CharSequence text, Scroll dir) { in setText()
152 EditText text = (EditText) getCurrentView(); in getSelectionStart() local
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
DBugReportPreviewActivity.java49 String text = BugReportParser.extractSystemLogs(in, section); in onCreate() local
73 CharSequence text = mText.getText(); in onSaveInstanceState() local
/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/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DRomkanFullKatakana.java155 public boolean convert(ComposingText text) { in convert()
166 public static boolean convert(ComposingText text, HashMap<String, String> table) { in convert()
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
DToastService.java52 final String text = intent.getStringExtra("text"); in onHandleIntent() local
63 public static PendingIntent getPendingIntent(Context context, String text) { in getPendingIntent()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/format/
DFormatUtilsTests.java57 private void checkCharArrayBufferToString(String text) { in checkCharArrayBufferToString()
111 private void checkIndexOfWordPrefix(String text, String wordPrefix, int expectedIndex) { in checkIndexOfWordPrefix()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DIconView.java77 protected void computeTextPosition(String text) { in computeTextPosition()
97 protected void drawText(Canvas canvas, String text) { in drawText()
115 protected void drawOutlinedText(Canvas canvas, String text) { in drawOutlinedText()
150 public void setText(String text) { in setText()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DFolderSpan.java72 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { in getSize()
85 private int measureWidth(Paint paint, CharSequence text, int start, int end, in measureWidth()
102 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, in draw()

12345678910