Home
last modified time | relevance | path

Searched refs:newCenter (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/geotestplugin/
H A Dqgeotiledmap_test.cpp58 QGeoCoordinate newCenter = param->property("center").value<QGeoCoordinate>(); in addParameter() local
59 cameraData.setCenter(newCenter); in addParameter()
104 QGeoCoordinate newCenter = param->property(propertyName).value<QGeoCoordinate>(); in onCameraCenter_testChanged() local
105 cameraData.setCenter(newCenter); in onCameraCenter_testChanged()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqdeclarativerectanglemapitem.cpp387 …QGeoCoordinate newCenter = map()->geoProjection().itemPositionToCoordinate(QDoubleVector2D(newGeom… in geometryChanged() local
389 if (!newCenter.isValid() || !oldCenter.isValid()) in geometryChanged()
391 double offsetLongi = newCenter.longitude() - oldCenter.longitude(); in geometryChanged()
392 double offsetLati = newCenter.latitude() - oldCenter.latitude(); in geometryChanged()
H A Dqdeclarativecirclemapitem.cpp447 …const QGeoCoordinate &oldCenter, qreal oldRadius, const QGeoCoordinate &newCenter, qreal newRadius) in possiblySwitchBackend() argument
455 && !QDeclarativeCircleMapItemPrivate::crossEarthPole(newCenter, newRadius)) { in possiblySwitchBackend()
459 …&& !QDeclarativeCircleMapItemPrivate::crossEarthPole(newCenter, newRadius)) { // else if old cross… in possiblySwitchBackend()
H A Dqdeclarativepolygonmapitem.cpp894 …QGeoCoordinate newCenter = map()->geoProjection().itemPositionToCoordinate(QDoubleVector2D(newGeom… in geometryChanged() local
896 if (!newCenter.isValid() || !oldCenter.isValid()) in geometryChanged()
898 double offsetLongi = newCenter.longitude() - oldCenter.longitude(); in geometryChanged()
899 double offsetLati = newCenter.latitude() - oldCenter.latitude(); in geometryChanged()
H A Dqdeclarativecirclemapitem_p.h111 …const QGeoCoordinate &oldCenter, qreal oldRadius, const QGeoCoordinate &newCenter, qreal newRadius…
H A Dqdeclarativepolylinemapitem.cpp1275 …QGeoCoordinate newCenter = map()->geoProjection().itemPositionToCoordinate(QDoubleVector2D(newGeom… in geometryChanged() local
1277 if (!newCenter.isValid() || !oldCenter.isValid()) in geometryChanged()
1279 double offsetLongi = newCenter.longitude() - oldCenter.longitude(); in geometryChanged()
1280 double offsetLati = newCenter.latitude() - oldCenter.latitude(); in geometryChanged()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeomap.cpp128 QGeoCoordinate newCenter = geoProjection().anchorCoordinateToPoint(coordinate, anchorPoint); in anchorCoordinateToPoint() local
129newCenter.setLatitude(qBound(d->m_minimumViewportLatitude, newCenter.latitude(), d->m_maximumViewp… in anchorCoordinateToPoint()
131 if (data.center() != newCenter) { in anchorCoordinateToPoint()
132 data.setCenter(newCenter); in anchorCoordinateToPoint()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeocircle/
H A Dtst_qgeocircle.cpp206 QFETCH(QGeoCoordinate, newCenter); in translate()
214 QCOMPARE(c.center(), newCenter); in translate()
221 QCOMPARE(c.center(), newCenter); in translate()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeorectangle/
H A Dtst_qgeorectangle.cpp827 QFETCH(QGeoCoordinate, newCenter); in center()
833 box.setCenter(newCenter); in center()