Home
last modified time | relevance | path

Searched refs:maxOffset (Results 1 – 8 of 8) 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/av/media/libstagefright/renderfright/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/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.cpp524 ssize_t maxOffset = plane.maxOffset( in GraphicView2MediaImageConverter() local
529 if (maxPtr < mView.data()[i] + maxOffset) { in GraphicView2MediaImageConverter()
530 maxPtr = mView.data()[i] + maxOffset; in GraphicView2MediaImageConverter()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitLayout.java1138 final int maxOffset = (int) (mBounds1.height() * ADJUSTED_SPLIT_FRACTION_MAX);
1139 return -Math.min(desireOffset, maxOffset);
/frameworks/base/core/java/android/widget/
DEditor.java1216 final int maxOffset = TextUtils.unpackRangeEndFromLong(lastTouchOffsets); in selectCurrentWord() local
1220 if (maxOffset < 0 || maxOffset > mTextView.getText().length()) return false; in selectCurrentWord()
1226 ((Spanned) mTextView.getText()).getSpans(minOffset, maxOffset, URLSpan.class); in selectCurrentWord()
1235 wordIterator.setCharSequence(mTextView.getText(), minOffset, maxOffset); in selectCurrentWord() local
1238 selectionEnd = wordIterator.getEnd(maxOffset); in selectCurrentWord()
1380 int maxOffset = selectionController.getMaxTouchOffset(); in touchPositionIsInSelection() local
1382 return ((minOffset >= selectionStart) && (maxOffset < selectionEnd)); in touchPositionIsInSelection()
1520 final int maxOffset = selectionController.getMaxTouchOffset(); in getLastTouchOffsets() local
1521 return TextUtils.packRangeInLong(minOffset, maxOffset); in getLastTouchOffsets()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1682 inline constexpr ssize_t maxOffset(uint32_t width, uint32_t height) const { in maxOffset() function
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp2108 int maxOffset = maxRowOffset + maxColOffset; in android_media_MediaCodec_mapHardwareBuffer() local
2112 maxOffset + 1, in android_media_MediaCodec_mapHardwareBuffer()
2114 maxOffset + 1, in android_media_MediaCodec_mapHardwareBuffer()