Searched defs:before (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/java/android/text/
H A DTextWatcher.java36 * 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 DDynamicLayout.java168 private void reflow(CharSequence s, int where, int before, int after) { argument
185 before += diff;
199 before += change;
222 before += diff;
231 before += diff;
243 int endline = getLineForOffset(where + before);
297 mInts.adjustValuesBelow(startline, START, after - before);
410 private void reflow(CharSequence s, int where, int before, int after) { argument
414 ml.reflow(s, where, before, after);
420 int where, int before, in
419 beforeTextChanged(CharSequence s, int where, int before, int after) argument
424 onTextChanged(CharSequence s, int where, int before, int after) argument
[all...]
H A DSpannableStringBuilder.java873 private TextWatcher[] sendTextWillChange(int start, int before, int after) { argument
874 TextWatcher[] recip = getSpans(start, start + before, TextWatcher.class);
878 recip[i].beforeTextChanged(this, start, before, after);
884 private void sendTextChange(TextWatcher[] recip, int start, int before, argument
889 recip[i].onTextChanged(this, start, before, after);
937 " has end before start");
951 " starts before 0");
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberFormattingTextWatcher.java53 // If deleting the hyphen, also delete the char before or after that
95 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/frameworks/base/libs/utils/
H A DTimers.cpp94 * Compute how much time there is before the next tick. If this
148 struct timeval before, after; local
151 gettimeofday(&before, NULL);
156 actual = android::DurationTimer::subtractTimevals(&after, &before);
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
H A DSpannedTest.java177 public void onTextChanged(CharSequence s, int start, int before, argument
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java75 int before, int count) {
74 onTextChanged(CharSequence s, int start, int before, int count) argument
/frameworks/base/core/java/android/webkit/
H A DTextDialog.java69 // Keep track of the text before the change so we know whether we actually
239 // to what it was before the key event.
265 * before we placed the TextDialog actually hit it, so that it can place
301 protected void onTextChanged(CharSequence s,int start,int before,int count){ argument
302 super.onTextChanged(s, start, before, count);
316 if (before > 0 && 0 == count) {
317 mWebView.deleteSelection(start, start + before);
336 mWebView.replaceTextfieldText(start, start + before, replace,
342 mWebView.setSelection(start, start + before);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java241 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument
242 super.onTextChanged(text, start, before, after);
/frameworks/policies/base/phone/com/android/internal/policy/impl/
H A DAccountUnlockScreen.java122 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/frameworks/base/core/java/android/text/format/
H A DTime.java191 * (the "unknown" value) before normalizing. It then computes the
607 * Returns true if the time represented by this Time object occurs before
613 public boolean before(Time that) { method in class:Time
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java477 * <p>Returns the number of characters the user must type before the drop
490 * edit box before the drop down list is shown.</p>
495 * @param threshold the number of characters to type before the drop down
759 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
769 if (DEBUG) Log.v(TAG, "before text changed: open=" + mOpenBefore);
775 // if the list was open before the keystroke, but closed afterwards,
1254 // View layout should be all done before displaying the drop down.
H A DAbsListView.java290 * How far the finger moved before we started scrolling
469 * view is being scrolled, this method will be called before the next frame of the scroll is
470 * rendered. In particular, it will be called before any calls to
904 // Do this before setting mNeedSync since setNextSelectedPosition looks at mNeedSync
1630 // bail out before bad things happen
2810 // Make sure we have a window before showing the popup
3098 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
H A DTextView.java241 * This flag is set if the TextView tries to display an error before it
2620 * We must go ahead and set the text before changing the
2694 * of the array except for right before another call to setText(),
2706 * We must do the before-notification here ourselves because if
2707 * the old text is a CharWrapper we destroy it before calling
3649 * it already was before the text changed. I'm not sure
4256 * Keep track of what the error was before doing the input
4297 // bug 650865: sometimes we get a key event before a layout.
4578 * This is used to remove all style-impacting spans from text before new
6024 * @param before Th
6035 onTextChanged(CharSequence text, int start, int before, int after) argument
6081 sendBeforeTextChanged(CharSequence text, int start, int before, int after) argument
6096 sendOnTextChanged(CharSequence text, int start, int before, int after) argument
6125 handleTextChanged(CharSequence buffer, int start, int before, int after) argument
6270 beforeTextChanged(CharSequence buffer, int start, int before, int after) argument
6282 onTextChanged(CharSequence buffer, int start, int before, int after) argument
[all...]

Completed in 1926 milliseconds