Home
last modified time | relevance | path

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

1234

/frameworks/support/compat/java/android/support/v4/util/
DLruCache.java136 V previous; in put() local
140 previous = map.put(key, value); in put()
141 if (previous != null) { in put()
142 size -= safeSizeOf(key, previous); in put()
146 if (previous != null) { in put()
147 entryRemoved(false, key, previous, value); in put()
151 return previous; in put()
197 V previous; in remove() local
199 previous = map.remove(key); in remove()
200 if (previous != null) { in remove()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/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()
245 V previous; in remove() local
247 previous = map.remove(key); in remove()
248 if (previous != null) { in remove()
[all …]
/frameworks/base/core/java/android/util/
DLruCache.java169 V previous; in put() local
173 previous = map.put(key, value); in put()
174 if (previous != null) { in put()
175 size -= safeSizeOf(key, previous); in put()
179 if (previous != null) { in put()
180 entryRemoved(false, key, previous, value); in put()
184 return previous; in put()
234 V previous; in remove() local
236 previous = map.remove(key); in remove()
237 if (previous != null) { in remove()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java485 AggregatedStats previous = getPrevious(); in emit() local
486 maybeCount("note_enqueued", (numEnqueuedByApp - previous.numEnqueuedByApp)); in emit()
487 maybeCount("note_post", (numPostedByApp - previous.numPostedByApp)); in emit()
488 maybeCount("note_update", (numUpdatedByApp - previous.numUpdatedByApp)); in emit()
489 maybeCount("note_remove", (numRemovedByApp - previous.numRemovedByApp)); in emit()
490 maybeCount("note_with_people", (numWithValidPeople - previous.numWithValidPeople)); in emit()
491 maybeCount("note_with_stars", (numWithStaredPeople - previous.numWithStaredPeople)); in emit()
492 maybeCount("people_cache_hit", (numPeopleCacheHit - previous.numPeopleCacheHit)); in emit()
493 maybeCount("people_cache_miss", (numPeopleCacheMiss - previous.numPeopleCacheMiss)); in emit()
494 maybeCount("note_blocked", (numBlocked - previous.numBlocked)); in emit()
[all …]
DNotificationRecord.java332 public void copyRankingInformation(NotificationRecord previous) { in copyRankingInformation() argument
333 mContactAffinity = previous.mContactAffinity; in copyRankingInformation()
334 mRecentlyIntrusive = previous.mRecentlyIntrusive; in copyRankingInformation()
335 mPackagePriority = previous.mPackagePriority; in copyRankingInformation()
336 mPackageVisibility = previous.mPackageVisibility; in copyRankingInformation()
337 mIntercept = previous.mIntercept; in copyRankingInformation()
338 mRankingTimeMs = calculateRankingTimeMs(previous.getRankingTimeMs()); in copyRankingInformation()
339 mCreationTimeMs = previous.mCreationTimeMs; in copyRankingInformation()
340 mVisibleSinceMs = previous.mVisibleSinceMs; in copyRankingInformation()
341 if (previous.sbn.getOverrideGroupKey() != null && !sbn.isAppGroup()) { in copyRankingInformation()
[all …]
/frameworks/base/libs/hwui/tests/unit/
DSnapshotTests.cpp29 root->previous = actualRoot.get(); in TEST()
30 child->previous = root.get(); in TEST()
53 root->previous = actualRoot.get(); in TEST()
58 child->previous = root.get(); in TEST()
68 child->previous = root.get(); in TEST()
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()
/frameworks/base/libs/hwui/
DSnapshot.cpp30 , previous(nullptr) in Snapshot()
47 , previous(s) in Snapshot()
166 while (target->previous && target->previous->previous) { in getClipRoot()
167 target = target->previous; in getClipRoot()
198 this, flags, previous, getViewportHeight(), !mClipArea->isSimple()); in dump()
DCanvasState.cpp41 mSnapshotPool = mSnapshotPool->previous; in ~CanvasState()
79 Snapshot* CanvasState::allocSnapshot(Snapshot* previous, int savecount) { in allocSnapshot() argument
83 mSnapshotPool = mSnapshotPool->previous; in allocSnapshot()
88 return new (memory) Snapshot(previous, savecount); in allocSnapshot()
97 snapshot->previous = mSnapshotPool; in freeSnapshot()
106 mSnapshot = mSnapshot->previous; in freeAllSnapshots()
135 Snapshot* toRestore = mSnapshot->previous; in restoreSnapshot()
DPatchCache.cpp180 BufferBlock* previous = nullptr; in setupMesh() local
187 previous = block; in setupMesh()
196 previous = nullptr; in setupMesh()
209 if (previous) { in setupMesh()
210 previous->next = block->next; in setupMesh()
DRecordingCanvas.cpp124 const Snapshot& previous = *mState.currentSnapshot(); in saveLayer() local
135 previous.transform->mapRect(visibleBounds); in saveLayer()
138 && previous.transform->rectToRect() in saveLayer()
139 && visibleBounds.contains(previous.getRenderTargetClip()))) { in saveLayer()
146 visibleBounds.doIntersect(previous.getRenderTargetClip()); in saveLayer()
148 visibleBounds.doIntersect(Rect(previous.getViewportWidth(), previous.getViewportHeight())); in saveLayer()
155 inverse.loadInverse(*previous.transform); in saveLayer()
169 *previous.transform, // transform to *draw* with in saveLayer()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp77 RenderTask* previous = nullptr; in queue() local
80 previous = next; in queue()
83 if (!previous) { in queue()
87 previous->mNext = task; in queue()
121 RenderTask* previous = mHead; in remove() local
122 while (previous->mNext != task) { in remove()
123 previous = previous->mNext; in remove()
125 previous->mNext = task->mNext; in remove()
127 mTail = previous; in remove()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java136 final LocaleInfo previous = localeInfos.get(localeInfos.size() - 1); in getAllAssetLocales() local
137 if (previous.locale.getLanguage().equals(l.getLanguage()) && in getAllAssetLocales()
138 !previous.locale.getLanguage().equals("zz")) { in getAllAssetLocales()
140 Log.v(TAG, "backing up and fixing " + previous.label + " to " + in getAllAssetLocales()
141 … getDisplayName(previous.locale, specialLocaleCodes, specialLocaleNames)); in getAllAssetLocales()
143 previous.label = toTitleCase(getDisplayName( in getAllAssetLocales()
144 previous.locale, specialLocaleCodes, specialLocaleNames)); in getAllAssetLocales()
/frameworks/av/include/media/
DLinearMap.h309 ssize_t previous = 0; in findU() local
331 int32_t uStep = uArray[previous] - uArray[current]; // non-negative in findU()
332 int32_t vStep = vArray[previous] - vArray[current]; // positive in findU()
344 previous = current; in findU()
350 return uArray[previous] + diff * extrapolation; in findU()
/frameworks/av/media/libmedia/include/media/
DLinearMap.h309 ssize_t previous = 0; in findU() local
331 int32_t uStep = uArray[previous] - uArray[current]; // non-negative in findU()
332 int32_t vStep = vArray[previous] - vArray[current]; // positive in findU()
344 previous = current; in findU()
350 return uArray[previous] + diff * extrapolation; in findU()
/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/tests/coretests/src/android/database/
DDatabaseLockTest.java72 int previous = 0; in testLockFairness() local
77 previous = val - i; in testLockFairness()
79 assertTrue(previous == (val - i)); in testLockFairness()
/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp204 DestructorNode* previous = nullptr; in runDestructorFor() local
207 if (previous) { in runDestructorFor()
208 previous->next = node->next; in runDestructorFor()
216 previous = node; in runDestructorFor()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DBatteryController.java105 boolean previous = ts.setChargingConstraintSatisfied(stablePower); in maybeReportNewChargingStateLocked()
106 if (previous != stablePower) { in maybeReportNewChargingStateLocked()
109 previous = ts.setBatteryNotLowConstraintSatisfied(batteryNotLow); in maybeReportNewChargingStateLocked()
110 if (previous != batteryNotLow) { in maybeReportNewChargingStateLocked()
DStorageController.java98 boolean previous = ts.setStorageNotLowConstraintSatisfied(storageNotLow); in maybeReportNewStorageState()
99 if (previous != storageNotLow) { in maybeReportNewStorageState()
/frameworks/native/services/surfaceflinger/
DDispSync.cpp658 nsecs_t previous = -1; in dump() local
666 sampleTime, sampleTime - previous); in dump()
668 previous = sampleTime; in dump()
674 previous = 0; in dump()
683 } else if (previous == 0) { in dump()
688 presentTime, presentTime - previous, in dump()
689 (presentTime - previous) / (double) mPeriod, in dump()
692 previous = presentTime; in dump()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagSymbolResolutions.inc19 "common symbol %0 is overridden by previous definition",
20 "common symbol %0 is overridden by previous definition")
/frameworks/compile/slang/tests/P_redefine_RS_VERSION/
Dstderr.txt.expect2 <built-in>:1:9: note: previous definition is here
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java275 private GcSnapshot(GcSnapshot previous, RectF layerBounds, Paint_Delegate paint, int flags) { in GcSnapshot() argument
276 assert previous != null; in GcSnapshot()
277 mPrevious = previous; in GcSnapshot()
551 GcSnapshot previous = doRestore(); in doRestoreTo() local
554 return previous; in doRestoreTo()
556 return previous.doRestoreTo(size - 1, saveCount); in doRestoreTo()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java299 mEventQueue.previous = holder; in batchMotionEvent()
323 current = current.previous; in processBatchedEvents()
503 public MotionEventHolder previous; field in AccessibilityInputFilter.MotionEventHolder
520 previous = null; in recycle()

1234