/frameworks/base/core/java/android/text/ |
H A D | TextWatcher.java | 36 * have just replaced old text that had length <code>before</code>. 40 public void onTextChanged(CharSequence s, int start, int before, int count); argument
|
H A D | DynamicLayout.java | 188 private void reflow(CharSequence s, int where, int before, int after) { argument 205 before += diff; 219 before += change; 242 before += diff; 251 before += diff; 263 int endline = getLineForOffset(where + before); 317 mInts.adjustValuesBelow(startline, START, after - before); 617 private void reflow(CharSequence s, int where, int before, int after) { argument 621 ml.reflow(s, where, before, after); 626 public void beforeTextChanged(CharSequence s, int where, int before, in argument 630 onTextChanged(CharSequence s, int where, int before, int after) argument [all...] |
H A D | SpannableStringBuilder.java | 312 // The removal pass needs to be done before the gap is updated in order to broadcast the 537 // No change if span start was already at replace interval boundaries before replace 543 // It would require to save all the previous spans' positions before the replace 556 // No change if span start was already at replace interval boundaries before replace 619 // This avoids the duplication of the above test code before all the 950 private void sendBeforeTextChanged(TextWatcher[] watchers, int start, int before, int after) { argument 954 watchers[i].beforeTextChanged(this, start, before, after); 958 private void sendTextChanged(TextWatcher[] watchers, int start, int before, int after) { argument 962 watchers[i].onTextChanged(this, start, before, after); 993 // The bounds of a possible SpanWatcher are guaranteed to be set before thi [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberFormattingTextWatcher.java | 89 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | SpannedTest.java | 177 public void onTextChanged(CharSequence s, int start, int before, argument
|
/frameworks/base/core/java/android/text/method/ |
H A D | PasswordTransformationMethod.java | 77 int before, int count) { 76 onTextChanged(CharSequence s, int start, int before, int count) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | FindActionModeCallback.java | 87 * Set the WebView to search. Must be non null, and set before calling 252 int before, 250 onTextChanged(CharSequence s, int start, int before, int count) argument
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuItemView.java | 245 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument 246 super.onTextChanged(text, start, before, after);
|
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | NetworkStatsHistoryTest.java | 261 // try removing far before buckets; should be no change 381 final NetworkStatsHistory before = new NetworkStatsHistory(MINUTE_IN_MILLIS, 40, FIELD_ALL); 382 before.recordData(0, 4 * MINUTE_IN_MILLIS, 384 before.recordData(DAY_IN_MILLIS, DAY_IN_MILLIS + MINUTE_IN_MILLIS, 388 before.writeToStream(new DataOutputStream(out)); 394 // must have identical totals before and after 395 assertFullValues(before, 5 * MINUTE_IN_MILLIS, 1034L, 30L, 2078L, 60L, 54L); 455 NetworkStatsHistory stats, int before, int after, long time) { 456 assertEquals("unexpected before", before, stat 454 assertIndexBeforeAfter( NetworkStatsHistory stats, int before, int after, long time) argument 460 performVarLong(long before) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardAbsKeyInputView.java | 115 public void onTextChanged(CharSequence s, int start, int before, int count) { 235 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
H A D | KeyguardAccountView.java | 121 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
H A D | AccountUnlockScreen.java | 124 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 37 * its animations. For example, an animation a1 could be set up to start before animation a2, a2 38 * before a3, and a3 before a1. The results of this configuration are undefined, but will typically 171 play(items[i]).before(items[i+1]); 190 play(items.get(i)).before(items.get(i+1)); 251 * <code>play(a1).before(a2)</code> sets up the AnimatorSet to play 261 * <code>play(a1).before(a2).before(a3)</code> will play both <code>a2</code> 631 * all dependencies must be satisfied before the animation is started. 987 * s.play(anim2).before(anim 1072 public Builder before(Animator anim) { method in class:AnimatorSet.Builder [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 202 * (the "unknown" value) before normalizing. It then computes the 612 * Returns true if the time represented by this Time object occurs before 618 public boolean before(Time that) { method in class:Time
|
/frameworks/base/core/java/android/widget/ |
H A D | AutoCompleteTextView.java | 480 * <p>Returns the number of characters the user must type before the drop 495 * edit box before the drop down list is shown.</p> 500 * @param threshold the number of characters to type before the drop down 750 public void onTextChanged(CharSequence s, int start, int before, int count) { argument 760 if (DEBUG) Log.v(TAG, "before text changed: open=" + mOpenBefore); 766 // if the list was open before the keystroke, but closed afterwards,
|
H A D | GridLayout.java | 199 * to their margins, before the edges of the resulting rectangle are aligned. 749 // before we are set up. 2173 before the alignment point and the amount of space required after it. One side of this 2183 public int before; field in class:GridLayout.Bounds 2192 before = Integer.MIN_VALUE; 2197 protected void include(int before, int after) { argument 2198 this.before = max(this.before, before); 2208 return before [all...] |
H A D | AbsListView.java | 394 * How far the finger moved before we started scrolling 680 * Kept here so that if we happen to be asked to save our state before 711 * view is being scrolled, this method will be called before the next frame of the scroll is 712 * rendered. In particular, it will be called before any calls to 1726 // Do this before setting mNeedSync since setNextSelectedPosition looks at mNeedSync 2737 // bail out before bad things happen 4916 // invalidate before moving the children to avoid unnecessary invalidate 5391 // Make sure we have a window before showing the popup 5696 public void onTextChanged(CharSequence s, int start, int before, int count) { argument 6073 * they've been attached before [all...] |
H A D | TextView.java | 3637 * We must go ahead and set the text before changing the 3713 * of the array except for right before another call to setText(), 3725 * We must do the before-notification here ourselves because if 3726 * the old text is a CharWrapper we destroy it before calling 4560 * it already was before the text changed. I'm not sure 5393 // bug 650865: sometimes we get a key event before a layout. 5427 * Keep track of what the error was before doing the input 5610 * This is used to remove all style-impacting spans from text before new 6889 * will not necessarily restore the previous behavior from before this 7191 private void sendBeforeTextChanged(CharSequence text, int start, int before, in argument 7226 sendOnTextChanged(CharSequence text, int start, int before, int after) argument 7273 handleTextChanged(CharSequence buffer, int start, int before, int after) argument 8863 beforeTextChanged(CharSequence buffer, int start, int before, int after) argument 8877 onTextChanged(CharSequence buffer, int start, int before, int after) argument [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 201 // This pattern comes from android.util.Patterns. It has been tweaked to handle a "1" before 1377 // Check to see if this is a completed token before filtering. 1505 // what comes before the finger. 2100 // Clear that there is a selected chip before updating any text. 2243 public void onTextChanged(CharSequence s, int start, int before, int count) { argument 2246 if (before - count == 1) { 2247 // If the item deleted is a space, and the thing before the 2330 // There are things before this! 2500 // entry as it existed before.
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 198 * to their margins, before the edges of the resulting rectangle are aligned. 731 // before we are set up. 2106 before the alignment point and the amount of space required after it. One side of this 2116 public int before; field in class:GridLayout.Bounds 2125 before = Integer.MIN_VALUE; 2130 protected void include(int before, int after) { argument 2131 this.before = max(this.before, before); 2141 return before [all...] |
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 346 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument 349 mManager.updateSpanNextToCursor(getText(), start, before, after); 350 mManager.updateSpanPreviousFromCursor(getText(), start, before, after); 351 if (after > before) { 353 } else if (before < after) { 357 if (after > before) { 360 } else if (after < before) { 365 super.onTextChanged(text, start, before, after); 1321 updateSpanPreviousFromCursor(Editable txt, int start, int before, int after) { argument 1323 Log.d(LOG_TAG, "updateSpanPrevious:" + start + "," + before 1374 updateSpanNextToCursor(Editable txt, int start, int before, int after) argument [all...] |