Searched refs:currentOffset (Results 1 – 9 of 9) sorted by relevance
/external/replicaisland/src/com/replica/replicaisland/ |
D | ConversationDialogActivity.java | 97 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/icu/icu4c/source/common/ |
D | ucnvscsu.c | 1020 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneAliasTest.java | 266 int currentOffset = zone.getOffset(currentDate); in Zone() local 267 if (currentOffset != lastOffset) { // Binary Search in Zone() 268 if (currentOffset < minOffset) minOffset = currentOffset; in Zone() 269 if (currentOffset > maxOffset) maxOffset = currentOffset; in Zone() 271 if (currentOffset < minRecentOffset) minRecentOffset = currentOffset; in Zone() 272 if (currentOffset > maxRecentOffset) maxRecentOffset = currentOffset; in Zone() 288 lastOffset = currentOffset; in Zone()
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetSCSU.java | 625 private int currentOffset; field in CharsetSCSU.CharsetEncoderSCSU 648 currentOffset = data.fromUDynamicOffsets[dynamicWindow]; in encodeLoop() 805 …} else if(((delta=(c-currentOffset))&UConverterConstants.UNSIGNED_INT_MASK)<=0x7f && !AfterGetTrai… in loop() 834 if(((delta=(c-currentOffset))&UConverterConstants.UNSIGNED_INT_MASK)<=0x7f){ in loop() 844 currentOffset = data.fromUDynamicOffsets[dynamicWindow]; in loop() 846 c = ((SC0+dynamicWindow)<<8 | (c-currentOffset)|0x80); in loop() 855 currentOffset = data.fromUDynamicOffsets[dynamicWindow]=offset; in loop() 858 (code<<8)| (c- currentOffset) |0x80); in loop() 896 currentOffset = data.fromUDynamicOffsets[dynamicWindow]; in loop() 898 c = ((SC0+window)<<8) | (c- currentOffset) | 0x80; in loop() [all …]
|
D | CharsetISO2022.java | 1494 int currentOffset = offsets.get(); in decodeLoopIBM() local 1496 if (currentOffset >= 0) { in decodeLoopIBM() 1497 offsets.put(currentOffset + delta); in decodeLoopIBM()
|
/external/lz4/lib/ |
D | lz4.c | 437 U32 currentOffset; member 539 base = (const BYTE*)source - dictPtr->currentOffset; in LZ4_compress_generic() 543 base = (const BYTE*)source - dictPtr->currentOffset; in LZ4_compress_generic() 797 base = p - dict->currentOffset; in LZ4_loadDict() 800 dict->currentOffset += dict->dictSize; in LZ4_loadDict() 814 if ((LZ4_dict->currentOffset > 0x80000000) || in LZ4_renormDictT() 815 ((size_t)LZ4_dict->currentOffset > (size_t)src)) /* address space overflow */ in LZ4_renormDictT() 818 U32 delta = LZ4_dict->currentOffset - 64 KB; in LZ4_renormDictT() 826 LZ4_dict->currentOffset = 64 KB; in LZ4_renormDictT() 860 if ((streamPtr->dictSize < 64 KB) && (streamPtr->dictSize < streamPtr->currentOffset)) in LZ4_compress_continue_generic() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
D | SampleList.java | 140 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/ |
D | mztools.c | 50 int currentOffset = offset; variable 168 WRITE_32(header + 42, currentOffset);
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceQueryTests.cpp | 2253 int currentOffset = 0; in getBufferMinimumDataSize() local 2261 …) ? (m_program->getShaders()[0]->getDefaultBlock().variables[ndx].layout.offset) : (currentOffset); in getBufferMinimumDataSize() 2262 currentOffset = thisOffset + 4; in getBufferMinimumDataSize()
|