Home
last modified time | relevance | path

Searched refs:endOffset (Results 1 – 18 of 18) 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/libs/hwui/canvas/
DOpBuffer.h43 size_t endOffset = 0; member
104 mBuffer->endOffset = mBuffer->used; in push_container()
107 void* allocateAt = reinterpret_cast<uint8_t*>(mBuffer) + mBuffer->endOffset; in push_container()
145 ItemHeader* last() const { return isEmpty() ? nullptr : itemAt(mBuffer->endOffset); } in last()
285 mBuffer->endOffset = 0; in clear()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DGridDragDropState.kt150 val endOffset = startOffset + draggingItem.size.toSize() in onDrag() constant
151 val middleOffset = startOffset + (endOffset - startOffset) / 2f in onDrag()
181 val overscroll = checkForOverscroll(startOffset, endOffset) in onDrag()
193 private fun checkForOverscroll(startOffset: Offset, endOffset: Offset): Float { in checkForOverscroll()
196 (endOffset.x - state.layoutInfo.viewportEndOffset).coerceAtLeast(0f) in checkForOverscroll()
/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/libshmem/
DShmemCompat.cpp38 const uint64_t endOffset = static_cast<uint64_t>(shmem.offset) + in convertSharedFileRegionToIMemory() local
44 const uint64_t heapEndOffset = (endOffset + pageSize - 1) & pageMask; in convertSharedFileRegionToIMemory()
/frameworks/av/media/module/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.java341 final int endOffset = widget.getOffsetForPosition(event.getX(), event.getY()); in onTouchEvent() local
342 Selection.setSelection(buffer, Math.min(startOffset, endOffset), in onTouchEvent()
343 Math.max(startOffset, endOffset)); in onTouchEvent()
/frameworks/av/media/codec2/hal/hidl/1.0/utils/
DConfigurable.cpp133 for (size_t srcIx = request.offset(); srcIx < request.endOffset(); ++srcIx) { in querySupportedParams()
/frameworks/av/media/codec2/hal/aidl/
DConfigurable.cpp130 for (size_t srcIx = request.offset(); srcIx < request.endOffset(); ++srcIx) { in querySupportedParams()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp209 static_assert(TestRange(&cap).endOffset() == 123u, ""); in StaticLinearRangeAndCapacityTest()
216 static_assert(range.endOffset() == 123u, ""); in StaticLinearRangeAndCapacityTest()
221 static_assert(TestRange(&cap, 20u, 30u).endOffset() == 50u, ""); in StaticLinearRangeAndCapacityTest()
226 static_assert(TestRange(&cap, 200u, 30u).endOffset() == 123u, ""); in StaticLinearRangeAndCapacityTest()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/
DSwipeable.kt332 val endOffset = absoluteOffset.value in animateTo() constant
335 .filterKeys { anchorOffset -> abs(anchorOffset - endOffset) < 0.5f } in animateTo()
/frameworks/base/services/core/java/com/android/server/am/
DProcessErrorStateRecord.java572 final long endOffset = firstPidEndOffset.get(); in appNotResponding() local
574 pid, mApp.uid, mApp.getPackageList(), tracesFile, startOffset, endOffset); in appNotResponding()
/frameworks/base/core/java/android/widget/
DTextView.java10576 int endOffset = range[1];
10580 Matcher matcher = whitespacePattern.matcher(mText.subSequence(startOffset, endOffset));
10586 endOffset -= matcher.end() - matcher.start();
10587 if (startOffset == endOffset) {
10590 matcher = whitespacePattern.matcher(mText.subSequence(startOffset, endOffset));
10617 int endOffset = startOffset;
10625 while (endOffset < mText.length()) {
10626 int codePointAtEnd = Character.codePointAt(mText, endOffset);
10630 endOffset += Character.charCount(codePointAtEnd);
10632 if (startOffset < endOffset) {
[all …]
DEditor.java1304 private long getParagraphsRange(int startOffset, int endOffset) { in getParagraphsRange() argument
1307 final int endOffsetTransformed = mTextView.originalToTransformed(endOffset, in getParagraphsRange()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h383 inline constexpr uint32_t endOffset() const { return mOffset + mSize; } in endOffset() function
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp2088 off64_t endOffset = std::max(mMdatEndOffset, mOffset); in truncatePreAllocation() local
2094 mMdatEndOffset, mPreAllocateFileEndOffset - endOffset); in truncatePreAllocation()
2095 if (ftruncate64(mFd, endOffset) == -1) { in truncatePreAllocation()