Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/jar/
DStrictJarFile.java448 private long endOffset; field in StrictJarFile.FDStream
451 public FDStream(FileDescriptor fd, long initialOffset, long endOffset) { in FDStream() argument
454 this.endOffset = endOffset; in FDStream()
458 return (offset < endOffset ? 1 : 0); in available()
467 final long length = endOffset - offset; in read()
487 if (byteCount > endOffset - offset) { in skip()
488 byteCount = endOffset - offset; in skip()
/frameworks/av/media/codec2/vndk/internal/
DC2ParamInternal.h32 uint32_t endOffset = fd._mFieldId._mOffset + fd._mExtent * fd._mFieldId._mSize; member
34 return fd._mExtent ? endOffset : std::max(endOffset, paramSize);
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java540 int endOffset; local
569 endOffset = mLayoutState.mOffset;
584 endOffset = mLayoutState.mOffset;
599 updateLayoutStateToFillEnd(lastElement, endOffset);
602 endOffset = mLayoutState.mOffset;
614 int fixOffset = fixLayoutEndGap(endOffset, recycler, state, true);
616 endOffset += fixOffset;
619 endOffset += fixOffset;
623 endOffset += fixOffset;
624 fixOffset = fixLayoutEndGap(endOffset, recycler, state, false);
[all …]
/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp344 size_t endOffset = offset - 2; in getNextNALUnit() local
345 while (endOffset > startOffset + 1 && data[endOffset - 1] == 0x00) { in getNextNALUnit()
346 --endOffset; in getNextNALUnit()
350 *nalSize = endOffset - startOffset; in getNextNALUnit()
/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/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/av/media/codec2/hidl/1.0/utils/
DConfigurable.cpp133 for (size_t srcIx = request.offset(); srcIx < request.endOffset(); ++srcIx) { in querySupportedParams()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp208 static_assert(TestRange(&cap).endOffset() == 123u, ""); in StaticLinearRangeAndCapacityTest()
215 static_assert(range.endOffset() == 123u, ""); in StaticLinearRangeAndCapacityTest()
220 static_assert(TestRange(&cap, 20u, 30u).endOffset() == 50u, ""); in StaticLinearRangeAndCapacityTest()
225 static_assert(TestRange(&cap, 200u, 30u).endOffset() == 123u, ""); in StaticLinearRangeAndCapacityTest()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h380 inline constexpr uint32_t endOffset() const { return mOffset + mSize; } in endOffset() function
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp1913 off64_t endOffset = std::max(mMdatEndOffset, mOffset); in truncatePreAllocation() local
1919 mMdatEndOffset, mPreAllocateFileEndOffset - endOffset); in truncatePreAllocation()
1920 if (ftruncate64(mFd, endOffset) == -1) { in truncatePreAllocation()
/frameworks/base/core/java/android/widget/
DEditor.java1166 private long getParagraphsRange(int startOffset, int endOffset) { in getParagraphsRange() argument
1181 int maxLine = layout.getLineForOffset(endOffset); in getParagraphsRange()