Searched refs:previous (Results 1 - 25 of 86) sorted by relevance

1234

/frameworks/base/libs/hwui/tests/unit/
H A DTestUtilsTests.cpp25 bool previous = Properties::debugOverdraw; local
30 EXPECT_EQ(previous, Properties::debugOverdraw);
35 EXPECT_EQ(previous, Properties::debugOverdraw);
H A DSnapshotTests.cpp29 root->previous = actualRoot.get();
30 child->previous = root.get();
53 root->previous = actualRoot.get();
58 child->previous = root.get();
68 child->previous = root.get();
/frameworks/support/navigation/safe-args-generator/src/tests/test-data/a/b/
H A DR.java24 public static final int previous = 0x7f060001; field in class:R.id
/frameworks/base/core/java/android/util/
H A DLruCache.java162 * @return the previous value mapped by {@code key}.
169 V previous;
173 previous = map.put(key, value);
174 if (previous != null) {
175 size -= safeSizeOf(key, previous);
179 if (previous != null) {
180 entryRemoved(false, key, previous, value);
184 return previous;
227 * @return the previous value mapped by {@code key}.
234 V previous;
[all...]
/frameworks/layoutlib/bridge/src/android/util/
H A DLruCache.java167 * @return the previous value mapped by {@code key}.
174 V previous;
178 previous = map.put(key, value);
179 if (previous != null) {
180 size -= safeSizeOf(key, previous);
184 if (previous != null) {
185 entryRemoved(false, key, previous, value);
189 return previous;
238 * @return the previous value mapped by {@code key}.
245 V previous;
[all...]
/frameworks/support/collection/src/main/java/androidx/collection/
H A DLruCache.java130 * @return the previous value mapped by {@code key}.
137 V previous;
141 previous = map.put(key, value);
142 if (previous != null) {
143 size -= safeSizeOf(key, previous);
147 if (previous != null) {
148 entryRemoved(false, key, previous, value);
152 return previous;
191 * @return the previous value mapped by {@code key}.
198 V previous;
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationUsageStats.java501 AggregatedStats previous = getPrevious();
502 maybeCount("note_enqueued", (numEnqueuedByApp - previous.numEnqueuedByApp));
503 maybeCount("note_post", (numPostedByApp - previous.numPostedByApp));
504 maybeCount("note_update", (numUpdatedByApp - previous.numUpdatedByApp));
505 maybeCount("note_remove", (numRemovedByApp - previous.numRemovedByApp));
506 maybeCount("note_with_people", (numWithValidPeople - previous.numWithValidPeople));
507 maybeCount("note_with_stars", (numWithStaredPeople - previous.numWithStaredPeople));
508 maybeCount("people_cache_hit", (numPeopleCacheHit - previous.numPeopleCacheHit));
509 maybeCount("people_cache_miss", (numPeopleCacheMiss - previous.numPeopleCacheMiss));
510 maybeCount("note_blocked", (numBlocked - previous
[all...]
/frameworks/base/sax/java/android/sax/
H A DChildren.java42 Child previous;
51 previous = current;
57 previous.next = current;
/frameworks/support/media/version-compat-tests/
H A Druntest.sh48 local CLIENT_MODULE_NAME="$CLIENT_MODULE_NAME_BASE$([ "$CLIENT_VERSION" = "tot" ] || echo "-previous")"
49 local SERVICE_MODULE_NAME="$SERVICE_MODULE_NAME_BASE$([ "$SERVICE_VERSION" = "tot" ] || echo "-previous")"
112 SERVICE_VERSION="previous"
116 CLIENT_VERSION="previous"
126 SERVICE_VERSION="previous"
129 CLIENT_VERSION="previous"
/frameworks/support/navigation/safe-args-generator/src/tests/test-data/expected/
H A DMainFragmentDirections.java24 public static Previous previous(String arg1, String arg2) { method in class:MainFragmentDirections
60 return a.b.R.id.previous;
/frameworks/av/include/media/
H A DLinearMap.h153 // The difference between the new sample and the previous sample
175 // simply extend the previous line segment. This extends the useful
182 // if both current step and previous step are valid (non-negative and
269 // Returns the previous position in the mSamples array
309 ssize_t previous = 0; local
328 // values on modulo wrap. previous is always valid here since
331 int32_t uStep = uArray[previous] - uArray[current]; // non-negative
332 int32_t vStep = vArray[previous] - vArray[current]; // positive
344 previous = current;
346 // previous i
[all...]
/frameworks/av/media/libmedia/include/media/
H A DLinearMap.h153 // The difference between the new sample and the previous sample
175 // simply extend the previous line segment. This extends the useful
182 // if both current step and previous step are valid (non-negative and
269 // Returns the previous position in the mSamples array
309 ssize_t previous = 0; local
328 // values on modulo wrap. previous is always valid here since
331 int32_t uStep = uArray[previous] - uArray[current]; // non-negative
332 int32_t vStep = vArray[previous] - vArray[current]; // positive
344 previous = current;
346 // previous i
[all...]
/frameworks/base/libs/hwui/
H A DCanvasState.cpp35 mSnapshotPool = mSnapshotPool->previous;
72 Snapshot* CanvasState::allocSnapshot(Snapshot* previous, int savecount) { argument
76 mSnapshotPool = mSnapshotPool->previous;
81 return new (memory) Snapshot(previous, savecount);
90 snapshot->previous = mSnapshotPool;
99 mSnapshot = mSnapshot->previous;
128 Snapshot* toRestore = mSnapshot->previous;
H A DSnapshot.cpp30 , previous(nullptr)
43 * the previous snapshot.
47 , previous(s)
106 // we may have to modify the previous snapshot's clip rect and clip
107 // region if the previous restore() call did not restore the clip
166 while (target->previous && target->previous->previous) {
167 target = target->previous;
198 ALOGD("Snapshot %p, flags %x, prev %p, height %d, hasComplexClip %d", this, flags, previous,
[all...]
H A DPatchCache.cpp180 BufferBlock* previous = nullptr; local
187 previous = block;
196 previous = nullptr;
209 if (previous) {
210 previous->next = block->next;
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseLockTest.java72 int previous = 0;
77 previous = val - i;
79 assertTrue(previous == (val - i));
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DKeyboardInterceptor.java106 mEventQueueStart.previous = holder;
131 mEventQueueEnd = mEventQueueEnd.previous;
159 public KeyEventHolder previous; field in class:KeyboardInterceptor.KeyEventHolder
178 previous = null;
/frameworks/support/leanback/src/main/java/androidx/leanback/media/
H A DPlayerAdapter.java154 * to previous item.
156 public void previous() { method in class:PlayerAdapter
/frameworks/base/core/java/android/app/admin/
H A DFreezePeriod.java273 FreezePeriod previous = i > 0 ? allPeriods.get(i - 1)
275 if (previous != current) {
277 if (i == 0 && !previous.isWrapped()) {
278 // -->[current]---[-previous-]<---
280 + (DAYS_IN_YEAR - previous.mEndDay) - 1;
282 // --[previous]<--->[current]---------
284 separation = current.mStartDay - previous.mEndDay - 1;
288 + " periods " + previous + " and " + current + " are too close "
296 * Verifies that the current freeze periods are still legal, considering the previous freeze
297 * periods the device went through. In particular, when combined with the previous freez
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java125 // check previous entry:
129 final LocaleInfo previous = localeInfos.get(localeInfos.size() - 1);
130 if (previous.locale.getLanguage().equals(l.getLanguage()) &&
131 !previous.locale.getLanguage().equals("zz")) {
133 Log.v(TAG, "backing up and fixing " + previous.label + " to " +
134 getDisplayName(previous.locale, specialLocaleCodes, specialLocaleNames));
136 previous.label = toTitleCase(getDisplayName(
137 previous.locale, specialLocaleCodes, specialLocaleNames));
/frameworks/opt/net/lowpan/service/java/com/android/server/lowpan/
H A DLowpanServiceImpl.java221 final LowpanInterfaceTracker previous;
225 previous = mInterfaceMap.get(name);
232 if (previous != null) {
233 previous.unregister();
234 onInterfaceRemoved(previous.mILowpanInterface, name);
/frameworks/base/core/java/android/text/
H A DCharSequenceCharacterIterator.java71 public char previous() { method in class:CharSequenceCharacterIterator
/frameworks/base/libs/hwui/utils/
H A DLinearAllocator.cpp196 DestructorNode* previous = nullptr; local
199 if (previous) {
200 previous->next = node->next;
208 previous = node;
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DBatteryController.java91 boolean previous = ts.setChargingConstraintSatisfied(stablePower);
92 if (previous != stablePower) {
95 previous = ts.setBatteryNotLowConstraintSatisfied(batteryNotLow);
96 if (previous != batteryNotLow) {
/frameworks/support/lifecycle/runtime/src/main/java/androidx/lifecycle/
H A DLifecycleRegistry.java152 Entry<LifecycleObserver, ObserverWithState> previous = mObserverMap.ceil(observer);
154 State siblingState = previous != null ? previous.getValue().mState : null;
164 ObserverWithState previous = mObserverMap.putIfAbsent(observer, statefulObserver);
166 if (previous != null) {

Completed in 1687 milliseconds

1234