| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Use only one mouse gif and rotate it instead.
also add screensaver inhibit.
Change-Id: I4268bdec9346ee389e9b485e8c37d43a1e607128
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Make the Q_OS_BLACKBERRY define check explicit.
Don't run the test unless CONFIG += blackberry has been used.
This makes for a quicker "fail" path on other platforms and
a slightly stricter "success" path.
Change-Id: I00d8e66eb0abe765a2eeb70698bebfb38783ec9b
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
| |
e.g. Folder of example should start with QtSensorrs_
Example documentation title should start with QtSensors -
images folder renamed to content
Change-Id: I341fb8510ba3ad64068d786559e8d28af5d135c3
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
| |
It's probably not very likely but during app shutdown, the
Q_GLOBAL_STATIC used in sensor gestures will start returning 0. Check
for this to avoid the chance of a crash.
Change-Id: I4b538ac9b9535bd9439a897d4eab51211c523e33
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
| |
This does not happen very often but it's good to report it when it does.
Change-Id: Iaec494f3aa449dbfcda1522ecde4da9311fa27c9
Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
Consolidate all of the Q_GLOBAL_STATIC data into 1 class so we have one
lifetime to manage. Provide a static instance() method for use outside
of the .cpp file and check for this returning 0.
Change-Id: I243e2c5497e1c018ab7713bd9ef43ac22a658ff7
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
It's probably not very likely but during app shutdown, the
Q_GLOBAL_STATIC used in sensors will start returning 0. Check for this
to avoid the chance of a crash.
Change-Id: If2c235b158c36339e35e40074a5b33dbe21a7726
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
|
|
|
|
|
| |
Change-Id: I4311cffddc1653ecf62129bb392350acc6e60276
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: I4f15a1b959a35ec572d13c95430b0058b75b2061
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: Ia32cbf8dbc2e1aaa80896568a346bef062715618
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: Ic6aa24ca44b6cb61c1592bd8536a092d7ec0fc90
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
| |
twist will better work with varying twist speeds.
Change-Id: Iacb87ff8ad337d0b393497f49cf75d73eacdc4e6
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
| |
false positive was tapping fingers on screen would produce a whip
:
Change-Id: Ibff1323f27e899cd63bdbaddcf0e77915a993b21
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
|
| |
make hover work when the ir prox is calibrated.
Also make sure that a hand moving up after doing a cover does not
trigger a hover signal.
Change-Id: I8925c4d7dd53302b9d9950989e37ad991216f621
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some examples were forked off and updated. Unfork by bringing
these changes back (a later update will bring the other examples
in line with this new style).
The changes are primarily made up of file renaming.
Also, JPG files have been converted to PNG.
Some documentation updates have been done.
Change-Id: Ib090abb5ebea2003d479d2336a23317f52b8c4d8
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
| |
remove started and stopped signals and call the manager directly
Change-Id: If2c05576e858c196ab3ba3d786574afbf894ca4b
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
| |
instead of using hard coded values which may be different depending on
devicecalibration.
Change-Id: I1e0a41a7dd45b115daa9f4f873621ffbba673e21
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
| |
This fixes getting a twist gesture by just moving the device left or right.
and update one test data that did not have needed orientation change
when the gesture was performed.
Change-Id: I4fd9148d3f9c3d093530d08c2f6834f0972c659e
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
| |
wrap with QLatin1Sring
Change-Id: Ifc89212e95b990e45f4c38e8e23e292e5f8cc604
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: I7f49f14d0546a2a59a26777c6f8fa083ec29e0ba
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: Iea0f2202bf88589c6c910e3f41b913a42485685d
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
timers need to be stopped when gesture is stopped, else it
may interfere in the next test, where the same instance of timer is
used.
As well, reset some values.
Change-Id: Ib69bbaab88d55bef1c3c5614cae1bdec378aa89b
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
| |
Otherwise we have to manually install tests after enabling then and
having them built.
Change-Id: Ie0ebe4f90284c0d14867304df48c75ff3cff04a4
Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
|
|
|
|
|
|
|
|
| |
use mock sensor plugin to feed captured data through
sensorgestures.
Change-Id: I5d040f2b7d5786b79bf295c98777ada425acbe8a
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: Ib1f65462a9203534538a18fdc6374fb125cd6f3d
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: Ife482d8acb5a533f61e009bf65ec37215a7af595
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
slam and other gestures need to be performed the way the test data
shows.
slam is effected the most as now the gesture needs no hold at end to be
recognized, in accordance with data collected.
Change-Id: Iedfcf8e42def0b1dfe1c4d289a416ca64d8846e1
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
| |
Ensure comma between elements (2 missing), single space and curly-
braces around title elements, etc.
Change-Id: I0e18c9847b4510d484d36c91c8be8a9ab5d10cd3
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Looking at the sensor plugins, it seems we need to load(qt_module)
and load(qt_plugin) instead of the other things these were doing.
Also, QT = core sensors because these plugins have no dependency on
QtGui so we don't want to link that in.
Change-Id: Id0560b0da39e6d2a7ed8619545189446324f69c0
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
| |
Change-Id: Ia3c49b6d991439eba06537938198ed682f23065d
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I3b58ead1b24391ead4577777387dce44245e28a0
Reviewed-by: Tennessee Carmel-Veilleux <tcarmelveilleux@rim.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
| |
Change-Id: I04e1c1eb7702626f4ce5e19b301f8774e604b930
Reviewed-by: Tennessee Carmel-Veilleux <tcarmelveilleux@rim.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each sensor now installs itself as an event filter of the application
object waiting to (de)activation events. When an ApplicationDeactivate
event arrives sensors are paused, they get resumed on
ApplicationActivate.
This behavior is inhibited by the alwaysOn property.
Change-Id: I559239f279d9412d8836efad08e6688019504b16
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Tennessee Carmel-Veilleux <tcarmelveilleux@rim.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
The emulator may be missing (eg. when running unit/system tests) so
handle this case without crashing.
Also fix a missing QLatin1String() around a bare string.
Change-Id: Ibeeb0078c1ae12cec4bf8e3f4e81b3a4c72347da
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
| |
qFree has been deprecated.
Change-Id: Ie64c791451cb3722183f2ea4d27b9b8e87a4f629
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: Ic30ec2d896b6db83e3420d38a70644ab34b5bdc9
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: I461b35e778ddf61008a32485b699e440132a0b22
Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
|
|
|
|
|
|
|
|
| |
QtUiTest (and possibly other things) will conspire to ensure our loading
hack does not work. Do it the foolproof way instead.
Change-Id: I4bb094a43498c2a58da2ed7fc656280ab40d5f06
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
| |
I don't remember this being so apparently jerky before.
This is... better though not quite there.
Change-Id: Ifa54071e139b4dbb278ed96087f7e138dfac30e4
Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
|
|
|
|
|
|
|
|
| |
code from the plugin has been moved into the manager so that every other
plugin can be triggered by the emluator.
Change-Id: I37232ab6d45a027541ab1b5c504b2844049ba522
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
| |
There is no real dependency on qtsvg/qtscript for this module.
Change-Id: I6e96672373be295d90e628f50f176a9af35c9c0d
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Make sure the DCMD_SENSOR_BKGRND command is sent to the sensor when we
call start(). Also ensure we send again the command when the property
is updated.
Change-Id: Ia37a96ba4dfc6fc1bdecf54ad2b730412939b32a
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Tennessee Carmel-Veilleux <tcarmelveilleux@rim.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: I5e5c57c8c3a86b17b52b35fb50e61b62fef12a0b
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: Id07b7b0bba74846262124638e612beed777d4b3c
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
| |
set the datarate for accel sensor to be known.
Change-Id: I83f8771b178591adb518146473819602f7f48b23
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The C++ library tries to delay things as much as possible. It turns
out that doing this for QML is not optimal because it means calling
sensor.start() can block for a long time (up to hundreds of
milliseconds in worst case scenarious). If the sensor is started
after the UI is visible, this will cause a stutter.
The workaround is not particularly elegant. We force the sensors
library to do its setup while the QML plugin is being loaded.
Change-Id: Iae945ccb79eb568c5decbfdf8a5d623cd96e9d6b
Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
|
|
|
|
|
| |
Change-Id: I6d9f674eac15ad5f22de0e5631396c2c9eb1f19f
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
|
|
|
|
|
|
|
|
| |
QSensorFilter is a base-class that defines virtual functions. Therefore
it also needs to declare a virtual destructor.
Change-Id: I8f62b2eb825e73674980355a8419fb2d08f9c41c
Reviewed-by: Andras Becsi <andras.becsi@nokia.com>
|
|
|
|
|
|
|
|
| |
Cleaner for deployment (no need to write to inaccessible system locations)
though it uses a bit of a hack to get QtSensors to find the backend plugin.
Change-Id: Ibfa765d928a2d57429832c68594bcbe38f9d6a6e
Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
|
|
|
|
|
|
|
|
| |
This is a workaround for platforms where QStandardPaths is either
broken or returning paths that aren't useful.
Change-Id: I4f7fbb0ea068d0bf13dc4f572ddbd25ad6048053
Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
|