Home
last modified time | relevance | path

Searched refs:fPosition (Results 1 – 25 of 63) sorted by relevance

123

/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_stream.h67 uint64 fPosition; variable
189 return fPosition; in Position()
266 if (fPosition >= fBufferStart && fPosition < fBufferEnd) in Get_uint8()
269 return fBuffer [fPosition++ - fBufferStart]; in Get_uint8()
290 fPosition >= fBufferStart && in Put_uint8()
291 fPosition <= fBufferEnd && in Put_uint8()
292 fPosition < fBufferLimit) in Put_uint8()
295 fBuffer [fPosition - fBufferStart] = x; in Put_uint8()
297 fPosition++; in Put_uint8()
299 if (fBufferEnd < fPosition) in Put_uint8()
[all …]
Ddng_stream.cpp36 , fPosition (0) in dng_stream()
60 , fPosition (0) in dng_stream()
193 fPosition = offset; in SetReadPosition()
195 if (fPosition > Length ()) in SetReadPosition()
235 if (fPosition >= fBufferStart && fPosition + count <= fBufferEnd) in Get()
238 DoCopyBytes (fBuffer + (uint32) (fPosition - fBufferStart), in Get()
242 fPosition += count; in Get()
250 if (fPosition >= fBufferStart && fPosition < fBufferEnd) in Get()
253 uint32 block = (uint32) (fBufferEnd - fPosition); in Get()
255 DoCopyBytes (fBuffer + (fPosition - fBufferStart), in Get()
[all …]
/third_party/skia/samplecode/
DSamplePathText.cpp86 SkPoint fPosition; member
101 canvas->translate(glyph.fPosition.x(), glyph.fPosition.y()); in draw()
135 fPosition = {rand.nextF() * w, rand.nextF() * h}; in reset()
198 glyph->fPosition.fX += v->fDx * dt; in runAnimationTask()
199 if (glyph->fPosition.x() < 0) { in runAnimationTask()
200 glyph->fPosition.fX -= 2 * glyph->fPosition.x(); in runAnimationTask()
202 } else if (glyph->fPosition.x() > w) { in runAnimationTask()
203 glyph->fPosition.fX -= 2 * (glyph->fPosition.x() - w); in runAnimationTask()
207 glyph->fPosition.fY += v->fDy * dt; in runAnimationTask()
208 if (glyph->fPosition.y() < 0) { in runAnimationTask()
[all …]
DSampleFlutterAnimate.cpp46 canvas->translate(fChars[i].fPosition.fX + kMidX, fChars[i].fPosition.fY - kMidY); in onDrawContent()
71 fChars[i].fPosition = SkPoint::Make(fRand.nextF()*748 + 10, fRand.nextF()*1004 + 10); in initChars()
84 SkPoint fPosition; member
/third_party/skia/modules/skottie/src/
DTransform.cpp33 this->bindAutoOrientable(abuilder, jposition, &fPosition, auto_orient ? &fOrientation in TransformAdapter2D()
59 return SkMatrix::Translate(fPosition.x, fPosition.y) in totalMatrix()
76 return { fPosition.x, fPosition.y }; in getPosition()
80 fPosition = { p.x(), p.y() }; in setPosition()
147 this->bind(abuilder, jtransform["p"], fPosition); in TransformAdapter3D()
169 return fPosition; in position()
/third_party/skia/tests/graphite/
DCommandBufferTest.cpp111 SkPoint fPosition; in DEF_GRAPHITE_TEST_FOR_CONTEXTS() member
118 vertices[0].fPosition = SkPoint({0.25f, 0.25f}); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
119 vertices[1].fPosition = SkPoint({0.25f, 0.75f}); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
120 vertices[2].fPosition = SkPoint({0.75f, 0.25f}); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
121 vertices[3].fPosition = SkPoint({0.75f, 0.75f}); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
152 SkPoint fPosition; in DEF_GRAPHITE_TEST_FOR_CONTEXTS() member
159 instances[0].fPosition = SkPoint({-0.4, -0.4}); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
162 instances[1].fPosition = SkPoint({0, 0}); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DRuleBasedBreakIterator.java173 return fPosition == other.fPosition; in equals()
237 private int fPosition; field in RuleBasedBreakIterator
360 assert(fPosition == start); in first()
361 return fPosition; in first()
377 if (fPosition != endPos) { in last()
378 assert(fPosition == endPos); in last()
416 return fDone ? DONE : fPosition; in next()
426 return fDone ? DONE : fPosition; in previous()
447 return fDone ? DONE : fPosition; in following()
469 return fDone ? DONE : fPosition; in preceding()
[all …]
/third_party/skia/modules/skottie/src/layers/shapelayer/
DRepeater.cpp34 SG_ATTRIBUTE(Position , SkV2 , fPosition )
47 return SkMatrix::Translate(t * fPosition.x + fAnchorPoint.x, in instanceTransform()
48 t * fPosition.y + fAnchorPoint.y) in instanceTransform()
108 fPosition = {0,0}, member in skottie::internal::__anon6ab7a39c0111::RepeaterRenderNode
129 this->bind(abuilder, jtransform["p" ], fPosition); in RepeaterAdapter()
142 this->node()->setPosition(fPosition); in onSync()
155 fPosition = { 0, 0 }, member in skottie::internal::__anon6ab7a39c0111::RepeaterAdapter
DPolystar.cpp33 this->bind(*abuilder, jstar["p" ], fPosition ); in PolystarGeometryAdapter()
57 poly.moveTo(pt_on_circle(fPosition, fOuterRadius, angle)); in onSync()
62 poly.lineTo(pt_on_circle(fPosition, fInnerRadius, angle + arc * 0.5f)); in onSync()
65 poly.lineTo(pt_on_circle(fPosition, fOuterRadius, angle)); in onSync()
74 Vec2Value fPosition = {0,0}; member in skottie::internal::__anondb4ae2420111::PolystarGeometryAdapter
DEllipse.cpp31 this->bind(*abuilder, jellipse["p"], fPosition); in EllipseGeometryAdapter()
36 const auto bounds = SkRect::MakeXYWH(fPosition.x - fSize.x / 2, in onSync()
37 fPosition.y - fSize.y / 2, in onSync()
44 fPosition = {0,0}; // center member in skottie::internal::__anonb15440d20111::EllipseGeometryAdapter
DRectangle.cpp31 this->bind(*abuilder, jrect["p"], fPosition ); in RectangleGeometryAdapter()
37 const auto bounds = SkRect::MakeXYWH(fPosition.x - fSize.x / 2, in onSync()
38 fPosition.y - fSize.y / 2, in onSync()
45 fPosition = {0,0}; // center member in skottie::internal::__anon3ec5e8f90111::RectangleGeometryAdapter
DGradient.cpp152 const auto c_pos = std::max(cs.t, current_stop.fPosition), in onSync()
153 o_pos = std::max(os.t, current_stop.fPosition), in onSync()
154 c_pos_rel = c_pos - current_stop.fPosition, in onSync()
155 o_pos_rel = o_pos - current_stop.fPosition, in onSync()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java215 return fPosition == other.fPosition; in equals()
281 private int fPosition; field in RuleBasedBreakIterator
416 assert(fPosition == start); in first()
417 return fPosition; in first()
434 if (fPosition != endPos) { in last()
435 assert(fPosition == endPos); in last()
475 return fDone ? DONE : fPosition; in next()
486 return fDone ? DONE : fPosition; in previous()
508 return fDone ? DONE : fPosition; in following()
531 return fDone ? DONE : fPosition; in preceding()
[all …]
/third_party/icu/icu4c/source/common/
Drbbi.cpp304 fPosition = that.fPosition; in operator =()
312 fBreakCache->reset(fPosition, fRuleStatusIndex); in operator =()
329 fPosition = 0; in init()
408 if (!(fPosition == that2.fPosition && in operator ==()
577 U_ASSERT(fPosition == 0); in first()
590 U_ASSERT(fPosition == endPos); in last()
625 return fDone ? UBRK_DONE : fPosition; in next()
639 return fDone ? UBRK_DONE : fPosition; in previous()
662 return fDone ? UBRK_DONE : fPosition; in following()
684 return fDone ? UBRK_DONE : fPosition; in preceding()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Drbbi.cpp291 fPosition = that.fPosition; in operator =()
299 fBreakCache->reset(fPosition, fRuleStatusIndex); in operator =()
316 fPosition = 0; in init()
394 if (!(fPosition == that2.fPosition && in operator ==()
563 U_ASSERT(fPosition == 0); in first()
576 U_ASSERT(fPosition == endPos); in last()
611 return fDone ? UBRK_DONE : fPosition; in next()
625 return fDone ? UBRK_DONE : fPosition; in previous()
648 return fDone ? UBRK_DONE : fPosition; in following()
670 return fDone ? UBRK_DONE : fPosition; in preceding()
[all …]
Drbbi_cache.cpp228 fBI->fPosition = fTextIdx; in current()
277 fBI->fPosition = fTextIdx; in nextOL()
297 fBI->fPosition = fTextIdx; in previous()
365 fBI->fPosition = backupPos; in populateNear()
436 fBI->fPosition = fromPosition; in populateFollowing()
514 fBI->fPosition = backupPosition; in populatePreceding()
537 int32_t prevPosition = fBI->fPosition = position; in populatePreceding()
/third_party/skia/modules/sksg/src/
DSkSGText.cpp29 auto aligned = fPosition; in alignedPosition()
99 return fBlob ? fBlob->bounds().makeOffset(fPosition.x(), fPosition.y()) in onRevalidate()
104 canvas->drawTextBlob(fBlob, fPosition.x(), fPosition.y(), paint); in onDraw()
/third_party/skia/modules/skparagraph/src/
DDecorations.cpp48 SkScalar y = context.clip.top() + fPosition; in paint()
191 fPosition = fFontMetrics.fUnderlinePosition; in calculateThickness()
193 fPosition = fThickness; in calculateThickness()
195 fPosition -= ascent; in calculateThickness()
198fPosition = (textDecorationStyle == TextDecorationStyle::kWavy ? fThickness : fThickness / 2.0f) -… in calculateThickness()
202fPosition = (fFontMetrics.fFlags & SkFontMetrics::FontMetricsFlags::kStrikeoutPositionIsValid_Flag) in calculateThickness()
204fPosition = (fFontMetrics.fFlags & RSFontMetrics::FontMetricsFlags::STRIKEOUT_POSITION_IS_VALID_FL… in calculateThickness()
208 fPosition -= ascent; in calculateThickness()
/third_party/node/deps/icu-small/source/common/
Drbbi.cpp326 fPosition = that.fPosition; in operator =()
334 fBreakCache->reset(fPosition, fRuleStatusIndex); in operator =()
378 if (!(fPosition == that2.fPosition && in operator ==()
547 U_ASSERT(fPosition == 0); in first()
560 U_ASSERT(fPosition == endPos); in last()
595 return fDone ? UBRK_DONE : fPosition; in next()
609 return fDone ? UBRK_DONE : fPosition; in previous()
632 return fDone ? UBRK_DONE : fPosition; in following()
654 return fDone ? UBRK_DONE : fPosition; in preceding()
704 return fPosition; in current()
[all …]
/third_party/skia/src/codec/
DSkStreamBuffer.cpp12 , fPosition(0) in SkStreamBuffer()
61 SkASSERT(nullptr == fMarkedData.find(fPosition)); in markPosition()
62 fMarkedData.set(fPosition, data.release()); in markPosition()
64 return fPosition; in markPosition()
/third_party/skia/modules/sksg/include/
DSkSGText.h35 SG_ATTRIBUTE(Position, SkPoint , fPosition)
60 SkPoint fPosition = SkPoint::Make(0, 0); variable
82 SG_ATTRIBUTE(Position, SkPoint , fPosition)
96 SkPoint fPosition = SkPoint::Make(0, 0); variable
DSkSGGradient.h28 SkScalar fPosition; member
32 return fPosition == other.fPosition && fColor == other.fColor;
/third_party/skia/src/gpu/ops/
DQuadPerEdgeAA.cpp684 gp.fPosition.name()); in makeProgramImpl()
687 gp.fPosition.name()); in makeProgramImpl()
695 gpArgs->fPositionVar = gp.fPosition.asShaderVar(); in makeProgramImpl()
774 coverage.vsOut(), gp.fPosition.name(), in makeProgramImpl()
775 gp.fPosition.name()); in makeProgramImpl()
864 fPosition = {"positionWithCoverage", kFloat4_GrVertexAttribType, kFloat4_GrSLType}; in initializeAttrs()
866 fPosition = {"position", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in initializeAttrs()
871 fPosition = {"position", kFloat3_GrVertexAttribType, kFloat3_GrSLType}; in initializeAttrs()
873 fPosition = {"position", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in initializeAttrs()
898 this->setVertexAttributes(&fPosition, 6); in initializeAttrs()
[all …]
/third_party/skia/src/utils/
DSkPolyUtils.cpp520 return left(qv0.fPosition, qv1.fPosition); in Left()
524 SkPoint fPosition; member
1087 newVertex.fPosition = polygon[i]; in SkIsSimplePolygon()
1109 if (!sweepLine.insert(v.fPosition, polygon[v.fPrevIndex], v.fIndex, v.fPrevIndex)) { in SkIsSimplePolygon()
1112 if (!sweepLine.insert(v.fPosition, polygon[v.fNextIndex], v.fIndex, v.fNextIndex)) { in SkIsSimplePolygon()
1117 if (!sweepLine.remove(polygon[v.fPrevIndex], v.fPosition, v.fPrevIndex, v.fIndex)) { in SkIsSimplePolygon()
1120 if (!sweepLine.remove(polygon[v.fNextIndex], v.fPosition, v.fNextIndex, v.fIndex)) { in SkIsSimplePolygon()
1126 if (!sweepLine.replace(polygon[v.fPrevIndex], v.fPosition, polygon[v.fNextIndex], in SkIsSimplePolygon()
1132 if (!sweepLine.replace(polygon[v.fNextIndex], v.fPosition, polygon[v.fPrevIndex], in SkIsSimplePolygon()
1447 SkPoint fPosition; member
[all …]
/third_party/skia/modules/particles/include/
DSkParticleEffect.h157 SkPoint getPosition() const { return fState.fPosition; } in getPosition()
167 void setPosition(SkPoint p) { fState.fPosition = p; } in setPosition()
217 SkPoint fPosition; member

123