Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial version for animation with scene approach #1400

Open
wants to merge 294 commits into
base: ENYO-2174-directorapproach
Choose a base branch
from

Conversation

anishramesan
Copy link

Enyo-DCO-1.1-Signed-off-by: Anish Ramesananish.ramesan@lge.com

Ryan Duffy and others added 30 commits October 12, 2015 14:31
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Enables popping multiple views off the stack

Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Rather than checking for the isManager flag which was inconsistently
applied, a VM can call a private isManager method to determine if the
provided view exists and is in its viewManagers hash. A consequence of
this change is that VMs can only be declared within the managers[] and,
when created manually, will always be considered a manager.

Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
When using activate, the requestAnimationFrame caused a brief delay
before the transition began which created an odd pause when releasing
the drag. Using activateImmediate resolves this.

Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Instead of overloading 'activate' with both views and manager and
incongruently using 'deactivate' and 'dismiss' respectively for tear
down, add a new 'manage' event for activation of a child ViewManager.

Note that, for the time being, there is intentionally no
post-transition event (like 'activated' for views) because the
ViewManager's activation isn't animated in any way.

Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Previously, transition completion was handled per-view so ViewLayout
would fire its 'complete' event twice in most scenarios. Since
ViewManager.direction to be reset when the first view transitioned,
the event payload for the second view had an incorrect direction value.

Furthermore, it doesn't make sense for 'complete' to fire until
the entire transition is complete so it now monitors the state of
both views' transition and only notifies when both are done.

Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Issue: ENYO-2723
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
View activation is asynchronous (using rAF) so multiple calls to
activate() in the same frame produced unexpected results and out of
sync styling. For floating panels, the stack would only include the
last view. For fixed panels, the direction could be incorrect if the
penultimate activation was on the opposite side of the final activated
view from the source view.

Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Issue: ENYO-2714
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Issue: ENYO-2723
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Issue: ENYO-2714
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Issue: ENYO-2714
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Also add dragging property to distinguish between dismiss events

Issue: PLAT-12048
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Fixes PLAT-12048 add dismiss event when dragging VM
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
Altered ViewManager.draggable to be either Boolean or a String to
support draggable, flickable, both or neither.

Issue: PLAT-12457
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
anishramesan and others added 30 commits April 7, 2016 19:55
Enyo-DCO-1.1-Signed-off-by: Anish Ramesan<anish.ramesan@lge.com>
Bug fixing related to fixed size array used to push among intermediate
points in case of custom easing.
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Merge 2.6.0-dev into master.
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Enyo-DCO-1.1-Signed-off-by: Anish Ramesan<anish.ramesan@lge.com>
Add matrix related modules within matrix module and vector related
module within vector module.
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Enyo-DCO-1.1-Signed-off-by: Anish Ramesan<anish.ramesan@lge.com>
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Added support for properties like translateX, rotateY, scaleZ, skewX
etc.
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
With addition of various css like transform properties, e.g. translateX,
rotateY etc, now we added support for multiple transform property within
same animation like translateX and translateY. We also handled rotation
property as it is not commutative.
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Enyo-DCO-1.1-Signed-off-by: Ankur Mishra<ankur.mishra@lge.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.