Searched refs:after (Results 1 - 25 of 44) sorted by relevance

12

/frameworks/base/core/java/android/text/
H A DTextWatcher.java27 * 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 DDynamicLayout.java188 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 DPackedObjectVector.java116 int after = mRows - (mRowGapStart + mRowGapLength);
119 System.arraycopy(mValues, (mRows - after) * mColumns, newvalues, (newsize - after) * mColumns, after * mColumns);
H A DPackedIntVector.java262 int after = mRows - (rowgapstart + mRowGapLength);
266 System.arraycopy(mValues, (mRows - after) * columns,
267 newvalues, (newsize - after) * columns,
268 after * columns);
H A DSpannableStringBuilder.java138 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...]
H A DTextLine.java608 * @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
/frameworks/base/tools/preload/
H A DRecord.java144 String after = result.substring(offset+6);
146 result = String.format("%s%c%s", before, Integer.parseInt(escaped, 16), after);
/frameworks/base/services/java/com/android/server/
H A DDiskStatsService.java67 long after = SystemClock.uptimeMillis();
75 pw.print(after - before);
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsTest.java123 final NetworkStats after = new NetworkStats(TEST_START, 2)
127 final NetworkStats result = after.subtract(before);
139 final NetworkStats after = new NetworkStats(TEST_START, 2)
143 final NetworkStats result = after.subtract(before);
155 final NetworkStats after = new NetworkStats(TEST_START, 3)
160 final NetworkStats result = after.subtract(before);
173 final NetworkStats after = new NetworkStats(TEST_START, 1)
176 final NetworkStats result = after.subtract(before);
290 final NetworkStats after = before.withoutUids(new int[] { 100 });
292 assertEquals(2, after
[all...]
H A DNetworkStatsHistoryTest.java392 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/telephony/java/android/telephony/
H A DPhoneNumberFormattingTextWatcher.java78 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/av/services/audioflinger/
H A DAndroid.mk36 # FIXME keep libmedia_native but remove libmedia after split
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java191 * 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/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardAbsKeyInputView.java118 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 DKeyguardPasswordView.java115 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
167 // We can return true immediately after we find two or more filtered IMEs.
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java346 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...]
/frameworks/compile/slang/tests/
H A Dtest.py178 ' -n, --no-cleanup Don\'t clean up after running tests\n'
/frameworks/base/core/java/android/widget/
H A DGridLayout.java59 * (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 DCalendarView.java119 * How long to wait after receiving an onScrollStateChanged notification
278 * Command for adjusting the position after a scroll/fling.
799 if (date.after(mMaxDate)) {
907 * minimal or after the maximal date.
926 * minimal or after the maximal date.
1099 * range start of after the range end.
1102 if (date.before(mMinDate) || date.after(mMaxDate)) {
1144 // Perform any after scroll operations that are needed
1306 // Fix the position after a scroll or a fling ends
1448 if (mTempDate.before(mMinDate) || mTempDate.after(mMaxDat
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java59 * (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/base/core/java/android/animation/
H A DAnimatorSet.java26 * 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/services/tests/servicestests/src/com/android/server/
H A DDropBoxTest.java66 long after = System.currentTimeMillis();
77 assertTrue(e2.getTimeMillis() < after);
93 long after = System.currentTimeMillis();
733 int after = countOpenFiles();
734 assertTrue(after > 0);
735 assertTrue(after < before + 20);
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java72 int count, int after) {
71 beforeTextChanged(CharSequence s, int start, int count, int after) argument
/frameworks/base/core/java/android/webkit/
H A DFindActionModeCallback.java245 int after) {
242 beforeTextChanged(CharSequence s, int start, int count, int after) argument
/frameworks/base/core/tests/coretests/src/android/text/
H A DSpannedTest.java176 int after) { }
175 beforeTextChanged(CharSequence s, int start, int count, int after) argument

Completed in 4411 milliseconds

12