Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkBitmapProcShader.cpp22 fState.fTileModeX = (uint8_t)tmx; in SkBitmapProcShader()
23 fState.fTileModeY = (uint8_t)tmy; in SkBitmapProcShader()
30 fState.fTileModeX = buffer.readU8(); in SkBitmapProcShader()
31 fState.fTileModeY = buffer.readU8(); in SkBitmapProcShader()
58 xy[0] = (TileMode)fState.fTileModeX; in asABitmap()
59 xy[1] = (TileMode)fState.fTileModeY; in asABitmap()
68 buffer.write8(fState.fTileModeX); in flatten()
69 buffer.write8(fState.fTileModeY); in flatten()
85 fState.fOrigBitmap = fRawBitmap; in setContext()
86 fState.fOrigBitmap.lockPixels(); in setContext()
[all …]
DSkClipStack.cpp16 State fState; member
21 fState = kRect_State; in Rec()
27 fState = kPath_State; in Rec()
31 if (fSaveCount != b.fSaveCount || fOp != b.fOp || fState != b.fState) { in operator ==()
34 switch (fState) { in operator ==()
54 if (kEmpty_State == fState && ( in canBeIntersected()
136 switch (rec->fState) { in clipDevRect()
141 rec->fState = Rec::kEmpty_State; in clipDevRect()
146 rec->fState = Rec::kEmpty_State; in clipDevRect()
159 switch (rec->fState) { in clipDevPath()
[all …]
DSkBitmapProcShader.h53 SkBitmapProcState fState; variable
/external/skia/src/animator/
DSkAnimateActive.cpp39 fState.setCount(animators); in init()
80 fState.setCount(total); in append()
86 SkActive::SkState& testState = fState[oldCount + index]; in append()
89 SkActive::SkState& oldState = fState[inner]; in append()
100 fState.remove(inner); in append()
152 SkState& state = fState[index]; in calcDurations()
205 SkState& state = fState[index]; in immediate()
252 fState[animatorIndex].fTicks = inTime; in getTime()
253 return inTime - fState[animatorIndex].fStartTime; in getTime()
273 int count = fState.count(); in initState()
[all …]
DSkAnimateActive.h76 SkTDArray<SkState> fState; // one per animator variable
/external/skia/gpu/src/
DGrTouchGesture.cpp28 fState = kEmpty_State; in reset()
79 fState = kTranslate_State; in touchBegin()
82 fState = kZoom_State; in touchBegin()
120 GrAssert(kEmpty_State != fState); in touchMoved()
153 GrAssert(kZoom_State == fState); in touchMoved()
195 fState = kEmpty_State; in touchEnd()
199 GrAssert(kZoom_State == fState); in touchEnd()
200 fState = kEmpty_State; in touchEnd()
203 GrAssert(kZoom_State == fState); in touchEnd()
233 fState = kEmpty_State; in handleDblTap()
/external/skia/src/effects/
DSkBlurDrawLooper.cpp65 fState = kBeforeEdge; in init()
69 switch (fState) { in next()
73 fState = kDone; in next()
96 fState = kAfterEdge; in next()
100 fState = kDone; in next()
103 SkASSERT(kDone == fState); in next()
DSkColorMatrixFilter.cpp121 int32_t* SK_RESTRICT array = fState.fArray; in setup()
140 fState.fShift = 16; // we are starting out as fixed 16.16 in setup()
143 fState.fShift -= bits; in setup()
154 bool shiftIs16 = (16 == fState.fShift); in setup()
186 int32_t add = 1 << (fState.fShift - 1); in setup()
225 State* state = &fState; in filterSpan()
279 State* state = &fState; in filterSpan16()
314 buffer.writeMul4(&fState, sizeof(fState)); in flatten()
323 buffer.read(&fState, sizeof(fState)); in SkColorMatrixFilter()
/external/skia/include/pdf/
DSkPDFShader.h82 SkAutoTDelete<const State> fState; variable
87 const State* fState; variable
90 return fPDFShader == b.fPDFShader || *fState == *b.fState;
94 fState(state) { in ShaderCanonicalEntry()
/external/skia/src/views/
DSkTouchGesture.cpp121 fState = kEmpty_State; in reset()
172 fState = kTranslate_State; in touchBegin()
175 fState = kZoom_State; in touchBegin()
213 SkASSERT(kEmpty_State != fState); in touchMoved()
246 SkASSERT(kZoom_State == fState); in touchMoved()
288 fState = kEmpty_State; in touchEnd()
292 SkASSERT(kZoom_State == fState); in touchEnd()
293 fState = kEmpty_State; in touchEnd()
296 SkASSERT(kZoom_State == fState); in touchEnd()
326 fState = kEmpty_State; in handleDblTap()
DSkWidgets.cpp183 if (fState != state)
185 fState = state;
319 if (click->fState == Click::kUp_State)
DSkView.cpp392 click->fState = Click::kDown_State; in DoClickDown()
411 click->fState = Click::kMoved_State; in DoClickMoved()
430 click->fState = Click::kUp_State; in DoClickUp()
/external/skia/src/ports/
DSkXMLPullParser_expat.cpp47 Data() : fAlloc(2048), fState(NORMAL) {} in Data()
58 State fState; member
98 p->fState = Data::MISSED_START_TAG; in end_proc()
181 if (Data::RETURN_END_TAG == fImpl->fData.fState) in onNextToken()
183 fImpl->fData.fState = Data::NORMAL; in onNextToken()
210 if (Data::MISSED_START_TAG == fImpl->fData.fState) in onNextToken()
214 fImpl->fData.fState = Data::RETURN_END_TAG; in onNextToken()
/external/webkit/Source/WebCore/platform/win/
DContextMenuItemWin.cpp66 m_checked = info.fState & MFS_CHECKED; in ContextMenuItem()
67 m_enabled = !(info.fState & MFS_DISABLED); in ContextMenuItem()
99 info.fState |= m_enabled ? MFS_ENABLED : MFS_DISABLED; in nativeMenuItem()
100 info.fState |= m_checked ? MFS_CHECKED : MFS_UNCHECKED; in nativeMenuItem()
/external/skia/src/pdf/
DSkPDFShader.cpp291 ShaderCanonicalEntry entry(this, fState.get()); in ~SkPDFShader()
381 SkPDFShader::SkPDFShader(State* state) : fState(state) { in SkPDFShader()
382 if (fState.get()->fType == SkShader::kNone_GradientType) { in SkPDFShader()
395 const SkShader::GradientInfo* info = &fState.get()->fInfo; in doFunctionShader()
398 switch (fState.get()->fType) { in doFunctionShader()
437 SkMatrix finalMatrix = fState.get()->fCanvasTransform; in doFunctionShader()
439 finalMatrix.preConcat(fState.get()->fShaderTransform); in doFunctionShader()
441 bbox.set(fState.get()->fBBox); in doFunctionShader()
456 if (fState.get()->fType == SkShader::kRadial2_GradientType) { in doFunctionShader()
490 fState.get()->fImage.lockPixels(); in doImageShader()
[all …]
DSkPDFDevice.cpp427 GraphicStateEntry fState; member
596 totalTransform.preConcat(contentEntry->fState.fMatrix); in internalDrawPaint()
825 SkPDFFont* font = content.entry()->fState.fFont; in drawText()
890 SkPDFFont* font = content.entry()->fState.fFont; in drawPosText()
1092 gsState.updateClip(entry->fState.fClipStack, entry->fState.fClipRegion, in content()
1094 gsState.updateMatrix(entry->fState.fMatrix); in content()
1095 gsState.updateDrawingState(entry->fState); in content()
1235 hasText, &entry->fState); in setUpContentEntry()
1237 entry->fState.compareInitialState(fLastContentEntry->fState)) { in setUpContentEntry()
1269 SkClipStack clipStack = fContentEntries->fState.fClipStack; in finishContentEntry()
[all …]
/external/skia/include/views/
DSkWidget.h75 SkButtonWidget(uint32_t flags = 0) : SkHasLabelWidget(flags), fState(kOff_State) {} in SkHasLabelWidget()
82 State getButtonState() const { return fState; } in getButtonState()
93 State fState;
261 State getState() const { return fState; } in getState()
269 State fState;
DSkTouchGesture.h55 State fState; variable
/external/skia/src/pipe/
DSkGPipeRead.cpp521 fState = NULL; in SkGPipeReader()
526 delete fState; in ~SkGPipeReader()
535 if (NULL == fState) { in playback()
536 fState = new SkGPipeState; in playback()
546 fState->setReader(&reader); in playback()
561 table[op](canvas, &reader, op32, fState); in playback()
/external/skia/gpu/include/
DGrTouchGesture.h39 State fState; variable
DGrDrawTarget.h481 DrState fState;
1135 { return sds.fState; } in accessSavedDrawState()
1137 { return sds.fState; } in accessSavedDrawState()
/external/skia/include/pipe/
DSkGPipe.h43 class SkGPipeState* fState; variable
/external/skia/include/effects/
DSkColorMatrixFilter.h60 State fState; variable
DSkBlurDrawLooper.h77 State fState; variable
/external/skia/samplecode/
DSampleDraw.cpp333 if (Click::kUp_State == click->fState) { in onClick()
345 if (Click::kDown_State == click->fState) { in onClick()

12