/frameworks/base/core/java/android/text/ |
H A D | TextWatcher.java | 27 * are about to be replaced by new text with length <code>after</code>. 32 int count, int after); 31 beforeTextChanged(CharSequence s, int start, int count, int after) argument
|
H A D | TextLine.java | 608 * @param after true if the new offset should logically follow the provided 613 boolean runIsRtl, int offset, boolean after) { 615 if (runIndex < 0 || offset == (after ? mLen : 0)) { 619 if (after) { 633 int target = after ? offset + 1 : offset; 662 return after ? spanLimit : spanStart; 668 int cursorOpt = after ? Paint.CURSOR_AFTER : Paint.CURSOR_BEFORE; 1023 * @return the (unsigned) tab position after this offset 612 getOffsetBeforeAfter(int runIndex, int runStart, int runLimit, boolean runIsRtl, int offset, boolean after) argument
|
H A D | DynamicLayout.java | 188 private void reflow(CharSequence s, int where, int before, int after) { argument 206 after += diff; 212 int look = TextUtils.indexOf(text, '\n', where + after); 216 look++; // we want the index after the \n 218 int change = look - (where + after); 220 after += change; 231 Object[] force = sp.getSpans(where, where + after, 243 after += diff; 247 if (en > where + after) { 250 int diff = en - (where + after); 617 reflow(CharSequence s, int where, int before, int after) argument 626 beforeTextChanged(CharSequence s, int where, int before, int after) argument 630 onTextChanged(CharSequence s, int where, int before, int after) argument [all...] |
H A D | SpannableStringBuilder.java | 138 final int after = oldLength - (mGapStart + mGapLength); 139 System.arraycopy(mText, oldLength - after, newText, newLength - after, after); 499 // Span watchers need to be called after text watchers, which may update the layout 809 // Expensive test, should be performed after the previous tests 866 * Return the next offset after <code>start</code> but less than or 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 [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberFormattingTextWatcher.java | 78 int after) { 115 // The text could be changed by other TextWatcher after we changed it. If we found the 77 beforeTextChanged(CharSequence s, int start, int count, int after) argument
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | SpannedTest.java | 176 int after) { } 175 beforeTextChanged(CharSequence s, int start, int count, int after) argument
|
/frameworks/base/core/java/android/text/method/ |
H A D | PasswordTransformationMethod.java | 72 int count, int after) { 71 beforeTextChanged(CharSequence s, int start, int count, int after) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | FindActionModeCallback.java | 245 int after) { 242 beforeTextChanged(CharSequence s, int start, int count, int after) argument
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuItemView.java | 191 * after a layout. 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 | 392 final NetworkStatsHistory after = new NetworkStatsHistory(new DataInputStream(in)); 394 // must have identical totals before and after 396 assertFullValues(after, 5 * MINUTE_IN_MILLIS, 1034L, 30L, 2078L, 60L, 54L); 455 NetworkStatsHistory stats, int before, int after, long time) { 457 assertEquals("unexpected after", after, stats.getIndexAfter(time)); 454 assertIndexBeforeAfter( NetworkStatsHistory stats, int before, int after, long time) argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardAbsKeyInputView.java | 118 public void beforeTextChanged(CharSequence s, int start, int count, int after) { 228 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|
H A D | KeyguardAccountView.java | 118 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
H A D | AccountUnlockScreen.java | 121 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 26 * can be set up to play together, in sequence, or after a specified delay. 111 // The amount of time in ms to delay starting the animation after start() is called 162 * @param items The animations that will be started one after another. 181 * @param items The animations that will be started one after another. 253 * <code>play(a1).after(a2)</code> sets up the AnimatorSet to play 376 * The amount of time, in milliseconds, to delay starting the animation after 387 * The amount of time, in milliseconds, to delay starting the animation after 459 // insert "play-after" delays 988 * s.play(anim4).after(anim3); 992 * Builder#after(Animato 1092 public Builder after(Animator anim) { method in class:AnimatorSet.Builder 1112 public Builder after(long delay) { method in class:AnimatorSet.Builder [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 29 * a moment in time, specified with second precision. It is modelled after 397 * fields, call {@link #normalize(boolean)} after parsing. 523 * after adding or subtracting days or explicitly setting the "monthDay" 531 * or {@link #set(Time)} or after parsing a date string. 624 * Returns true if the time represented by this Time object occurs after 630 public boolean after(Time that) { method in class:Time 804 * for the Monday week weeks after the Monday of the week containing the
|
/frameworks/base/core/java/android/widget/ |
H A D | AutoCompleteTextView.java | 53 * only after a given number of characters defined by 747 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument 769 if (DEBUG) Log.v(TAG, "after text changed: openBefore=" + mOpenBefore 962 * are asynchronous, so the result may come back after enough text
|
H A D | GridLayout.java | 59 * (after padding is taken into account). 71 * overlap after the layout operation completes. 1846 * If an assignment is made to this field after a measurement or layout operation 1860 * If an assignment is made to this field after a measurement or layout operation 2173 before the alignment point and the amount of space required after it. One side of this 2184 public int after; field in class:GridLayout.Bounds 2193 after = Integer.MIN_VALUE; 2197 protected void include(int before, int after) { argument 2199 this.after = max(this.after, afte [all...] |
H A D | Editor.java | 933 void sendOnTextChanged(int start, int after) { argument 934 updateSpellCheckSpans(start, start + after, false); 1233 // Has to be done after the IMM related code above which relies on the highlight. 1325 // No need to untranslate, previous context is popped after drawDisplayList 2414 // Suggestions are shown after a delay: the underlying spans may have been removed 2535 // Add the text before and after the span. 2550 // Do not leave two adjacent spaces after deletion, or one at beginning of text 2630 // Only spans that include the modified region make sense after replacement 2632 // way to assign them a valid range after replacement
|
H A D | AbsListView.java | 368 * The desired offset to the top of the mMotionPosition view after a scroll 427 * bitmap cache after scrolling. 724 * called after the scroll has completed 1426 * When the scrolling cache is enabled, the caches are kept after the 3058 // We may be here after stopping a fling and continuing to scroll. 5688 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|
H A D | TextView.java | 1356 * {@link #setFocusable} again after calling this to get the focusability 1418 * {@link #setFocusable} again after calling this to get the focusability 1582 * of text from showing. It is only valid to call this after measuring. 1615 * of text from showing. It is only valid to call this after measuring. 3330 // Display the error later, after the first layout pass 4118 * or if it the error was cleared by the widget after user input. 4446 // - onFocusChanged cannot start it when focus is given to a view with selected text (after 5237 // onKeyOther was added after 1.0, so if it isn't 5268 // onKeyOther was added after 1.0, so if it isn't 6405 * This has to be called after layou 7052 sendBeforeTextChanged(CharSequence text, int start, int before, int after) argument 7087 sendOnTextChanged(CharSequence text, int start, int before, int after) argument 7134 handleTextChanged(CharSequence buffer, int start, int before, int after) argument 8777 beforeTextChanged(CharSequence buffer, int start, int before, int after) argument 8791 onTextChanged(CharSequence buffer, int start, int before, int after) argument [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 316 // If so, move the cursor back after the chips again. 319 // Grab the last chip and set the cursor to after it. 849 * Remove any characters after the last valid chip. 857 // Find the last chip; eliminate any commit characters after it. 872 // See what characters occur after that and eliminate them. 874 Log.d(TAG, "There were extra characters after the last tokenizable entry." 1204 // There is nothing after this chip. 1442 // TODO: This algorithm will need a lot of tweaking after more people have used 1837 // Start the search for tokens after the last currently visible 2013 * right after th 2204 beforeTextChanged(CharSequence s, int start, int count, int after) argument [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 59 * (after padding is taken into account). 71 * overlap after the layout operation completes. 1487 typical layout problems complete after the first iteration and the algorithm 1779 * If an assignment is made to this field after a measurement or layout operation 1793 * If an assignment is made to this field after a measurement or layout operation 2106 before the alignment point and the amount of space required after it. One side of this 2117 public int after; field in class:GridLayout.Bounds 2126 after = Integer.MIN_VALUE; 2130 protected void include(int before, int after) { argument 2132 this.after [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) { 352 mManager.setTextComposingMask(start, start + after); 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 1374 updateSpanNextToCursor(Editable txt, int start, int before, int after) argument [all...] |