Home
last modified time | relevance | path

Searched refs:before (Results 1 – 25 of 407) sorted by relevance

12345678910>>...17

/frameworks/av/include/media/
DSingleStateQueue.h120 int32_t before = shared->mSequence; in poll() local
121 if (before == mSequence) { in poll()
126 if (before & 1) { in poll()
130 before = shared->mSequence; in poll()
135 if (after == before) { in poll()
137 shared->mAck = before; in poll()
138 mSequence = before; // mSequence is even after poll success in poll()
144 before = after; in poll()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java59 long before = System.currentTimeMillis(); in testAddText() local
70 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before); in testAddText()
75 assertTrue(e0.getTimeMillis() > before); in testAddText()
95 long before = System.currentTimeMillis();
99 DropBoxManager.Entry e = dropbox.getNextEntry("DropBoxTest", before);
103 assertTrue(e.getTimeMillis() >= before);
115 long before = System.currentTimeMillis();
145 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before);
151 assertTrue(e0.getTimeMillis() > before);
182 long before = System.currentTimeMillis(); in testAddEntriesInTheFuture() local
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootCursorWrapper.java57 final String[] before = cursor.getColumnNames(); in RootCursorWrapper() local
58 mColumnNames = new String[before.length + 2]; in RootCursorWrapper()
59 System.arraycopy(before, 0, mColumnNames, 0, before.length); in RootCursorWrapper()
60 mAuthorityIndex = before.length; in RootCursorWrapper()
61 mRootIdIndex = before.length + 1; in RootCursorWrapper()
/frameworks/base/docs/html/ndk/reference/
Ddoxygen.css1223 #powerTip:before, #powerTip:after {
1229 #powerTip.n:after, #powerTip.n:before,
1230 #powerTip.s:after, #powerTip.s:before,
1231 #powerTip.w:after, #powerTip.w:before,
1232 #powerTip.e:after, #powerTip.e:before,
1233 #powerTip.ne:after, #powerTip.ne:before,
1234 #powerTip.se:after, #powerTip.se:before,
1235 #powerTip.nw:after, #powerTip.nw:before,
1236 #powerTip.sw:after, #powerTip.sw:before {
1251 #powerTip.n:before, #powerTip.s:before,
[all …]
/frameworks/base/core/java/android/text/
DDynamicLayout.java193 private void reflow(CharSequence s, int where, int before, int after) { in reflow() argument
210 before += diff; in reflow()
224 before += change; in reflow()
247 before += diff; in reflow()
256 before += diff; in reflow()
268 int endline = getLineForOffset(where + before); in reflow()
330 mInts.adjustValuesBelow(startline, START, after - before); in reflow()
658 private void reflow(CharSequence s, int where, int before, int after) { in reflow() argument
662 ml.reflow(s, where, before, after); in reflow()
667 public void beforeTextChanged(CharSequence s, int where, int before, int after) { in beforeTextChanged() argument
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseLinearLayoutManagerTest.java173 public void assertRectSetsNotEqual(String message, Map<Item, Rect> before, in assertRectSetsNotEqual() argument
177 assertRectSetsEqual("NOT " + message, before, after, strictItemEquality); in assertRectSetsNotEqual()
184 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) { in assertRectSetsEqual() argument
185 assertRectSetsEqual(message, before, after, true); in assertRectSetsEqual()
188 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after, in assertRectSetsEqual() argument
193 for (Map.Entry<Item, Rect> entry : before.entrySet()) { in assertRectSetsEqual()
201 assertEquals(message + ":\nitem counts should be equal", before.size() in assertRectSetsEqual()
203 for (Map.Entry<Item, Rect> entry : before.entrySet()) { in assertRectSetsEqual()
250 void before(RecyclerView.Recycler recycler, RecyclerView.State state) { in before() method in BaseLinearLayoutManagerTest.OnLayoutListener
534 mOnLayoutListener.before(recycler, state); in onLayoutChildren()
DDefaultItemAnimatorTest.java211 …public void cancelTest(boolean before, int count, final RecyclerView.ViewHolder... toCancel) throw… in cancelTest() argument
212 if (before) { in cancelTest()
275 public void cancelChangeOldTest(boolean before) throws Throwable { in cancelChangeOldTest() argument
280 cancelTest(before, 2, vh); in cancelChangeOldTest()
293 public void cancelChangeNewTest(boolean before) throws Throwable { in cancelChangeNewTest() argument
298 cancelTest(before, 2, vh2); in cancelChangeNewTest()
311 public void cancelChangeBothTest(boolean before) throws Throwable { in cancelChangeBothTest() argument
316 cancelTest(before, 2, vh, vh2); in cancelChangeBothTest()
DBaseStaggeredGridLayoutManagerTest.java137 public void assertRectSetsNotEqual(String message, Map<Item, Rect> before, in assertRectSetsNotEqual() argument
141 assertRectSetsEqual("NOT " + message, before, after); in assertRectSetsNotEqual()
148 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) { in assertRectSetsEqual() argument
149 assertRectSetsEqual(message, before, after, true); in assertRectSetsEqual()
152 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after, in assertRectSetsEqual() argument
159 for (Map.Entry<Item, Rect> entry : before.entrySet()) { in assertRectSetsEqual()
170 assertEquals(message + ": item counts should be equal", before.size() in assertRectSetsEqual()
172 for (Map.Entry<Item, Rect> entry : before.entrySet()) { in assertRectSetsEqual()
259 void before(RecyclerView.Recycler recycler, RecyclerView.State state) { in before() method in BaseStaggeredGridLayoutManagerTest.OnLayoutListener
508 String before; in onLayoutChildren() local
[all …]
DStaggeredGridLayoutManagerBaseConfigSetTest.java490 Map<Item, Rect> before = mLayoutManager.collectChildCoordinates(); in scrollToPositionWithOffsetTest() local
493 before, mLayoutManager.collectChildCoordinates()); in scrollToPositionWithOffsetTest()
676 Map<Item, Rect> before = mLayoutManager.collectChildCoordinates(); in scollByTest() local
682 before, after in scollByTest()
686 before = mLayoutManager.collectChildCoordinates(); in scollByTest()
691 for (Map.Entry<Item, Rect> entry : before.entrySet()) { in scollByTest()
822 Map<Item, Rect> before = mLayoutManager.collectChildCoordinates(); in consistentRelayoutTest() local
826 config + " simple re-layout, firstChildMultiSpan:" + firstChildMultiSpan, before, in consistentRelayoutTest()
840 before = mLayoutManager.collectChildCoordinates(); in consistentRelayoutTest()
845 assertRectSetsEqual(config + " simple re-layout after scroll", before, after); in consistentRelayoutTest()
/frameworks/base/services/core/java/com/android/server/am/
DUriPermission.java151 final int before = persistedModeFlags; in takePersistableModes() local
159 return persistedModeFlags != before; in takePersistableModes()
166 final int before = persistedModeFlags; in releasePersistableModes() local
176 return persistedModeFlags != before; in releasePersistableModes()
187 final int before = persistedModeFlags; in revokeModes() local
223 return persistedModeFlags != before; in revokeModes()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteDialogHelper.java79 public static <E> Set<E> getItemsAdded(List<E> before, List<E> after) {
81 set.removeAll(before);
94 public static <E> Set<E> getItemsRemoved(List<E> before, List<E> after) {
95 HashSet<E> set = new HashSet<>(before);
/frameworks/compile/mclinker/
Dmcld.mk2 $(error Must set variable MCLD_ROOT_PATH before including this! $(LOCAL_PATH))
9 $(error Must set variable LLVM_ROOT_PATH before including this! $(LOCAL_PATH))
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkStatsTest.java172 final NetworkStats before = new NetworkStats(TEST_START, 2) in testSubtractIdenticalData() local
180 final NetworkStats result = after.subtract(before); in testSubtractIdenticalData()
190 final NetworkStats before = new NetworkStats(TEST_START, 2) in testSubtractIdenticalRows() local
198 final NetworkStats result = after.subtract(before); in testSubtractIdenticalRows()
208 final NetworkStats before = new NetworkStats(TEST_START, 2) in testSubtractNewRows() local
217 final NetworkStats result = after.subtract(before); in testSubtractNewRows()
229 final NetworkStats before = new NetworkStats(TEST_START, 2) in testSubtractMissingRows() local
236 final NetworkStats result = after.subtract(before); in testSubtractMissingRows()
388 final NetworkStats before = new NetworkStats(TEST_START, 3) in testWithoutUid() local
396 final NetworkStats after = before.withoutUids(new int[] { 100 }); in testWithoutUid()
[all …]
DNetworkStatsHistoryTest.java381 final NetworkStatsHistory before = new NetworkStatsHistory(MINUTE_IN_MILLIS, 40, FIELD_ALL); in testSerialize() local
382 before.recordData(0, 4 * MINUTE_IN_MILLIS, in testSerialize()
384 before.recordData(DAY_IN_MILLIS, DAY_IN_MILLIS + MINUTE_IN_MILLIS, in testSerialize()
388 before.writeToStream(new DataOutputStream(out)); in testSerialize()
395 assertFullValues(before, 5 * MINUTE_IN_MILLIS, 1034L, 30L, 2078L, 60L, 54L); in testSerialize()
489 NetworkStatsHistory stats, int before, int after, long time) { in assertIndexBeforeAfter() argument
490 assertEquals("unexpected before", before, stats.getIndexBefore(time)); in assertIndexBeforeAfter()
494 private static long performVarLong(long before) throws Exception { in performVarLong() argument
496 writeVarLong(new DataOutputStream(out), before); in performVarLong()
/frameworks/base/docs/html/training/multiple-apks/
Dindex.jd43 and know how to catch mistakes <em>before</em> your app goes live.</p>
53 configuration using the <code>aapt</code> tool before pushing live.</dd>
58 using the <code>aapt</code> tool before pushing live.</dd>
63 configuration using the <code>aapt</code> tool before pushing live.</dd>
69 manifest, and how to investigate your APK configuration using the <code>aapt</code> tool before
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTextViewBindingAdapter.java346 public static void setTextWatcher(TextView view, final BeforeTextChanged before, in setTextWatcher() argument
350 if (before == null && after == null && on == null && textAttrChanged == null) { in setTextWatcher()
356 if (before != null) { in setTextWatcher()
357 before.beforeTextChanged(s, start, count, after); in setTextWatcher()
362 public void onTextChanged(CharSequence s, int start, int before, int count) { in setTextWatcher()
364 on.onTextChanged(s, start, before, count); in setTextWatcher()
397 void onTextChanged(CharSequence s, int start, int before, int count); in onTextChanged() argument
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DSubActivity.java30 long before = SystemClock.currentThreadTimeMillis(); in onCreate() local
34 while (SystemClock.currentThreadTimeMillis() - before < 100) { in onCreate()
/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()
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);
/frameworks/base/tools/preload/
DRecord.java152 String before = result.substring(0, offset); in decode() local
156 result = String.format("%s%c%s", before, Integer.parseInt(escaped, 16), after); in decode()
/frameworks/base/core/java/android/content/
DSyncRequest.java325 private void setupInterval(long at, long before) { in setupInterval() argument
326 if (before > at) { in setupInterval()
331 mSyncFlexTimeSecs = before; in setupInterval()
/frameworks/base/libs/hwui/tests/unit/
Dmain.cpp96 nsecs_t before = systemTime(); in checkForLeaks() local
115 cout << "Leak check took " << ns2ms(after - before) << "ms" << endl; in checkForLeaks()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DChildHelper.java454 final long before = mData & mask; in insert() local
456 mData = before | after; in insert()
478 final long before = mData & mask; in remove() local
481 mData = before | after; in remove()
/frameworks/base/services/core/java/com/android/server/
DDiskStatsService.java57 long before = SystemClock.uptimeMillis(); in dump() local
75 pw.print(after - before); in dump()
/frameworks/base/core/java/android/widget/
DCalendarViewLegacyDelegate.java276 if (mMaxDate.before(mMinDate)) { in CalendarViewLegacyDelegate()
329 if (mTempDate.before(mMinDate)) { in CalendarViewLegacyDelegate()
331 } else if (mMaxDate.before(mTempDate)) { in CalendarViewLegacyDelegate()
502 if (date.before(mMinDate)) { in setMinDate()
507 if (date.before(mMinDate)) { in setMinDate()
773 if (date.before(mMinDate) || date.after(mMaxDate)) { in goTo()
803 if (mFirstDayOfMonth.before(mMinDate)) { in goTo()
924 if (date.before(mMinDate)) { in getWeeksSinceMinDate()
1105 if (mTempDate.before(mMinDate) || mTempDate.after(mMaxDate)) { in onTouch()
1252 if (mTempDate.before(mMinDate) || mTempDate.after(mMaxDate)) { in init()
/frameworks/base/core/jni/android/graphics/
DShader.cpp36 #error Need to convert float array to SkScalar array before calling the following function. in Color_HSVToColor()
122 #error Need to convert float array to SkScalar array before calling the following function. in LinearGradient_create1()
166 #error Need to convert float array to SkScalar array before calling the following function. in RadialGradient_create1()
205 #error Need to convert float array to SkScalar array before calling the following function. in SweepGradient_create1()

12345678910>>...17