/frameworks/base/core/java/android/bluetooth/le/ |
ScanRecord.java | 180 int currentPos = 0; 190 while (currentPos < scanRecord.length) { 192 int length = scanRecord[currentPos++] & 0xFF; 199 int fieldType = scanRecord[currentPos++] & 0xFF; 202 advertiseFlag = scanRecord[currentPos] & 0xFF; 206 parseServiceUuid(scanRecord, currentPos, 211 parseServiceUuid(scanRecord, currentPos, dataLength, 216 parseServiceUuid(scanRecord, currentPos, dataLength, 222 extractBytes(scanRecord, currentPos, dataLength)); 225 txPowerLevel = scanRecord[currentPos]; [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
ucbuf.c | 41 UChar* currentPos; 174 if(buf->currentPos<buf->bufLimit){ 175 offset = (int32_t)(buf->bufLimit-buf->currentPos); 176 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar)); 311 buf->currentPos = pTarget; 328 if(buf->currentPos>=buf->bufLimit){ 338 return *(buf->currentPos++); 348 if(buf->currentPos+1>=buf->bufLimit){ 357 if(U16_IS_LEAD(*(buf->currentPos))){ 358 retVal=U16_GET_SUPPLEMENTARY(buf->currentPos[0],buf->currentPos[1]) [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
ucbuf.c | 41 UChar* currentPos; 174 if(buf->currentPos<buf->bufLimit){ 175 offset = (int32_t)(buf->bufLimit-buf->currentPos); 176 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar)); 311 buf->currentPos = pTarget; 328 if(buf->currentPos>=buf->bufLimit){ 338 return *(buf->currentPos++); 348 if(buf->currentPos+1>=buf->bufLimit){ 357 if(U16_IS_LEAD(*(buf->currentPos))){ 358 retVal=U16_GET_SUPPLEMENTARY(buf->currentPos[0],buf->currentPos[1]) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollAnimator.cpp | 54 float& currentPos = (orientation == HorizontalScrollbar) ? m_currentPosX : m_currentPosY; 55 float newPos = clampScrollPosition(orientation, currentPos + step * delta); 56 if (currentPos == newPos) 58 currentPos = newPos;
|
ScrollbarThemeClient.h | 71 virtual float currentPos() const = 0;
|
ScrollbarTheme.cpp | 242 float overhangAtStart = -scrollbar->currentPos(); 243 float overhangAtEnd = scrollbar->currentPos() + scrollbar->visibleSize() - scrollbar->totalSize(); 255 float pos = std::max(0.0f, scrollbar->currentPos()) * (trackLength(scrollbar) - thumbLength(scrollbar)) / size; 267 if (scrollbar->currentPos() < 0) 268 overhang = -scrollbar->currentPos(); 269 else if (scrollbar->visibleSize() + scrollbar->currentPos() > scrollbar->totalSize()) 270 overhang = scrollbar->currentPos() + scrollbar->visibleSize() - scrollbar->totalSize();
|
ScrollAnimatorNone.h | 95 PerAxisData(ScrollAnimatorNone* parent, float* currentPos, int visibleLength);
|
/external/javassist/src/main/javassist/expr/ |
NewArray.java | 81 int atype = iterator.byteAt(currentPos + 1); 86 int index = iterator.u16bitAt(currentPos + 1); 127 int index = iterator.u16bitAt(currentPos + 1); 143 return iterator.byteAt(currentPos + 3); 175 int pos = currentPos; 182 index = iterator.byteAt(currentPos + 1); // atype 198 index = iterator.u16bitAt(currentPos + 1); 200 dim = iterator.byteAt(currentPos + 3);
|
MethodCall.java | 35 int pos = currentPos; 86 int pos = currentPos; 148 return iterator.byteAt(currentPos) == INVOKESPECIAL 181 int pos = currentPos;
|
Expr.java | 45 int currentPos; 58 currentPos = pos; 138 int pos = currentPos; 186 return currentPos; 195 return thisMethod.getLineNumber(currentPos); 319 oldIterator.move(currentPos);
|
NewExpr.java | 44 int pos = currentPos; 105 int methodIndex = iterator.u16bitAt(currentPos + 1); // constructor 114 int index = iterator.u16bitAt(currentPos + 1); 134 int index = iterator.u16bitAt(currentPos + 1); 177 pos = currentPos;
|
Cast.java | 65 int pos = currentPos; 92 int pos = currentPos;
|
Instanceof.java | 68 int pos = currentPos; 95 int pos = currentPos;
|
FieldAccess.java | 96 int index = iterator.u16bitAt(currentPos + 1); 104 int index = iterator.u16bitAt(currentPos + 1); 135 int index = iterator.u16bitAt(currentPos + 1); 152 int pos = currentPos;
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
PlayerActivity.java | 243 int currentPos = 0; 244 currentPos = mVideoView.getCurrentPosition(); 245 updateSeekbar(currentPos, mDuration); 335 int currentPos = 0; 350 currentPos = mVideoView.getCurrentPosition(); 351 currentPos -= delta; 352 if (currentPos > 0) 353 play(currentPos); 356 currentPos = mVideoView.getCurrentPosition(); 357 currentPos += delta [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Position.cpp | 540 PositionIterator currentPos = lastVisible; 544 for (; !currentPos.atStart(); currentPos.decrement()) { 545 Node* currentNode = currentPos.node(); 571 lastVisible = currentPos; 576 if (isStreamer(currentPos)) 577 lastVisible = currentPos; 581 if (endsOfNodeAreVisuallyDistinctPositions(currentNode) && currentPos.atStartOfNode()) 586 if (currentPos.atEndOfNode()) 602 unsigned textOffset = currentPos.offsetInLeafNode() [all...] |
/frameworks/rs/ |
rsFont.cpp | 678 float *currentPos = mTextMeshPtr + mCurrentQuadIndex * vertsPerQuad * floatsPerVert; 689 (*currentPos++) = x1; 690 (*currentPos++) = y1; 691 (*currentPos++) = z1; 692 (*currentPos++) = 0; 693 (*currentPos++) = u1; 694 (*currentPos++) = v1; 696 (*currentPos++) = x2; 697 (*currentPos++) = y2; 698 (*currentPos++) = z2 [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Gradient_Delegate.java | 102 // from 0 to SIZE (100%), or currentPos in the loop below will never equal 1.0 109 float currentPos = (float)i/GRADIENT_SIZE; 110 while (currentPos > mPositions[nextPos]) { 114 float percent = (currentPos - mPositions[prevPos]) /
|
/frameworks/base/libs/hwui/ |
GradientCache.cpp | 264 int currentPos = 1; 271 if (pos > positions[currentPos]) { 273 startPos = positions[currentPos]; 275 currentPos++; 277 (this->*split)(colors[currentPos], end); 278 distance = positions[currentPos] - startPos;
|
/external/javassist/src/main/javassist/bytecode/ |
CodeIterator.java | 38 protected int currentPos; 51 currentPos = mark = 0; 68 currentPos = index; 170 public boolean hasNext() { return currentPos < endPos; } 183 int pos = currentPos; 184 currentPos = nextOpcode(bytecode, pos); 197 return currentPos; 319 return insert0(currentPos, code, false); 392 return insert0(currentPos, code, true); 455 // currentPos will change [all...] |
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AXScrollbar.cpp | 94 return m_scrollbar->currentPos() / m_scrollbar->maximum();
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebScrollbarThemeClientImpl.h | 67 virtual float currentPos() const OVERRIDE;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
FusionDictionary.java | 670 Position currentPos = mPositions.getLast(); 671 mCurrentString.setLength(currentPos.length); 674 if (currentPos.pos.hasNext()) { 675 final PtNode currentPtNode = currentPos.pos.next(); 676 currentPos.length = mCurrentString.length(); 681 currentPos = new Position(currentPtNode.mChildren.mData); 682 currentPos.length = mCurrentString.length(); 683 mPositions.addLast(currentPos); 693 currentPos = mPositions.getLast();
|
/libcore/luni/src/main/java/java/io/ |
RandomAccessFile.java | 655 long currentPos = getFilePointer(), eof = length(); 656 int newCount = (int) ((currentPos + count > eof) ? eof - currentPos : count); 657 seek(currentPos + newCount);
|
/external/lzma/CPP/7zip/Common/ |
FileStreams.cpp | 359 UInt64 currentPos;
360 if (!File.Seek(0, FILE_CURRENT, currentPos))
364 result = result && File.Seek(currentPos, currentPos2);
|