/frameworks/base/core/java/android/util/ |
H A D | LruCache.java | 163 * @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 D | LruCache.java | 167 * @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 D | LruCache.java | 113 * @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 D | Children.java | 42 Child previous; 51 previous = current; 57 previous.next = current;
|
/frameworks/base/core/java/android/net/http/ |
H A D | AndroidHttpClientConnection.java | 320 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 D | DatabaseLockTest.java | 72 int previous = 0; 77 previous = val - i; 79 assertTrue(previous == (val - i));
|
/frameworks/base/libs/hwui/ |
H A D | Snapshot.h | 41 * 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 D | Snapshot.cpp | 30 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 D | OpenGLRenderer.cpp | 680 sp<Snapshot> previous = mSnapshot->previous; local 683 Rect& r = previous->viewport; 689 mSnapshot = previous; 698 composeLayer(current, previous); 734 if (!bounds.intersect(mSnapshot->previous->viewport)) { 954 void OpenGLRenderer::composeLayer(sp<Snapshot> current, sp<Snapshot> previous) { argument 972 // Unbind current FBO and restore previous one 973 glBindFramebuffer(GL_FRAMEBUFFER, previous->fbo); 976 startTiling(previous); [all...] |
H A D | OpenGLRenderer.h | 428 * defined by the previous snapshot. 433 * @param previous The previous snapshot to compose the current layer with 435 virtual void composeLayer(sp<Snapshot> current, sp<Snapshot> previous); 553 * The new snapshot is saved in mSnapshot and the previous snapshot 554 * is linked from mSnapshot->previous. 563 * Restores the current snapshot; mSnapshot becomes mSnapshot->previous.
|
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | AccessibilityInputFilter.java | 248 mEventQueue.previous = holder; 269 current = current.previous; 383 public MotionEventHolder previous; field in class:AccessibilityInputFilter.MotionEventHolder 400 previous = null;
|
H A D | AccessibilityManagerService.java | 2605 PendingEvent previous = null; 2610 if (previous != null) { 2611 previous.next = current.next; 2618 previous = current;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 265 * @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 D | PathV3.inc | 46 // -> pop previous position of '/' P
|
/frameworks/av/services/audioflinger/ |
H A D | FastMixer.cpp | 53 const FastMixerState *previous = &initial, *current = &initial; local 82 struct timespec oldLoad = {0, 0}; // previous value of clock_gettime(CLOCK_THREAD_CPUTIME_ID) 116 ALOG_ASSERT(current == &initial && previous == &initial); 131 // We want to always have a valid reference to the previous (non-idle) state. 132 // However, the state queue only guarantees access to current and previous states. 136 // non-idle -> non-idle update previous from current in-place 137 // non-idle -> idle update previous from copy of current 138 // idle -> idle don't update previous 139 // idle -> non-idle don't update previous 148 previous [all...] |
/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 2140 int previous = 0; 2142 while ((current = path.indexOf('/', previous)) > -1) { 2145 if (previous < current) { 2147 = decode(path.substring(previous, current)); 2150 previous = current + 1; 2154 if (previous < path.length()) { 2155 segmentBuilder.add(decode(path.substring(previous)));
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ManualActivity.java | 125 ((ImageButton) findViewById(R.id.previous)).setOnClickListener(new OnClickListener() {
|
/frameworks/base/core/java/android/widget/ |
H A D | NumberPicker.java | 341 * The previous Y coordinate while scrolling the selector. 486 * @param oldVal The previous value. 1588 int previous = mValue; 1592 notifyChange(previous, current); 1804 private void notifyChange(int previous, int current) { argument 1806 mOnValueChangeListener.onValueChange(this, previous, mValue);
|
H A D | GridView.java | 1182 // Remember the previous first child 1504 final int previous = mStackFromBottom ? mItemCount - 1 1508 final int previousRow = previous / mNumColumns; 1717 * Scrolls to the next or previous item, horizontally or vertically. 1786 * Goes to the next or previous item according to the order set by the 1821 // Move to the previous item.
|
/frameworks/base/core/java/android/os/ |
H A D | StrictMode.java | 1269 for (ViolationInfo previous : violations) { 1270 if (info.crashInfo.stackTrace.equals(previous.crashInfo.stackTrace)) {
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 404 public void onFocusChanged(boolean hasFocus, int direction, Rect previous) { argument 405 super.onFocusChanged(hasFocus, direction, previous);
|