/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 | PackedObjectVector.java | 117 int after = mRows - (mRowGapStart + mRowGapLength); 120 System.arraycopy(mValues, (mRows - after) * mColumns, newvalues, (newsize - after) * mColumns, after * mColumns);
|
H A D | DynamicLayout.java | 199 private void reflow(CharSequence s, int where, int before, int after) { argument 217 after += diff; 223 int look = TextUtils.indexOf(text, '\n', where + after); 227 look++; // we want the index after the \n 229 int change = look - (where + after); 231 after += change; 242 Object[] force = sp.getSpans(where, where + after, 254 after += diff; 258 if (en > where + after) { 261 int diff = en - (where + after); 746 reflow(CharSequence s, int where, int before, int after) argument 755 beforeTextChanged(CharSequence s, int where, int before, int after) argument 759 onTextChanged(CharSequence s, int where, int before, int after) argument [all...] |
H A D | PackedIntVector.java | 267 int after = mRows - (rowgapstart + mRowGapLength); 271 System.arraycopy(mValues, (mRows - after) * columns, 272 newvalues, (newsize - after) * columns, 273 after * columns);
|
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/ |
H A D | EmojiTextWatcher.java | 59 final int after) { 64 //before > after --> a deletion occured 65 if (before <= after && charSequence instanceof Spannable) { 69 EmojiCompat.get().process(s, start, start + after, mMaxEmojiCount); 78 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument 58 onTextChanged(CharSequence charSequence, final int start, final int before, final int after) argument
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | GridLayoutManagerNoOpUpdateTest.java | 77 Map<Long, Rect> after = takeSnapshot(); 78 assertSnapshotsEqual(before, after); 81 private void assertSnapshotsEqual(Map<Long, Rect> before, Map<Long, Rect> after) { argument 83 Rect newPosition = after.get(entry.getKey()); 84 assertNotNull("cannot find " + entry.getKey() + " in after map", newPosition); 87 assertEquals("visible view count should be equal", before.size(), after.size());
|
H A D | BaseLinearLayoutManagerTest.java | 128 void after(RecyclerView.Recycler recycler, RecyclerView.State state) { 189 Map<Item, Rect> after, boolean strictItemEquality) { 192 assertRectSetsEqual("NOT " + message, before, after, strictItemEquality); 199 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) { argument 200 assertRectSetsEqual(message, before, after, true); 203 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after, argument 211 sb.append("after:\n"); 212 for (Map.Entry<Item, Rect> entry : after.entrySet()) { 217 , after.size()); 222 afterRect = after 188 assertRectSetsNotEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after, boolean strictItemEquality) argument 268 void after(RecyclerView.Recycler recycler, RecyclerView.State state) { method in class:BaseLinearLayoutManagerTest.OnLayoutListener [all...] |
H A D | BaseStaggeredGridLayoutManagerTest.java | 142 Map<Item, Rect> after) { 145 assertRectSetsEqual("NOT " + message, before, after); 152 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) { argument 153 assertRectSetsEqual(message, before, after, true); 156 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after, argument 168 for (Map.Entry<Item, Rect> entry : after.entrySet()) { 175 , after.size()); 180 afterRect = after.get(beforeItem); 181 assertNotNull(message + ": Same item should be visible after simple re-layout", 184 for (Map.Entry<Item, Rect> afterEntry : after 141 assertRectSetsNotEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) argument 266 void after(RecyclerView.Recycler recycler, RecyclerView.State state) { method in class:BaseStaggeredGridLayoutManagerTest.OnLayoutListener [all...] |
/frameworks/av/include/media/ |
H A D | SingleStateQueue.h | 84 // SSQ_DONE means it has been acted upon, after Observer::done() is called 134 int32_t after = android_atomic_release_load(&shared->mSequence); local 135 if (after == before) { 138 mSequence = before; // mSequence is even after poll success 144 before = after; 155 android_atomic_release_store(ack, &mShared->mAck); // mSequence is odd after "done"
|
/frameworks/av/media/libmedia/include/media/ |
H A D | SingleStateQueue.h | 84 // SSQ_DONE means it has been acted upon, after Observer::done() is called 134 int32_t after = android_atomic_release_load(&shared->mSequence); local 135 if (after == before) { 138 mSequence = before; // mSequence is even after poll success 144 before = after; 155 android_atomic_release_store(ack, &mShared->mAck); // mSequence is odd after "done"
|
/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. 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 80 HashSet<E> set = new HashSet<>(after); 87 * before-list but after-list, which means removed items. 90 * @param after A list to be compared with {@code before} 92 * comparing {@code after} to {@code before}. 94 public static <E> Set<E> getItemsRemoved(List<E> before, List<E> after) { argument 96 set.removeAll(after); [all...] |
/frameworks/base/native/graphics/jni/ |
H A D | Android.mk | 36 # TODO: This is to work around b/24465209. Remove after root cause is fixed
|
/frameworks/base/tools/preload/ |
H A D | Record.java | 154 String after = result.substring(offset+6); 156 result = String.format("%s%c%s", before, Integer.parseInt(escaped, 16), after);
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
H A D | DiffUtilTest.java | 318 log("after", mAfter); 342 private void assertEquals(List<Item> applied, List<Item> after) { argument 346 assertThat(report, applied.size(), is(after.size())); 347 for (int i = 0; i < after.size(); i++) { 349 if (after.get(i).newItem) { 351 } else if (after.get(i).changed) { 354 assertThat(report, item.id, is(after.get(i).id)); 355 assertThat(report, item.payload, is(after.get(i).payload)); 357 assertThat(report, item, equalTo(after.get(i))); 423 // clean the payload since this might be after a [all...] |
/frameworks/base/tools/bit/ |
H A D | util.cpp | 128 directory_contents_differ(const map<string,FileInfo>& before, const map<string,FileInfo>& after) argument 130 if (before.size() != after.size()) { 134 map<string,FileInfo>::const_iterator a = after.begin(); 135 while (b != before.end() && a != after.end()) {
|
H A D | util.h | 66 const map<string,FileInfo>& after);
|
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/ |
H A D | UninitializedStateTest.java | 44 public void after() { method in class:UninitializedStateTest
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | TextViewBindingAdapter.java | 347 final OnTextChanged on, final AfterTextChanged after, 350 if (before == null && after == null && on == null && textAttrChanged == null) { 355 public void beforeTextChanged(CharSequence s, int start, int count, int after) { 357 before.beforeTextChanged(s, start, count, after); 373 if (after != null) { 374 after.afterTextChanged(s); 393 void beforeTextChanged(CharSequence s, int start, int count, int after); argument 346 setTextWatcher(TextView view, final BeforeTextChanged before, final OnTextChanged on, final AfterTextChanged after, final InverseBindingListener textAttrChanged) argument
|
/frameworks/base/core/java/com/android/internal/content/ |
H A D | FileSystemProvider.java | 174 final File after = FileUtils.buildUniqueFile(before.getParentFile(), displayName); 176 if (!before.renameTo(after)) { 177 throw new IllegalStateException("Failed to rename to " + after); 180 final String afterDocId = getDocIdForFile(after); 195 final File after = new File(getFileForDocId(targetParentDocumentId), before.getName()); 198 if (after.exists()) { 199 throw new IllegalStateException("Already exists " + after); 201 if (!before.renameTo(after)) { 202 throw new IllegalStateException("Failed to move to " + after); 205 final String docId = getDocIdForFile(after); [all...] |
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | AnimatorSetActivityTest.java | 94 s3.play(a1).before(a2).after(s1).with(s2).after(a3); 150 s3.play(a1).before(a2).after(a3); 151 s3.play(a1).after(a2).with(a4); 156 s4.play(a1).after(a2); 157 s4.play(a2).after(a1); 162 s5.play(a1).after(a2).before(a3); 182 s.play(a1).before(a2).before(a3).after(a4).after(a5); 215 s.play(a1).before(a2).before(a3).after(a [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
H A D | UsageView.java | 111 public void setSideLabelWeights(float before, float after) { argument 113 setWeight(R.id.space2, after);
|
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/util/ |
H A D | KeyboardUtil.java | 96 final InputConnection inputConnection, final int before, final int after) 103 inputConnection.deleteSurroundingText(before, after); 95 deleteSurroundingText(final Instrumentation instrumentation, final InputConnection inputConnection, final int before, final int after) argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ChildHelper.java | 455 final long after = ((mData & ~mask)) << 1; 456 mData = before | after; 480 final long after = Long.rotateRight(mData & ~mask, 1); 481 mData = before | after;
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
H A D | CallbackBindingObject.java | 64 void beforeTextChanged(CharSequence s, int start, int count, int after); argument
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | ChildHelper.java | 455 final long after = ((mData & ~mask)) << 1; 456 mData = before | after; 480 final long after = Long.rotateRight(mData & ~mask, 1); 481 mData = before | after;
|