Searched refs:fInterp (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/views/ |
D | SkProgressView.cpp | 11 fInterp = NULL; in SkProgressView() 17 delete fInterp; in ~SkProgressView() 38 if (fInterp) in setValue() 39 delete fInterp; in setValue() 40 fInterp = new SkInterpolator(1, 2); in setValue() 42 fInterp->setKeyFrame(0, SkTime::GetMSecs(), &x, 0); in setValue() 44 fInterp->setKeyFrame(1, SkTime::GetMSecs() + 333, &x); in setValue() 58 if (fInterp) in onDraw() 61 if (fInterp->timeToValues(SkTime::GetMSecs(), &x) == SkInterpolator::kFreezeEnd_Result) in onDraw() 63 delete fInterp; in onDraw() [all …]
|
D | SkWidget.cpp | 26 Interp(const SkString& old, SkMSec now, SkMSec dur, AnimaDir dir) : fOldText(old), fInterp(1, 2) 29 fInterp.setKeyFrame(0, now, &x, 0); 33 fInterp.setKeyFrame(1, now + dur, &x); 39 if (fInterp.timeToValues(SkTime::GetMSecs(), &scale) == SkInterpolator::kFreezeEnd_Result) 68 SkInterpolator fInterp; 71 SkTextView::SkTextView(U32 flags) : SkView(flags), fInterp(NULL), fDoInterp(false) 78 delete fInterp; 117 if (fInterp) 118 delete fInterp; 119 fInterp = new Interp(fText, SkTime::GetMSecs(), 500, dir); [all …]
|
/external/skia/samplecode/ |
D | ClockFaceView.cpp | 163 SkScalar fInterp; member in ClockFaceView 169 fInterp = 0; in ClockFaceView() 229 apply_shader(&paint, fInterp); in onDraw() 235 fInterp += fDx; in onDraw() 236 if (fInterp > 1) { in onDraw() 237 fInterp = 1; in onDraw() 239 } else if (fInterp < 0) { in onDraw() 240 fInterp = 0; in onDraw()
|
/external/skia/include/views/ |
D | SkWidget.h | 290 SkInterpolator* fInterp; variable 328 Interp* fInterp; variable
|