HomeSort by relevance Sort by last modified time
    Searched refs:text (Results 126 - 150 of 11514) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/base/core/java/android/text/
GetChars.java 17 package android.text;
  /frameworks/base/core/java/android/text/style/
LineHeightSpan.java 17 package android.text.style;
20 import android.text.TextPaint;
25 public void chooseHeight(CharSequence text, int start, int end,
30 public void chooseHeight(CharSequence text, int start, int end,
StrikethroughSpan.java 17 package android.text.style;
20 import android.text.ParcelableSpan;
21 import android.text.TextPaint;
22 import android.text.TextUtils;
UnderlineSpan.java 17 package android.text.style;
20 import android.text.ParcelableSpan;
21 import android.text.TextPaint;
22 import android.text.TextUtils;
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
TestSuiteAdapter.java 63 private static String trimChars(String text, int numOfChars) {
64 return text.substring(numOfChars, text.length() - numOfChars);
78 public static ITestCaseInput createMultiInput(String text) {
79 if(text == null) throw new IllegalArgumentException("null");
81 return new TestCaseInputMultiString(trimChars(text, 2));
93 public static ITestCaseOutput createStdOutput(String text) {
94 if(text == null) throw new IllegalArgumentException("null");
96 return new TestCaseOutputStdOut(trimChars(text, 1));
99 public static ITestCaseOutput createReturnOutput(String text) {
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
ClassicToken.java 38 protected String text; field in class:ClassicToken
52 text = oldToken.getText();
59 public ClassicToken(int type, String text) {
61 this.text = text;
64 public ClassicToken(int type, String text, int channel) {
66 this.text = text;
79 return text;
82 public void setText(String text) {
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/api/devtools/audits/broken-links/
content.js 6 var text = links[i].textContent;
7 if (text.length > 100)
8 text = text.substring(0, 100) + "...";
13 results.push({ href: link, text: text });
  /external/libcxx/test/re/re.alg/re.alg.search/
no_update_pos.pass.cpp 25 // of the text.
27 const char *text = "aaa\naa"; local
29 std::cregex_iterator it{text, text+6, re};
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSpannableStringBuilder.java 3 import android.text.Editable;
4 import android.text.SpannableStringBuilder;
19 public void __constructor__(CharSequence text) {
20 builder.append(text);
24 public SpannableStringBuilder append(char text) {
25 builder.append(text);
30 public Editable replace(int st, int en, CharSequence text) {
31 builder.replace(st, en, text.toString());
36 public Editable insert(int where, CharSequence text) {
37 builder.insert(where, text.toString())
    [all...]
ShadowTextPaint.java 3 import android.text.TextPaint;
10 public float measureText(String text) {
11 return text.length();
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.alg/re.alg.search/
no_update_pos.pass.cpp 25 // of the text.
27 const char *text = "aaa\naa"; local
29 std::cregex_iterator it{text, text+6, re};
  /cts/tests/tests/widget/src/android/widget/cts/
MultiAutoCompleteTextView_CommaTokenizerTest.java 20 import android.text.SpannableString;
21 import android.text.Spanned;
22 import android.text.style.UnderlineSpan;
69 fail("did not throw NullPointerException when text is null");
98 fail("did not throw NullPointerException when text is null");
105 String text = "end with comma,"; local
106 assertEquals(text, mCommaTokenizer.terminateToken(text));
108 text = "end without comma";
110 assertEquals(text + ", ", mCommaTokenizer.terminateToken(text))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/text/
TextBreakIteratorICU.cpp 23 #include "platform/text/TextBreakIterator.h"
25 #include "platform/text/TextBreakIteratorInternalICU.h"
31 #include "wtf/text/AtomicString.h"
32 #include "wtf/text/CString.h"
33 #include "wtf/text/WTFString.h"
115 UText text; member in struct:blink::__anon15975
128 static inline int64_t textNativeLength(UText* text)
130 return text->a + text->b;
140 // Pointer references source text structure, but not source extra buffer
349 UText* text = utext_setup(&utWithBuffer->text, sizeof(utWithBuffer->buffer), status); local
490 UText* text = textOpenLatin1(&textLocal, string, length, 0, 0, &openStatus); local
551 UText* text = textOpenLatin1(&textLocal, string, length, priorContext, priorContextLength, &openStatus); local
578 UText* text = textOpenUTF16(&textLocal, string, length, priorContext, priorContextLength, &openStatus); local
    [all...]
  /external/chromium_org/base/i18n/
rtl.cc 68 // Represents the locale-specific ICU text direction.
141 TextDirection GetFirstStrongCharacterDirection(const string16& text) {
142 const UChar* string = text.c_str();
143 size_t length = text.length();
157 TextDirection GetLastStrongCharacterDirection(const string16& text) {
158 const UChar* string = text.c_str();
159 size_t position = text.length();
172 TextDirection GetStringDirection(const string16& text) {
173 const UChar* string = text.c_str();
174 size_t length = text.length()
    [all...]
  /external/chromium_org/third_party/skia/src/animator/
SkTextOnPath.cpp 22 SK_MEMBER(text, Text)
29 SkTextOnPath::SkTextOnPath() : offset(0), path(NULL), text(NULL) {
33 SkASSERT(text);
36 maker.fCanvas->drawTextOnPathHV(text->getText(), text->getSize(),
  /external/chromium_org/tools/telemetry/telemetry/page/actions/
javascript_click.py 9 def __init__(self, selector=None, text=None, element_function=None):
12 self.text = text
24 tab, code, selector=self.selector, text=self.text,
  /external/skia/src/animator/
SkTextOnPath.cpp 22 SK_MEMBER(text, Text)
29 SkTextOnPath::SkTextOnPath() : offset(0), path(NULL), text(NULL) {
33 SkASSERT(text);
36 maker.fCanvas->drawTextOnPathHV(text->getText(), text->getSize(),
  /frameworks/base/core/java/android/text/method/
KeyListener.java 17 package android.text.method;
19 import android.text.Editable;
24 * Interface for converting text key events into edit operations on an
39 * Return the type of text that this key listener is manipulating,
40 * as per {@link android.text.InputType}. This is used to
44 * {@link android.text.InputType#TYPE_NULL}
63 public boolean onKeyDown(View view, Editable text,
71 public boolean onKeyUp(View view, Editable text,
79 public boolean onKeyOther(View view, Editable text, KeyEvent event);
82 * Remove the given shift states from the edited text
    [all...]
  /frameworks/base/core/tests/coretests/src/android/text/
TextLayoutTest.java 17 package android.text;
20 import android.text.DynamicLayout;
21 import android.text.Layout;
22 import android.text.StaticLayout;
23 import android.text.TextPaint;
  /cts/tests/tests/text/src/android/text/cts/
SpannedStringTest.java 17 package android.text.cts;
20 import android.text.SpannedString;
34 String text = "test valueOf"; local
35 SpannedString spanned = SpannedString.valueOf(text);
36 assertEquals(text, spanned.toString());
38 spanned = new SpannedString(text);
49 String text = "hello, world"; local
50 SpannedString spanned = new SpannedString(text);
56 subSequence = spanned.subSequence(0, text.length());
58 assertEquals(text, subSequence.toString())
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
KeyListenerCtsActivity.java 17 package android.text.method.cts;
19 import com.android.cts.text.R;
24 import android.text.method.BaseKeyListener;
25 import android.text.method.DateKeyListener;
26 import android.text.method.DateTimeKeyListener;
27 import android.text.method.DigitsKeyListener;
28 import android.text.method.MultiTapKeyListener;
29 import android.text.method.NumberKeyListener;
30 import android.text.method.QwertyKeyListener;
31 import android.text.method.TextKeyListener
    [all...]
  /external/chromium_org/rlz/lib/
string_utils.cc 36 int HexStringToInteger(const char* text) {
37 if (!text) {
38 ASSERT_STRING("HexStringToInteger: text is NULL.");
44 while (text[idx] == '\t' || text[idx] == ' ')
47 if ((text[idx] == '0') &&
48 (text[idx + 1] == 'X' || text[idx + 1] == 'x'))
53 for (; text[idx] != '\0'; idx++) {
54 if (!GetHexValue(text[idx], &digit))
    [all...]
  /external/markdown/markdown/
postprocessors.py 21 Postprocessors are run after the ElementTree it converted back into text.
24 text string, modifies it as necessary and returns a text string.
30 def run(self, text):
33 takes the html document as a single text string and returns a
43 def run(self, text):
55 text = text.replace("<p>%s</p>" %
58 text = text.replace(markdown.preprocessors.HTML_PLACEHOLDER % i,
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/test_tkinter/
test_text.py 12 self.text = Tkinter.Text(self.root)
15 self.text.destroy()
19 text = self.text
22 self.assertRaises(Tkinter.TclError, text.search, None, '1.0')
23 self.assertRaises(Tkinter.TclError, text.search, 'a', None)
24 self.assertRaises(Tkinter.TclError, text.search, None, None)
26 # Invalid text index.
27 self.assertRaises(Tkinter.TclError, text.search, '', 0
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/test/test_tkinter/
test_text.py 12 self.text = Tkinter.Text(self.root)
15 self.text.destroy()
19 text = self.text
22 self.assertRaises(Tkinter.TclError, text.search, None, '1.0')
23 self.assertRaises(Tkinter.TclError, text.search, 'a', None)
24 self.assertRaises(Tkinter.TclError, text.search, None, None)
26 # Invalid text index.
27 self.assertRaises(Tkinter.TclError, text.search, '', 0
    [all...]

Completed in 1153 milliseconds

1 2 3 4 56 7 8 91011>>