/frameworks/base/core/tests/coretests/src/android/text/method/ |
WordIteratorTest.java | 145 int currentOffset = 0; 146 currentOffset = wordIterator.nextBoundary(currentOffset); 147 assertEquals(text.indexOf('c') + 1, currentOffset); 149 currentOffset = wordIterator.nextBoundary(currentOffset); 150 assertEquals(text.indexOf('d'), currentOffset); 152 currentOffset = wordIterator.nextBoundary(currentOffset); 153 assertEquals(text.indexOf('f') + 1, currentOffset); [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
ConversationDialogActivity.java | 97 int currentOffset = 0; 107 int fittingChars = paint.breakText(text, currentOffset, textLength, true, maxWidth, null); 109 if (currentOffset + fittingChars < textLength) { 112 int lastSpace = TextUtils.lastIndexOf(text, ' ', currentOffset + fittingChars - 1); 115 lastSpace = currentOffset + fittingChars - 1; 119 currentOffset = lastSpace + 1; 122 currentOffset = textLength; 125 if (lineCount >= maxLinesPerPage || currentOffset >= textLength) { 129 currentPage.text = spannedText.subSequence(lastPageStart, currentOffset); 134 newPage.text = spannedText.subSequence(lastPageStart, currentOffset); [all...] |
/external/skia/src/gpu/vk/ |
GrVkUniformHandler.cpp | 42 // the new uniform, and currentOffset is updated to be the offset to the end of the new uniform. 44 uint32_t* currentOffset, 48 uint32_t offsetDiff = *currentOffset & alignmentMask; 52 *uniformOffset = *currentOffset + offsetDiff; 57 *currentOffset = *uniformOffset + count * (uint32_t)GrSLTypeSize(type); 97 uint32_t* currentOffset = kVertex_GrShaderFlag == visibility ? &fCurrentVertexUBOOffset 99 get_ubo_aligned_offset(&uni.fUBOffset, currentOffset, type, arrayCount);
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
ZipResourceFile.java | 378 int currentOffset = 0; 387 if (directoryMap.getInt(currentOffset) != kCDESignature) { 388 Log.w(LOG_TAG, "Missed a central dir sig (at " + currentOffset 395 .getShort(currentOffset + kCDENameLen) & 0xffff; 396 int extraLen = directoryMap.getShort(currentOffset + kCDEExtraLen) & 0xffff; 397 int commentLen = directoryMap.getShort(currentOffset 402 directoryMap.position(currentOffset + kCDELen); 413 ze.mMethod = directoryMap.getShort(currentOffset + kCDEMethod) & 0xffff; 414 ze.mWhenModified = directoryMap.getInt(currentOffset + kCDEModWhen) & 0xffffffffL; 415 ze.mCRC32 = directoryMap.getLong(currentOffset + kCDECRC) & 0xffffffffL [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
ZipFileTest.java | 74 long currentOffset = android.system.Os.lseek(fd, 0, OsConstants.SEEK_CUR); 75 assertEquals(initialOffset, currentOffset);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneAliasTest.java | 270 int currentOffset = zone.getOffset(currentDate); 271 if (currentOffset != lastOffset) { // Binary Search 272 if (currentOffset < minOffset) minOffset = currentOffset; 273 if (currentOffset > maxOffset) maxOffset = currentOffset; 275 if (currentOffset < minRecentOffset) minRecentOffset = currentOffset; 276 if (currentOffset > maxRecentOffset) maxRecentOffset = currentOffset; [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneAliasTest.java | 266 int currentOffset = zone.getOffset(currentDate); 267 if (currentOffset != lastOffset) { // Binary Search 268 if (currentOffset < minOffset) minOffset = currentOffset; 269 if (currentOffset > maxOffset) maxOffset = currentOffset; 271 if (currentOffset < minRecentOffset) minRecentOffset = currentOffset; 272 if (currentOffset > maxRecentOffset) maxRecentOffset = currentOffset; [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/gxvalid/ |
gxvmort1.c | 149 FT_Short currentOffset; 162 currentOffset = (FT_Short)( glyphOffset_p->ul ); 175 gxv_mort_subtable_type1_offset_to_subst_validate( currentOffset, 176 "currentOffset",
|
/hardware/qcom/display/msm8960/libgralloc/ |
fb_priv.h | 54 uint32_t currentOffset;
|
/external/icu/icu4c/source/common/ |
ucnvscsu.c | [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetSCSU.java | 625 private int currentOffset; 648 currentOffset = data.fromUDynamicOffsets[dynamicWindow]; [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
SampleList.java | 140 long currentOffset = 0; 146 long contentOffset = currentOffset + ((MediaDataBox) b).getHeader().limit(); 154 currentOffset += currentSize;
|
/external/zlib/src/contrib/minizip/ |
mztools.c | 50 int currentOffset = offset; 168 WRITE_32(header + 42, currentOffset);
|
/external/lz4/lib/ |
lz4.c | 437 U32 currentOffset; 539 base = (const BYTE*)source - dictPtr->currentOffset; 543 base = (const BYTE*)source - dictPtr->currentOffset; 797 base = p - dict->currentOffset; 800 dict->currentOffset += dict->dictSize; 814 if ((LZ4_dict->currentOffset > 0x80000000) || 815 ((size_t)LZ4_dict->currentOffset > (size_t)src)) /* address space overflow */ 818 U32 delta = LZ4_dict->currentOffset - 64 KB; 826 LZ4_dict->currentOffset = 64 KB; 860 if ((streamPtr->dictSize < 64 KB) && (streamPtr->dictSize < streamPtr->currentOffset)) [all...] |
/external/ImageMagick/coders/ |
palm.c | 682 currentOffset, 746 currentOffset=0; [all...] |
/external/skia/src/core/ |
SkStream.cpp | 373 const size_t currentOffset = fOffset; 376 nonConstThis->fOffset = currentOffset; 740 size_t currentOffset = fCurrentOffset; 744 SkTMin(current->written() - currentOffset, bytesLeftToPeek); 745 memcpy(buffer, current->start() + currentOffset, bytesFromCurrent); 749 currentOffset = 0;
|
/external/llvm/tools/yaml2obj/ |
yaml2elf.cpp | 40 uint64_t CurrentOffset = InitialOffset + OS.tell(); 41 uint64_t AlignedOffset = RoundUpToAlignment(CurrentOffset, Align); 42 for (; CurrentOffset != AlignedOffset; ++CurrentOffset) 44 return AlignedOffset; // == CurrentOffset;
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
TextViewActions.java | 438 final int currentOffset = mHandleType == Handle.SELECTION_START ? 443 final int currentLine = layout.getLineForOffset(currentOffset); 445 final float currentX = handleView.getHorizontal(layout, currentOffset);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
NativeAudioThread.java | 162 log(" [" + ii + "] jni samples read:" + samplesRead + " currentOffset:" + offset);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapVcardManager.java | 494 int currentOffset = 1; 498 while (contactCursor.moveToNext() && currentOffset <= endPoint) { 502 if (currentOffset >= startPoint) { 506 currentOffset++; [all...] |
/frameworks/base/core/java/android/util/ |
TimeUtils.java | 72 int currentOffset = current.getOffset(when); 81 if (currentOffset == offset && currentDst == dst) {
|
/libcore/luni/src/test/java/libcore/java/util/ |
TimeZoneTest.java | 124 int currentOffset = tz.getOffset(new Date(0).getTime()); 125 assertEquals(currentOffset, tz.getOffset(new Date(Integer.MIN_VALUE).getTime())); 126 assertEquals(currentOffset, tz.getOffset(new Date(Integer.MAX_VALUE).getTime()));
|
/external/dng_sdk/source/ |
dng_image_writer.cpp | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
vktUniformBlockCase.cpp | [all...] |
/external/icu/icu4c/source/test/cintltst/ |
utf8tst.c | [all...] |