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

12

/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/base/tools/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/v4/java/android/support/v4/util/
H A DLruCache.java129 * @return the previous value mapped by {@code key}.
136 V previous;
140 previous = map.put(key, value);
141 if (previous != null) {
142 size -= safeSizeOf(key, previous);
146 if (previous != null) {
147 entryRemoved(false, key, previous, value);
151 return previous;
190 * @return the previous value mapped by {@code key}.
197 V previous;
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.cpp74 RenderTask* previous = 0; local
77 previous = next;
80 if (!previous) {
84 previous->mNext = task;
117 RenderTask* previous = mHead; local
118 while (previous->mNext != task) {
119 previous = previous->mNext;
121 previous->mNext = task->mNext;
123 mTail = previous;
[all...]
/frameworks/base/sax/java/android/sax/
H A DChildren.java42 Child previous;
51 previous = current;
57 previous.next = current;
/frameworks/base/core/java/android/net/http/
H A DAndroidHttpClientConnection.java316 CharArrayBuffer previous = null;
334 if ((first == ' ' || first == '\t') && previous != null) {
347 previous.length() + 1 + current.length() - start >
351 previous.append(' ');
352 previous.append(current, start, current.length() - start);
354 if (previous != null) {
355 headers.parseHeader(previous);
358 previous = current;
366 if (previous != null) {
367 headers.parseHeader(previous);
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java117 // check previous entry:
121 final LocaleInfo previous = localeInfos.get(localeInfos.size() - 1);
122 if (previous.locale.getLanguage().equals(l.getLanguage()) &&
123 !previous.locale.getLanguage().equals("zz")) {
125 Log.v(TAG, "backing up and fixing " + previous.label + " to " +
126 getDisplayName(previous.locale, specialLocaleCodes, specialLocaleNames));
128 previous.label = toTitleCase(getDisplayName(
129 previous.locale, specialLocaleCodes, specialLocaleNames));
/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/core/java/com/android/server/notification/
H A DNotificationRecord.java83 public void copyRankingInformation(NotificationRecord previous) { argument
84 mContactAffinity = previous.mContactAffinity;
85 mRecentlyIntrusive = previous.mRecentlyIntrusive;
86 mPackagePriority = previous.mPackagePriority;
87 mPackageVisibility = previous.mPackageVisibility;
88 mIntercept = previous.mIntercept;
89 mRankingTimeMs = calculateRankingTimeMs(previous.getRankingTimeMs());
267 * of the previous notification record, 0 otherwise
275 // If we've ranked a previous instance with a timestamp, inherit it. This case is
/frameworks/base/libs/hwui/
H A DPatchCache.cpp199 BufferBlock* previous = NULL; local
206 previous = block;
215 previous = NULL;
226 if (previous) {
227 previous->next = block->next;
H A DStatefulBaseRenderer.cpp85 sp<Snapshot> toRestore = mSnapshot->previous;
173 if (!mSnapshot->previous->clipRegion->isEmpty()) {
174 clip.setRegion(*mSnapshot->previous->clipRegion);
176 if (mSnapshot->previous == firstSnapshot()) {
179 Rect* bounds = mSnapshot->previous->clipRect;
187 // region is the transformed input path, masked by the previous clip
H A DSnapshot.cpp32 , previous(NULL)
47 * the previous snapshot.
51 , previous(s)
192 // we may have to modify the previous snapshot's clip rect and clip
193 // region if the previous restore() call did not restore the clip
275 this, flags, previous.get(), getViewportHeight(), isIgnored(), clipRegion && !clipRegion->isEmpty());
H A DSnapshot.h71 * Each snapshot has a link to a previous snapshot, indicating the previous
195 sp<Snapshot> previous; member in class:android::uirenderer::Snapshot
/frameworks/native/services/surfaceflinger/
H A DDispSync.cpp525 nsecs_t previous = -1; local
533 sampleTime, sampleTime - previous);
535 previous = sampleTime;
541 previous = 0;
550 } else if (previous == 0) {
555 presentTime, presentTime - previous,
556 (presentTime - previous) / (double) mPeriod,
559 previous = presentTime;
/frameworks/av/services/audioflinger/
H A DFastCapture.cpp40 previous = &initial;
90 const FastCaptureState * const previous = (const FastCaptureState *) this->previous; local
126 if ((!Format_isEqual(format, previousFormat)) || (frameCount != previous->mFrameCount)) {
H A DFastThread.cpp38 previous(NULL), current(NULL),
104 //ALOG_ASSERT(current == &initial && previous == &initial);
116 // We want to always have a valid reference to the previous (non-idle) state.
117 // However, the state queue only guarantees access to current and previous states.
121 // non-idle -> non-idle update previous from current in-place
122 // non-idle -> idle update previous from copy of current
123 // idle -> idle don't update previous
124 // idle -> non-idle don't update previous
134 previous = current;
144 // << current, previous, comman
[all...]
H A DFastThread.h52 const FastThreadState *previous; member in class:android::FastThread
66 struct timespec oldLoad; // previous value of clock_gettime(CLOCK_THREAD_CPUTIME_ID)
H A DFastMixer.cpp71 previous = &initial;
139 const FastMixerState * const previous = (const FastMixerState *) this->previous; local
144 // we're prepared for previous == &initial the first time through
170 if ((!Format_isEqual(format, previousFormat)) || (frameCount != previous->mFrameCount)) {
216 previousTrackMask = previous->mTrackMask;
/frameworks/base/media/java/android/media/session/
H A DISessionController.aidl60 void previous();
/frameworks/support/v4/java/android/support/v4/media/session/
H A DIMediaSession.aidl57 void previous();
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityInputFilter.java249 mEventQueue.previous = holder;
270 current = current.previous;
384 public MotionEventHolder previous; field in class:AccessibilityInputFilter.MotionEventHolder
401 previous = null;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java266 * @param previous the previous snapshot head.
272 private GcSnapshot(GcSnapshot previous, RectF layerBounds, Paint_Delegate paint, int flags) { argument
273 assert previous != null;
274 mPrevious = previous;
391 * a previous snapshot.
548 GcSnapshot previous = doRestore();
551 return previous;
553 return previous.doRestoreTo(size - 1, saveCount);
594 // then go to previous laye
[all...]
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DBatteryController.java116 boolean previous = ts.chargingConstraintSatisfied.getAndSet(stablePower);
117 if (previous != stablePower) {
/frameworks/compile/mclinker/lib/Support/Unix/
H A DPathV3.inc45 // -> pop previous position of '/' P
/frameworks/compile/mclinker/lib/Support/Windows/
H A DPathV3.inc38 // -> pop previous position of '/' P

Completed in 7215 milliseconds

12