Home
last modified time | relevance | path

Searched refs:currentOffset (Results 1 – 11 of 11) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DConversationDialogActivity.java97 int currentOffset = 0; in formatPages() local
107 int fittingChars = paint.breakText(text, currentOffset, textLength, true, maxWidth, null); in formatPages()
109 if (currentOffset + fittingChars < textLength) { in formatPages()
112 int lastSpace = TextUtils.lastIndexOf(text, ' ', currentOffset + fittingChars - 1); in formatPages()
115 lastSpace = currentOffset + fittingChars - 1; in formatPages()
119 currentOffset = lastSpace + 1; in formatPages()
122 currentOffset = textLength; in formatPages()
125 if (lineCount >= maxLinesPerPage || currentOffset >= textLength) { in formatPages()
129 currentPage.text = spannedText.subSequence(lastPageStart, currentOffset); in formatPages()
134 newPage.text = spannedText.subSequence(lastPageStart, currentOffset); in formatPages()
[all …]
/external/icu4c/common/
Ducnvscsu.c1020 uint32_t currentOffset; in _SCSUFromUnicodeWithOffsets() local
1048 currentOffset=scsu->fromUDynamicOffsets[dynamicWindow]; in _SCSUFromUnicodeWithOffsets()
1095 } else if((delta=c-currentOffset)<=0x7f) { in _SCSUFromUnicodeWithOffsets()
1133 if((delta=c-currentOffset)<=0x7f) { in _SCSUFromUnicodeWithOffsets()
1143 currentOffset=scsu->fromUDynamicOffsets[dynamicWindow]; in _SCSUFromUnicodeWithOffsets()
1145 c=((uint32_t)(SC0+dynamicWindow)<<8)|(c-currentOffset)|0x80; in _SCSUFromUnicodeWithOffsets()
1153 currentOffset=scsu->fromUDynamicOffsets[dynamicWindow]=offset; in _SCSUFromUnicodeWithOffsets()
1155 … c=((uint32_t)SDX<<24)|((uint32_t)dynamicWindow<<21)|((uint32_t)code<<8)|(c-currentOffset)|0x80; in _SCSUFromUnicodeWithOffsets()
1187 currentOffset=scsu->fromUDynamicOffsets[dynamicWindow]; in _SCSUFromUnicodeWithOffsets()
1189 c=((uint32_t)(SC0+dynamicWindow)<<8)|(c-currentOffset)|0x80; in _SCSUFromUnicodeWithOffsets()
[all …]
/external/smali/dexlib/src/main/java/org/jf/dexlib/
DClassDefItem.java244 private int currentOffset; field in ClassDefItem.ClassDefPlacer
256 currentOffset = offset; in placeSection()
281 return currentOffset; in placeSection()
304 currentOffset = classDefItem.placeAt(currentOffset, currentIndex++); in placeClass()
/external/webkit/Source/JavaScriptCore/parser/
DLexer.h69 int currentOffset() { return m_code - m_codeStart; } in currentOffset() function
106 ALWAYS_INLINE int currentOffset() const;
DLexer.cpp242 ALWAYS_INLINE int Lexer::currentOffset() const in currentOffset() function in JSC::Lexer
271 ASSERT(currentOffset() == source.startOffset()); in setCode()
728 int startOffset = currentOffset(); in lex()
970 lvalp->intValue = currentOffset(); in lex()
975 lvalp->intValue = currentOffset(); in lex()
1075 llocp->endOffset = currentOffset(); in lex()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DSampleList.java140 long currentOffset = 0; in initIsoFile() local
146 long contentOffset = currentOffset + ((MediaDataBox) b).getHeader().limit(); in initIsoFile()
154 currentOffset += currentSize; in initIsoFile()
/external/zlib/src/contrib/minizip/
Dmztools.c50 int currentOffset = offset; variable
168 WRITE_32(header + 42, currentOffset);
/external/webkit/Source/WebCore/accessibility/gtk/
DAccessibilityObjectWrapperAtk.cpp1473 guint currentOffset = 0; in getAccessibilityObjectForOffset() local
1475 while (child && currentOffset <= offset) { in getAccessibilityObjectForOffset()
1477 currentOffset = childLength + childPosition; in getAccessibilityObjectForOffset()
1478 if (currentOffset > offset) { in getAccessibilityObjectForOffset()
/external/webkit/Source/WebCore/rendering/
DRenderObject.cpp1972 IntSize currentOffset = currContainer->offsetFromContainer(nextContainer, referencePoint); in offsetFromAncestorContainer() local
1973 offset += currentOffset; in offsetFromAncestorContainer()
1974 referencePoint.move(currentOffset); in offsetFromAncestorContainer()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2009-06-164808 (JSC::Lexer::currentOffset): Changed to call currentCharacter for clarity.
5622 (JSC::Lexer::currentOffset): Added. Used where the old code would look at
5655 main lexer loop. Use currentOffset instead of m_currentOffset. Removed
5677 matchPunctuator. Added copyCoodeWithoutBOMs and currentOffset. Moved the
DChangeLog-2011-02-1620433 (JSC::Lexer::currentOffset):
21462 (JSC::Lexer::currentOffset):