Home
last modified time | relevance | path

Searched refs:maxOffset (Results 1 – 7 of 7) sorted by relevance

/frameworks/minikin/libs/minikin/
DHyphenator.cpp363 size_t maxOffset = len - mMinSuffix - 1; in hyphenateFromCodes() local
386 int end = std::min(pat_len, (int)maxOffset - offset); in hyphenateFromCodes()
395 for (size_t i = mMinPrefix; i < maxOffset; i++) { in hyphenateFromCodes()
/frameworks/native/libs/renderengine/gl/
DGLSkiaShadowPort.cpp616 float maxOffset; in getSpotShadowGeometry() local
619 maxOffset = std::max(std::max(std::abs(spotShadowRect.left - casterRect.left), in getSpotShadowGeometry()
629 maxOffset = sqrt(std::max(dot(upperLeftOffset, lowerRightOffset), in getSpotShadowGeometry()
633 insetWidth += std::max(blurOutset, maxOffset); in getSpotShadowGeometry()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp280 ssize_t maxOffset = plane.maxOffset(mWidth, mHeight); in GraphicView2MediaImageConverter() local
284 if (maxPtr < mView.data()[i] + maxOffset) { in GraphicView2MediaImageConverter()
285 maxPtr = mView.data()[i] + maxOffset; in GraphicView2MediaImageConverter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DSplitDisplayLayout.java201 final int maxOffset = mPrimary.bottom - minTopStackBottom; in adjustForIME() local
209 final int topCorrection = Math.max(0, desiredOffset - maxOffset); in adjustForIME()
/frameworks/base/core/java/android/widget/
DEditor.java1099 final int maxOffset = TextUtils.unpackRangeEndFromLong(lastTouchOffsets); in selectCurrentWord() local
1103 if (maxOffset < 0 || maxOffset > mTextView.getText().length()) return false; in selectCurrentWord()
1109 ((Spanned) mTextView.getText()).getSpans(minOffset, maxOffset, URLSpan.class); in selectCurrentWord()
1118 wordIterator.setCharSequence(mTextView.getText(), minOffset, maxOffset); in selectCurrentWord() local
1121 selectionEnd = wordIterator.getEnd(maxOffset); in selectCurrentWord()
1263 int maxOffset = selectionController.getMaxTouchOffset(); in touchPositionIsInSelection() local
1265 return ((minOffset >= selectionStart) && (maxOffset < selectionEnd)); in touchPositionIsInSelection()
1403 final int maxOffset = selectionController.getMaxTouchOffset(); in getLastTouchOffsets() local
1404 return TextUtils.packRangeInLong(minOffset, maxOffset); in getLastTouchOffsets()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp1955 int maxOffset = maxRowOffset + maxColOffset; in android_media_MediaCodec_mapHardwareBuffer() local
1959 maxOffset + 1, in android_media_MediaCodec_mapHardwareBuffer()
1961 maxOffset + 1, in android_media_MediaCodec_mapHardwareBuffer()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1545 inline constexpr ssize_t maxOffset(uint32_t width, uint32_t height) const { in maxOffset() function