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

/frameworks/base/core/java/android/util/
H A DLruCache.java163 * @return the previous value mapped by {@code key}.
170 V previous;
174 previous = map.put(key, value);
175 if (previous != null) {
176 size -= safeSizeOf(key, previous);
180 if (previous != null) {
181 entryRemoved(false, key, previous, value);
185 return previous;
225 * @return the previous value mapped by {@code key}.
232 V previous;
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DLruCache.java113 * @return the previous value mapped by {@code key}.
120 V previous;
124 previous = map.put(key, value);
125 if (previous != null) {
126 size -= safeSizeOf(key, previous);
130 if (previous != null) {
131 entryRemoved(false, key, previous, value);
135 return previous;
171 * @return the previous value mapped by {@code key}.
178 V 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.java320 CharArrayBuffer previous = null;
338 if ((first == ' ' || first == '\t') && previous != null) {
351 previous.length() + 1 + current.length() - start >
355 previous.append(' ');
356 previous.append(current, start, current.length() - start);
358 if (previous != null) {
359 headers.parseHeader(previous);
362 previous = current;
370 if (previous != null) {
371 headers.parseHeader(previous);
[all...]
/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/av/media/libstagefright/codecs/aacdec/
H A Dsbr_update_freq_scale.cpp308 Int32 previous; local
313 previous = start;
328 diff[i-1] = current - previous;
329 previous = current;
/frameworks/base/libs/hwui/
H A DSnapshot.h41 * Each snapshot has a link to a previous snapshot, indicating the previous
131 sp<Snapshot> previous; member in class:android::uirenderer::Snapshot
170 * Contains the previous ortho matrix.
H A DSnapshot.cpp28 Snapshot::Snapshot(): flags(0), previous(NULL), layer(NULL), fbo(0),
39 * the previous snapshot.
42 flags(0), previous(s), layer(NULL), fbo(s->fbo),
H A DOpenGLRenderer.cpp394 sp<Snapshot> previous = mSnapshot->previous; local
397 Rect& r = previous->viewport;
403 mSnapshot = previous;
410 composeLayer(current, previous);
533 if (!bounds.intersect(snapshot->previous->viewport)) {
607 clip.intersect(snapshot->previous->viewport);
671 void OpenGLRenderer::composeLayer(sp<Snapshot> current, sp<Snapshot> previous) { argument
683 // Unbind current FBO and restore previous one
684 glBindFramebuffer(GL_FRAMEBUFFER, previous
[all...]
H A DOpenGLRenderer.h166 * defined by the previous snapshot.
171 * @param previous The previous snapshot to compose the current layer with
173 virtual void composeLayer(sp<Snapshot> current, sp<Snapshot> previous);
225 * The new snapshot is saved in mSnapshot and the previous snapshot
226 * is linked from mSnapshot->previous.
235 * Restores the current snapshot; mSnapshot becomes mSnapshot->previous.
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp45 const FastMixerState *previous = &initial, *current = &initial; local
74 struct timespec oldLoad = {0, 0}; // previous value of clock_gettime(CLOCK_THREAD_CPUTIME_ID)
107 ALOG_ASSERT(current == &initial && previous == &initial);
118 // We want to always have a valid reference to the previous (non-idle) state.
119 // However, the state queue only guarantees access to current and previous states.
123 // non-idle -> non-idle update previous from current in-place
124 // non-idle -> idle update previous from copy of current
125 // idle -> idle don't update previous
126 // idle -> non-idle don't update previous
135 previous
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java265 * @param previous the previous snapshot head.
271 private GcSnapshot(GcSnapshot previous, RectF layerBounds, Paint_Delegate paint, int flags) { argument
272 assert previous != null;
273 mPrevious = previous;
390 * a previous snapshot.
547 GcSnapshot previous = doRestore();
550 return previous;
552 return previous.doRestoreTo(size - 1, saveCount);
595 // then go to previous laye
[all...]
/frameworks/compile/libbcc/runtime/make/platform/
H A Dclang_darwin.mk1 # These are the functions which clang needs when it is targetting a previous
/frameworks/compile/mclinker/lib/Support/Unix/
H A DPathV3.inc46 // -> pop previous position of '/' P
/frameworks/base/core/java/android/net/
H A DUri.java2136 int previous = 0;
2138 while ((current = path.indexOf('/', previous)) > -1) {
2141 if (previous < current) {
2143 = decode(path.substring(previous, current));
2146 previous = current + 1;
2150 if (previous < path.length()) {
2151 segmentBuilder.add(decode(path.substring(previous)));
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java316 * The previous Y coordinate while scrolling the selector.
456 * @param oldVal The previous value.
1532 int previous = mValue;
1536 notifyChange(previous, current);
1748 private void notifyChange(int previous, int current) { argument
1750 mOnValueChangeListener.onValueChange(this, previous, mValue);
H A DGridView.java1172 // Remember the previous first child
1494 final int previous = mStackFromBottom ? mItemCount - 1
1498 final int previousRow = previous / mNumColumns;
1707 * Scrolls to the next or previous item, horizontally or vertically.
1776 * Goes to the next or previous item according to the order set by the
1811 // Move to the previous item.
/frameworks/base/core/java/android/os/
H A DStrictMode.java1253 for (ViolationInfo previous : violations) {
1254 if (info.crashInfo.stackTrace.equals(previous.crashInfo.stackTrace)) {
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java366 public void onFocusChanged(boolean hasFocus, int direction, Rect previous) { argument
367 super.onFocusChanged(hasFocus, direction, previous);

Completed in 851 milliseconds