Home
last modified time | relevance | path

Searched refs:fDir (Results 1 – 18 of 18) sorted by relevance

/third_party/flutter/skia/gm/
Danimatedimageblurs.cpp87 , fDir { 1.0f, 0.0f }
97 fDir.fX = rand->nextRangeF(-1.0f, 1.0f); in init()
98 fDir.fY = SkScalarSqrt(1.0f - fDir.fX * fDir.fX); in init()
100 fDir.fY = -fDir.fY; in init()
110 fPos.fX += deltaTime * fSpeed * fDir.fX; in update()
111 fPos.fY += deltaTime * fSpeed * fDir.fY; in update()
114 fDir.fX = -fDir.fX; in update()
118 fDir.fY = -fDir.fY; in update()
131 SkVector fDir; member in AnimatedImageBlurs::Node
/third_party/skia/gm/
Danimatedimageblurs.cpp88 , fDir { 1.0f, 0.0f }
98 fDir.fX = rand->nextRangeF(-1.0f, 1.0f); in init()
99 fDir.fY = SkScalarSqrt(1.0f - fDir.fX * fDir.fX); in init()
101 fDir.fY = -fDir.fY; in init()
111 fPos.fX += deltaTime * fSpeed * fDir.fX; in update()
112 fPos.fY += deltaTime * fSpeed * fDir.fY; in update()
115 fDir.fX = -fDir.fX; in update()
119 fDir.fY = -fDir.fY; in update()
132 SkVector fDir; member in AnimatedImageBlurs::Node
/third_party/flutter/skia/src/core/
DSkFontStream.cpp105 SfntHeader() : fCount(0), fDir(nullptr) {} in SfntHeader()
106 ~SfntHeader() { sk_free(fDir); } in ~SfntHeader()
129 fDir = reinterpret_cast<SkSFNTDirEntry*>(sk_malloc_throw(size)); in init()
130 return read(stream, fDir, size); in init()
134 SkSFNTDirEntry* fDir; member
165 tags[i] = SkEndian_SwapBE32(header.fDir[i].fTag); in GetTableTags()
180 if (SkEndian_SwapBE32(header.fDir[i].fTag) == tag) { in GetTableData()
181 size_t realOffset = SkEndian_SwapBE32(header.fDir[i].fOffset); in GetTableData()
182 size_t realLength = SkEndian_SwapBE32(header.fDir[i].fLength); in GetTableData()
DSkDataTable.cpp20 fU.fDir = nullptr; in SkDataTable()
41 fU.fDir = dir; in SkDataTable()
58 return fU.fDir[index].fSize; in atSize()
72 *size = fU.fDir[index].fSize; in at()
74 return fU.fDir[index].fPtr; in at()
DSkColorFilter.cpp178 SkSRGBGammaColorFilter(Direction dir) : fDir(dir), fSteps([&]{ in __anonf44e39110102()
194 switch (fDir) { in asFragmentProcessor()
221 buffer.write32(static_cast<uint32_t>(fDir)); in flatten()
227 const Direction fDir;
/third_party/skia/src/core/
DSkFontStream.cpp105 SfntHeader() : fCount(0), fDir(nullptr) {} in SfntHeader()
106 ~SfntHeader() { sk_free(fDir); } in ~SfntHeader()
129 fDir = reinterpret_cast<SkSFNTDirEntry*>(sk_malloc_throw(size)); in init()
130 return read(stream, fDir, size); in init()
134 SkSFNTDirEntry* fDir; member
165 tags[i] = SkEndian_SwapBE32(header.fDir[i].fTag); in GetTableTags()
180 if (SkEndian_SwapBE32(header.fDir[i].fTag) == tag) { in GetTableData()
181 size_t realOffset = SkEndian_SwapBE32(header.fDir[i].fOffset); in GetTableData()
182 size_t realLength = SkEndian_SwapBE32(header.fDir[i].fLength); in GetTableData()
DSkDataTable.cpp20 fU.fDir = nullptr; in SkDataTable()
41 fU.fDir = dir; in SkDataTable()
58 return fU.fDir[index].fSize; in atSize()
72 *size = fU.fDir[index].fSize; in at()
74 return fU.fDir[index].fPtr; in at()
DSkColorFilter.cpp237 SkSRGBGammaColorFilter(Direction dir) : fDir(dir), fSteps([&]{ in __anon6a510a1c0102()
254 switch (fDir) { in asFragmentProcessor()
292 buffer.write32(static_cast<uint32_t>(fDir)); in flatten()
296 const Direction fDir; member in SkSRGBGammaColorFilter
/third_party/flutter/skia/src/gpu/geometry/
DGrShape.h60 &fRRectData.fDir); in GrShape()
71 fRRectData.fDir = dir; in GrShape()
79 fRRectData.fStart = DefaultRRectDirAndStartIndex(rrect, false, &fRRectData.fDir); in GrShape()
89 &fRRectData.fDir); in GrShape()
103 &fRRectData.fDir); in GrShape()
112 &fRRectData.fDir); in GrShape()
171 *dir = fRRectData.fDir; in asRRect()
212 out->addRRect(fRRectData.fRRect, fRRectData.fDir, fRRectData.fStart); in asPath()
579 SkPath::Direction fDir; member
DGrShape.cpp86 result.fRRectData.fDir = kDefaultRRectDir; in MakeFilled()
276 *key = (fRRectData.fDir == SkPath::kCCW_Direction) ? (1 << 31) : 0; in writeUnstyledKey()
526 fRRectData.fDir = rrectDir; in attemptToSimplifyPath()
533 fRRectData.fDir = rrectDir; in attemptToSimplifyPath()
544 fRRectData.fDir = rrectDir; in attemptToSimplifyPath()
554 fRRectData.fDir = kDefaultRRectDir; in attemptToSimplifyPath()
623 fRRectData.fDir = kDefaultRRectDir; in attemptToSimplifyRRect()
700 this->fRRectData.fDir = kDefaultRRectDir; in attemptToSimplifyArc()
761 fRRectData.fDir = kDefaultRRectDir; in attemptToSimplifyStrokedLineToRRect()
/third_party/flutter/skia/tools/viewer/
DSlideDir.cpp115 : fDir(dir) in FocusController()
133 fDir->fRoot->removeChild(fTarget->fSlideRoot); in startFocus()
134 fDir->fRoot->addChild(fShade); in startFocus()
135 fDir->fRoot->addChild(fTarget->fSlideRoot); in startFocus()
171 SkRect::MakeSize(fDir->fWinSize), in onMouse()
216 fDir->fRoot->removeChild(fShade); in onTick()
236 const SlideDir* fDir; member in SlideDir::FocusController
/third_party/skia/tools/viewer/
DSlideDir.cpp127 : fDir(dir) in FocusController()
145 fDir->fRoot->removeChild(fTarget->fSlideRoot); in startFocus()
146 fDir->fRoot->addChild(fShade); in startFocus()
147 fDir->fRoot->addChild(fTarget->fSlideRoot); in startFocus()
182 const auto xform = SkMatrix::RectToRect(fRect, SkRect::MakeSize(fDir->fWinSize), in onMouse()
227 fDir->fRoot->removeChild(fShade); in onTick()
247 const SlideDir* fDir; member in SlideDir::FocusController
/third_party/flutter/skia/modules/skottie/utils/
DSkottieUtils.cpp86 FileResourceProvider::FileResourceProvider(SkString base_dir) : fDir(std::move(base_dir)) {} in FileResourceProvider()
90 const auto full_dir = SkOSPath::Join(fDir.c_str() , resource_path), in load()
DSkottieUtils.h64 const SkString fDir; variable
/third_party/skia/include/core/
DSkDataTable.h100 const Dir* fDir; member
/third_party/flutter/skia/include/core/
DSkDataTable.h101 const Dir* fDir; member
/third_party/skia/modules/skresources/src/
DSkResources.cpp183 : fDir(std::move(base_dir)) in FileResourceProvider()
188 const auto full_dir = SkOSPath::Join(fDir.c_str() , resource_path), in load()
/third_party/skia/modules/skresources/include/
DSkResources.h198 const SkString fDir; variable