HomeSort by relevance Sort by last modified time
    Searched full:editable (Results 1 - 25 of 286) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/text/src/android/text/cts/
Editable_FactoryTest.java 20 import android.text.Editable;
22 import android.text.Editable.Factory;
27 @TestTargetClass(Editable.Factory.class)
42 Editable expected = new SpannableStringBuilder(source);
45 mFactory = new Editable.Factory();
46 Editable actual = mFactory.newEditable(source);
61 assertTrue(mFactory instanceof Editable.Factory);
  /frameworks/base/core/java/android/text/
Editable.java 23 * of an Editable, the layout will be reflowed as the text is changed.
25 public interface Editable
30 * Editable with a copy of the slice <code>start&hellip;end</code> from
40 * is Spanned, the spans from it are preserved into the Editable.
41 * Existing spans within the Editable that entirely cover the replaced
48 public Editable replace(int st, int en, CharSequence source, int start, int end);
54 public Editable replace(int st, int en, CharSequence text);
60 public Editable insert(int where, CharSequence text, int start, int end);
66 public Editable insert(int where, CharSequence text);
72 public Editable delete(int st, int en)
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
BaseKeyListenerTest.java 31 import android.text.Editable;
77 args = {View.class, Editable.class, int.class, KeyEvent.class}
84 Editable content;
88 content = Editable.Factory.getInstance().newEditable(TEST_STRING);
93 content = Editable.Factory.getInstance().newEditable(TEST_STRING);
98 content = Editable.Factory.getInstance().newEditable(TEST_STRING);
109 mTextView.setText(str, BufferType.EDITABLE);
112 Selection.setSelection((Editable) mTextView.getText(), 1, 1);
123 mTextView.setText(str, BufferType.EDITABLE);
125 Selection.setSelection((Editable) mTextView.getText(), 1, 3)
    [all...]
CharacterPickerDialogTest.java 28 import android.text.Editable;
54 args = {Context.class, View.class, Editable.class, String.class, boolean.class}
60 final Editable content = Editable.Factory.getInstance().newEditable(str);
90 Editable text = Editable.Factory.getInstance().newEditable(str);
115 text = Editable.Factory.getInstance().newEditable(str);
135 final Editable content = Editable.Factory.getInstance().newEditable(str);
QwertyKeyListenerTest.java 29 import android.text.Editable;
85 args = {View.class, Editable.class, int.class, KeyEvent.class}
94 mTextView.setText("", BufferType.EDITABLE);
96 Selection.setSelection((Editable) mTextView.getText(), 0, 0);
130 args = {View.class, Editable.class, int.class, KeyEvent.class}
138 mTextView.setText("", BufferType.EDITABLE);
140 Selection.setSelection((Editable) mTextView.getText(), 0, 0);
177 args = {View.class, Editable.class, int.class, KeyEvent.class}
185 mTextView.setText("", BufferType.EDITABLE);
187 Selection.setSelection((Editable) mTextView.getText(), 0, 0)
    [all...]
