Home
last modified time | relevance | path

Searched refs:fLoc (Results 1 – 24 of 24) sorted by relevance

/external/skqp/tools/
Dsk_pixel_iter.h29 fLoc = { -1, 0 }; in reset()
36 fLoc.fX += 1;
37 if (fLoc.fX >= fPM.width()) {
38 fLoc.fX = 0;
39 if (++fLoc.fY >= fPM.height()) {
45 *loc = fLoc;
47 return fPM.writable_addr(fLoc.fX, fLoc.fY);
56 SkIPoint fLoc; variable
/external/skqp/samplecode/
DSampleXfer.cpp69 ModeDrawable() : fMode(SkBlendMode::kSrcOver), fLoc(SkPoint::Make(0, 0)) {} in ModeDrawable()
72 SkPoint fLoc; member in ModeDrawable
75 SkRect target = SkRect::MakeXYWH(x - fLoc.x() - 1, y - fLoc.y() - 1, 3, 3); in hitTest()
101 canvas->translate(fLoc.x(), fLoc.y()); in onDraw()
132 fDrs[i]->fLoc.set(100.f + i * 100, 100.f + i * 100); in XferDemo()
197 fSelected->fLoc.fX += click->fCurr.fX - click->fPrev.fX; in onClick()
198 fSelected->fLoc.fY += click->fCurr.fY - click->fPrev.fY; in onClick()
/external/skqp/src/gpu/
DGrRectanizer_pow2.cpp44 *loc = row->fLoc; in addRect()
45 row->fLoc.fX += width; in addRect()
47 SkASSERT(row->fLoc.fX <= this->width()); in addRect()
48 SkASSERT(row->fLoc.fY <= this->height()); in addRect()
DGrRectanizer_pow2.h46 SkIPoint16 fLoc; member
52 return fLoc.fX + width <= containerWidth; in canAddWidth()
73 row->fLoc.set(0, fNextStripY); in initRow()
/external/skia/src/gpu/
DGrRectanizerPow2.cpp44 *loc = row->fLoc; in addRect()
45 row->fLoc.fX += width; in addRect()
47 SkASSERT(row->fLoc.fX <= this->width()); in addRect()
48 SkASSERT(row->fLoc.fY <= this->height()); in addRect()
DGrRectanizerPow2.h48 SkIPoint16 fLoc; member
54 return fLoc.fX + width <= containerWidth; in canAddWidth()
75 row->fLoc.set(0, fNextStripY); in initRow()
/external/skia/tools/
DToolUtils.h273 fLoc = {-1, 0}; in reset()
280 fLoc.fX += 1;
281 if (fLoc.fX >= fPM.width()) {
282 fLoc.fX = 0;
283 if (++fLoc.fY >= fPM.height()) {
289 *loc = fLoc;
291 return fPM.writable_addr(fLoc.fX, fLoc.fY);
298 SkIPoint fLoc; variable
/external/icu/libicu/cts_headers/
Dunifiedcache.h138 Locale fLoc;
140 LocaleCacheKey(const Locale &loc) : fLoc(loc) {} in LocaleCacheKey()
142 : CacheKey<T>(other), fLoc(other.fLoc) { } in LocaleCacheKey()
145 return (int32_t)(37u * (uint32_t)CacheKey<T>::hashCode() + (uint32_t)fLoc.hashCode()); in hashCode()
159 return fLoc == fOther->fLoc;
170 const char *s = fLoc.getName(); in writeDescription()
/external/icu/icu4c/source/common/
Dunifiedcache.h138 Locale fLoc;
140 LocaleCacheKey(const Locale &loc) : fLoc(loc) {} in LocaleCacheKey()
142 : CacheKey<T>(other), fLoc(other.fLoc) { } in LocaleCacheKey()
145 return (int32_t)(37u * (uint32_t)CacheKey<T>::hashCode() + (uint32_t)fLoc.hashCode()); in hashCode()
159 return fLoc == fOther->fLoc;
170 const char *s = fLoc.getName(); in writeDescription()
/external/skia/samplecode/
DSampleXfer.cpp67 ModeDrawable() : fMode(SkBlendMode::kSrcOver), fLoc(SkPoint::Make(0, 0)) {} in ModeDrawable()
70 SkPoint fLoc; member in ModeDrawable
73 SkRect target = SkRect::MakeXYWH(x - fLoc.x() - 1, y - fLoc.y() - 1, 3, 3); in hitTest()
99 canvas->translate(fLoc.x(), fLoc.y()); in onDraw()
130 fDrs[i]->fLoc.set(100.f + i * 100, 100.f + i * 100); in XferDemo()
189 fSelected->fLoc.fX += click->fCurr.fX - click->fPrev.fX; in onClick()
190 fSelected->fLoc.fY += click->fCurr.fY - click->fPrev.fY; in onClick()
DSample3D.cpp149 SkV2 fLoc; member
154 return s.computeUnitV3(fLoc) * fDistance; in computeWorldPos()
161 canvas->drawCircle(fLoc.x, fLoc.y, fRadius + 2, paint); in draw()
163 canvas->drawCircle(fLoc.x, fLoc.y, fRadius, paint); in draw()
316 SkV2 p = fLight.fLoc - SkV2{x, y}; in onFindClickHandler()
334 fLight.fLoc = fSphere.pinLoc({click->fCurr.fX, click->fCurr.fY}); in onClick()
/external/icu/icu4c/source/test/intltest/
Dunifiedcachetest.cpp38 if (uprv_strcmp(fLoc.getName(), "zh") == 0) { in createObject()
42 if (uprv_strcmp(fLoc.getLanguage(), fLoc.getName()) != 0) { in createObject()
45 UnifiedCache::getByLocale(fLoc.getLanguage(), item, status); in createObject()
47 cacheContext->get(LocaleCacheKey<UCTItem>(fLoc.getLanguage()), item, status); in createObject()
54 UCTItem *result = new UCTItem(fLoc.getName()); in createObject()
Dtsmthred.cpp1092 if (uprv_strcmp(fLoc.getLanguage(), fLoc.getName()) != 0) { in createObject()
1095 UnifiedCache::getByLocale(fLoc.getLanguage(), result, status); in createObject()
1098 cacheContext->get(LocaleCacheKey<UCTMultiThreadItem>(fLoc.getLanguage()), result, status); in createObject()
1121 new UCTMultiThreadItem(fLoc.getLanguage()); in createObject()
1148 const char *loc2) : fCache(cache), fLoc(loc), fLoc2(loc2) {} in UnifiedCacheThread()
1153 Locale fLoc; member in UnifiedCacheThread
1183 exerciseByLocale(fLoc); in run()
/external/skqp/gm/
Dlcdtext.cpp104 SkPoint fLoc; in onDraw() member
116 const SkPoint loc = rec[i].fLoc; in onDraw()
/external/skia/gm/
Dlcdtext.cpp83 SkPoint fLoc; in onDraw() member
95 const SkPoint loc = rec[i].fLoc; in onDraw()
/external/icu/icu4c/source/i18n/
Ddatefmt.cpp104 DateTimePatternGenerator::createInstance(fLoc, status)); in createObject()
Dmeasfmt.cpp245 const char *localeId = fLoc.getName(); in createObject()
Dnumfmt.cpp1260 const char *localeId = fLoc.getName(); in createObject()
Ddtfmtsym.cpp180 Calendar::getCalendarTypeFromLocale(fLoc, type, UPRV_LENGTHOF(type), status); in createObject()
185 = new SharedDateFormatSymbols(fLoc, type, status); in createObject()
Dreldatefmt.cpp698 const char *localeId = fLoc.getName(); in createObject()
Dplurrule.cpp187 const char *localeId = fLoc.getName(); in createObject()
Dcalendar.cpp213 Calendar *calendar = Calendar::makeInstance(fLoc, status); in createObject()
/external/skia/src/core/
DSkCanvas.cpp205 SkIPoint fLoc; member
1137 SkMatrix::Translate(backImage->fLoc), in internalRestore()
1943 bounds = SkIRect::MakeXYWH(rec->fBackImage->fLoc.fX, rec->fBackImage->fLoc.fY, in onDrawBehind()
/external/skqp/src/core/
DSkCanvas.cpp214 SkIPoint fLoc; member
1177 const int x = backImage->fLoc.x(); in internalRestore()
1178 const int y = backImage->fLoc.y(); in internalRestore()