/frameworks/base/core/java/android/text/ |
H A D | TextWatcher.java | 36 * 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 D | DynamicLayout.java | 193 private void reflow(CharSequence s, int where, int before, int after) { argument 210 before += diff; 224 before += change; 247 before += diff; 256 before += diff; 268 int endline = getLineForOffset(where + before); 330 mInts.adjustValuesBelow(startline, START, after - before); 658 private void reflow(CharSequence s, int where, int before, int after) { argument 662 ml.reflow(s, where, before, after); 667 public void beforeTextChanged(CharSequence s, int where, int before, in argument 671 onTextChanged(CharSequence s, int where, int before, int after) argument [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteDialogHelper.java | 72 * after-list but before-list, which means newly added items. 74 * @param before A list 75 * @param after A list to be compared with {@code before} 77 * comparing {@code after} to {@code before}. 79 public static <E> Set<E> getItemsAdded(List<E> before, List<E> after) { argument 81 set.removeAll(before); 87 * before-list but after-list, which means removed items. 89 * @param before A list 90 * @param after A list to be compared with {@code before} 92 * comparing {@code after} to {@code before} 94 getItemsRemoved(List<E> before, List<E> after) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | GridLayoutManagerNoOpUpdateTest.java | 68 Map<Long, Rect> before = takeSnapshot(); 76 assertSnapshotsEqual(before, after); 79 private void assertSnapshotsEqual(Map<Long, Rect> before, Map<Long, Rect> after) { argument 80 for (Map.Entry<Long, Rect> entry : before.entrySet()) { 85 assertEquals("visible view count should be equal", before.size(), after.size());
|
H A D | DefaultItemAnimatorTest.java | 211 public void cancelTest(boolean before, int count, final RecyclerView.ViewHolder... toCancel) throws Throwable { argument 212 if (before) { 275 public void cancelChangeOldTest(boolean before) throws Throwable { argument 280 cancelTest(before, 2, vh); 293 public void cancelChangeNewTest(boolean before) throws Throwable { argument 298 cancelTest(before, 2, vh2); 311 public void cancelChangeBothTest(boolean before) throws Throwable { argument 316 cancelTest(before, 2, vh, vh2);
|
/frameworks/av/include/media/ |
H A D | SingleStateQueue.h | 88 // being performed (out-of-order) before the ack read, should the caller be 120 int32_t before = shared->mSequence; local 121 if (before == mSequence) { 126 if (before & 1) { 130 before = shared->mSequence; 135 if (after == before) { 137 shared->mAck = before; 138 mSequence = before; // mSequence is even after poll success 144 before = after;
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | main.cpp | 96 nsecs_t before = systemTime(); local 115 cout << "Leak check took " << ns2ms(after - before) << "ms" << endl;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberFormattingTextWatcher.java | 87 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/ |
H A D | CameraTooTest.java | 142 private static <T> Set<T> newlyAddedElements(Set<T> before, Set<T> after) { argument 144 result.removeAll(before);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | SpannedTest.java | 177 public void onTextChanged(CharSequence s, int start, int before, argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
H A D | UsageView.java | 111 public void setSideLabelWeights(float before, float after) { argument 112 setWeight(R.id.space1, before);
|
/frameworks/base/core/java/android/text/method/ |
H A D | PasswordTransformationMethod.java | 76 int before, int count) { 75 onTextChanged(CharSequence s, int start, int before, int count) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | FindActionModeCallback.java | 265 int before, 263 onTextChanged(CharSequence s, int start, int before, int count) argument
|
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | NetworkStatsHistoryTest.java | 261 // try removing far before buckets; should be no change 381 final NetworkStatsHistory before = new NetworkStatsHistory(MINUTE_IN_MILLIS, 40, FIELD_ALL); 382 before.recordData(0, 4 * MINUTE_IN_MILLIS, 384 before.recordData(DAY_IN_MILLIS, DAY_IN_MILLIS + MINUTE_IN_MILLIS, 388 before.writeToStream(new DataOutputStream(out)); 394 // must have identical totals before and after 395 assertFullValues(before, 5 * MINUTE_IN_MILLIS, 1034L, 30L, 2078L, 60L, 54L); 489 NetworkStatsHistory stats, int before, int after, long time) { 490 assertEquals("unexpected before", before, stat 488 assertIndexBeforeAfter( NetworkStatsHistory stats, int before, int after, long time) argument 494 performVarLong(long before) argument [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardPasswordView.java | 336 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZonePickerView.java | 135 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|
/frameworks/base/core/java/android/content/ |
H A D | SyncRequest.java | 40 * Amount of time before {@link #mSyncRunTimeSecs} from which the sync may optionally be 311 * @param beforeSeconds the amount of flex time in seconds before 325 private void setupInterval(long at, long before) { argument 326 if (before > at) { 331 mSyncFlexTimeSecs = before;
|
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageHelper.java | 555 public static String replaceEnd(String str, String before, String after) { argument 556 if (!str.endsWith(before)) { 558 "Expected " + str + " to end with " + before); 560 return str.substring(0, str.length() - before.length()) + after;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuItemView.java | 248 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument 249 super.onTextChanged(text, start, before, after);
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | TextViewBindingAdapter.java | 346 public static void setTextWatcher(TextView view, final BeforeTextChanged before, argument 350 if (before == null && after == null && on == null && textAttrChanged == null) { 356 if (before != null) { 357 before.beforeTextChanged(s, start, count, after); 362 public void onTextChanged(CharSequence s, int start, int before, int count) { 364 on.onTextChanged(s, start, before, count); 397 void onTextChanged(CharSequence s, int start, int before, int count); argument
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
H A D | DiffUtilTest.java | 317 log("before", mBefore); 362 private List<Item> applyUpdates(List<Item> before, DiffUtil.DiffResult result) { argument 364 target.addAll(before);
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrackShared.cpp | 139 struct timespec before; local 276 clock_gettime(CLOCK_MONOTONIC, &before); 287 total.tv_sec += after.tv_sec - before.tv_sec; 288 long deltaNs = after.tv_nsec - before.tv_nsec; 297 before = after;
|
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 42 * its animations. For example, an animation a1 could be set up to start before animation a2, a2 43 * before a3, and a3 before a1. The results of this configuration are undefined, but will typically 88 * to each Animator before they start and removed after they end. 139 // In pre-N releases, calling end() before start() on an animator set is no-op. But that is not 211 play(items[i]).before(items[i + 1]); 230 play(items.get(i)).before(items.get(i + 1)); 316 * <code>play(a1).before(a2)</code> sets up the AnimatorSet to play 326 * <code>play(a1).before(a2).before(a 1311 public Builder before(Animator anim) { method in class:AnimatorSet.Builder [all...] |
/frameworks/base/core/java/android/net/ |
H A D | LinkProperties.java | 104 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/core/java/android/text/format/ |
H A D | Time.java | 47 * before 1st Jan 1970 UTC).</li> 218 * (the "unknown" value) before normalizing. It then computes the 841 * Returns true if the time represented by this Time object occurs before 851 public boolean before(Time that) { method in class:Time
|