Home
last modified time | relevance | path

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

123

/external/skqp/tests/
DPathOpsThreadedCommon.h58 fState.fA = a; in PathOpsThreadedRunnable()
59 fState.fB = b; in PathOpsThreadedRunnable()
60 fState.fC = c; in PathOpsThreadedRunnable()
61 fState.fD = d; in PathOpsThreadedRunnable()
62 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
68 SkASSERT(strlen(str) < sizeof(fState.fSerialNo) - 1); in PathOpsThreadedRunnable()
69 strcpy(fState.fSerialNo, str); in PathOpsThreadedRunnable()
70 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
76 SkASSERT(strlen(str) < sizeof(fState.fSerialNo) - 1); in PathOpsThreadedRunnable()
77 fState.fA = dirNo; in PathOpsThreadedRunnable()
[all …]
/external/skia/tests/
DPathOpsThreadedCommon.h58 fState.fA = a; in PathOpsThreadedRunnable()
59 fState.fB = b; in PathOpsThreadedRunnable()
60 fState.fC = c; in PathOpsThreadedRunnable()
61 fState.fD = d; in PathOpsThreadedRunnable()
62 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
68 SkASSERT(strlen(str) < sizeof(fState.fSerialNo) - 1); in PathOpsThreadedRunnable()
69 strcpy(fState.fSerialNo, str); in PathOpsThreadedRunnable()
70 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
76 SkASSERT(strlen(str) < sizeof(fState.fSerialNo) - 1); in PathOpsThreadedRunnable()
77 fState.fA = dirNo; in PathOpsThreadedRunnable()
[all …]
/external/skqp/src/utils/
DSkJSONWriter.h54 , fState(State::kStart) { in fBlock()
86 SkASSERT(State::kObjectBegin == fState || State::kObjectValue == fState); in appendName()
87 if (State::kObjectValue == fState) { in appendName()
94 fState = State::kObjectName; in appendName()
111 fState = State::kObjectBegin;
119 SkASSERT(State::kObjectBegin == fState || State::kObjectValue == fState); in endObject()
120 bool emptyObject = State::kObjectBegin == fState; in endObject()
143 fState = State::kArrayBegin;
151 SkASSERT(State::kArrayBegin == fState || State::kArrayValue == fState); in endArray()
152 bool emptyArray = State::kArrayBegin == fState; in endArray()
[all …]
/external/skia/src/utils/
DSkJSONWriter.h54 , fState(State::kStart) { in fBlock()
86 SkASSERT(State::kObjectBegin == fState || State::kObjectValue == fState); in appendName()
87 if (State::kObjectValue == fState) { in appendName()
94 fState = State::kObjectName; in appendName()
111 fState = State::kObjectBegin;
119 SkASSERT(State::kObjectBegin == fState || State::kObjectValue == fState); in endObject()
120 bool emptyObject = State::kObjectBegin == fState; in endObject()
143 fState = State::kArrayBegin;
151 SkASSERT(State::kArrayBegin == fState || State::kArrayValue == fState); in endArray()
152 bool emptyArray = State::kArrayBegin == fState; in endArray()
[all …]
/external/skia/gm/
DSkAnimTimer.h33 SkAnimTimer() : fBaseTimeNanos(0), fCurrTimeNanos(0), fState(kStopped_State) {} in SkAnimTimer()
38 , fState(state) {} in SkAnimTimer()
40 bool isStopped() const { return kStopped_State == fState; } in isStopped()
41 bool isRunning() const { return kRunning_State == fState; } in isRunning()
42 bool isPaused() const { return kPaused_State == fState; } in isPaused()
63 if (kRunning_State == fState) { in togglePauseResume()
78 if (kRunning_State == fState) { in updateTime()
133 State fState; variable
139 fState = kStopped_State; in setState()
142 if (kRunning_State == fState) { in setState()
[all …]
/external/skqp/gm/
DSkAnimTimer.h33 SkAnimTimer() : fBaseTimeNanos(0), fCurrTimeNanos(0), fState(kStopped_State) {} in SkAnimTimer()
35 bool isStopped() const { return kStopped_State == fState; } in isStopped()
36 bool isRunning() const { return kRunning_State == fState; } in isRunning()
37 bool isPaused() const { return kPaused_State == fState; } in isPaused()
58 if (kRunning_State == fState) { in togglePauseResume()
73 if (kRunning_State == fState) { in updateTime()
128 State fState; variable
134 fState = kStopped_State; in setState()
137 if (kRunning_State == fState) { in setState()
138 fState = kPaused_State; in setState()
[all …]
/external/skqp/src/core/
DSkDocument.cpp12 SkDocument::SkDocument(SkWStream* stream) : fStream(stream), fState(kBetweenPages_State) {} in SkDocument()
33 if (width <= 0 || height <= 0 || kClosed_State == fState) { in beginPage()
36 if (kInPage_State == fState) { in beginPage()
39 SkASSERT(kBetweenPages_State == fState); in beginPage()
40 fState = kInPage_State; in beginPage()
45 if (kInPage_State == fState) { in endPage()
46 fState = kBetweenPages_State; in endPage()
53 switch (fState) { in close()
55 fState = kClosed_State; in close()
74 fState = kClosed_State; in abort()
DSkDeviceLooper.cpp27 fState = kDone_State; in SkDeviceLooper()
29 fState = kSimple_State; in SkDeviceLooper()
35 fState = kComplex_State; in SkDeviceLooper()
42 SkASSERT(kDone_State != fState); in mapRect()
52 SkASSERT(kDone_State != fState); in mapMatrix()
61 SkASSERT(kComplex_State == fState); in computeCurrBitmapAndClip()
96 switch (fState) { in next()
124 fState = kDone_State; in next()
DSkMiniRecorder.cpp67 SkMiniRecorder::SkMiniRecorder() : fState(State::kEmpty) {} in SkMiniRecorder()
69 if (fState != State::kEmpty) { in ~SkMiniRecorder()
74 SkASSERT(fState == State::kEmpty); in ~SkMiniRecorder()
78 if (fState != State::kEmpty) { return false; } \
79 fState = State::k##Type; \
100 fState = State::kEmpty; \ in detachAsPicture()
106 switch (fState) { in detachAsPicture()
122 fState = State::kEmpty; \ in flushAndReset()
128 switch (fState) { in flushAndReset()
DSkDeviceLooper.h37 SkASSERT(kDone_State != fState); in getPixmap()
43 SkASSERT(kDone_State != fState); in getRC()
81 State fState; variable
/external/skia/src/core/
DSkDocument.cpp12 SkDocument::SkDocument(SkWStream* stream) : fStream(stream), fState(kBetweenPages_State) {} in SkDocument()
33 if (width <= 0 || height <= 0 || kClosed_State == fState) { in beginPage()
36 if (kInPage_State == fState) { in beginPage()
39 SkASSERT(kBetweenPages_State == fState); in beginPage()
40 fState = kInPage_State; in beginPage()
45 if (kInPage_State == fState) { in endPage()
46 fState = kBetweenPages_State; in endPage()
53 switch (fState) { in close()
55 fState = kClosed_State; in close()
74 fState = kClosed_State; in abort()
DSkDeviceLooper.cpp27 fState = kDone_State; in SkDeviceLooper()
29 fState = kSimple_State; in SkDeviceLooper()
35 fState = kComplex_State; in SkDeviceLooper()
42 SkASSERT(kDone_State != fState); in mapRect()
52 SkASSERT(kDone_State != fState); in mapMatrix()
61 SkASSERT(kComplex_State == fState); in computeCurrBitmapAndClip()
96 switch (fState) { in next()
124 fState = kDone_State; in next()
DSkMiniRecorder.cpp67 SkMiniRecorder::SkMiniRecorder() : fState(State::kEmpty) {} in SkMiniRecorder()
69 if (fState != State::kEmpty) { in ~SkMiniRecorder()
74 SkASSERT(fState == State::kEmpty); in ~SkMiniRecorder()
78 if (fState != State::kEmpty) { return false; } \
79 fState = State::k##Type; \
100 fState = State::kEmpty; \ in detachAsPicture()
106 switch (fState) { in detachAsPicture()
122 fState = State::kEmpty; \ in flushAndReset()
128 switch (fState) { in flushAndReset()
DSkDeviceLooper.h37 SkASSERT(kDone_State != fState); in getPixmap()
43 SkASSERT(kDone_State != fState); in getRC()
81 State fState; variable
/external/skia/samplecode/
DSampleCowboy.cpp25 , fState(kZoomIn) in CowboyView()
64 switch (fState) { in onDrawContent()
113 switch (fState) { in onAnimate()
115 fState = kScroll; in onAnimate()
119 fState = kZoomOut; in onAnimate()
123 fState = kZoomIn; in onAnimate()
135 State fState; member in __anon063cff170111::CowboyView
/external/skqp/samplecode/
DSampleCowboy.cpp25 , fState(kZoomIn) in CowboyView()
64 switch (fState) { in onDrawContent()
113 switch (fState) { in onAnimate()
115 fState = kScroll; in onAnimate()
119 fState = kZoomOut; in onAnimate()
123 fState = kZoomIn; in onAnimate()
135 State fState; member in __anon5eaaa8ae0111::CowboyView
/external/skia/include/private/
DSkOnce.h26 auto state = fState.load(std::memory_order_acquire); in operator()
33 if (state == NotStarted && fState.compare_exchange_strong(state, Claimed, in operator()
38 return fState.store(Done, std::memory_order_release); in operator()
43 while (fState.load(std::memory_order_acquire) != Done) { /*spin*/ } in operator()
48 std::atomic<uint8_t> fState{NotStarted};
/external/skqp/include/private/
DSkOnce.h26 auto state = fState.load(std::memory_order_acquire); in operator()
33 if (state == NotStarted && fState.compare_exchange_strong(state, Claimed, in operator()
38 return fState.store(Done, std::memory_order_release); in operator()
43 while (fState.load(std::memory_order_acquire) != Done) { /*spin*/ } in operator()
48 std::atomic<uint8_t> fState{NotStarted};
/external/skia/src/views/
DSkTouchGesture.cpp114 fState = kEmpty_State; in resetTouchState()
169 fState = kTranslate_State; in touchBegin()
172 fState = kZoom_State; in touchBegin()
210 if (kEmpty_State == fState) { in touchMoved()
244 SkASSERT(kZoom_State == fState); in touchMoved()
286 fState = kEmpty_State; in touchEnd()
290 SkASSERT(kZoom_State == fState); in touchEnd()
291 fState = kEmpty_State; in touchEnd()
294 SkASSERT(kZoom_State == fState); in touchEnd()
326 fState = kEmpty_State; in handleDblTap()
/external/skqp/src/views/
DSkTouchGesture.cpp114 fState = kEmpty_State; in resetTouchState()
169 fState = kTranslate_State; in touchBegin()
172 fState = kZoom_State; in touchBegin()
210 if (kEmpty_State == fState) { in touchMoved()
244 SkASSERT(kZoom_State == fState); in touchMoved()
286 fState = kEmpty_State; in touchEnd()
290 SkASSERT(kZoom_State == fState); in touchEnd()
291 fState = kEmpty_State; in touchEnd()
294 SkASSERT(kZoom_State == fState); in touchEnd()
326 fState = kEmpty_State; in handleDblTap()
/external/icu/icu4c/source/common/
Dumutex.cpp65 &uio.fState, // Destination in umtx_initImplPreInit()
82 previousState = umtx_loadAcquire(uio.fState); in umtx_initImplPreInit()
92 umtx_storeRelease(uio.fState, 2); in umtx_initImplPostInit()
258 int32_t state = uio.fState; in umtx_initImplPreInit()
260 umtx_storeRelease(uio.fState, 1); in umtx_initImplPreInit()
264 while (uio.fState == 1) { in umtx_initImplPreInit()
270 U_ASSERT(uio.fState == 2); in umtx_initImplPreInit()
286 umtx_storeRelease(uio.fState, 2); in umtx_initImplPostInit()
Dumutex.h222 u_atomic_int32_t fState; member
224 void reset() {fState = 0;}; in reset()
225 UBool isReset() {return umtx_loadAcquire(fState) == 0;}; in isReset()
237 if (umtx_loadAcquire(uio.fState) == 2) { in umtx_initOnce()
250 if (umtx_loadAcquire(uio.fState) == 2) { in umtx_initOnce()
265 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) { in umtx_initOnce()
281 if (umtx_loadAcquire(uio.fState) == 2) { in umtx_initOnce()
296 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) { in umtx_initOnce()
/external/skia/tools/viewer/
DSlideDir.cpp110 , fState(State::kIdle) { in FocusController()
117 bool hasFocus() const { return fState == State::kFocused; } in hasFocus()
120 if (fState != State::kIdle) in startFocus()
137 fState = State::kFocusing; in startFocus()
150 fState = State::kUnfocusing; in startUnfocus()
202 switch (fState) { in onTick()
204 fState = State::kFocused; in onTick()
207 fState = State::kIdle; in onTick()
226 bool isAnimating() const { return fState == State::kFocusing || fState == State::kUnfocusing; } in isAnimating()
241 State fState = State::kIdle; member in SlideDir::FocusController
/external/skia/src/shaders/
DSkBitmapProcShader.cpp55 , fState(state) in BitmapProcShaderContext()
59 const SkBitmapProcState& state = *fState; in shadeSpan()
89 SkBitmapProcState* fState; member in BitmapProcShaderContext
/external/skqp/src/shaders/
DSkBitmapProcShader.cpp55 , fState(state) in BitmapProcShaderContext()
59 const SkBitmapProcState& state = *fState; in shadeSpan()
89 SkBitmapProcState* fState; member in BitmapProcShaderContext

123