Home
last modified time | relevance | path

Searched refs:startOffset (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DNalUnitUtil.java32 int startOffset = 0; in findNalUnit() local
34 return startOffset; in findNalUnit()
37 startOffset = 3; in findNalUnit()
41 startOffset = 4; in findNalUnit()
44 return startOffset; in findNalUnit()
121 int startOffset = NalUnitUtil.findNalUnit(dataArray, pos, limit); in getStandardizedFrameTypesFromAVC() local
122 if (startOffset != 0) { in getStandardizedFrameTypesFromAVC()
123 int nalUnitType = getAVCNalUnitType(dataArray, (pos + startOffset)); in getStandardizedFrameTypesFromAVC()
125 Log.d(TAG, "NalUnitOffset = " + (pos + startOffset)); in getStandardizedFrameTypesFromAVC()
130 frameType = parseAVCNALUnitData(dataArray, (pos + startOffset), in getStandardizedFrameTypesFromAVC()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp462 ssize_t startOffset = -1; in appendData() local
465 startOffset = i; in appendData()
470 if (startOffset < 0) { in appendData()
474 if (mFormat == NULL && startOffset > 0) { in appendData()
477 startOffset); in appendData()
480 data = &ptr[startOffset]; in appendData()
481 size -= startOffset; in appendData()
495 ssize_t startOffset = -1; in appendData() local
498 startOffset = i; in appendData()
503 if (startOffset < 0) { in appendData()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DExtractedText.java40 public int startOffset; field in ExtractedText
106 dest.writeInt(startOffset); in writeToParcel()
123 res.startOffset = source.readInt();
/frameworks/base/core/java/android/content/res/
DAssetFileDescriptor.java61 public AssetFileDescriptor(ParcelFileDescriptor fd, long startOffset, in AssetFileDescriptor() argument
63 this(fd, startOffset, length, null); in AssetFileDescriptor()
77 public AssetFileDescriptor(ParcelFileDescriptor fd, long startOffset, in AssetFileDescriptor() argument
82 if (length < 0 && startOffset != 0) { in AssetFileDescriptor()
87 mStartOffset = startOffset; in AssetFileDescriptor()
/frameworks/base/libs/hwui/canvas/
DOpBuffer.h41 size_t startOffset = 0; member
131 mBuffer->startOffset = STARTING_SIZE; in resize()
143 ItemHeader* first() const { return isEmpty() ? nullptr : itemAt(mBuffer->startOffset); } in first()
220 return reinterpret_cast<uint8_t*>(mBuffer) + mBuffer->startOffset; in start_ptr()
259 return offset >= mBuffer->startOffset && offset < mBuffer->used; in offsetIsValid()
284 mBuffer->startOffset = STARTING_SIZE; in clear()
/frameworks/base/core/java/android/text/method/
DArrowKeyMovementMethod.java260 final int startOffset = buffer.getSpanStart(LAST_TAP_DOWN); in onTouchEvent() local
273 Selection.setSelection(buffer, Math.min(startOffset, offset), in onTouchEvent()
274 Math.max(startOffset, offset)); in onTouchEvent()
289 final int startOffset = buffer.getSpanStart(LAST_TAP_DOWN); in onTouchEvent() local
291 Selection.setSelection(buffer, Math.min(startOffset, endOffset), in onTouchEvent()
292 Math.max(startOffset, endOffset)); in onTouchEvent()
/frameworks/base/core/java/com/android/internal/policy/
DClipRectTBAnimation.java55 final long startOffset = getStartOffset(); in getTransformation() local
59 normalizedTime = ((float) (currentTime - (getStartTime() + startOffset))) / in getTransformation()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DXmpDepthDecode.java401 int startOffset = extendedHeader.length() + XMP_EXTENSION_HEADER_OFFSET; in parseExtendedXMPSections() local
403 bufferSize += Math.max(0, section.data.length - startOffset); in parseExtendedXMPSections()
405 xmpStartOffset.add(startOffset); in parseExtendedXMPSections()
418 int startOffset = xmpStartOffset.get(i); in parseExtendedXMPSections() local
420 int length = endOffset - startOffset; in parseExtendedXMPSections()
422 section.data, startOffset, buffer, offset, length); in parseExtendedXMPSections()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java539 int startOffset; local
559 startOffset = mLayoutState.mOffset;
574 updateLayoutStateToFillStart(firstElement, startOffset);
577 startOffset = mLayoutState.mOffset;
594 startOffset = mLayoutState.mOffset;
615 startOffset += fixOffset;
617 fixOffset = fixLayoutStartGap(startOffset, recycler, state, false);
618 startOffset += fixOffset;
621 int fixOffset = fixLayoutStartGap(startOffset, recycler, state, true);
622 startOffset += fixOffset;
[all …]
DActionBarView.java1113 int startOffset = 0; in onLayout() local
1116 startOffset = homeLayout.getStartOffset(); in onLayout()
1118 startOffset = homeLayout.getUpWidth(); in onLayout()
1124 next(x, startOffset, isLayoutRtl), y, contentHeight, isLayoutRtl); in onLayout()
1125 x = next(x, startOffset, isLayoutRtl); in onLayout()
DViewPager.java1599 final int startOffset = (int) (childWidth * ii.offset);
1602 childLeft = MAX_SCROLL_X - paddingRight - startOffset - childMeasuredWidth;
1604 childLeft = paddingLeft + startOffset;
2210 final int startOffset = getScrollStart();
2212 final float scrollOffset = width > 0 ? (float) startOffset / width : 0;
/frameworks/base/core/java/android/view/animation/
DAnimationSet.java172 public void setStartOffset(long startOffset) { in setStartOffset() argument
174 super.setStartOffset(startOffset); in setStartOffset()
444 final long startOffset = mStartOffset; in initialize() local
475 a.setStartOffset(offset + startOffset); in initialize()
DAnimation.java429 public void setStartOffset(long startOffset) { in setStartOffset() argument
430 mStartOffset = startOffset; in setStartOffset()
914 final long startOffset = getStartOffset(); in getTransformation() local
918 normalizedTime = ((float) (currentTime - (mStartTime + startOffset))) / in getTransformation()
/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp321 size_t startOffset = offset; in getNextNALUnit() local
345 while (endOffset > startOffset + 1 && data[endOffset - 1] == 0x00) { in getNextNALUnit()
349 *nalStart = &data[startOffset]; in getNextNALUnit()
350 *nalSize = endOffset - startOffset; in getNextNALUnit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackStateAnimator.java178 int startOffset = 0; in adaptDurationWhenGoingToFullShade() local
180 startOffset = mGoToFullShadeAppearingTranslation; in adaptDurationWhenGoingToFullShade()
185 child.setTranslationY(viewState.yTranslation + startOffset); in adaptDurationWhenGoingToFullShade()
/frameworks/rs/
DrsRuntime.h145 size_t elementCount, size_t startOffset);
147 size_t elementCount, size_t startOffset);
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp141 status_t findNextPage(off64_t startOffset, off64_t *pageOffset);
346 off64_t startOffset, off64_t *pageOffset) { in findNextPage() argument
347 *pageOffset = startOffset; in findNextPage()
360 if (*pageOffset > startOffset) { in findNextPage()
362 (long long)(*pageOffset - startOffset)); in findNextPage()
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java280 long startOffset = assetFD.getStartOffset(); in createBuffer() local
282 return fc.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in createBuffer()
/frameworks/base/core/java/android/widget/
DGridView.java279 final int startOffset = count > 0 ? in fillGap() local
285 fillDown(position, startOffset); in fillGap()
292 final int startOffset = count > 0 ? in fillGap() local
300 fillUp(position, startOffset); in fillGap()
DListView.java754 final int startOffset = count > 0 ? getChildAt(count - 1).getBottom() + mDividerHeight : in fillGap() local
756 fillDown(mFirstPosition + count, startOffset); in fillGap()
763 final int startOffset = count > 0 ? getChildAt(0).getTop() - mDividerHeight : in fillGap() local
765 fillUp(mFirstPosition - 1, startOffset); in fillGap()
DEditor.java1239 private long getParagraphsRange(int startOffset, int endOffset) { in getParagraphsRange() argument
1245 int minLine = layout.getLineForOffset(startOffset); in getParagraphsRange()
1934 outText.startOffset = 0; in extractTextInternal()
6779 int startOffset; in updateWordBasedSelection() local
6785 startOffset = getWordStart(mStartOffset); in updateWordBasedSelection()
6789 startOffset = getWordEnd(mStartOffset); in updateWordBasedSelection()
6790 if (startOffset == offset) { in updateWordBasedSelection()
6795 updateSelectionInternal(startOffset, offset, in updateWordBasedSelection()
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java660 final int startOffset) { in dragDownUntilLineChange() argument
662 final int startLine = tv.getLayout().getLineForOffset(startOffset); in dragDownUntilLineChange()
680 String msg = String.format("The cursor didn't jump from %d!", startOffset); in dragDownUntilLineChange()
/frameworks/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java1162 int startOffset = offset - start; // offset from start. in nGetRunAdvance() local
1164 for (int i = 0; i < startOffset; i++) { in nGetRunAdvance()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java2535 final int off = mExtractedText.startOffset; in onUpdateSelection()
3413 + " startOffset=" + mExtractedText.startOffset); in dump()
/frameworks/base/core/api/
Dcurrent.txt1344 field public static final int startOffset = 16843198; // 0x10101be
51796 field public int startOffset;

12