/external/skia/modules/particles/src/ |
D | SkParticleEffect.cpp | 185 fState.fAge = -1.0f; in SkParticleEffect() 197 fState.fAge = 0.0f; in start() 202 fState.fLifetime = 1.0f; in start() 203 fState.fLoopCount = 0; in start() 204 fState.fRate = 0.0f; in start() 205 fState.fBurst = 0; in start() 207 fState.fPosition = position; in start() 208 fState.fHeading = heading; in start() 209 fState.fScale = scale; in start() 210 fState.fVelocity = velocity; in start() [all …]
|
/external/skia/modules/particles/include/ |
D | SkParticleEffect.h | 165 return (fState.fAge >= 0 && fState.fAge <= 1) 170 float getRate() const { return fState.fRate; } in getRate() 171 int getBurst() const { return fState.fBurst; } in getBurst() 172 SkPoint getPosition() const { return fState.fPosition; } in getPosition() 173 SkVector getHeading() const { return fState.fHeading; } in getHeading() 174 float getScale() const { return fState.fScale; } in getScale() 175 SkVector getVelocity() const { return fState.fVelocity; } in getVelocity() 176 float getSpin() const { return fState.fSpin; } in getSpin() 177 SkColor4f getColor() const { return fState.fColor; } in getColor() 178 float getFrame() const { return fState.fFrame; } in getFrame() [all …]
|
/external/skia/tests/ |
D | PathOpsThreadedCommon.h | 58 fState.fA = (a & 0xFF); in PathOpsThreadedRunnable() 59 fState.fB = (b & 0xFF); in PathOpsThreadedRunnable() 60 fState.fC = (c & 0xFF); in PathOpsThreadedRunnable() 61 fState.fD = (d & 0xFF); 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 …]
|
D | GrMeshTest.cpp | 48 DrawMeshHelper(GrOpFlushState* state) : fState(state) {} in DrawMeshHelper() 68 GrOpFlushState* fState; member in DrawMeshHelper 410 return sk_sp<const GrBuffer>(fState->resourceProvider()->createBuffer( in makeVertexBuffer() 416 return fState->resourceProvider()->findOrCreatePatternedIndexBuffer( in getIndexBuffer() 427 fState->appliedClip(), in drawMesh() 430 fState->caps(), in drawMesh() 434 auto pipeline = GrSimpleMeshDrawOpHelper::CreatePipeline(fState, in drawMesh() 439 fState->allocator(), mesh.isInstanced(), SkToBool(mesh.vertexBuffer())); in drawMesh() 441 GrProgramInfo programInfo(fState->proxy()->numSamples(), in drawMesh() 442 fState->proxy()->numStencilSamples(), in drawMesh() [all …]
|
/external/skqp/tests/ |
D | PathOpsThreadedCommon.h | 58 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/tools/timer/ |
D | SkAnimTimer.h | 34 SkAnimTimer() : fPreviousNanos(0), fElapsedNanos(0), fSpeed(1), fState(kStopped_State) {} in SkAnimTimer() 40 , fState(kRunning_State) {} in SkAnimTimer() 42 bool isStopped() const { return kStopped_State == fState; } in isStopped() 43 bool isRunning() const { return kRunning_State == fState; } in isRunning() 44 bool isPaused() const { return kPaused_State == fState; } in isPaused() 71 if (kRunning_State == fState) { in togglePauseResume() 86 if (kRunning_State == fState) { in updateTime() 144 State fState; variable 150 fState = kStopped_State; in setState() 153 if (kRunning_State == fState) { in setState() [all …]
|
/external/skia/src/utils/ |
D | SkJSONWriter.h | 55 , fState(State::kStart) { in fBlock() 87 SkASSERT(State::kObjectBegin == fState || State::kObjectValue == fState); in appendName() 88 if (State::kObjectValue == fState) { in appendName() 95 fState = State::kObjectName; in appendName() 112 fState = State::kObjectBegin; 120 SkASSERT(State::kObjectBegin == fState || State::kObjectValue == fState); in endObject() 121 bool emptyObject = State::kObjectBegin == fState; in endObject() 144 fState = State::kArrayBegin; 152 SkASSERT(State::kArrayBegin == fState || State::kArrayValue == fState); in endArray() 153 bool emptyArray = State::kArrayBegin == fState; in endArray() [all …]
|
/external/skqp/src/utils/ |
D | SkJSONWriter.h | 55 , fState(State::kStart) { in fBlock() 87 SkASSERT(State::kObjectBegin == fState || State::kObjectValue == fState); in appendName() 88 if (State::kObjectValue == fState) { in appendName() 95 fState = State::kObjectName; in appendName() 112 fState = State::kObjectBegin; 120 SkASSERT(State::kObjectBegin == fState || State::kObjectValue == fState); in endObject() 121 bool emptyObject = State::kObjectBegin == fState; in endObject() 144 fState = State::kArrayBegin; 152 SkASSERT(State::kArrayBegin == fState || State::kArrayValue == fState); in endArray() 153 bool emptyArray = State::kArrayBegin == fState; in endArray() [all …]
|
/external/skia/src/core/ |
D | SkDocument.cpp | 12 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()
|
D | SkMiniRecorder.cpp | 68 SkMiniRecorder::SkMiniRecorder() : fState(State::kEmpty) {} in SkMiniRecorder() 70 if (fState != State::kEmpty) { in ~SkMiniRecorder() 75 SkASSERT(fState == State::kEmpty); in ~SkMiniRecorder() 79 if (fState != State::kEmpty) { return false; } \ 80 fState = State::k##Type; \ 104 fState = State::kEmpty; \ in detachAsPicture() 111 switch (fState) { in detachAsPicture() 127 fState = State::kEmpty; \ in flushAndReset() 133 switch (fState) { in flushAndReset()
|
/external/skqp/src/core/ |
D | SkDocument.cpp | 12 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()
|
D | SkMiniRecorder.cpp | 68 SkMiniRecorder::SkMiniRecorder() : fState(State::kEmpty) {} in SkMiniRecorder() 70 if (fState != State::kEmpty) { in ~SkMiniRecorder() 75 SkASSERT(fState == State::kEmpty); in ~SkMiniRecorder() 79 if (fState != State::kEmpty) { return false; } \ 80 fState = State::k##Type; \ 101 fState = State::kEmpty; \ in detachAsPicture() 107 switch (fState) { in detachAsPicture() 123 fState = State::kEmpty; \ in flushAndReset() 129 switch (fState) { in flushAndReset()
|
/external/skqp/samplecode/ |
D | SampleCowboy.cpp | 28 , fState(kZoomIn) in CowboyView() 67 switch (fState) { in onDrawContent() 116 switch (fState) { in onAnimate() 118 fState = kScroll; in onAnimate() 122 fState = kZoomOut; in onAnimate() 126 fState = kZoomIn; in onAnimate() 138 State fState; member in __anon3d49ed3c0111::CowboyView
|
/external/skqp/include/private/ |
D | SkOnce.h | 26 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/include/private/ |
D | SkOnce.h | 26 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() 44 while (fState.load(std::memory_order_acquire) != Done) { /*spin*/ } in operator() 50 std::atomic<uint8_t> fState{NotStarted};
|
/external/skia/samplecode/ |
D | SampleCowboy.cpp | 33 State fState = kZoomIn; member in __anone4dc43a50111::AnimatedSVGSample 66 switch (fState) { in onDrawContent() 106 switch (fState) { in onAnimate() 108 fState = kScroll; in onAnimate() 112 fState = kZoomOut; in onAnimate() 116 fState = kZoomIn; in onAnimate()
|
/external/icu/icu4c/source/common/ |
D | umutex.h | 100 u_atomic_int32_t fState; 102 void reset() {fState = 0;} 103 UBool isReset() {return umtx_loadAcquire(fState) == 0;} 115 if (umtx_loadAcquire(uio.fState) == 2) { 128 if (umtx_loadAcquire(uio.fState) == 2) { 143 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) { 159 if (umtx_loadAcquire(uio.fState) == 2) { 174 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) {
|
D | umutex.cpp | 148 if (umtx_loadAcquire(uio.fState) == 0) { in umtx_initImplPreInit() 149 umtx_storeRelease(uio.fState, 1); in umtx_initImplPreInit() 152 while (umtx_loadAcquire(uio.fState) == 1) { in umtx_initImplPreInit() 157 U_ASSERT(uio.fState == 2); in umtx_initImplPreInit() 173 umtx_storeRelease(uio.fState, 2); in umtx_initImplPostInit()
|
/external/skia/tools/viewer/ |
D | AnimTimer.h | 32 State state() const { return fState; } in state() 56 fState = kRunning_State; in run() 61 fState = kPaused_State; in pause() 95 State fState = kStopped_State; variable
|
D | TouchGesture.cpp | 114 fState = kEmpty_State; in resetTouchState() 169 fState = kTranslate_State; in touchBegin() 208 fState = kZoom_State; in startZoom() 221 SkASSERT(kZoom_State == fState); in endZoom() 222 fState = kEmpty_State; in endZoom() 228 if (kEmpty_State == fState) { in touchMoved() 262 SkASSERT(kZoom_State == fState); in touchMoved() 302 fState = kEmpty_State; in touchEnd() 308 SkASSERT(kZoom_State == fState); in touchEnd() 351 fState = kEmpty_State; in handleDblTap()
|
D | SlideDir.cpp | 118 , fState(State::kIdle) { in FocusController() 123 bool hasFocus() const { return fState == State::kFocused; } in hasFocus() 126 if (fState != State::kIdle) in startFocus() 143 fState = State::kFocusing; in startFocus() 157 fState = State::kUnfocusing; in startUnfocus() 209 switch (fState) { in onTick() 211 fState = State::kFocused; in onTick() 214 fState = State::kIdle; in onTick() 233 bool isAnimating() const { return fState == State::kFocusing || fState == State::kUnfocusing; } in isAnimating() 248 State fState = State::kIdle; member in SlideDir::FocusController
|
/external/skqp/tools/viewer/ |
D | TouchGesture.cpp | 114 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() 337 fState = kEmpty_State; in handleDblTap()
|
D | SlideDir.cpp | 116 , fState(State::kIdle) { in FocusController() 123 bool hasFocus() const { return fState == State::kFocused; } in hasFocus() 126 if (fState != State::kIdle) in startFocus() 143 fState = State::kFocusing; in startFocus() 157 fState = State::kUnfocusing; in startUnfocus() 209 switch (fState) { in onTick() 211 fState = State::kFocused; in onTick() 214 fState = State::kIdle; in onTick() 233 bool isAnimating() const { return fState == State::kFocusing || fState == State::kUnfocusing; } in isAnimating() 248 State fState = State::kIdle; member in SlideDir::FocusController
|
/external/skia/modules/skparagraph/src/ |
D | ParagraphImpl.cpp | 82 , fState(kUnknown) in ParagraphImpl() 100 , fState(kUnknown) in ParagraphImpl() 117 if (fState < kShaped) { in unresolvedGlyphs() 128 if (fState < kShaped) { in layout() 133 } else if (fState >= kLineBroken && (fOldWidth != floorWidth || fOldHeight != fHeight)) { in layout() 137 fState = kShaped; in layout() 140 if (fState < kShaped) { in layout() 172 fState = kShaped; in layout() 175 if (fState < kMarked) { in layout() 177 fState = kClusterized; in layout() [all …]
|
/external/skqp/src/shaders/ |
D | SkBitmapProcShader.cpp | 54 , fState(state) in BitmapProcShaderContext() 58 const SkBitmapProcState& state = *fState; in shadeSpan() 88 SkBitmapProcState* fState; member in BitmapProcShaderContext
|