Home
last modified time | relevance | path

Searched refs:mRange (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/minikin/libs/minikin/
DLayoutSplitter.h58 : mTextBuf(textBuf), mRange(range), mIsRtl(isRtl) {} in LayoutSplitter()
72 const Range& range = mParent->mRange;
94 const Range& range = mParent->mRange; in iterator()
115 iterator begin() const { return iterator(this, mIsRtl ? mRange.getEnd() : mRange.getStart()); } in begin()
116 iterator end() const { return iterator(this, mIsRtl ? mRange.getStart() : mRange.getEnd()); } in end()
120 Range mRange; // The range in the original buffer. Used for range check. variable
DBidiUtils.cpp56 return {mRange, mIsRtl}; in getRunInfoAt()
66 const uint32_t runStart = std::max(static_cast<uint32_t>(startRun), mRange.getStart()); in getRunInfoAt()
67 const uint32_t runEnd = std::min(static_cast<uint32_t>(startRun + lengthRun), mRange.getEnd()); in getRunInfoAt()
76 : mRange(range), mIsRtl(isRtl(bidiFlags)), mRunCount(1 /* by default, single run */) { in BidiText()
DMeasuredText.cpp36 mRange = range; in setNextRange()
42 std::copy(advances.begin(), advances.end(), mOutAdvances->begin() + mRange.getStart()); in operator ()()
45 mOutPieces->insert(mRange, 0 /* no edit */, layoutPiece, mDir, paint); in operator ()()
50 Range mRange; member in minikin::AdvancesCompositor
62 for (const BidiText::RunInfo info : BidiText(textBuf, mRange, bidiFlag)) { in getMetrics()
115 mRange = range; in setNextContext()
123 mOutPieces->insert(mRange, mEdit, layoutPiece, mDir, paint); in operator ()()
131 Range mRange; member in minikin::TotalAdvanceCompositor
DBidiUtils.h81 const Range mRange; // The range in the original buffer. Used for range check. variable
/frameworks/av/media/libstagefright/foundation/tests/colorutils/
DColorUtilsTest.cpp41 ColorRangeTest() { mRange = GetParam(); }; in ColorRangeTest()
43 CA::Range mRange; member in ColorRangeTest
99 mRange = std::get<3>(GetParam()); in ColorAspectsTest()
106 CA::Range mRange; member in ColorAspectsTest
138 mRange = std::get<0>(GetParam()); in DataSpaceTest()
146 CA::Range mRange; member in DataSpaceTest
155 int32_t range = ColorUtils::wrapColorAspectsIntoColorRange(mRange); in TEST_P()
159 EXPECT_EQ(unwrappedRange, mRange) << "Returned ColorRange doesn't match"; in TEST_P()
160 ALOGV("toString test: Range: %s", asString(mRange, "default")); in TEST_P()
185 aspects.mRange = mRange; in TEST_P()
[all …]
/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp233 status_t res1 = unwrapColorAspectsFromColorRange(range, &aspects.mRange); in convertPlatformColorAspectsToCodecAspects()
243 *range = wrapColorAspectsIntoColorRange(aspects.mRange); in convertCodecColorAspectsToPlatformAspects()
246 if (isValid(aspects.mRange) && isValid(aspects.mPrimaries) in convertCodecColorAspectsToPlatformAspects()
327 *fullRange = aspects.mRange == ColorAspects::RangeFull; in convertCodecColorAspectsToIsoAspects()
343 aspects.mRange = fullRange ? ColorAspects::RangeFull : ColorAspects::RangeLimited; in convertIsoColorAspectsToCodecAspects()
357 aspects.mRange = (ColorAspects::Range)((packed >> 24) & 0xFF); in unpackToColorAspects()
367 return (aspects.mRange << 24) | (aspects.mPrimaries << 16) in packToU32()
394 if (aspects.mRange == ColorAspects::RangeUnspecified) { in setDefaultCodecColorAspectsIfNeeded()
395 aspects.mRange = ColorAspects::RangeLimited; in setDefaultCodecColorAspectsIfNeeded()
532 if (aspects.mRange && aspects.mRange != orig.mRange) { in checkIfAspectsChangedAndUnspecifyThem()
[all …]
/frameworks/base/core/java/android/widget/
DScrollBarDrawable.java46 private int mRange; field in ScrollBarDrawable
118 if (mRange != range || mOffset != offset || mExtent != extent) { in setParameters()
119 mRange = range; in setParameters()
131 final int range = mRange; in draw()
430 return "ScrollBarDrawable: range=" + mRange + " offset=" + mOffset + in toString()
DSpellChecker.java649 private Object mRange = new Object(); field in SpellChecker.SpellParser
671 return ((Editable) mTextView.getText()).getSpanStart(mRange) < 0; in isFinished()
683 editable.setSpan(mRange, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in setRangeSpan()
691 editable.removeSpan(mRange); in removeRangeSpan()
696 final int textChangeStart = editable.getSpanStart(mRange); in parse()
697 final int textChangeEnd = editable.getSpanEnd(mRange); in parse()
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp264 colorAspects.mRange, asString(colorAspects.mRange), in dumpColorAspects()
272 if (a.mRange != b.mRange in colorAspectsDiffer()
285 newAspects.mRange = preferredAspects.mRange != ColorAspects::RangeUnspecified ? in updateFinalColorAspects()
286 preferredAspects.mRange : otherAspects.mRange; in updateFinalColorAspects()
DOMXNodeInstance.cpp2258 params.sAspects.mRange, asString(params.sAspects.mRange), in handleDataSpaceChanged()
2284 aspects.mRange, asString(aspects.mRange), in handleDataSpaceChanged()
/frameworks/minikin/include/minikin/
DMeasuredText.h36 Run(const Range& range) : mRange(range) {} in Run()
87 inline const Range& getRange() const { return mRange; } in getRange()
90 const Range mRange;
154 (*advances)[mRange.getStart()] = mWidth; in getMetrics()
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp65 && (mRange == ColorUtils::kColorRangeLimited); in isH420()
72 && (mRange == ColorUtils::kColorRangeLimited); in isI420()
78 && (mRange == ColorUtils::kColorRangeFull); in isJ420()
274 mSrcColorSpace.mRange = range; in setSrcColorSpace()
446 const bool isFullRange = mSrcColorSpace.mRange == ColorUtils::kColorRangeFull; in getMatrix()
491 signed _c16 = mSrcColorSpace.mRange == ColorUtils::kColorRangeLimited ? 16 : 0; in convertCbYCrY()
794 signed _c16 = mSrcColorSpace.mRange == ColorUtils::kColorRangeLimited ? 16 : 0; in convertYUV420Planar()
879 signed _c16 = mSrcColorSpace.mRange == ColorUtils::kColorRangeLimited ? 64 : 0; in convertYUVP010ToRGBA1010102()
1167 signed _c16 = mSrcColorSpace.mRange == ColorUtils::kColorRangeLimited ? 16 : 0; in convertYUV420SemiPlanarBase()
/frameworks/minikin/tests/unittest/
DLineBreakerTestHelper.h60 std::fill(advances->begin() + mRange.getStart(), advances->begin() + mRange.getEnd(), in getMetrics()
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h55 uint32_t mRange; member
/frameworks/native/headers/media_plugin/media/hardware/
DVideoAPI.h179 Range mRange; // IN/OUT member
/frameworks/av/media/libstagefright/webm/
DWebmElement.cpp386 aspects.mRange = ColorAspects::RangeUnspecified; in VideoTrackEntry()
390 bool haveRange = meta->findInt32(kKeyColorRange, (int32_t*)&aspects.mRange); in VideoTrackEntry()
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp1398 colorAspects.mRange, asString(colorAspects.mRange), in setColorAspects()
/frameworks/av/media/libstagefright/
DUtils.cpp106 colorAspects.mRange = (ColorAspects::Range)range; in convertMetaDataToMessageColorAspects()
1391 if (aspects.mRange == ColorAspects::RangeUnspecified) { in convertMetaDataToMessage()
1395 aspects.mRange = static_cast<ColorAspects::Range>(range); in convertMetaDataToMessage()
1726 if (colorAspects.mRange != 0) { in convertMessageToMetaDataColorAspects()
1727 meta->setInt32(kKeyColorRange, colorAspects.mRange); in convertMessageToMetaDataColorAspects()
DACodec.cpp3693 params.sAspects.mRange, asString(params.sAspects.mRange), in setCodecColorAspects()
3738 params.sAspects.mRange, asString(params.sAspects.mRange), in getCodecColorAspects()
3789 params.sAspects.mRange, asString(params.sAspects.mRange), in getDataSpace()
5777 aspects.mRange, asString(aspects.mRange), in onDataSpaceChanged()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h367 static_cast<ColorAspects::Range>(l.mRange), in toHardwareColorAspects()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp1039 if (!sColorRangesSf.map(range, &aspects.mRange)) { in map()
1040 aspects.mRange = ColorAspects::RangeUnspecified; in map()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp680 if (!C2Mapper::map(mColorAspects->range, &sfAspects.mRange)) { in initEncParams()
681 sfAspects.mRange = android::ColorAspects::RangeUnspecified; in initEncParams()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h509 static_cast<ColorAspects::Range>(l.mRange), in toHardwareColorAspects()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp1097 if (!C2Mapper::map(mColorAspects->range, &sfAspects.mRange)) { in setVuiParams()
1098 sfAspects.mRange = android::ColorAspects::RangeUnspecified; in setVuiParams()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp1675 if (colorAspects.mRange == ColorAspects::RangeUnspecified) { in setupInputSurface()
1676 colorAspects.mRange = inputColorAspects.mRange; in setupInputSurface()

12