Home
last modified time | relevance | path

Searched refs:endOffset (Results 1 – 12 of 12) sorted by relevance

/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
DLocation.java49 public int endOffset; field in Location
55 startOffset = endOffset = startLine = endLine = NaN; in Location()
60 endOffset = other.endOffset; in Location()
74 endLine = endOffset = NaN; in Location()
80 endOffset = end.getCharPositionInLine() + lastLine.length() - 1;//end is inclusive in Location()
89 public Location(int startLine, int startOffset, int endLine, int endOffset) {
93 this.endOffset = endOffset;
102 ", endOffset=" + endOffset +
125 if (endOffset != location.endOffset) {
144 result = 31 * result + endOffset;
[all …]
DLayoutFileParser.java262 valueLocation.endOffset = attrLocation.endOffset - 2; // account for: "} in parseExpressions()
/frameworks/base/core/java/android/util/jar/
DStrictJarFile.java441 private long endOffset; field in StrictJarFile.FDStream
444 public FDStream(FileDescriptor fd, long initialOffset, long endOffset) { in FDStream() argument
447 this.endOffset = endOffset; in FDStream()
451 return (offset < endOffset ? 1 : 0); in available()
460 final long length = endOffset - offset; in read()
480 if (byteCount > endOffset - offset) { in skip()
481 byteCount = endOffset - offset; in skip()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java544 int endOffset; local
573 endOffset = mLayoutState.mOffset;
588 endOffset = mLayoutState.mOffset;
603 updateLayoutStateToFillEnd(lastElement, endOffset);
606 endOffset = mLayoutState.mOffset;
618 int fixOffset = fixLayoutEndGap(endOffset, recycler, state, true);
620 endOffset += fixOffset;
623 endOffset += fixOffset;
627 endOffset += fixOffset;
628 fixOffset = fixLayoutEndGap(endOffset, recycler, state, false);
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java567 int endOffset; local
596 endOffset = mLayoutState.mOffset;
611 endOffset = mLayoutState.mOffset;
626 updateLayoutStateToFillEnd(lastElement, endOffset);
629 endOffset = mLayoutState.mOffset;
641 int fixOffset = fixLayoutEndGap(endOffset, recycler, state, true);
643 endOffset += fixOffset;
646 endOffset += fixOffset;
650 endOffset += fixOffset;
651 fixOffset = fixLayoutEndGap(endOffset, recycler, state, false);
[all …]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DXmpDepthDecode.java402 int endOffset = section.data.length; in parseExtendedXMPSections() local
406 xmpEndOffset.add(endOffset); in parseExtendedXMPSections()
419 int endOffset = xmpEndOffset.get(i); in parseExtendedXMPSections() local
420 int length = endOffset - startOffset; in parseExtendedXMPSections()
/frameworks/av/media/libstagefright/
Davc_utils.cpp319 size_t endOffset = offset - 2; in getNextNALUnit() local
320 while (endOffset > startOffset + 1 && data[endOffset - 1] == 0x00) { in getNextNALUnit()
321 --endOffset; in getNextNALUnit()
325 *nalSize = endOffset - startOffset; in getNextNALUnit()
/frameworks/base/core/java/android/text/method/
DArrowKeyMovementMethod.java290 final int endOffset = widget.getOffsetForPosition(event.getX(), event.getY()); in onTouchEvent() local
291 Selection.setSelection(buffer, Math.min(startOffset, endOffset), in onTouchEvent()
292 Math.max(startOffset, endOffset)); in onTouchEvent()
/frameworks/data-binding/compilerCommon/src/test/java/android/databinding/tool/store/
DLocationTest.java46 location2.endOffset = 2; in testContains()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprModelTest.java1042 assertEquals(input.length() - 1, location.endOffset); in testLocationTracking()
1050 assertEquals(4, predLoc.endOffset); in testLocationTracking()
1057 assertEquals(0, aLoc.endOffset); in testLocationTracking()
1064 assertEquals(4, tLoc.endOffset); in testLocationTracking()
1071 assertEquals(8, bLoc.endOffset); in testLocationTracking()
1078 assertEquals(12, cLoc.endOffset); in testLocationTracking()
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
DBaseCompilationTest.java131 end = location.endOffset; in extract()
/frameworks/base/core/java/android/widget/
DEditor.java927 private long getParagraphsRange(int startOffset, int endOffset) { in getParagraphsRange() argument
942 int maxLine = layout.getLineForOffset(endOffset); in getParagraphsRange()