Home
last modified time | relevance | path

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

/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/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 __anon0ddfc89d0102()
254 switch (fDir) { in asFragmentProcessor()
292 buffer.write32(static_cast<uint32_t>(fDir)); in flatten()
296 const Direction fDir; member in SkSRGBGammaColorFilter
/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/skia/include/core/
DSkDataTable.h100 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