/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 448 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/ |
D | C2ParamInternal.h | 32 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/ |
D | OpBuffer.h | 43 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/ |
D | GridDragDropState.kt | 150 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/ |
D | LinearLayoutManager.java | 540 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/ |
D | ShmemCompat.cpp | 38 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/ |
D | avc_utils.cpp | 344 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/ |
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/base/core/java/android/text/method/ |
D | ArrowKeyMovementMethod.java | 341 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/ |
D | Configurable.cpp | 133 for (size_t srcIx = request.offset(); srcIx < request.endOffset(); ++srcIx) { in querySupportedParams()
|
/frameworks/av/media/codec2/hal/aidl/ |
D | Configurable.cpp | 130 for (size_t srcIx = request.offset(); srcIx < request.endOffset(); ++srcIx) { in querySupportedParams()
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 209 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/ |
D | Swipeable.kt | 332 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/ |
D | ProcessErrorStateRecord.java | 572 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/ |
D | TextView.java | 10576 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 …]
|
D | Editor.java | 1304 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/ |
D | C2Buffer.h | 383 inline constexpr uint32_t endOffset() const { return mOffset + mSize; } in endOffset() function
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Writer.cpp | 2088 off64_t endOffset = std::max(mMdatEndOffset, mOffset); in truncatePreAllocation() local 2094 mMdatEndOffset, mPreAllocateFileEndOffset - endOffset); in truncatePreAllocation() 2095 if (ftruncate64(mFd, endOffset) == -1) { in truncatePreAllocation()
|