/external/skia/modules/particles/include/ |
D | SkParticleEffect.h | 152 bool isAlive() const { return (fState.fAge >= 0 && fState.fAge <= 1); } in isAlive() 155 float getRate() const { return fState.fRate; } in getRate() 156 int getBurst() const { return fState.fBurst; } in getBurst() 157 SkPoint getPosition() const { return fState.fPosition; } in getPosition() 158 SkVector getHeading() const { return fState.fHeading; } in getHeading() 159 float getScale() const { return fState.fScale; } in getScale() 160 SkVector getVelocity() const { return fState.fVelocity; } in getVelocity() 161 float getSpin() const { return fState.fSpin; } in getSpin() 162 SkColor4f getColor() const { return fState.fColor; } in getColor() 163 float getFrame() const { return fState.fFrame; } in getFrame() [all …]
|
/external/skia/modules/particles/src/ |
D | SkParticleEffect.cpp | 222 fState.fAge = -1.0f; in SkParticleEffect() 270 fState.fAge = 0.0f; in start() 275 fState.fLifetime = 1.0f; in start() 276 fState.fLoopCount = 0; in start() 277 fState.fRate = 0.0f; in start() 278 fState.fBurst = 0; in start() 280 fState.fPosition = position; in start() 281 fState.fHeading = heading; in start() 282 fState.fScale = scale; in start() 283 fState.fVelocity = velocity; in start() [all …]
|
/external/skia/src/gpu/ |
D | GrBackendSurfaceMutableStateImpl.h | 18 : fState(layout, queueFamilyIndex) {} in GrBackendSurfaceMutableStateImpl() 21 : fState(sharedInfo.getImageLayout(), sharedInfo.getQueueFamilyIndex()) {} in GrBackendSurfaceMutableStateImpl() 24 void set(const GrBackendSurfaceMutableState& state) { fState = state; } in set() 28 SkASSERT(fState.fBackend == GrBackend::kVulkan); in getImageLayout() 29 return fState.fVkState.getImageLayout(); in getImageLayout() 33 SkASSERT(fState.fBackend == GrBackend::kVulkan); in setImageLayout() 34 fState.fVkState.setImageLayout(layout); in setImageLayout() 38 SkASSERT(fState.fBackend == GrBackend::kVulkan); in getQueueFamilyIndex() 39 return fState.fVkState.getQueueFamilyIndex(); in getQueueFamilyIndex() 43 SkASSERT(fState.fBackend == GrBackend::kVulkan); in setQueueFamilyIndex() [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/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 …]
|
/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/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/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/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/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/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 __anon5fb691180111::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 __anon0748e7810111::AnimatedSVGSample 60 switch (fState) { in onDrawContent() 100 switch (fState) { in onAnimate() 102 fState = kScroll; in onAnimate() 106 fState = kZoomOut; in onAnimate() 110 fState = kZoomIn; in onAnimate()
|
/external/icu/libicu/cts_headers/ |
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)) {
|
/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)) {
|
/external/skia/src/gpu/d3d/ |
D | GrD3DResourceState.h | 16 GrD3DResourceState(D3D12_RESOURCE_STATES state) : fState(state) {} in GrD3DResourceState() 20 fState.store(state); in setResourceState() 25 return fState.load(); in getResourceState() 29 std::atomic<D3D12_RESOURCE_STATES> fState;
|
D | GrD3DTextureResource.h | 27 , fState(std::move(state)) in GrD3DTextureResource() 48 sk_sp<GrD3DResourceState> grD3DResourceState() const { return fState; } in grD3DResourceState() 51 return fState->getResourceState(); in currentState() 66 fState->setResourceState(newState); in updateResourceState() 82 sk_sp<GrD3DResourceState> fState; variable
|
/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() 193 fState = kZoom_State; in startZoom() 204 SkASSERT(kZoom_State == fState); in endZoom() 205 fState = kEmpty_State; in endZoom() 211 if (kEmpty_State == fState) { in touchMoved() 245 SkASSERT(kZoom_State == fState); in touchMoved() 285 fState = kEmpty_State; in touchEnd() 291 SkASSERT(kZoom_State == fState); in touchEnd() 334 fState = kEmpty_State; in handleDblTap()
|
/external/skia/src/shaders/ |
D | SkBitmapProcShader.cpp | 20 , fState(state) in BitmapProcShaderContext() 23 if (fState->fPixmap.isOpaque() && (255 == this->getPaintAlpha())) { in BitmapProcShaderContext() 32 if (1 == fState->fPixmap.height() && only_scale_and_translate(this->getTotalInverse())) { in BitmapProcShaderContext() 40 const SkBitmapProcState& state = *fState; in shadeSpan() 70 SkBitmapProcState* fState; member in BitmapProcShaderContext
|
/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()
|
/external/skia/modules/skparagraph/src/ |
D | ParagraphImpl.cpp | 74 , fState(kUnknown) in ParagraphImpl() 105 if (fState < kShaped) { in unresolvedGlyphs() 118 fState >= kLineBroken && in layout() 123 fState = kMarked; in layout() 124 } else if (fState >= kLineBroken && fOldWidth != floorWidth) { in layout() 126 fState = kShaped; in layout() 131 if (fState < kShaped) { in layout() 163 fState = kShaped; in layout() 166 if (fState < kMarked) { in layout() 172 fState = kClusterized; in layout() [all …]
|