Searched refs:previous (Results 1 - 23 of 23) 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;
228 * @return the previous value mapped by {@code key}.
235 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.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;
174 * @return the previous value mapped by {@code key}.
181 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/base/libs/hwui/
H A DPatchCache.cpp183 BufferBlock* previous = NULL; local
190 previous = block;
199 previous = NULL;
210 if (previous) {
211 previous->next = block->next;
H A DSnapshot.h41 * Each snapshot has a link to a previous snapshot, indicating the previous
142 sp<Snapshot> previous; member in class:android::uirenderer::Snapshot
181 * Contains the previous ortho matrix.
H A DSnapshot.cpp30 Snapshot::Snapshot(): flags(0), previous(NULL), layer(NULL), fbo(0),
41 * the previous snapshot.
44 flags(0), previous(s), layer(s->layer), fbo(s->fbo),
180 // we may have to modify the previous snapshot's clip rect and clip
181 // region if the previous restore() call did not restore the clip
206 this, flags, previous.get(), height, isIgnored(), clipRegion && !clipRegion->isEmpty());
H A DOpenGLRenderer.cpp751 sp<Snapshot> previous = mSnapshot->previous; local
754 Rect& r = previous->viewport;
760 mSnapshot = previous;
769 composeLayer(current, previous);
805 if (!bounds.intersect(mSnapshot->previous->viewport)) {
1026 void OpenGLRenderer::composeLayer(sp<Snapshot> current, sp<Snapshot> previous) { argument
1048 // Unbind current FBO and restore previous one
1049 glBindFramebuffer(GL_FRAMEBUFFER, previous->fbo);
1052 startTiling(previous);
[all...]
H A DOpenGLRenderer.h482 * defined by the previous snapshot.
487 * @param previous The previous snapshot to compose the current layer with
489 virtual void composeLayer(sp<Snapshot> current, sp<Snapshot> previous);
607 * The new snapshot is saved in mSnapshot and the previous snapshot
608 * is linked from mSnapshot->previous.
617 * Restores the current snapshot; mSnapshot becomes mSnapshot->previous.
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityInputFilter.java248 mEventQueue.previous = holder;
269 current = current.previous;
383 public MotionEventHolder previous; field in class:AccessibilityInputFilter.MotionEventHolder
400 previous = null;
H A DAccessibilityManagerService.java2610 PendingEvent previous = null;
2615 if (previous != null) {
2616 previous.next = current.next;
2623 previous = current;
/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/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
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp56 const FastMixerState *previous = &initial, *current = &initial; local
85 struct timespec oldLoad = {0, 0}; // previous value of clock_gettime(CLOCK_THREAD_CPUTIME_ID)
125 ALOG_ASSERT(current == &initial && previous == &initial);
140 // We want to always have a valid reference to the previous (non-idle) state.
141 // However, the state queue only guarantees access to current and previous states.
145 // non-idle -> non-idle update previous from current in-place
146 // non-idle -> idle update previous from copy of current
147 // idle -> idle don't update previous
148 // idle -> non-idle don't update previous
159 previous
[all...]
/frameworks/base/core/java/android/net/
H A DUri.java2139 int previous = 0;
2141 while ((current = path.indexOf('/', previous)) > -1) {
2144 if (previous < current) {
2146 = decode(path.substring(previous, current));
2149 previous = current + 1;
2153 if (previous < path.length()) {
2154 segmentBuilder.add(decode(path.substring(previous)));
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DManualActivity.java126 ((ImageButton) findViewById(R.id.previous)).setOnClickListener(new OnClickListener() {
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java341 * The previous Y coordinate while scrolling the selector.
486 * @param oldVal The previous value.
1604 int previous = mValue;
1608 notifyChange(previous, current);
1820 private void notifyChange(int previous, int current) { argument
1822 mOnValueChangeListener.onValueChange(this, previous, mValue);
H A DGridView.java1186 // Remember the previous first child
1512 final int previous = mStackFromBottom ? mItemCount - 1
1516 final int previousRow = previous / mNumColumns;
1725 * Scrolls to the next or previous item, horizontally or vertically.
1794 * Goes to the next or previous item according to the order set by the
1829 // Move to the previous item.
/frameworks/base/core/java/android/os/
H A DStrictMode.java1281 for (ViolationInfo previous : violations) {
1282 if (info.crashInfo.stackTrace.equals(previous.crashInfo.stackTrace)) {
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java417 public void onFocusChanged(boolean hasFocus, int direction, Rect previous) { argument
418 super.onFocusChanged(hasFocus, direction, previous);

Completed in 576 milliseconds