Searched refs:fCurr (Results 1 – 16 of 16) sorted by relevance
/external/skia/src/core/ |
D | SkReader32.h | 23 SkReader32() : fCurr(NULL), fStop(NULL), fBase(NULL) {} in SkReader32() 32 fBase = fCurr = (const char*)data; in setMemory() 37 size_t offset() const { return fCurr - fBase; } in offset() 38 bool eof() const { return fCurr >= fStop; } in eof() 40 const void* peek() const { return fCurr; } in peek() 42 size_t available() const { return fStop - fCurr; } in available() 45 void rewind() { fCurr = fBase; } in rewind() 50 fCurr = fBase + offset; in setOffset() 56 SkASSERT(ptr_align_4(fCurr)); in readInt() 57 int32_t value = *(const int32_t*)fCurr; in readInt() [all …]
|
D | SkStream.cpp | 495 char* fCurr; member 500 size_t avail() const { return fStop - fCurr; } in avail() 501 size_t written() const { return fCurr - this->start(); } in written() 506 fCurr = this->start(); in init() 512 SkASSERT((size_t)(fStop - fCurr) >= size); in append() 513 memcpy(fCurr, data, size); in append() 514 fCurr += size; in append()
|
/external/skia/src/xml/ |
D | SkXMLPullParser.cpp | 21 fCurr.fEventType = ERROR; in SkXMLPullParser() 27 fCurr.fEventType = ERROR; in SkXMLPullParser() 47 fCurr.fEventType = START_DOCUMENT; in setStream() 52 fCurr.fEventType = ERROR; in setStream() 61 switch (fCurr.fEventType) { in nextToken() 69 reset(&fCurr); in nextToken() 70 fCurr.fEventType = this->onNextToken(); in nextToken() 74 switch (fCurr.fEventType) { in nextToken() 82 return fCurr.fEventType; in nextToken() 87 switch (fCurr.fEventType) { in getName() [all …]
|
/external/skia/include/core/ |
D | SkTInternalLList.h | 184 Iter() : fCurr(NULL) {} in Iter() 185 Iter(const Iter& iter) : fCurr(iter.fCurr) {} in Iter() 186 Iter& operator= (const Iter& iter) { fCurr = iter.fCurr; return *this; } 190 fCurr = list.fHead; in init() 193 fCurr = list.fTail; in init() 196 return fCurr; in init() 199 T* get() { return fCurr; } in get() 205 if (NULL == fCurr) { in next() 209 fCurr = fCurr->fNext; in next() 210 return fCurr; in next() [all …]
|
/external/skia/src/views/ |
D | SkView.cpp | 416 click->fPrev = click->fCurr = click->fOrig; in DoClickDown() 435 click->fPrev = click->fCurr; in DoClickMoved() 436 click->fCurr.iset(x, y); in DoClickMoved() 437 if (!target->globalToLocal(&click->fCurr)) { in DoClickMoved() 439 click->fCurr = click->fPrev; in DoClickMoved() 459 click->fPrev = click->fCurr; in DoClickUp() 460 click->fCurr.iset(x, y); in DoClickUp() 461 if (!target->globalToLocal(&click->fCurr)) { in DoClickUp() 463 click->fCurr = click->fPrev; in DoClickUp()
|
D | SkWidgets.cpp | 326 if (r.contains(click->fCurr))
|
/external/skia/samplecode/ |
D | SamplePathClip.cpp | 78 fCenter.set(click->fCurr.fX, click->fCurr.fY); in onClick()
|
D | SampleDraw.cpp | 342 if (SkPoint::Distance(click->fOrig, click->fCurr) > SkIntToScalar(3)) { in onClick() 359 this->setDraw(fFactory->create(click->fOrig, click->fCurr))->unref(); in onClick() 363 (*iter)->offset(click->fCurr.x() - click->fPrev.x(), in onClick() 364 click->fCurr.y() - click->fPrev.y()); in onClick()
|
D | SampleLua.cpp | 170 fLua->pushScalar(click->fCurr.x()); in onClick() 171 fLua->pushScalar(click->fCurr.y()); in onClick()
|
D | SampleFatBits.cpp | 495 fPts[index] = click->fCurr; in onClick() 497 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick() 498 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
|
D | SamplePatch.cpp | 350 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX - DX, click->fCurr.fY - DY); in onClick()
|
D | SamplePath.cpp | 323 fPts[index] = click->fCurr; in onClick()
|
/external/skia/include/xml/ |
D | SkXMLParser.h | 113 EventType getEventType() const { return fCurr.fEventType; } 147 Curr fCurr;
|
/external/skia/experimental/DrawingBoard/ |
D | SampleDrawingClient.cpp | 148 fCurrLine.moveTo(click->fCurr); in onClick() 154 fCurrLine.lineTo(click->fCurr); in onClick()
|
D | SkColorPalette.cpp | 80 SkPoint curr = click->fCurr; in onClick()
|
/external/skia/include/views/ |
D | SkView.h | 155 SkPoint fOrig, fPrev, fCurr; variable
|