Home
last modified time | relevance | path

Searched refs:previous (Results 1 – 25 of 129) sorted by relevance

123456

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java515 AggregatedStats previous = getPrevious(); in emit() local
516 maybeCount("note_enqueued", (numEnqueuedByApp - previous.numEnqueuedByApp)); in emit()
517 maybeCount("note_post", (numPostedByApp - previous.numPostedByApp)); in emit()
518 maybeCount("note_update", (numUpdatedByApp - previous.numUpdatedByApp)); in emit()
519 maybeCount("note_remove", (numRemovedByApp - previous.numRemovedByApp)); in emit()
520 maybeCount("note_with_people", (numWithValidPeople - previous.numWithValidPeople)); in emit()
521 maybeCount("note_with_stars", (numWithStaredPeople - previous.numWithStaredPeople)); in emit()
522 maybeCount("people_cache_hit", (numPeopleCacheHit - previous.numPeopleCacheHit)); in emit()
523 maybeCount("people_cache_miss", (numPeopleCacheMiss - previous.numPeopleCacheMiss)); in emit()
524 maybeCount("note_blocked", (numBlocked - previous.numBlocked)); in emit()
[all …]
/frameworks/base/core/java/android/util/
DLruCache.java174 V previous; in put() local
178 previous = map.put(key, value); in put()
179 if (previous != null) { in put()
180 size -= safeSizeOf(key, previous); in put()
184 if (previous != null) { in put()
185 entryRemoved(false, key, previous, value); in put()
189 return previous; in put()
249 V previous; in remove() local
251 previous = map.remove(key); in remove()
252 if (previous != null) { in remove()
[all …]
/frameworks/base/libs/hwui/tests/unit/
DTestUtilsTests.cpp25 bool previous = Properties::debugOverdraw; in TEST() local
30 EXPECT_EQ(previous, Properties::debugOverdraw); in TEST()
35 EXPECT_EQ(previous, Properties::debugOverdraw); in TEST()
DCommonPoolTests.cpp122 int previous; in TEST() local
124 previous = queuedCount.load(); in TEST()
126 } while (previous != queuedCount.load()); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFoldStateLoggingProviderImpl.kt84 val previous = lastState in dispatchState() constant
87 if (previous != null && previous != current && lastActionStart != null) { in dispatchState()
89 val foldStateChange = FoldStateChange(previous, current, time) in dispatchState()
92 Log.d(TAG, "From $previous to $current in $time") in dispatchState()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/
DAutoEnterPipOnGoToHomeTest.kt75 pipLayerList.zipWithNext { previous, current -> in <lambda>() method
76 current.visibleRegion.notBiggerThan(previous.visibleRegion.region) in <lambda>()
92 pipLayerList.zipWithNext { previous, current -> in <lambda>() method
93 current.visibleRegion.isToTheRightBottom(previous.visibleRegion.region, 3) in <lambda>()
DExpandPipOnDoubleClickTest.kt102 pipLayerList.zipWithNext { previous, current -> in <lambda>() method
103 current.visibleRegion.coversAtLeast(previous.visibleRegion.region) in <lambda>()
113 pipLayerList.zipWithNext { previous, current -> in <lambda>() method
114 current.visibleRegion.isSameAspectRatio(previous.visibleRegion) in <lambda>()
DPipPinchInTest.kt54 pipLayerList.zipWithNext { previous, current -> in <lambda>() method
57 current.visibleRegion.notBiggerThan(previous.visibleRegion.region) in <lambda>()
62 previous.visibleRegion.notBiggerThan(current.visibleRegion.region) in <lambda>()
DPipDragTest.kt71 pipLayerList.zipWithNext { previous, current -> in <lambda>() method
73 previous.visibleRegion.isToTheRight(current.visibleRegion.region) in <lambda>()
75 current.visibleRegion.isToTheRight(previous.visibleRegion.region) in <lambda>()
DPipDragThenSnapTest.kt90 pipLayerList.zipWithNext { previous, current -> in <lambda>() method
92 current.visibleRegion.isToTheRight(previous.visibleRegion.region) in <lambda>()
94 previous.visibleRegion.isToTheRight(current.visibleRegion.region) in <lambda>()
DExpandPipOnPinchOpenTest.kt47 pipLayerList.zipWithNext { previous, current -> in <lambda>() method
48 previous.visibleRegion.notBiggerThan(current.visibleRegion.region) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/common/
DMovePipShelfHeightTransition.kt101 regions.zipWithNext { previous, current -> current.isLowerOrEqual(previous) } in <lambda>() method
106 regions.zipWithNext { previous, current -> current.isHigherOrEqual(previous.region) } in <lambda>() method
/frameworks/base/sax/java/android/sax/
DChildren.java42 Child previous; in getOrCreate() local
51 previous = current; in getOrCreate()
57 previous.next = current; in getOrCreate()
/frameworks/base/core/java/android/app/admin/
DFreezePeriod.java273 FreezePeriod previous = i > 0 ? allPeriods.get(i - 1) in validatePeriods() local
275 if (previous != current) { in validatePeriods()
277 if (i == 0 && !previous.isWrapped()) { in validatePeriods()
280 + (DAYS_IN_YEAR - previous.mEndDay) - 1; in validatePeriods()
284 separation = current.mStartDay - previous.mEndDay - 1; in validatePeriods()
288 + " periods " + previous + " and " + current + " are too close " in validatePeriods()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DKeyboardInterceptor.java112 mEventQueueStart.previous = holder; in addEventToQueue()
137 mEventQueueEnd = mEventQueueEnd.previous; in processQueuedEvents()
165 public KeyEventHolder previous; field in KeyboardInterceptor.KeyEventHolder
184 previous = null; in recycle()
/frameworks/proto_logging/stats/enums/appsearch/
Denums.proto25 * The enum class of AppSearch query correction type compared with the previous query.
40 // Indicates that the current query is the 1st query and there is no previous
45 // characters, fixing typo) from the previous query.
48 // Indicates that the previous query is considered abandoned and the user
/frameworks/av/media/libaaudio/src/flowgraph/resampler/
DLinearResampler.cpp33 float *previous = mPreviousFrame.get(); in readFrame() local
38 float f0 = *previous++; in readFrame()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java173 final LocaleInfo previous = localeInfos.get(localeInfos.size() - 1); in getAllAssetLocales() local
174 if (previous.locale.getLanguage().equals(l.getLanguage()) && in getAllAssetLocales()
175 !previous.locale.getLanguage().equals("zz")) { in getAllAssetLocales()
177 Log.v(TAG, "backing up and fixing " + previous.label + " to " + in getAllAssetLocales()
178 … getDisplayName(previous.locale, specialLocaleCodes, specialLocaleNames)); in getAllAssetLocales()
180 previous.label = toTitleCase(getDisplayName( in getAllAssetLocales()
181 previous.locale, specialLocaleCodes, specialLocaleNames)); in getAllAssetLocales()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseLockTest.java74 int previous = 0; in testLockFairness() local
79 previous = val - i; in testLockFairness()
81 assertTrue(previous == (val - i)); in testLockFairness()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationHistoryTest.java183 String previous = null; in testPoolStringsFromNotifications() local
187 if (previous != null) { in testPoolStringsFromNotifications()
188 assertThat(actual).isGreaterThan(previous); in testPoolStringsFromNotifications()
190 previous = actual; in testPoolStringsFromNotifications()
214 String previous = null; in testAddPooledStrings() local
218 if (previous != null) { in testAddPooledStrings()
219 assertThat(actual).isGreaterThan(previous); in testAddPooledStrings()
221 previous = actual; in testAddPooledStrings()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReaderDiff.java202 int[] previous = previousCpuUsage.get(key); in changeToDiffs() local
203 if (previous == null) { in changeToDiffs()
205 previous = new int[threadCpuUsage.usageTimesMillis.length]; in changeToDiffs()
208 cpuTimeDiff(threadCpuUsage.usageTimesMillis, previous); in changeToDiffs()
/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp188 DestructorNode* previous = nullptr; in runDestructorFor() local
191 if (previous) { in runDestructorFor()
192 previous->next = node->next; in runDestructorFor()
200 previous = node; in runDestructorFor()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/pip/
DSecondaryActivityEnterPipTest.kt155 pipLayerList.zipWithNext { previous, current -> in <lambda>() method
159 current.screenBounds.isToTheRightBottom(previous.screenBounds.region, 3) in <lambda>()
161 current.screenBounds.overlaps(previous.screenBounds.region) in <lambda>()
162 current.screenBounds.notBiggerThan(previous.screenBounds.region) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackSizeCalculator.kt348 var previous: ExpandableView? = null in <lambda>() variable
364 val space = getSpaceNeeded(currentNotification, i, previous, stack, onLockscreen) in <lambda>()
368 previous = currentNotification in <lambda>()
378 previous = currentNotification, in <lambda>()
493 previous: ExpandableView?, in <lambda>()
500 return stack.calculateGapHeight(previous, current, currentIndex) + dividerHeight in <lambda>()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DReferenceWithHistory.java100 V previous = get(); in set() local
106 return previous; in set()

123456