Searched refs:after (Results 26 - 50 of 94) sorted by relevance

1234

/frameworks/base/core/java/android/net/
H A DLinkProperties.java104 LinkProperties before, LinkProperties after) {
105 if (before.isProvisioned() && after.isProvisioned()) {
126 if ((before.isIPv4Provisioned() && !after.isIPv4Provisioned()) ||
127 (before.isIPv6Provisioned() && !after.isIPv6Provisioned())) {
131 } else if (before.isProvisioned() && !after.isProvisioned()) {
133 } else if (!before.isProvisioned() && after.isProvisioned()) {
135 } else { // !before.isProvisioned() && !after.isProvisioned()
103 compareProvisioning( LinkProperties before, LinkProperties after) argument
/frameworks/base/services/core/java/com/android/server/
H A DDiskStatsService.java86 long after = SystemClock.uptimeMillis();
99 proto.write(DiskStatsServiceDumpProto.WRITE_512B_LATENCY_MILLIS, after - before);
107 pw.print(after - before);
/frameworks/base/tests/net/java/android/net/
H A DNetworkStatsTest.java198 final NetworkStats after = new NetworkStats(TEST_START, 2)
202 final NetworkStats result = after.subtract(before);
216 final NetworkStats after = new NetworkStats(TEST_START, 2)
220 final NetworkStats result = after.subtract(before);
234 final NetworkStats after = new NetworkStats(TEST_START, 3)
239 final NetworkStats result = after.subtract(before);
255 final NetworkStats after = new NetworkStats(TEST_START, 1)
258 final NetworkStats result = after.subtract(before);
427 final NetworkStats after = before.withoutUids(new int[] { 100 });
429 assertEquals(2, after
[all...]
/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/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java205 * after a layout.
259 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument
260 super.onTextChanged(text, start, before, after);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerBaseConfigSetTest.java422 // run these tests twice. once initial layout, once after scroll
584 Log.d(TAG, "after scrolling to visible mPosition " +
611 Log.d(TAG, "after scroll to partially visible child " + bounds + " in "
615 + " after scrolling to a partially visible child, it should become fully "
678 Map<Item, Rect> after = mLayoutManager.collectChildCoordinates();
682 before, after
688 after = mLayoutManager.collectChildCoordinates();
692 Rect afterRect = after.get(entry.getKey());
710 mConfig + " if item is missing after relayout, it should be out of bounds."
827 Map<Item, Rect> after
[all...]
/frameworks/base/core/java/android/app/
H A DDownloadManager.java54 * after failures or across connectivity changes and system reboots.
401 // value of 1 is stored in the above column by DownloadProvider after it is scanned by
417 * in progress and after completion.
427 * This download shows in the notifications after completion ONLY.
1265 final File after = new File(parent, displayName);
1267 if (after.exists()) {
1268 throw new IllegalStateException("Already exists " + after);
1270 if (!before.renameTo(after)) {
1271 throw new IllegalStateException("Failed to rename to " + after);
1283 intent.setData(Uri.fromFile(after));
[all...]
/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/graphics/java/android/graphics/drawable/
H A DRippleBackground.java106 // Linear exit after enter is completed.
123 builder.after(enter);
145 // Linear exit after enter is completed.
/frameworks/base/services/core/java/com/android/server/display/
H A DNightDisplayService.java477 && mLastActivatedTime.after(startTime)
478 && (mLastActivatedTime.after(endTime) || now.before(endTime))) {
571 && (lastActivatedTime.after(sunrise) ^ lastActivatedTime.after(sunset))) {
/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/emoji/core/src/android/support/text/emoji/widget/
H A DSpannableBuilder.java370 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
371 ((TextWatcher) mObject).beforeTextChanged(s, start, count, after);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DDatePicker.java265 if (mCurrentDate.after(mMaxDate)) {
299 } else if (mCurrentDate.after(mMaxDate)) {
/frameworks/base/core/java/android/text/
H A DTextLine.java602 * @param after true if the new offset should logically follow the provided
607 boolean runIsRtl, int offset, boolean after) {
609 if (runIndex < 0 || offset == (after ? mLen : 0)) {
613 if (after) {
628 int target = after ? offset + 1 : offset;
657 return after ? spanLimit : spanStart;
663 int cursorOpt = after ? Paint.CURSOR_AFTER : Paint.CURSOR_BEFORE;
1010 * @return the (unsigned) tab position after this offset
606 getOffsetBeforeAfter(int runIndex, int runStart, int runLimit, boolean runIsRtl, int offset, boolean after) argument
H A DBidiFormatter.java49 * string. Without "reset" after the string, the string will "stick" to a number or logically
53 * "reset" the direction only after each string, on the theory that if the preceding opposite-
54 * direction text is itself bidi-wrapped, the "reset" after it will prevent the sticking. (Doing
62 * would not bidi-wrap anyway. Thus, "reset" only after the string is the current default. In an
177 * a string being bidi-wrapped, not just after it. The default is true.
282 * bidi-wrapped, not just after it.
291 * Putting this after the string (including its directionality declaration wrapping) prevents it
292 * from "sticking" to other opposite-directionality text or a number appearing after it inline
297 * @param str CharSequence after which the mark may need to appear.
378 * surroundings. Currently, this is done by "resetting" the directionality after th
[all...]
H A DSpannableStringBuilder.java149 final int after = oldLength - (mGapStart + mGapLength);
150 System.arraycopy(mText, oldLength - after, newText, newLength - after, after);
387 // keep deleting spans as needed, and restart from root after every deletion
576 // Span watchers need to be called after text watchers, which may update the layout
1143 * Return the next offset after <code>start</code> but less than or
1237 private void sendBeforeTextChanged(TextWatcher[] watchers, int start, int before, int after) { argument
1242 watchers[i].beforeTextChanged(this, start, before, after);
1247 private void sendTextChanged(TextWatcher[] watchers, int start, int before, int after) { argument
[all...]
/frameworks/av/media/libaudioclient/
H A DAudioTrackShared.cpp125 TIMEOUT_CONTINUE, // additional chances after TIMEOUT_FINITE
285 struct timespec after; local
286 clock_gettime(CLOCK_MONOTONIC, &after);
287 total.tv_sec += after.tv_sec - before.tv_sec;
288 long deltaNs = after.tv_nsec - before.tv_nsec;
297 before = after;
400 // if you want to flush twice to the same rear location after a 32 bit wrap.
425 TIMEOUT_CONTINUE, // additional chances after TIMEOUT_FINITE
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DDropBoxTest.java68 long after = System.currentTimeMillis();
79 assertTrue(e2.getTimeMillis() < after);
97 long after = System.currentTimeMillis();
733 int after = countOpenFiles();
734 assertTrue(after > 0);
735 assertTrue(after < before + 20);
/frameworks/rs/script_api/
H A Drs_convert.spec108 clamping may be done after the input is multiplied by 255.f and converted to an integer,
/frameworks/support/core-utils/java/android/support/v4/text/
H A DBidiFormatter.java45 * string. Without "reset" after the string, the string will "stick" to a number or logically
49 * "reset" the direction only after each string, on the theory that if the preceding opposite-
50 * direction text is itself bidi-wrapped, the "reset" after it will prevent the sticking. (Doing
58 * would not bidi-wrap anyway. Thus, "reset" only after the string is the current default. In an
173 * a string being bidi-wrapped, not just after it. The default is true.
276 * bidi-wrapped, not just after it.
285 * directionality. Putting this after the CharSequence (including its directionality
287 * number appearing after it inline with only neutral content in between. Otherwise returns
292 * @param str CharSequence after which the mark may need to appear.
370 * surroundings. Currently, this is done by "resetting" the directionality after th
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java71 * (after padding is taken into account).
83 * overlap after the layout operation completes.
2027 * If an assignment is made to this field after a measurement or layout operation
2041 * If an assignment is made to this field after a measurement or layout operation
2360 before the alignment point and the amount of space required after it. One side of this
2371 public int after; field in class:GridLayout.Bounds
2380 after = Integer.MIN_VALUE;
2384 protected void include(int before, int after) { argument
2386 this.after = max(this.after, afte
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java67 * (after padding is taken into account).
79 * overlap after the layout operation completes.
1917 * If an assignment is made to this field after a measurement or layout operation
1931 * If an assignment is made to this field after a measurement or layout operation
2250 before the alignment point and the amount of space required after it. One side of this
2261 public int after; field in class:GridLayout.Bounds
2270 after = Integer.MIN_VALUE;
2274 protected void include(int before, int after) { argument
2276 this.after = max(this.after, afte
[all...]
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java71 int count, int after) {
70 beforeTextChanged(CharSequence s, int start, int count, int after) argument
/frameworks/base/core/java/android/webkit/
H A DFindActionModeCallback.java258 int after) {
255 beforeTextChanged(CharSequence s, int start, int count, int after) argument
/frameworks/base/core/tests/coretests/src/android/text/
H A DSpannedTest.java186 public void beforeTextChanged(CharSequence s, int start, int count, int after) { } argument

Completed in 2034 milliseconds

1234