Home
last modified time | relevance | path

Searched refs:fState (Results 1 – 25 of 72) sorted by relevance

123

/external/skia/tests/
DPathOpsThreadedCommon.h55 fState.fA = a; in PathOpsThreadedRunnable()
56 fState.fB = b; in PathOpsThreadedRunnable()
57 fState.fC = c; in PathOpsThreadedRunnable()
58 fState.fD = d; in PathOpsThreadedRunnable()
59 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
65 SkASSERT(strlen(str) < sizeof(fState.fSerialNo) - 1); in PathOpsThreadedRunnable()
66 strcpy(fState.fSerialNo, str); in PathOpsThreadedRunnable()
67 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
73 SkASSERT(strlen(str) < sizeof(fState.fSerialNo) - 1); in PathOpsThreadedRunnable()
74 fState.fA = dirNo; in PathOpsThreadedRunnable()
[all …]
/external/chromium_org/third_party/skia/src/core/
DSkBitmapProcShader.cpp36 fState.fTileModeX = (uint8_t)tmx; in SkBitmapProcShader()
37 fState.fTileModeY = (uint8_t)tmy; in SkBitmapProcShader()
45 fState.fTileModeX = buffer.readUInt(); in SkBitmapProcShader()
46 fState.fTileModeY = buffer.readUInt(); in SkBitmapProcShader()
60 xy[0] = (TileMode)fState.fTileModeX; in asABitmap()
61 xy[1] = (TileMode)fState.fTileModeY; in asABitmap()
70 buffer.writeUInt(fState.fTileModeX); in flatten()
71 buffer.writeUInt(fState.fTileModeY); in flatten()
112 fState.fOrigBitmap = fRawBitmap; in setContext()
113 if (!fState.chooseProcs(this->getTotalInverse(), paint)) { in setContext()
[all …]
DSkDeviceLooper.cpp28 fState = kDone_State; in SkDeviceLooper()
30 fState = kSimple_State; in SkDeviceLooper()
36 fState = kComplex_State; in SkDeviceLooper()
44 SkASSERT(kDone_State != fState); in mapRect()
54 SkASSERT(kDone_State != fState); in mapMatrix()
64 SkASSERT(kComplex_State == fState); in computeCurrBitmapAndClip()
101 switch (fState) { in next()
129 fState = kDone_State; in next()
DSkDeviceLooper.h38 SkASSERT(kDone_State != fState); in getBitmap()
44 SkASSERT(kDone_State != fState); in getRC()
82 State fState; variable
/external/skia/src/core/
DSkBitmapProcShader.cpp36 fState.fTileModeX = (uint8_t)tmx; in SkBitmapProcShader()
37 fState.fTileModeY = (uint8_t)tmy; in SkBitmapProcShader()
45 fState.fTileModeX = buffer.readUInt(); in SkBitmapProcShader()
46 fState.fTileModeY = buffer.readUInt(); in SkBitmapProcShader()
60 xy[0] = (TileMode)fState.fTileModeX; in asABitmap()
61 xy[1] = (TileMode)fState.fTileModeY; in asABitmap()
70 buffer.writeUInt(fState.fTileModeX); in flatten()
71 buffer.writeUInt(fState.fTileModeY); in flatten()
112 fState.fOrigBitmap = fRawBitmap; in setContext()
113 if (!fState.chooseProcs(this->getTotalInverse(), paint)) { in setContext()
[all …]
DSkDeviceLooper.cpp28 fState = kDone_State; in SkDeviceLooper()
30 fState = kSimple_State; in SkDeviceLooper()
36 fState = kComplex_State; in SkDeviceLooper()
44 SkASSERT(kDone_State != fState); in mapRect()
54 SkASSERT(kDone_State != fState); in mapMatrix()
64 SkASSERT(kComplex_State == fState); in computeCurrBitmapAndClip()
101 switch (fState) { in next()
129 fState = kDone_State; in next()
DSkDeviceLooper.h38 SkASSERT(kDone_State != fState); in getBitmap()
44 SkASSERT(kDone_State != fState); in getRC()
82 State fState; variable
/external/chromium_org/third_party/skia/src/doc/
DSkDocument.cpp14 fState = kBetweenPages_State; in SkDocument()
39 switch (fState) { in beginPage()
41 fState = kInPage_State; in beginPage()
55 if (kInPage_State == fState) { in endPage()
56 fState = kBetweenPages_State; in endPage()
63 switch (fState) { in close()
65 fState = kClosed_State; in close()
88 fState = kClosed_State; in abort()
/external/skia/src/doc/
DSkDocument.cpp14 fState = kBetweenPages_State; in SkDocument()
39 switch (fState) { in beginPage()
41 fState = kInPage_State; in beginPage()
55 if (kInPage_State == fState) { in endPage()
56 fState = kBetweenPages_State; in endPage()
63 switch (fState) { in close()
65 fState = kClosed_State; in close()
88 fState = kClosed_State; in abort()
/external/skia/src/pdf/
DSkPDFStream.cpp21 SkPDFStream::SkPDFStream(SkStream* stream) : fState(kUnused_State) { in SkPDFStream()
25 SkPDFStream::SkPDFStream(SkData* data) : fState(kUnused_State) { in SkPDFStream()
31 fState(kUnused_State) { in SkPDFStream()
35 if (pdfStream.fState == kCompressed_State) { in SkPDFStream()
36 fState = kCompressed_State; in SkPDFStream()
81 SkPDFStream::SkPDFStream() : fState(kUnused_State) {} in SkPDFStream()
100 if (fState == kUnused_State) { in populate()
111 fState = kCompressed_State; in populate()
113 fState = kNoCompression_State; in populate()
116 } else if (fState == kNoCompression_State && !skip_compression(catalog) && in populate()
DSkPDFShader.cpp525 SkAutoTDelete<const SkPDFShader::State> fState; member in SkPDFFunctionShader
550 SkAutoTDelete<const SkPDFShader::State> fState; member in SkPDFAlphaFunctionShader
586 SkAutoTDelete<const SkPDFShader::State> fState; member in SkPDFImageShader
755 bbox.set(fState.get()->fBBox); in CreateSMaskGraphicState()
759 fState->CreateAlphaToLuminosityState())); in CreateSMaskGraphicState()
775 : fState(state) { in SkPDFAlphaFunctionShader()
777 bbox.set(fState.get()->fBBox); in SkPDFAlphaFunctionShader()
836 fState(state) { in SkPDFFunctionShader()
843 const SkShader::GradientInfo* info = &fState.get()->fInfo; in SkPDFFunctionShader()
846 switch (fState.get()->fType) { in SkPDFFunctionShader()
[all …]
DSkPDFStream.h82 fState = state; in setState()
86 return fState; in getState()
91 State fState;
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFStream.cpp21 SkPDFStream::SkPDFStream(SkStream* stream) : fState(kUnused_State) { in SkPDFStream()
25 SkPDFStream::SkPDFStream(SkData* data) : fState(kUnused_State) { in SkPDFStream()
31 fState(kUnused_State) { in SkPDFStream()
35 if (pdfStream.fState == kCompressed_State) { in SkPDFStream()
36 fState = kCompressed_State; in SkPDFStream()
81 SkPDFStream::SkPDFStream() : fState(kUnused_State) {} in SkPDFStream()
100 if (fState == kUnused_State) { in populate()
111 fState = kCompressed_State; in populate()
113 fState = kNoCompression_State; in populate()
116 } else if (fState == kNoCompression_State && !skip_compression(catalog) && in populate()
DSkPDFShader.cpp525 SkAutoTDelete<const SkPDFShader::State> fState; member in SkPDFFunctionShader
550 SkAutoTDelete<const SkPDFShader::State> fState; member in SkPDFAlphaFunctionShader
586 SkAutoTDelete<const SkPDFShader::State> fState; member in SkPDFImageShader
755 bbox.set(fState.get()->fBBox); in CreateSMaskGraphicState()
759 fState->CreateAlphaToLuminosityState())); in CreateSMaskGraphicState()
775 : fState(state) { in SkPDFAlphaFunctionShader()
777 bbox.set(fState.get()->fBBox); in SkPDFAlphaFunctionShader()
836 fState(state) { in SkPDFFunctionShader()
843 const SkShader::GradientInfo* info = &fState.get()->fInfo; in SkPDFFunctionShader()
846 switch (fState.get()->fType) { in SkPDFFunctionShader()
[all …]
DSkPDFStream.h82 fState = state; in setState()
86 return fState; in getState()
91 State fState;
/external/skia/src/utils/
DSkThreadPool.cpp31 : fState(kRunning_State), fBusyThreads(0) { in SkThreadPool()
42 if (kRunning_State == fState) { in ~SkThreadPool()
49 fState = kWaiting_State; in wait()
71 if (kWaiting_State == pool->fState && pool->fBusyThreads == 0) { in Loop()
72 pool->fState = kHalting_State; in Loop()
76 if (kHalting_State == pool->fState) { in Loop()
121 SkASSERT(fState != kHalting_State); // Shouldn't be able to add work when we're halting. in add()
/external/chromium_org/third_party/skia/src/utils/
DSkThreadPool.cpp31 : fState(kRunning_State), fBusyThreads(0) { in SkThreadPool()
42 if (kRunning_State == fState) { in ~SkThreadPool()
49 fState = kWaiting_State; in wait()
71 if (kWaiting_State == pool->fState && pool->fBusyThreads == 0) { in Loop()
72 pool->fState = kHalting_State; in Loop()
76 if (kHalting_State == pool->fState) { in Loop()
121 SkASSERT(fState != kHalting_State); // Shouldn't be able to add work when we're halting. in add()
/external/skia/src/animator/
DSkAnimateActive.cpp31 fState.setCount(animators); in init()
72 fState.setCount(total); in append()
78 SkActive::SkState& testState = fState[oldCount + index]; in append()
81 SkActive::SkState& oldState = fState[inner]; in append()
92 fState.remove(inner); in append()
144 SkState& state = fState[index]; in calcDurations()
202 SkState& state = fState[index]; in immediate()
249 fState[animatorIndex].fTicks = inTime; in getTime()
250 return inTime - fState[animatorIndex].fStartTime; in getTime()
270 int count = fState.count(); in initState()
[all …]
/external/chromium_org/third_party/skia/src/animator/
DSkAnimateActive.cpp31 fState.setCount(animators); in init()
72 fState.setCount(total); in append()
78 SkActive::SkState& testState = fState[oldCount + index]; in append()
81 SkActive::SkState& oldState = fState[inner]; in append()
92 fState.remove(inner); in append()
144 SkState& state = fState[index]; in calcDurations()
202 SkState& state = fState[index]; in immediate()
249 fState[animatorIndex].fTicks = inTime; in getTime()
250 return inTime - fState[animatorIndex].fStartTime; in getTime()
270 int count = fState.count(); in initState()
[all …]
/external/skia/src/effects/
DSkBlurDrawLooper.cpp35 fState = kDone; in init()
93 fState = kBeforeEdge; in init()
97 switch (fState) { in next()
101 fState = kDone; in next()
124 fState = kAfterEdge; in next()
128 fState = kDone; in next()
131 SkASSERT(kDone == fState); in next()
/external/chromium_org/third_party/skia/src/effects/
DSkBlurDrawLooper.cpp35 fState = kDone; in init()
93 fState = kBeforeEdge; in init()
97 switch (fState) { in next()
101 fState = kDone; in next()
124 fState = kAfterEdge; in next()
128 fState = kDone; in next()
131 SkASSERT(kDone == fState); in next()
/external/skia/src/views/
DSkTouchGesture.cpp114 fState = kEmpty_State; in reset()
165 fState = kTranslate_State; in touchBegin()
168 fState = kZoom_State; in touchBegin()
206 SkASSERT(kEmpty_State != fState); in touchMoved()
239 SkASSERT(kZoom_State == fState); in touchMoved()
281 fState = kEmpty_State; in touchEnd()
285 SkASSERT(kZoom_State == fState); in touchEnd()
286 fState = kEmpty_State; in touchEnd()
289 SkASSERT(kZoom_State == fState); in touchEnd()
319 fState = kEmpty_State; in handleDblTap()
/external/chromium_org/third_party/skia/src/views/
DSkTouchGesture.cpp114 fState = kEmpty_State; in reset()
165 fState = kTranslate_State; in touchBegin()
168 fState = kZoom_State; in touchBegin()
206 SkASSERT(kEmpty_State != fState); in touchMoved()
239 SkASSERT(kZoom_State == fState); in touchMoved()
281 fState = kEmpty_State; in touchEnd()
285 SkASSERT(kZoom_State == fState); in touchEnd()
286 fState = kEmpty_State; in touchEnd()
289 SkASSERT(kZoom_State == fState); in touchEnd()
319 fState = kEmpty_State; in handleDblTap()
/external/skia/src/ports/
DSkXMLPullParser_expat.cpp39 Data() : fAlloc(2048), fState(NORMAL) {} in Data()
50 State fState; member
90 p->fState = Data::MISSED_START_TAG; in end_proc()
173 if (Data::RETURN_END_TAG == fImpl->fData.fState) in onNextToken()
175 fImpl->fData.fState = Data::NORMAL; in onNextToken()
202 if (Data::MISSED_START_TAG == fImpl->fData.fState) in onNextToken()
206 fImpl->fData.fState = Data::RETURN_END_TAG; in onNextToken()
/external/chromium_org/third_party/skia/src/ports/
DSkXMLPullParser_expat.cpp39 Data() : fAlloc(2048), fState(NORMAL) {} in Data()
50 State fState; member
90 p->fState = Data::MISSED_START_TAG; in end_proc()
173 if (Data::RETURN_END_TAG == fImpl->fData.fState) in onNextToken()
175 fImpl->fData.fState = Data::NORMAL; in onNextToken()
202 if (Data::MISSED_START_TAG == fImpl->fData.fState) in onNextToken()
206 fImpl->fData.fState = Data::RETURN_END_TAG; in onNextToken()

123