Home
last modified time | relevance | path

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

12345678910>>...14

/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/support/v4/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/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.java170 public void copyRankingInformation(NotificationRecord previous) { in copyRankingInformation() argument
171 mContactAffinity = previous.mContactAffinity; in copyRankingInformation()
172 mRecentlyIntrusive = previous.mRecentlyIntrusive; in copyRankingInformation()
173 mPackagePriority = previous.mPackagePriority; in copyRankingInformation()
174 mPackageVisibility = previous.mPackageVisibility; in copyRankingInformation()
175 mIntercept = previous.mIntercept; in copyRankingInformation()
176 mRankingTimeMs = calculateRankingTimeMs(previous.getRankingTimeMs()); in copyRankingInformation()
177 mCreationTimeMs = previous.mCreationTimeMs; in copyRankingInformation()
178 mVisibleSinceMs = previous.mVisibleSinceMs; in copyRankingInformation()
179 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/renderthread/
DRenderThread.cpp73 RenderTask* previous = nullptr; in queue() local
76 previous = next; in queue()
79 if (!previous) { in queue()
83 previous->mNext = task; in queue()
116 RenderTask* previous = mHead; in remove() local
117 while (previous->mNext != task) { in remove()
118 previous = previous->mNext; in remove()
120 previous->mNext = task->mNext; in remove()
122 mTail = previous; in remove()
/frameworks/base/libs/hwui/
DSnapshot.cpp30 , previous(nullptr) in Snapshot()
49 , previous(s) in Snapshot()
158 current = current->previous; in buildScreenSpaceTransform()
246 while (target->previous && target->previous->previous) { in getClipRoot()
247 target = target->previous; in getClipRoot()
282 this, flags, previous, getViewportHeight(), isIgnored(), !mClipArea->isSimple()); in dump()
DCanvasState.cpp42 mSnapshotPool = mSnapshotPool->previous; in ~CanvasState()
80 Snapshot* CanvasState::allocSnapshot(Snapshot* previous, int savecount) { in allocSnapshot() argument
84 mSnapshotPool = mSnapshotPool->previous; in allocSnapshot()
89 return new (memory) Snapshot(previous, savecount); in allocSnapshot()
98 snapshot->previous = mSnapshotPool; in freeSnapshot()
107 mSnapshot = mSnapshot->previous; in freeAllSnapshots()
136 Snapshot* toRestore = mSnapshot->previous; in restoreSnapshot()
DPatchCache.cpp195 BufferBlock* previous = nullptr; in setupMesh() local
202 previous = block; in setupMesh()
211 previous = nullptr; in setupMesh()
222 if (previous) { in setupMesh()
223 previous->next = block->next; in setupMesh()
DRecordingCanvas.cpp124 const Snapshot& previous = *mState.currentSnapshot(); in saveLayer() local
134 previous.transform->mapRect(visibleBounds); in saveLayer()
137 && previous.transform->rectToRect() in saveLayer()
138 && visibleBounds.contains(previous.getRenderTargetClip()))) { in saveLayer()
145 visibleBounds.doIntersect(previous.getRenderTargetClip()); in saveLayer()
147 visibleBounds.doIntersect(Rect(previous.getViewportWidth(), previous.getViewportHeight())); in saveLayer()
152 inverse.loadInverse(*previous.transform); in saveLayer()
182 *previous.transform, // transform to *draw* with in saveLayer()
/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/services/audioflinger/
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/docs/html-intl/intl/ko/training/monitoring-device-state/
Dmanifest-receivers.jd7 previous.title=연결 상태 확인 및 모니터링
8 previous.link=connectivity-monitoring.html
Dconnectivity-monitoring.jd7 previous.title=도킹 상태와 유형 확인 및 모니터링
8 previous.link=docking-monitoring.html
/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/
Dmanifest-receivers.jd7 previous.title=确定和监控网络连接状态
8 previous.link=connectivity-monitoring.html
Dconnectivity-monitoring.jd7 previous.title=确定和监控基座对接状态和类型
8 previous.link=docking-monitoring.html
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/
Dmanifest-receivers.jd7 previous.title=接続状態の特定と監視
8 previous.link=connectivity-monitoring.html
Dconnectivity-monitoring.jd7 previous.title=ホルダーの装着状態とタイプの特定と監視
8 previous.link=docking-monitoring.html
/frameworks/native/services/surfaceflinger/
DDispSync.cpp652 nsecs_t previous = -1; in dump() local
660 sampleTime, sampleTime - previous); in dump()
662 previous = sampleTime; in dump()
668 previous = 0; in dump()
677 } else if (previous == 0) { in dump()
682 presentTime, presentTime - previous, in dump()
683 (presentTime - previous) / (double) mPeriod, in dump()
686 previous = presentTime; in dump()
/frameworks/base/docs/html-intl/intl/ru/training/monitoring-device-state/
Dmanifest-receivers.jd7 previous.title=Determining and Monitoring the Connectivity Status
8 previous.link=connectivity-monitoring.html

12345678910>>...14