summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_transit.c
Commit message (Collapse)AuthorAgeFilesLines
* ui transit: improve zoom effect smoothness by subpixel rendering.Hermet Park2020-11-251-0/+6
| | | | | | | | | | | | | | | | | | | | Summary: evas image might have a better quaility if scaling/transform is not necessary, so we have a condition to check if image is axis-aligned transformed or not. On the other hand sub-pixel(floating point coordinates unit) rendering necessary if image has an effect such a zooming. This would result in a smoother effect than integer coodinate system. We need a more precise condition to confirm this, so we intrduce "anti-alias" option to decide the condition. now, anti-aliased objects will have a sub-pixel rendering always. Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12194
* elm: resolve float comparison warningsMike Blumenkrantz2020-05-091-4/+4
| | | | | | | | | | Summary: Depends on D11790 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11791
* elm_transit: Prevent adding duplicatesJunsuChoi2020-03-241-0/+7
| | | | | | | | | | | | | | | | | | Summary: When repeating call elm_transit_object_add, prevent the object from being added duplicates. Test Plan: N/A Reviewers: Hermet, herb, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11563
* elm_transit: replace evas_object_event_callback_xxx with efl_event_callback_xxxJunsuChoi2020-03-241-52/+57
| | | | | | | | | | | | | | | | | | | | Summary: In transit, event_callback is mainly used for delete callback. transit uses evas_object_freeze_events_set to control the user's mouse events. However, EVAS_CALLBACK_DEL was not called because of this. The behavior of evas_object_freeze_event was changed. This patch was created to fix some issues. Test Plan: N/A Reviewers: Hermet, kimcinoo, herb Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11562
* elm_transit: remove unnecessary image preload invocationShinwoo Kim2020-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: If user uses image object with following step, then unnecessary preloading related line is invocated in elm_image_file_set. elm_image_file_set(obj, file, NULL) elm_icon_preload_disabled_set(obj, EINA_TRUE) The following is the preloading related line triggered by elm_image_file_set. (#0) _image_preload_internal (#1) _evas_image_load_async_start (#2) evas_object_image_preload (#3) _efl_ui_image_smart_internal_file_set (#4) _efl_ui_image_efl_file_load (#5) efl_file_load (#6) efl_file_simple_load (#7) elm_image_file_set Moreover there is a flickering issue caused by the unnecessary preloading. A test code is attached. Test Plan: Use following test code. The flickering issue occurs with `ELM_SCALE=10 ELM_ACCEL=gl ./test_transit` {F3847288} Reviewers: Hermet, jsuya Reviewed By: Hermet, jsuya Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11364
* Elm_Transit: Fix wrong intervention progress valueJunsuChoi2019-12-231-1/+3
| | | | | | | | | | | | | | | | | | | | | | Summary: If progress_value_set is called more than once, an error value occurs. The intervention progress must use progress that does not apply the previous intervention progress. Test Plan: meson_option.txt -> remove json in evas-loaders-disabler option elementary_test -to "animation view" Click Play -> Play back -> Play Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10907
* elementary: Reduce EO calls by using geometry_setChris Michael2018-11-211-2/+2
| | | | | This patch reduces EO calls by using evas_object_geometry_set rather than calling move & resize.
* elementary transit: add a new api - elm_transit_progress_value_set()Hermet Park2018-11-051-10/+25
| | | | | | | | | | | | | | | | | | Summary: This API sets current time progression of the animation. It intervenes current progress instantly when it requires to jump onto a specific frame position. @feature Reviewers: #committers Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7211
* elementary transit: fix wrong pausing time calculation.Hermet Park2018-11-051-13/+37
| | | | | | | | | | | | | | | | | | Summary: the logic of computation of pausing time was incorrect. even it didn't take care of revert_mode at all. delayed time must be subtracted from elapsed time. @fix Reviewers: #committers Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7201
* elementary transit: allow duration change on animatining.Hermet Park2018-10-251-5/+0
| | | | | | | | | | | | | | | | | | Summary: Previously, it didn't allow to change duration because of implementation limit. This time, it turns out it doesn't need to limit the behavior. More capacity is better for various scenarioes. Reviewers: #committers, devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7205
* elementary transit: add a convenient API.Hermet Park2018-10-231-0/+7
| | | | | | | | | | | | | | | | | | Summary: elm_transit_current_repeat_times_get() returns current repeating count of transition. @feature Reviewers: #committers, devilhorns Reviewed By: #committers, devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7200
* elm_transit: Convert to new animatorsDerek Foreman2018-09-181-4/+20
| | | | | | | | | | | | | | | | Summary: Use more efficient animator mechanism. Depends on D7047 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7048
* docs: Fix typos in API reference doc and comments.Yeongjong Lee2018-08-311-1/+1
| | | | | | | | | | | | Reviewers: Hermet, segfaultxavi Reviewed By: Hermet, segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6948
* Efl.Gfx.Entity (from Efl.Gfx)Xavi Artigas2018-04-241-1/+1
| | | | | | Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
* efl: drop deprecated Encoding key from desktop filesRoss Vandegrift2017-12-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | Summary: The Encoding key is no longer required, all desktop files are assumed to be UTF-8 encoded. See details at: https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html Fix various typos and misspellings lintian, Debian's package checker, uses strings to check for common typos in compiled binaries. This change fixes the ones it identified in 1.20.6. Reviewers: cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5584 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* efl: Use Eina.Size2D for Efl.Gfx.sizeJean-Philippe Andre2017-09-181-1/+4
| | | | | Big patch as a lot of things call or reimplement size_set. Hopefully I got it right... fingers crossed.
* efl: Introduce Eina.Rect and switch EO APIs to itJean-Philippe Andre2017-09-181-2/+2
| | | | | | | | | | | | | | | | | | It's a complex struct but defined in EO as a simple struct. ABI-wise it's equivalent to Eina_Rectangle. Some macros that use Eina_Rectangle also work on Eina_Rect out of the box, most of the code dealing with x,y,w,h will require no modifications either. But Eina_Rect provides direct access to a size or position 2d component, as well as the usual x,y,w,h. The field "rect" is provided as a convenience for code dealing with both Eina_Rectangle and Eina_Rect. We may or may not require it. Note: Size2D could use unsigned values but I have spotted a few places in the code that actually use -1 to indicate invalid size (as opposed to 0x0). @feature
* efl_gfx_fill: Use Eina.Rectangle for fill (EO)Jean-Philippe Andre2017-09-131-8/+10
|
* elementary transit: more optimal api call.Hermet Park2016-11-041-1/+1
| | | | come to think of it, we have a size get api...
* elementary transit: support image fill area in zoom effect.Hermet Park2016-11-041-4/+31
| | | | | | | Transit zoom effect didn't care image fill area in case of manual filling. This additional logic computes map uvs with regards to the current image fill area. @fix
* elementary: move all legacy files to their expected new location.Cedric BAIL2016-03-231-0/+2571