/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
D | Location.java | 49 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 …]
|
D | LayoutFileParser.java | 262 valueLocation.endOffset = attrLocation.endOffset - 2; // account for: "} in parseExpressions()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 441 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/ |
D | LinearLayoutManager.java | 544 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/ |
D | LinearLayoutManager.java | 567 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/ |
D | XmpDepthDecode.java | 402 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/ |
D | avc_utils.cpp | 319 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/ |
D | ArrowKeyMovementMethod.java | 290 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/ |
D | LocationTest.java | 46 location2.endOffset = 2; in testContains()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/ |
D | ExprModelTest.java | 1042 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/ |
D | BaseCompilationTest.java | 131 end = location.endOffset; in extract()
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 927 private long getParagraphsRange(int startOffset, int endOffset) { in getParagraphsRange() argument 942 int maxLine = layout.getLineForOffset(endOffset); in getParagraphsRange()
|