Home
last modified time | relevance | path

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

123

/external/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 …]
/external/skqp/src/gpu/
DGrTRecorder.h254 Iter(GrTRecorder& recorder) : fBlock(recorder.fHeadBlock), fPosition(0), fItem(nullptr) {} in Iter()
257 while (fPosition >= fBlock->fBack) { in next()
258 SkASSERT(fPosition == fBlock->fBack); in next()
263 fPosition = 0; in next()
266 Header* header = reinterpret_cast<Header*>(&(*fBlock)[fPosition]); in next()
267 fItem = reinterpret_cast<TBase*>(&(*fBlock)[fPosition + length_of<Header>::kValue]); in next()
268 fPosition += header->fTotalLength; in next()
281 int fPosition; variable
303 fPosition = fBlock->fBack - lastHeader->fTotalLength; in ReverseIter()
307 Header* header = reinterpret_cast<Header*>(&(*fBlock)[fPosition]); in previous()
[all …]
/external/skqp/samplecode/
DSamplePathText.cpp86 canvas->translate(glyph.fPosition.x(), glyph.fPosition.y()); in drawGlyphs()
101 SkPoint fPosition; member
126 fPosition = {rand.nextF() * w, rand.nextF() * h}; in reset()
191 glyph->fPosition.fX += v->fDx * dt; in runAnimationTask()
192 if (glyph->fPosition.x() < 0) { in runAnimationTask()
193 glyph->fPosition.fX -= 2 * glyph->fPosition.x(); in runAnimationTask()
195 } else if (glyph->fPosition.x() > w) { in runAnimationTask()
196 glyph->fPosition.fX -= 2 * (glyph->fPosition.x() - w); in runAnimationTask()
200 glyph->fPosition.fY += v->fDy * dt; in runAnimationTask()
201 if (glyph->fPosition.y() < 0) { in runAnimationTask()
[all …]
DSampleFlutterAnimate.cpp59 canvas->translate(fChars[i].fPosition.fX + kMidX, fChars[i].fPosition.fY - kMidY); in onDrawContent()
84 fChars[i].fPosition = SkPoint::Make(fRand.nextF()*748 + 10, fRand.nextF()*1004 + 10); in initChars()
97 SkPoint fPosition; member
DSampleLitAtlas.cpp336 fPosition.set(bounds.fLeft + rand->nextUScalar1() * bounds.width(), in initAsteroid()
353 fPosition.set(bounds.centerX(), bounds.centerY()); in initShip()
365 fPosition += fVelocity; in advance()
366 if (fPosition.fX > bounds.right()) { in advance()
369 } else if (fPosition.fX < bounds.left()) { in advance()
373 if (fPosition.fY > bounds.bottom()) { in advance()
377 } else if (fPosition.fY < bounds.top()) { in advance()
387 const SkPoint& pos() const { return fPosition; } in pos()
403 return SkRSXform::MakeFromRadians(1.0f, fRot, fPosition.x(), fPosition.y(), in asRSXform()
410 SkPoint fPosition; member in DrawLitAtlasDrawable::ObjectRecord
/external/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
/external/skia/modules/skottie/src/layers/shapelayer/
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::__anon190d04db0111::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::__anon77bfd3420111::RectangleGeometryAdapter
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::__anon3a1c276b0111::PolystarGeometryAdapter
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::__anonc988e8c50111::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::__anonc988e8c50111::RepeaterAdapter
/external/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()
/external/skqp/modules/skottie/src/
DSkottieAdapter.cpp42 auto rr = SkRRect::MakeRectXY(SkRect::MakeXYWH(fPosition.x() - fSize.width() / 2, in apply()
43 fPosition.y() - fSize.height() / 2, in apply()
60 t.postTranslate(fPosition.x(), fPosition.y()); in totalMatrix()
96 t.postTranslate(fPosition.fX, fPosition.fY, fPosition.fZ); in totalMatrix()
125 m.postTranslate(t * fPosition.x() + fAnchorPoint.x(), in apply()
126 t * fPosition.y() + fAnchorPoint.y()); in apply()
163 poly.moveTo(pt_on_circle(fPosition, fOuterRadius, angle)); in apply()
168 poly.lineTo(pt_on_circle(fPosition, fInnerRadius, angle + arc * 0.5f)); in apply()
171 poly.lineTo(pt_on_circle(fPosition, fOuterRadius, angle)); in apply()
DSkottieProperty.cpp18 && this->fPosition == other.fPosition in operator ==()
73 fNode->setPosition(t.fPosition); in set()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java179 return fPosition == other.fPosition; in equals()
245 private int fPosition; field in RuleBasedBreakIterator
375 assert(fPosition == start); in first()
376 return fPosition; in first()
393 if (fPosition != endPos) { in last()
394 assert(fPosition == endPos); in last()
434 return fDone ? DONE : fPosition; in next()
445 return fDone ? DONE : fPosition; in previous()
467 return fDone ? DONE : fPosition; in following()
490 return fDone ? DONE : fPosition; in preceding()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java176 return fPosition == other.fPosition; in equals()
240 private int fPosition; field in RuleBasedBreakIterator
368 assert(fPosition == start); in first()
369 return fPosition; in first()
385 if (fPosition != endPos) { in last()
386 assert(fPosition == endPos); in last()
424 return fDone ? DONE : fPosition; in next()
434 return fDone ? DONE : fPosition; in previous()
455 return fDone ? DONE : fPosition; in following()
477 return fDone ? DONE : fPosition; in preceding()
[all …]
/external/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()
/external/icu/icu4c/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 …]
/external/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()
/external/skqp/modules/sksg/include/
DSkSGText.h35 SG_ATTRIBUTE(Position, SkPoint , fPosition)
59 SkPoint fPosition = SkPoint::Make(0, 0); variable
81 SG_ATTRIBUTE(Position, SkPoint , fPosition)
94 SkPoint fPosition = SkPoint::Make(0, 0); variable
/external/skqp/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()
/external/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;
/external/skia/modules/skparagraph/src/
DDecorations.cpp42 SkScalar y = context.clip.top() + fPosition; in paint()
161 fPosition = fFontMetrics.fUnderlinePosition; in calculatePosition()
163 fPosition = fThickness; in calculatePosition()
165 fPosition -= ascent; in calculatePosition()
168 fPosition = 0; in calculatePosition()
171fPosition = (fFontMetrics.fFlags & SkFontMetrics::FontMetricsFlags::kStrikeoutPositionIsValid_Flag) in calculatePosition()
174 fPosition -= ascent; in calculatePosition()

123