Home
last modified time | relevance | path

Searched refs:moveProgress (Results 1 – 8 of 8) sorted by relevance

/dports/x11-wm/compiz-plugins-extra/compiz-plugins-extra-0.8.8/src/animationaddon/
H A Dskewer.c206 float moveProgress = forwardProgress - p->moveStartTime; in fxSkewerAnimStepPolygon() local
209 moveProgress /= p->moveDuration; in fxSkewerAnimStepPolygon()
210 if (moveProgress < 0) in fxSkewerAnimStepPolygon()
211 moveProgress = 0; in fxSkewerAnimStepPolygon()
212 else if (moveProgress > 1) in fxSkewerAnimStepPolygon()
213 moveProgress = 1; in fxSkewerAnimStepPolygon()
216 p->centerPosStart.x + pow (moveProgress, 2) * p->finalRelPos.x; in fxSkewerAnimStepPolygon()
219 p->centerPosStart.y + pow (moveProgress, 2) * p->finalRelPos.y; in fxSkewerAnimStepPolygon()
223 pow (moveProgress, 2) * p->finalRelPos.z * 1.0f / w->screen->width; in fxSkewerAnimStepPolygon()
226 p->rotAngle = pow (moveProgress, 2) * p->finalRotAng + p->rotAngleStart; in fxSkewerAnimStepPolygon()
H A Dfold3d.c153 float moveProgress = forwardProgress - p->moveStartTime; in fxFoldAnimStepPolygon() local
156 moveProgress /= p->moveDuration; in fxFoldAnimStepPolygon()
157 if (moveProgress < 0) in fxFoldAnimStepPolygon()
158 moveProgress = 0; in fxFoldAnimStepPolygon()
159 else if (moveProgress > 1) in fxFoldAnimStepPolygon()
160 moveProgress = 1; in fxFoldAnimStepPolygon()
165 p->rotAngle = dir * moveProgress * p->finalRotAng; in fxFoldAnimStepPolygon()
H A Dpolygon.c1847 moveProgress /= p->moveDuration; in polygonsLinearAnimStepPolygon()
1848 if (moveProgress < 0) in polygonsLinearAnimStepPolygon()
1849 moveProgress = 0; in polygonsLinearAnimStepPolygon()
1850 else if (moveProgress > 1) in polygonsLinearAnimStepPolygon()
1851 moveProgress = 1; in polygonsLinearAnimStepPolygon()
1873 moveProgress /= p->moveDuration; in polygonsDeceleratingAnimStepPolygon()
1874 if (moveProgress < 0) in polygonsDeceleratingAnimStepPolygon()
1875 moveProgress = 0; in polygonsDeceleratingAnimStepPolygon()
1876 else if (moveProgress > 1) in polygonsDeceleratingAnimStepPolygon()
1877 moveProgress = 1; in polygonsDeceleratingAnimStepPolygon()
[all …]
/dports/x11-wm/compiz-plugins-main/compiz-plugins-main-0.8.8/src/animation/
H A Dzoomside.c135 float *moveProgress, in fxZoomAnimProgress() argument
170 if (moveProgress && scaleProgress) in fxZoomAnimProgress()
207 *moveProgress = 1 - springyMoveProgress; in fxZoomAnimProgress()
211 *moveProgress = nonSpringyProgress; in fxZoomAnimProgress()
215 *moveProgress = 1 - *moveProgress; in fxZoomAnimProgress()
217 *moveProgress = 1 - *moveProgress; in fxZoomAnimProgress()
266 float moveProgress; in getZoomCenterScaleFull() local
272 rotateProgress = moveProgress; in getZoomCenterScaleFull()
281 fxZoomAnimProgress (w, &moveProgress, &scaleProgress, TRUE); in getZoomCenterScaleFull()
285 {(1 - moveProgress) * winCenter.x + moveProgress * iconCenter.x, in getZoomCenterScaleFull()
[all …]
H A Danimation-internal.h606 float *moveProgress,
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/ui/chat/attach/
H A Dattach_album_thumbnail.h42 float64 moveProgress);
H A Dattach_album_preview.cpp289 const auto moveProgress = _finishDragAnimation.value(1.); in paintAlbum() local
294 thumb->paintInAlbum(p, left, top, shrink, moveProgress); in paintAlbum()
298 _paintedAbove->paintInAlbum(p, left, top, shrink, moveProgress); in paintAlbum()
H A Dattach_album_thumbnail.cpp186 float64 moveProgress) { in paintInAlbum() argument
189 const auto geometry = countCurrentGeometry(moveProgress); in paintInAlbum()
192 if (shrink > 0 || moveProgress < 1.) { in paintInAlbum()