MetaKeyKeyListenerTest.java 26 import android.text.Editable;
44 args = {android.view.View.class, android.text.Editable.class, int.class,
51 final Editable content = Editable.Factory.getInstance().newEditable(str);
75 args = {android.view.View.class, android.text.Editable.class, int.class,
82 final Editable content = Editable.Factory.getInstance().newEditable(str);
110 Spannable content = Editable.Factory.getInstance().newEditable(str);
119 content = Editable.Factory.getInstance().newEditable(str);
128 content = Editable.Factory.getInstance().newEditable(str)
    [all...]
MultiTapKeyListenerTest.java 29 import android.text.Editable;
92 mTextView.setText(text, BufferType.EDITABLE);
149 args = {View.class, Editable.class, int.class, KeyEvent.class}
157 mTextView.setText("", BufferType.EDITABLE);
159 Selection.setSelection((Editable) mTextView.getText(), 0, 0);
193 args = {View.class, Editable.class, int.class, KeyEvent.class}
202 mTextView.setText("", BufferType.EDITABLE);
204 Selection.setSelection((Editable) mTextView.getText(), 0, 0);
241 args = {View.class, Editable.class, int.class, KeyEvent.class}
249 mTextView.setText("", BufferType.EDITABLE);
    [all...]
TextKeyListenerTest.java 31 import android.text.Editable;
132 mTextView.setText(text, BufferType.EDITABLE);
208 args = {Editable.class}
213 mTextView.setText(text, BufferType.EDITABLE);
215 Editable content = (Editable) mTextView.getText();
261 args = {View.class, Editable.class, int.class, KeyEvent.class}
266 args = {View.class, Editable.class, int.class, KeyEvent.class}
281 mTextView.setText("", BufferType.EDITABLE);
283 Selection.setSelection((Editable) mTextView.getText(), 0, 0)
    [all...]
  /external/webkit/WebCore/manual-tests/
contenteditable-link.html 7 #editable {
18 <div>The behaviour of editable links is controlled by the user default WebKitEditableLinkBehavior. This can be set via a private WebPreference. If the preference is OnlyLiveWithShiftKey, then the link will only be active when the shift key is pressed (WinIE/Firefox behaviour). If the preference is WebKitEditableLinkAlwaysLive or WebKitEditableLinkDefaultBehavior, then the link is always active (Safari 2.0 behaviour). Finally, if the preference is WebKitEditableLinkLiveWhenNotFocused, the link will only be live if the selection before clicking on the link is not in the same editable block as the link.</div>
23 <div id="editable" contentEditable="true">
caretScrolling.html 2 <p>Manual test for fix for <a href="rdar://problem/3690705">rdar://problem/3690705</a> "caret does not move when scrolling overflow: auto editable area"</p>
  /development/apps/Development/src/com/android/development/
LogTextBox.java 25 import android.text.Editable;
30 * This is a TextView that is Editable and by default scrollable,
64 public Editable getText() {
65 return (Editable) super.getText();
70 super.setText(text, BufferType.EDITABLE);
  /development/samples/ApiDemos/src/com/example/android/apis/text/
LogTextBox.java 25 import android.text.Editable;
31 * This is a TextView that is Editable and by default scrollable,
60 public Editable getText() {
61 return (Editable) super.getText();
66 super.setText(text, BufferType.EDITABLE);
  /external/webkit/WebCore/manual-tests/gtk/
copy-htmltext.html 8 <h1>Copy HTML content from currently editable area</h1>
11 Here is a Editable Area,<br />
15 <li>Select all that text or picture in this editable area (type <b>Ctrl-A</b> / Option-A)</li>
  /frameworks/base/core/java/android/widget/
EditText.java 20 import android.text.Editable;
37 * to be editable.
69 public Editable getText() {
70 return (Editable) super.getText();
75 super.setText(text, BufferType.EDITABLE);
MultiAutoCompleteTextView.java 23 import android.text.Editable;
40 * An editable text view, extending {@link AutoCompleteTextView}, that
126 Editable text = getText();
154 Editable e = getText();
203 Editable editable = getText(); local
204 String original = TextUtils.substring(editable, start, end);
206 QwertyKeyListener.markAsReplaced(editable, start, end, original);
207 editable.replace(start, end, mTokenizer.terminateToken(text));
  /frameworks/base/core/java/android/text/method/
KeyListener.java 19 import android.text.Editable;
25 * Editable class. Note that for must cases this interface has been
57 public boolean onKeyDown(View view, Editable text,
65 public boolean onKeyUp(View view, Editable text,
73 public boolean onKeyOther(View view, Editable text, KeyEvent event);
78 public void clearMetaKeyState(View view, Editable content, int states);
TextKeyListener.java 128 public boolean onKeyDown(View view, Editable content,
136 public boolean onKeyUp(View view, Editable content,
144 public boolean onKeyOther(View view, Editable content, KeyEvent event) {
152 * from the specified Editable, going beyond Editable.clear(), which
157 public static void clear(Editable e) {
205 public boolean onKeyDown(View view, Editable content,
210 public boolean onKeyUp(View view, Editable content, int keyCode,
215 public boolean onKeyOther(View view, Editable content, KeyEvent event) {
219 public void clearMetaKeyState(View view, Editable content, int states)
    [all...]
BaseKeyListener.java 39 public boolean backspace(View view, Editable content, int keyCode,
73 private boolean altBackspace(View view, Editable content, int keyCode,
120 public boolean onKeyDown(View view, Editable content,
134 public boolean onKeyOther(View view, Editable content, KeyEvent event) {
  /cts/tests/tests/telephony/src/android/telephony/cts/
PhoneNumberFormattingTextWatcherTest.java 25 import android.text.Editable;
45 args = {android.text.Editable.class}
61 Editable edit = (Editable) text.getText();
  /frameworks/base/core/java/android/view/inputmethod/
BaseInputConnection.java 24 import android.text.Editable;
44 * of most of the common behavior for providing a connection to an Editable.
46 * {@link #getEditable} to provide access to their own editable object.
59 Editable mEditable;
122 * returns its own fake editable that is just used for composing text;
126 public Editable getEditable() {
128 mEditable = Editable.Factory.getInstance().newEditable("");
154 final Editable content = getEditable();
170 * sent for the new text and the current editable buffer cleared.
181 * selection position of the editable text
    [all...]
  /cts/tests/res/layout/
textview_phonenumber.xml 24 android:editable="true"/>
35 android:editable="true"/>
  /frameworks/base/telephony/java/android/telephony/
PhoneNumberFormattingTextWatcher.java 19 import android.text.Editable;
28 * {@link PhoneNumberUtils#formatNumber(Editable, int)}. The formatting is based on
48 public synchronized void afterTextChanged(Editable text) {
  /external/webkit/WebCore/editing/
VisiblePosition.cpp 398 // Return empty position if pos is not somewhere inside the editable region containing this position
402 // Return pos itself if the two are from the very same editable region, or both are non-editable
403 // FIXME: In the non-editable case, just because the new position is non-editable doesn't mean movement
408 // Return empty position if this position is non-editable, but pos is editable
409 // FIXME: Move to the previous non-editable region.
413 // Return the last position before pos that is in the same editable region as this position
424 // Return empty position if pos is not somewhere inside the editable region containing this positio
    [all...]
VisibleSelection.cpp 473 // The selection is based in editable content.
475 // If the start is outside the base's editable root, cap it at the start of that root.
476 // If the start is in non-editable content that is inside the base's editable root, put it
477 // at the first editable position after start inside the base's editable root.
486 // If the end is outside the base's editable root, cap it at the end of that root.
487 // If the end is in non-editable content that is inside the base's root, put it
488 // at the last editable position before the end inside the base's root.
497 // The selection is based in non-editable content
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
EditTextTest.java 128 editText.setText(null, BufferType.EDITABLE);
142 editText.setText(string, BufferType.EDITABLE);
178 editText.setText(string, BufferType.EDITABLE);
222 editText.setText(string, BufferType.EDITABLE);
227 editText.setText("", BufferType.EDITABLE);
232 editText.setText(null, BufferType.EDITABLE);
247 editText.setText("android", BufferType.EDITABLE);

Completed in 234 milliseconds

1 2 3 4 5 6 7 8 91011>>