Searched refs:nextPos (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Gradient_Delegate.java | 106 int nextPos = 1; in precomputeGradientColors() local 110 while (currentPos > mPositions[nextPos]) { in precomputeGradientColors() 111 prevPos = nextPos++; in precomputeGradientColors() 115 (mPositions[nextPos] - mPositions[prevPos]); in precomputeGradientColors() 117 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent); in precomputeGradientColors()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | SmsMessage.java | 380 int nextPos = 0; // Counts code units. in fragmentText() local 384 nextPos = pos + Math.min(limit, textLen - pos); in fragmentText() 387 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText() 391 nextPos = pos + Math.min(limit / 2, textLen - pos); in fragmentText() 393 if ((nextPos <= pos) || (nextPos > textLen)) { in fragmentText() 394 Rlog.e(LOG_TAG, "fragmentText failed (" + pos + " >= " + nextPos + " or " + in fragmentText() 395 nextPos + " >= " + textLen + ")"); in fragmentText() 398 result.add(newMsgBody.substring(pos, nextPos)); in fragmentText() 399 pos = nextPos; in fragmentText()
|
/frameworks/native/cmds/installd/ |
D | utils.c | 517 int8_t* nextPos = res + len; in _cache_malloc() local 518 if (cache->memBlocks == NULL || nextPos > cache->curMemBlockEnd) { in _cache_malloc() 528 nextPos = res + len; in _cache_malloc() 531 res, len, cache->memBlocks, nextPos)); in _cache_malloc() 532 cache->curMemBlockAvail = nextPos; in _cache_malloc()
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 7202 final int nextPos = firstPos + nextViewIndex; in run() 7204 if (nextPos == mLastSeenPos) { in run() 7214 if (nextPos < mBoundPos) { in run() 7218 mLastSeenPos = nextPos; in run()
|