Home
last modified time | relevance | path

Searched refs:after (Results 1 – 25 of 152) sorted by relevance

1234567

/frameworks/base/services/tests/notification/src/com/android/server/notification/
DNotificationTest.java62 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, true); in testStripsExtendersInLowRamMode() local
65 assertNull(new Notification.TvExtender(after).getChannelId()); in testStripsExtendersInLowRamMode()
68 assertEquals(Notification.COLOR_DEFAULT, new Notification.CarExtender(after).getColor()); in testStripsExtendersInLowRamMode()
71 assertNull(new Notification.WearableExtender(after).getDismissalId()); in testStripsExtendersInLowRamMode()
89 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, true); in testStripsRemoteViewsInLowRamMode() local
93 assertNull(after.contentView); in testStripsRemoteViewsInLowRamMode()
94 assertNull(after.bigContentView); in testStripsRemoteViewsInLowRamMode()
95 assertNull(after.headsUpContentView); in testStripsRemoteViewsInLowRamMode()
105 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, false); in testDoesNotStripsExtendersInNormalRamMode() local
107 assertTrue(before == after); in testDoesNotStripsExtendersInNormalRamMode()
/frameworks/compile/slang/tests/F_reduce_general_parse/
Dstderr.txt.expect1 reduce_general_parse.rs:5:18: error: missing '(' after 'reduce' for '#pragma rs reduce'
2 reduce_general_parse.rs:6:19: error: missing name after 'reduce(' for '#pragma rs reduce'
3 reduce_general_parse.rs:7:20: error: missing name after 'reduce(' for '#pragma rs reduce'
4 reduce_general_parse.rs:8:19: error: missing name after 'reduce(' for '#pragma rs reduce'
5 reduce_general_parse.rs:9:22: error: missing ')' after 'reduce(foo' for '#pragma rs reduce'
6 reduce_general_parse.rs:10:25: error: missing ')' after 'reduce(foo' for '#pragma rs reduce'
8 reduce_general_parse.rs:12:36: error: missing name after 'initializer(' for '#pragma rs reduce'
/frameworks/support/paging/common/src/main/java/android/arch/paging/
DKeyedDataSource.java131 List<Value> after = loadAfter(key, initialLoadSize / 2); in loadInitialInternal() local
132 if (after == null) { in loadInitialInternal()
136 Key loadBeforeKey = after.isEmpty() ? key : getKey(after.get(0)); in loadInitialInternal()
141 if (!after.isEmpty() || !before.isEmpty()) { in loadInitialInternal()
143 if (after.isEmpty()) { in loadInitialInternal()
146 after = loadAfter(getKey(before.get(0)), initialLoadSize / 2); in loadInitialInternal()
147 if (after == null) { in loadInitialInternal()
156 list.addAll(after); in loadInitialInternal()
/frameworks/base/core/java/android/text/
DDynamicLayout.java199 private void reflow(CharSequence s, int where, int before, int after) { in reflow() argument
217 after += diff; in reflow()
223 int look = TextUtils.indexOf(text, '\n', where + after); in reflow()
229 int change = look - (where + after); in reflow()
231 after += change; in reflow()
242 Object[] force = sp.getSpans(where, where + after, in reflow()
254 after += diff; in reflow()
258 if (en > where + after) { in reflow()
261 int diff = en - (where + after); in reflow()
263 after += diff; in reflow()
[all …]
DPackedObjectVector.java117 int after = mRows - (mRowGapStart + mRowGapLength); in growBuffer() local
120 …System.arraycopy(mValues, (mRows - after) * mColumns, newvalues, (newsize - after) * mColumns, aft… in growBuffer()
DPackedIntVector.java267 int after = mRows - (rowgapstart + mRowGapLength); in growBuffer() local
271 System.arraycopy(mValues, (mRows - after) * columns, in growBuffer()
272 newvalues, (newsize - after) * columns, in growBuffer()
273 after * columns); in growBuffer()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerNoOpUpdateTest.java77 Map<Long, Rect> after = takeSnapshot(); in rtlChanges() local
78 assertSnapshotsEqual(before, after); in rtlChanges()
81 private void assertSnapshotsEqual(Map<Long, Rect> before, Map<Long, Rect> after) { in assertSnapshotsEqual() argument
83 Rect newPosition = after.get(entry.getKey()); in assertSnapshotsEqual()
87 assertEquals("visible view count should be equal", before.size(), after.size()); in assertSnapshotsEqual()
DBaseLinearLayoutManagerTest.java128 void after(RecyclerView.Recycler recycler, RecyclerView.State state) { in scrollToPositionWithPredictive()
189 Map<Item, Rect> after, boolean strictItemEquality) { in assertRectSetsNotEqual() argument
192 assertRectSetsEqual("NOT " + message, before, after, strictItemEquality); in assertRectSetsNotEqual()
199 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) { in assertRectSetsEqual() argument
200 assertRectSetsEqual(message, before, after, true); in assertRectSetsEqual()
203 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after, in assertRectSetsEqual() argument
212 for (Map.Entry<Item, Rect> entry : after.entrySet()) { in assertRectSetsEqual()
217 , after.size()); in assertRectSetsEqual()
222 afterRect = after.get(beforeItem); in assertRectSetsEqual()
226 for (Map.Entry<Item, Rect> afterEntry : after.entrySet()) { in assertRectSetsEqual()
[all …]
DBaseStaggeredGridLayoutManagerTest.java142 Map<Item, Rect> after) { in assertRectSetsNotEqual() argument
145 assertRectSetsEqual("NOT " + message, before, after); in assertRectSetsNotEqual()
152 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) { in assertRectSetsEqual() argument
153 assertRectSetsEqual(message, before, after, true); in assertRectSetsEqual()
156 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after, in assertRectSetsEqual() argument
168 for (Map.Entry<Item, Rect> entry : after.entrySet()) { in assertRectSetsEqual()
175 , after.size()); in assertRectSetsEqual()
180 afterRect = after.get(beforeItem); in assertRectSetsEqual()
184 for (Map.Entry<Item, Rect> afterEntry : after.entrySet()) { in assertRectSetsEqual()
266 void after(RecyclerView.Recycler recycler, RecyclerView.State state) { in after() method in BaseStaggeredGridLayoutManagerTest.OnLayoutListener
[all …]
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
DEmojiTextWatcher.java68 final int after) { in onTextChanged() argument
74 if (before <= after && charSequence instanceof Spannable) { in onTextChanged()
78 EmojiCompat.get().process(s, start, start + after, mMaxEmojiCount, in onTextChanged()
92 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in beforeTextChanged() argument
/frameworks/av/media/libaaudio/src/utility/
DAAudioUtilities.h295 int after; in read() local
302 after = mCounter.load(); in read()
303 } while ((after != before) && (after > 0) && (--timeout > 0)); in read()
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetActivityTest.java94 s3.play(a1).before(a2).after(s1).with(s2).after(a3); in testGetChildAnimations()
150 s3.play(a1).before(a2).after(a3); in testTotalDuration()
151 s3.play(a1).after(a2).with(a4); in testTotalDuration()
156 s4.play(a1).after(a2); in testTotalDuration()
157 s4.play(a2).after(a1); in testTotalDuration()
162 s5.play(a1).after(a2).before(a3); in testTotalDuration()
182 s.play(a1).before(a2).before(a3).after(a4).after(a5); in testGetDuration()
215 s.play(a1).before(a2).before(a3).after(a4).after(a5);
283 s.play(a1).before(a2).after(a3).with(a4);
436 s.play(a1).before(a2).after(a3).with(a4);
[all …]
/frameworks/compile/slang/tests/F_root_compute_too_many_args/
Dstderr.txt.expect1 …s:6:20: error: In compute kernel root(), parameter 'extra1' cannot appear after any of the special…
2 …s:6:37: error: In compute kernel root(), parameter 'extra2' cannot appear after any of the special…
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteDialogHelper.java79 public static <E> Set<E> getItemsAdded(List<E> before, List<E> after) {
80 HashSet<E> set = new HashSet<>(after);
94 public static <E> Set<E> getItemsRemoved(List<E> before, List<E> after) {
96 set.removeAll(after);
/frameworks/av/include/media/
DSingleStateQueue.h134 int32_t after = android_atomic_release_load(&shared->mSequence); in poll() local
135 if (after == before) { in poll()
144 before = after; in poll()
/frameworks/av/media/libmedia/include/media/
DSingleStateQueue.h134 int32_t after = android_atomic_release_load(&shared->mSequence); in poll() local
135 if (after == before) { in poll()
144 before = after; in poll()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java217 final File after = FileUtils.buildUniqueFile(before.getParentFile(), displayName); in renameDocument() local
219 if (!before.renameTo(after)) { in renameDocument()
220 throw new IllegalStateException("Failed to rename to " + after); in renameDocument()
223 final String afterDocId = getDocIdForFile(after); in renameDocument()
238 final File after = new File(getFileForDocId(targetParentDocumentId), before.getName()); in moveDocument() local
241 if (after.exists()) { in moveDocument()
242 throw new IllegalStateException("Already exists " + after); in moveDocument()
244 if (!before.renameTo(after)) { in moveDocument()
245 throw new IllegalStateException("Failed to move to " + after); in moveDocument()
248 final String docId = getDocIdForFile(after); in moveDocument()
/frameworks/compile/slang/tests/F_root_compute_really_bad/
Dstderr.txt.expect3 …s:6:19: error: In compute kernel root(), parameter 'extra1' cannot appear after any of the special…
4 …s:6:36: error: In compute kernel root(), parameter 'extra2' cannot appear after any of the special…
15 … error: In compute kernel root_kernel(), parameter 'extra1' cannot appear after any of the special…
16 … error: In compute kernel root_kernel(), parameter 'extra2' cannot appear after any of the special…
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
DDiffUtilTest.java342 private void assertEquals(List<Item> applied, List<Item> after) { in assertEquals() argument
346 assertThat(report, applied.size(), is(after.size())); in assertEquals()
347 for (int i = 0; i < after.size(); i++) { in assertEquals()
349 if (after.get(i).newItem) { in assertEquals()
351 } else if (after.get(i).changed) { in assertEquals()
354 assertThat(report, item.id, is(after.get(i).id)); in assertEquals()
355 assertThat(report, item.payload, is(after.get(i).payload)); in assertEquals()
357 assertThat(report, item, equalTo(after.get(i))); in assertEquals()
/frameworks/base/tools/bit/
Dutil.cpp128 directory_contents_differ(const map<string,FileInfo>& before, const map<string,FileInfo>& after) in directory_contents_differ() argument
130 if (before.size() != after.size()) { in directory_contents_differ()
134 map<string,FileInfo>::const_iterator a = after.begin(); in directory_contents_differ()
135 while (b != before.end() && a != after.end()) { in directory_contents_differ()
/frameworks/opt/setupwizard/tools/docs/
DREADME9 after a full platform build.
12 Dependency of Doclava. This can be found in out/host/linux-x86/framework/jsilver.jar after a
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTextViewBindingAdapter.java347 final OnTextChanged on, final AfterTextChanged after, in setTextWatcher() argument
350 if (before == null && after == null && on == null && textAttrChanged == null) { in setTextWatcher()
355 public void beforeTextChanged(CharSequence s, int start, int count, int after) { in setTextWatcher()
357 before.beforeTextChanged(s, start, count, after); in setTextWatcher()
373 if (after != null) { in setTextWatcher()
374 after.afterTextChanged(s); in setTextWatcher()
393 void beforeTextChanged(CharSequence s, int start, int count, int after); in beforeTextChanged() argument
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java782 String after = capabilityNamesOf(BitUtils.unpackBits(newImmutableCapabilities)); in describeImmutableDifferences() local
783 joiner.add(String.format("immutable capabilities changed: %s -> %s", before, after)); in describeImmutableDifferences()
788 NetworkSpecifier after = that.getNetworkSpecifier(); in describeImmutableDifferences() local
789 joiner.add(String.format("specifier changed: %s -> %s", before, after)); in describeImmutableDifferences()
794 String after = transportNamesOf(that.getTransportTypes()); in describeImmutableDifferences() local
795 joiner.add(String.format("transports changed: %s -> %s", before, after)); in describeImmutableDifferences()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java198 final NetworkStats after = new NetworkStats(TEST_START, 2) in testSubtractIdenticalData() local
202 final NetworkStats result = after.subtract(before); in testSubtractIdenticalData()
216 final NetworkStats after = new NetworkStats(TEST_START, 2) in testSubtractIdenticalRows() local
220 final NetworkStats result = after.subtract(before); in testSubtractIdenticalRows()
234 final NetworkStats after = new NetworkStats(TEST_START, 3) in testSubtractNewRows() local
239 final NetworkStats result = after.subtract(before); in testSubtractNewRows()
255 final NetworkStats after = new NetworkStats(TEST_START, 1) in testSubtractMissingRows() local
258 final NetworkStats result = after.subtract(before); in testSubtractMissingRows()
427 final NetworkStats after = before.withoutUids(new int[] { 100 }); in testWithoutUid() local
429 assertEquals(2, after.size()); in testWithoutUid()
[all …]
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzwar/
Dstderr.txt.expect6 …war.rs:6:44: error: In compute kernel root(), parameter 'w' cannot appear after any of the special…
7 …ar.rs:6:53: error: In compute kernel root(), parameter 'ar' cannot appear after any of the special…

1234567