Home
last modified time | relevance | path

Searched refs:mRange (Results 1 – 25 of 28) 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()
84 mRange = range; in setNextContext()
92 mOutPieces->insert(mRange, mEdit, layoutPiece, mDir, paint); in operator ()()
100 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.java507 private Object mRange = new Object(); field in SpellChecker.SpellParser
525 return ((Editable) mTextView.getText()).getSpanStart(mRange) < 0; in isFinished()
536 editable.setSpan(mRange, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in setRangeSpan()
544 editable.removeSpan(mRange); in removeRangeSpan()
555 0, editable.getSpanStart(mRange) - MIN_SENTENCE_LENGTH); in parse()
557 start = editable.getSpanStart(mRange); in parse()
560 final int end = editable.getSpanEnd(mRange); in parse()
/frameworks/minikin/include/minikin/
DMeasuredText.h35 Run(const Range& range) : mRange(range) {} in Run()
78 inline const Range& getRange() const { return mRange; } in getRange()
81 const Range mRange;
129 (*advances)[mRange.getStart()] = mWidth; in getMetrics()
/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.cpp2169 params.sAspects.mRange, asString(params.sAspects.mRange), in handleDataSpaceChanged()
2195 aspects.mRange, asString(aspects.mRange), in handleDataSpaceChanged()
/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.h53 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/
DUtils.cpp91 colorAspects.mRange = (ColorAspects::Range)range; in convertMetaDataToMessageColorAspects()
1267 if (aspects.mRange == ColorAspects::RangeUnspecified) { in convertMetaDataToMessage()
1271 aspects.mRange = static_cast<ColorAspects::Range>(range); in convertMetaDataToMessage()
1585 if (colorAspects.mRange != 0) { in convertMessageToMetaDataColorAspects()
1586 meta->setInt32(kKeyColorRange, colorAspects.mRange); in convertMessageToMetaDataColorAspects()
DACodec.cpp3521 params.sAspects.mRange, asString(params.sAspects.mRange), in setCodecColorAspects()
3566 params.sAspects.mRange, asString(params.sAspects.mRange), in getCodecColorAspects()
3617 params.sAspects.mRange, asString(params.sAspects.mRange), in getDataSpace()
5550 aspects.mRange, asString(aspects.mRange), in onDataSpaceChanged()
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp1371 colorAspects.mRange, asString(colorAspects.mRange), in setColorAspects()
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp65 && (mRange == ColorUtils::kColorRangeFull); in isJpeg()
122 mSrcColorSpace.mRange = range; in setSrcColorSpace()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp922 if (!sColorRangesSf.map(range, &aspects.mRange)) { in map()
923 aspects.mRange = ColorAspects::RangeUnspecified; in map()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h368 static_cast<ColorAspects::Range>(l.mRange), in toHardwareColorAspects()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h510 static_cast<ColorAspects::Range>(l.mRange), in toHardwareColorAspects()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp1215 || aspects.mRange != origAspects.mRange in getSdkFormatForDomain()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp601 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp604 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams()

12