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

123

/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.java189 private void reflow(CharSequence s, int where, int before, int after) { argument
207 after += diff;
213 int look = TextUtils.indexOf(text, '\n', where + after);
217 look++; // we want the index after the \n
219 int change = look - (where + after);
221 after += change;
232 Object[] force = sp.getSpans(where, where + after,
244 after += diff;
248 if (en > where + after) {
251 int diff = en - (where + after);
635 reflow(CharSequence s, int where, int before, int after) argument
644 beforeTextChanged(CharSequence s, int where, int before, int after) argument
648 onTextChanged(CharSequence s, int where, int before, int after) argument
[all...]
H A DPackedObjectVector.java117 int after = mRows - (mRowGapStart + mRowGapLength);
120 System.arraycopy(mValues, (mRows - after) * mColumns, newvalues, (newsize - after) * mColumns, after * mColumns);
H A DPackedIntVector.java263 int after = mRows - (rowgapstart + mRowGapLength);
267 System.arraycopy(mValues, (mRows - after) * columns,
268 newvalues, (newsize - after) * columns,
269 after * columns);
H A DBidiFormatter.java48 * string. Without "reset" after the string, the string will "stick" to a number or logically
52 * "reset" the direction only after each string, on the theory that if the preceding opposite-
53 * direction text is itself bidi-wrapped, the "reset" after it will prevent the sticking. (Doing
61 * would not bidi-wrap anyway. Thus, "reset" only after the string is the current default. In an
176 * a string being bidi-wrapped, not just after it. The default is false.
279 * bidi-wrapped, not just after it.
288 * Putting this after the string (including its directionality declaration wrapping) prevents it
289 * from "sticking" to other opposite-directionality text or a number appearing after it inline
294 * @param str String after which the mark may need to appear.
364 * surroundings. Currently, this is done by "resetting" the directionality after th
[all...]
H A DSpannableStringBuilder.java142 final int after = oldLength - (mGapStart + mGapLength);
143 System.arraycopy(mText, oldLength - after, newText, newLength - after, after);
518 // Span watchers need to be called after text watchers, which may update the layout
811 // Expensive test, should be performed after the previous tests
868 * Return the next offset after <code>start</code> but less than or
952 private void sendBeforeTextChanged(TextWatcher[] watchers, int start, int before, int after) { argument
956 watchers[i].beforeTextChanged(this, start, before, after);
960 private void sendTextChanged(TextWatcher[] watchers, int start, int before, int after) { argument
[all...]
/frameworks/av/media/libmedia/
H A DSingleStateQueue.cpp80 int32_t after = android_atomic_release_load(&shared->mSequence); local
81 if (after == before) {
90 before = after;
/frameworks/base/tests/FeatureSplit/feature2/
H A DAndroid.mk33 LOCAL_AAPT_FLAGS += --feature-after $(featureAfterApk)
/frameworks/base/tools/preload/
H A DRecord.java154 String after = result.substring(offset+6);
156 result = String.format("%s%c%s", before, Integer.parseInt(escaped, 16), after);
/frameworks/base/services/core/java/com/android/server/
H A DDiskStatsService.java66 long after = SystemClock.uptimeMillis();
74 pw.print(after - before);
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncOperationTest.java132 long after = 1500;
137 // Interval disjoint from and after op1.
139 "authority1", mEmpty, after, afterFlex, mUnimportantLong, mUnimportantLong, true);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DChildHelper.java409 final long after = ((mData & ~mask)) << 1;
410 mData = before | after;
434 final long after = Long.rotateRight(mData & ~mask, 1);
435 mData = before | after;
/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...]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java277 // Only publish dates reasonably after epoch
412 final File after = new File(before.getParentFile(), displayName);
413 if (after.exists()) {
414 throw new IllegalStateException("Already exists " + after);
416 if (!before.renameTo(after)) {
417 throw new IllegalStateException("Failed to rename to " + after);
419 final String afterDocId = getDocIdForFile(after);
557 if (LOG_INOTIFY) Log.d(TAG, "after start: " + observer);
572 if (LOG_INOTIFY) Log.d(TAG, "after stop: " + observer);
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberFormattingTextWatcher.java76 int after) {
113 // The text could be changed by other TextWatcher after we changed it. If we found the
75 beforeTextChanged(CharSequence s, int start, int count, int after) argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DLinearLayoutManagerTest.java322 void after(RecyclerView.Recycler recycler, RecyclerView.State state) {
804 Map<Item, Rect> after) {
807 assertRectSetsEqual("NOT " + message, before, after);
814 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) { argument
821 sb.append("after:\n");
822 for (Map.Entry<Item, Rect> entry : after.entrySet()) {
827 , after.size());
829 Rect afterRect = after.get(entry.getKey());
830 assertNotNull(message + ":\nSame item should be visible after simple re-layout",
1077 mOnLayoutListener.after(recycle
803 assertRectSetsNotEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) argument
1090 void after(RecyclerView.Recycler recycler, RecyclerView.State state){} method in class:LinearLayoutManagerTest.OnLayoutListener
[all...]
H A DStaggeredGridLayoutManagerTest.java391 void after(RecyclerView.Recycler recycler, RecyclerView.State state) {
822 // run these tests twice. once initial layout, once after scroll
909 assertEquals("after setting new span count, layout manager should keep new value",
913 assertTrue("when span count is dramatically changed after restore, # of child views "
1094 // TODO add tests for changing values after restore before layout
1242 Log.d(TAG, "after scrolling to visible mPosition " +
1269 Log.d(TAG, "after scroll to partially visible child " + bounds + " in "
1273 + " after scrolling to a partially visible child, it should become fully "
1387 Map<Item, Rect> after = mLayoutManager.collectChildCoordinates();
1391 before, after
1522 assertRectSetsNotEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) argument
1533 assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) argument
1568 void after(RecyclerView.Recycler recycler, RecyclerView.State state) { method in class:StaggeredGridLayoutManagerTest.OnLayoutListener
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java194 * after a layout.
248 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument
249 super.onTextChanged(text, start, before, after);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardPasswordView.java145 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
218 // We can return true immediately after we find two or more filtered IMEs.
283 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
/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/base/core/java/com/android/internal/app/
H A DRestrictionsPinActivity.java144 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DSaveFragment.java103 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
/frameworks/compile/slang/tests/
H A Dtest.py178 ' -n, --no-cleanup Don\'t clean up after running tests\n'
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
H A DCameraTooTest.java142 private static <T> Set<T> newlyAddedElements(Set<T> before, Set<T> after) { argument
143 Set<T> result = new HashSet<T>(after);
/frameworks/support/v4/java/android/support/v4/text/
H A DBidiFormatter.java44 * string. Without "reset" after the string, the string will "stick" to a number or logically
48 * "reset" the direction only after each string, on the theory that if the preceding opposite-
49 * direction text is itself bidi-wrapped, the "reset" after it will prevent the sticking. (Doing
57 * would not bidi-wrap anyway. Thus, "reset" only after the string is the current default. In an
172 * a string being bidi-wrapped, not just after it. The default is false.
275 * bidi-wrapped, not just after it.
284 * Putting this after the string (including its directionality declaration wrapping) prevents it
285 * from "sticking" to other opposite-directionality text or a number appearing after it inline
290 * @param str String after which the mark may need to appear.
356 * surroundings. Currently, this is done by "resetting" the directionality after th
[all...]

Completed in 3430 milliseconds

123