[AT-SPI] Use Accessible::IsHighlighted() 55/309955/5
authorArtur Świgoń <a.swigon@samsung.com>
Thu, 18 Apr 2024 09:28:12 +0000 (11:28 +0200)
committerArtur Świgoń <a.swigon@samsung.com>
Thu, 18 Apr 2024 11:58:06 +0000 (13:58 +0200)
commitb4d1395ea5d996b13d3f655c767bf909c3595b36
treeba51f0dac967a00eb310d1d865e6dd142f41b8dd
parent8187509a18020947f79841feaf21d65d8387a61b
[AT-SPI] Use Accessible::IsHighlighted()

This helper allows to simplify multiple comparisons of Self() to
GetCurrentlyHighlightedActor() to simply checking IsHighlighted().

Some new usages of IsHighlighted() are also introduced before event
emission in order to reduce D-Bus traffic.

Change-Id: I5d8906db22c84764de3e8df631df4d4cf8062c2f
12 files changed:
automated-tests/src/dali-toolkit-internal/utc-Dali-Accessibility-Value.cpp
dali-toolkit/devel-api/controls/control-accessible.cpp
dali-toolkit/internal/controls/buttons/check-box-button-impl.cpp
dali-toolkit/internal/controls/buttons/push-button-impl.cpp
dali-toolkit/internal/controls/buttons/radio-button-impl.cpp
dali-toolkit/internal/controls/buttons/toggle-button-impl.cpp
dali-toolkit/internal/controls/progress-bar/progress-bar-impl.cpp
dali-toolkit/internal/controls/scroll-bar/scroll-bar-impl.cpp
dali-toolkit/internal/controls/slider/slider-impl.cpp
dali-toolkit/internal/controls/text-controls/text-editor-impl.cpp
dali-toolkit/internal/controls/text-controls/text-field-impl.cpp
dali-toolkit/public-api/controls/control-impl.cpp