Home
last modified time | relevance | path

Searched refs:place (Results 1 – 25 of 1092) sorted by relevance

12345678910>>...44

/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplace/
H A Dtst_qplace.cpp163 QPlace place; in imageContentTest() local
164 QVERIFY2(place.content(QPlaceContent::ImageType).count() ==0,"Wrong default value"); in imageContentTest()
180 place.setContent(QPlaceContent::ImageType, imageCollection); in imageContentTest()
181 QPlaceContent::Collection retrievedCollection = place.content(QPlaceContent::ImageType); in imageContentTest()
199 place.insertContent(QPlaceContent::ImageType, imageCollection); in imageContentTest()
201 retrievedCollection = place.content(QPlaceContent::ImageType); in imageContentTest()
213 QPlace place; in reviewContentTest() local
214 QVERIFY2(place.content(QPlaceContent::ReviewType).count() ==0,"Wrong default value"); in reviewContentTest()
230 place.setContent(QPlaceContent::ReviewType, reviewCollection); in reviewContentTest()
231 QPlaceContent::Collection retrievedCollection = place.content(QPlaceContent::ReviewType); in reviewContentTest()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/examples/location/places/forms/
H A DPlaceDetails.qml56 property variant place
59 signal searchForSimilar(variant place)
60 signal showReviews(variant place)
61 signal showEditorials(variant place)
62 signal showImages(variant place)
64 function placeAddress(place) {
65 if (!place)
68 if (place.location.address.text.length > 0)
69 return place.location.address.text;
71 return place.location.address.street;
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/doc/snippets/declarative/
H A Dplaces.qml64 id: place
95 model: place.extendedAttributes.keys()
97 text: "<b>" + place.extendedAttributes[modelData].label + ": </b>" +
98 place.extendedAttributes[modelData].text
116 //assign a new attribute to a place
117 var smokingAttrib = Qt.createQmlObject('import QtLocation 5.3; PlaceAttribute {}', place);
120 place.extendedAttributes.smoking = smokingAttrib;
123 place.extendedAttributes.smoking.text = "Yes"
164 place: place
222 place: place
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/doc/snippets/places/
H A Drequesthandler.h119 QPlace place; in details() local
121 if (!place.detailsFetched()) { in details()
122 /*QPlaceDetailsReply * */ detailsReply = manager->getPlaceDetails(place.placeId()); in details()
130 QPlace place; in images() local
135 request.setPlaceId(place.placeId()); in images()
157 QPlace place; in savePlace() local
158 place.setName( "Fred's Ice Cream Parlor" ); in savePlace()
169 place.setLocation(location); in savePlace()
171 /* QPlaceIdReply * */savePlaceReply = manager->savePlace(place); in savePlace()
178 QPlace place; in removePlace() local
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/placesv2/
H A Dqplacedetailsreplyimpl.cpp132 QPlace place; in replyFinished() local
134 place.setPlaceId(object.value(QLatin1String("placeId")).toString()); in replyFinished()
138 place.setName(object.value(QLatin1String("name")).toString()); in replyFinished()
204 place.setLocation(location); in replyFinished()
206 place.setCategories(parseCategories(object.value(QLatin1String("categories")).toArray(), in replyFinished()
209 place.setIcon(m_engine->icon(object.value(QLatin1String("icon")).toString(), in replyFinished()
210 place.categories())); in replyFinished()
216 place.setContactDetails(QPlaceContactDetail::Phone, in replyFinished()
220 place.setContactDetails(QPlaceContactDetail::Fax, in replyFinished()
224 place.setContactDetails(QPlaceContactDetail::Website, in replyFinished()
[all …]
H A Dqplacesearchreplyhere.cpp151 QPlace place; in parsePlaceResult() local
169 place.setLocation(location); in parsePlaceResult()
174 place.setRatings(ratings); in parsePlaceResult()
177 place.setName(title); in parsePlaceResult()
181 place.setIcon(icon); in parsePlaceResult()
184 place.setCategory(parseCategory(item.value(QStringLiteral("category")).toObject(), in parsePlaceResult()
194 place.setPlaceId(href.path().mid(18, 41)); in parsePlaceResult()
198 place.setExtendedAttribute(QPlaceAttribute::Provider, provider); in parsePlaceResult()
199 place.setVisibility(QLocation::PublicVisibility); in parsePlaceResult()
201 result.setPlace(place); in parsePlaceResult()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplaceresult/
H A Dtst_qplaceresult.cpp53 void place();
70 QPlace place; in initialSubObject() local
71 place.setName(QStringLiteral("place")); in initialSubObject()
72 placeResult.setPlace(place); in initialSubObject()
108 QPlace place; in constructorTest() local
109 place.setName("place"); in constructorTest()
110 result.setPlace(place); in constructorTest()
119 QCOMPARE(result2.place(), place); in constructorTest()
217 void tst_QPlaceResult::place() in place() function in tst_QPlaceResult
220 QCOMPARE(result.place(), QPlace()); in place()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dmodule.c76 static u64 do_reloc(enum aarch64_reloc_op reloc_op, __le32 *place, u64 val) in do_reloc() argument
82 return val - (u64)place; in do_reloc()
84 return (val & ~0xfff) - ((u64)place & ~0xfff); in do_reloc()
93 static int reloc_data(enum aarch64_reloc_op op, void *place, u64 val, int len) in reloc_data() argument
95 s64 sval = do_reloc(op, place, val); in reloc_data()
111 *(s16 *)place = sval; in reloc_data()
127 *(s32 *)place = sval; in reloc_data()
143 *(s64 *)place = sval; in reloc_data()
157 static int reloc_insn_movw(enum aarch64_reloc_op op, __le32 *place, u64 val, in reloc_insn_movw() argument
162 u32 insn = le32_to_cpu(*place); in reloc_insn_movw()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapbox/
H A Dqplacesearchreplymapbox.cpp63 QPlace place; in parsePlaceResult() local
65 place.setAttribution(attribution); in parsePlaceResult()
66 place.setPlaceId(response.value(QStringLiteral("id")).toString()); in parsePlaceResult()
67 place.setVisibility(QLocation::PublicVisibility); in parsePlaceResult()
73 place.setName(placeName); in parsePlaceResult()
74 place.setDetailsFetched(true); in parsePlaceResult()
93 place.setIcon(icon); in parsePlaceResult()
101place.setContactDetails(QPlaceContactDetail::Phone, QList<QPlaceContactDetail>() << phoneDetail); in parsePlaceResult()
113 place.setCategories(categories); in parsePlaceResult()
121 place.setLocation(QMapboxCommon::parseGeoLocation(response)); in parsePlaceResult()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/doc/src/
H A Dplace-definition.qdocinc1 A place is a point of interest, it could be a favorite restaurant, a park or someone's home.
2 A QPlace object represents a place by acting as a container for various information about that plac…
11 The place details consist of properties of the place, such as the name,
12 location, contact information and so on. When a place is returned during a
14 there are further details about the place that can be retrieved on an
15 individual place by place basis, if the user is interested. The
23 The rich content of a place consists of items such as images, reviews and
25 treated separately from the place details. They can be retrieved in a paged
27 be assigned to a place so it can act as a convenient container.
H A Dplaces.qdoc118 place roles have been used below, these are of type string and \l Place
133 access to the \e place role, other search result types may not have a
134 \e place role.
149 used to display a marker image. A marker is shown for every place that
150 was found by the search model. The delegate uses the \e place role
163 access to the \e place role, other search result types may not have a
164 \e place role.
184 snippet shows how to save and remove a place using javascript.
218 \include place-definition.qdocinc
237 type is a place. If so we can then retrieve some of the core details of the
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/places/
H A Dqplaceresult.cpp49 : QPlaceSearchResultPrivate(other), distance(other.distance), place(other.place), in QPlaceResultPrivate()
64 && place == od->place in compare()
139 QPlace QPlaceResult::place() const in place() function in QPlaceResult
142 return d->place; in place()
148 void QPlaceResult::setPlace(const QPlace &place) in setPlace() argument
151 d->place = place; in setPlace()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/placemanager_utils/
H A Dplacemanager_utils.cpp48 const QPlace &place, in doSavePlace() argument
53 QPlaceIdReply *saveReply = manager->savePlace(place); in doSavePlace()
75 foreach (QPlace place, places) { in doSavePlaces()
76 saveReply = manager->savePlace(place); in doSavePlaces()
89 foreach (QPlace *place, places) { in doSavePlaces()
91 saveReply = manager->savePlace(*place); in doSavePlaces()
95 place->setPlaceId(saveReply->id()); in doSavePlaces()
122 results->append(placeResult.place()); in doSearch()
144 const QPlace &place, in doRemovePlace() argument
147 QPlaceIdReply *removeReply = manager->removePlace(place.placeId()); in doRemovePlace()
[all …]
H A Dplacemanager_utils.h70 const QPlace &place,
92 static bool doRemovePlace(QPlaceManager *manager, const QPlace &place,
97 QPlace *place,
138 bool doSavePlace(const QPlace &place,
141 return doSavePlace(placeManager, place, expectedError, placeId);
152 bool doRemovePlace(const QPlace &place,
155 return doRemovePlace(placeManager, place, expectedError);
171 QPlace *place,
173 return doFetchDetails(placeManager, placeId, place, expectedError);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/nokia_services/places_semiauto/
H A Dtst_places.cpp290 QVERIFY(!result.place().name().isEmpty()); in searchResultFields()
291 QVERIFY(result.place().location().coordinate().isValid()); in searchResultFields()
292 QVERIFY(!result.place().location().address().text().isEmpty()); in searchResultFields()
293 QVERIFY(!result.place().location().address().isTextGenerated()); in searchResultFields()
294 QVERIFY(result.place().categories().count() == 1);//only primary category retrieved on in searchResultFields()
379 QPlace place; in details() local
380 QVERIFY(doFetchDetails(ValidKnownPlaceId, &place)); in details()
381 QVERIFY(!place.name().isEmpty()); in details()
382 QVERIFY(!place.icon().url().isEmpty()); in details()
383 QStringList contactTypes = place.contactTypes(); in details()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplacedetailsreply/
H A Dtst_qplacedetailsreply.cpp42 void setPlace(const QPlace &place) { QPlaceDetailsReply::setPlace(place); } in setPlace() argument
79 QPlace place; in placeTest() local
80 place.setName(QStringLiteral("Gotham City")); in placeTest()
81 reply->setPlace(place); in placeTest()
83 QCOMPARE(reply->place(), place); in placeTest()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/geotestplugin/
H A Dqplacemanagerengine_test.h267 QPlace place; in QPlaceManagerEngineTest() local
269 place = QPlaceAlt(); in QPlaceManagerEngineTest()
273 place.setExtendedAttribute(QStringLiteral("x_provider"), att); in QPlaceManagerEngineTest()
276 place.setName(p.value(QStringLiteral("name")).toString()); in QPlaceManagerEngineTest()
277 place.setPlaceId(p.value(QStringLiteral("id")).toString()); in QPlaceManagerEngineTest()
286 place.setCategories(categories); in QPlaceManagerEngineTest()
296 place.setLocation(location); in QPlaceManagerEngineTest()
298 m_places.insert(place.placeId(), place); in QPlaceManagerEngineTest()
304 m_placeRecommendations.insert(place.placeId(), recommendations); in QPlaceManagerEngineTest()
331 m_placeReviews.insert(place.placeId(), reviews); in QPlaceManagerEngineTest()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/doc/src/plugins/
H A Dplaces-backend.qdoc37 The QPlaceManager interface, provided to clients to allow access to place information,
82 from the manager either from a search or a query to get place details,
91 remote place datastores it may be desirable to cache the category structure rather than
97 A place generally cannot be saved directly between managers as is because it contains manager speci…
99 …e QPlaceManagerEngine::compatiblePlace() function. This function returns a copy of the input place
102 Construction of a compatible place may involve ignoring certain properties from the
103 original place, for example if contact details are not supported, these are left out of the
104 compatible place. Other times it may involve modifying certain properties, for example
106 place's icon to a location that the backend can access.
116 …lish cross-referencing, there needs to be a link between the original place and the favorited place
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_core/
H A Dutils.js94 function testConsecutiveFetch(testCase, model, place, expectedValues, data) argument
107 testCase.compare(model.place, null);
112 model.place = place;
141 function testReset(testCase, model, place) argument
148 model.place = place;
153 model.place = null;
174 model.place = data.place;
H A Dtst_place.qml60 name: "Test place"
121 savePlace.icon.parameters.singleUrl = "http://example.com/test-place.png";
305 …{ tag: "placeId", property: "placeId", signal: "placeIdChanged", value: "test-place-id-1", reset: …
463 // Save a place
470 savePlace.placeId = "invalid-place-id";
491 // Read a place
514 // verify that read place is not currently the same as what we saved
522 // verify that read place is the same as what we saved
528 // Remove a place
565 var place = Qt.createQmlObject('import QtLocation 5.3; Place { }', this);
[all …]
H A Dtst_editorialmodel.qml74 { tag: "place", property: "place", signal: "placeChanged", value: testPlace },
138 place: parkViewHotel,
143 tag: "fetch from a place with no editorials",
146 place: seaViewHotel,
154 place: parkViewHotel,
162 place: parkViewHotel,
170 place: parkViewHotel,
H A Dtst_imagemodel.qml74 { tag: "place", property: "place", signal: "placeChanged", value: testPlace },
138 place: parkViewHotel,
143 tag: "fetch from a place with no images",
146 place: seaViewHotel,
154 place: parkViewHotel,
162 place: parkViewHotel,
170 place: parkViewHotel,
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/osm/
H A Dqplacesearchreplyosm.cpp122 pr.setDistance(searchCenter.distanceTo(pr.place().location().coordinate())); in replyFinished()
123 placeIds.append(pr.place().placeId()); in replyFinished()
177 QPlace place; in parsePlaceResult() local
187 place.setAttribution(item.value(QStringLiteral("licence")).toString()); in parsePlaceResult()
188 place.setPlaceId(QString::number(item.value(QStringLiteral("place_id")).toInt())); in parsePlaceResult()
195 place.setIcon(icon); in parsePlaceResult()
201 place.setName(title); in parsePlaceResult()
207 place.setExtendedAttribute("requestUrl", attribute); in parsePlaceResult()
225 place.setLocation(location); in parsePlaceResult()
229 result.setPlace(place); in parsePlaceResult()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_thp.c33 const struct ttm_place *place, in vmw_thp_insert_aligned() argument
43 place->fpfn, lpfn, mode); in vmw_thp_insert_aligned()
51 const struct ttm_place *place, in vmw_thp_get_node() argument
66 lpfn = place->lpfn; in vmw_thp_get_node()
71 if (place->flags & TTM_PL_FLAG_TOPDOWN) in vmw_thp_get_node()
79 place, mem, lpfn, mode); in vmw_thp_get_node()
87 ret = vmw_thp_insert_aligned(mm, node, align_pages, place, mem, in vmw_thp_get_node()
95 place->fpfn, lpfn, mode); in vmw_thp_get_node()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/examples/location/places/views/
H A DSearchResultDelegate.qml60 signal showPlaceDetails(variant place,variant distance)
66 //! [PlaceSearchModel place delegate]
105 source: place.favorite ? "../../resources/star.png" : place.icon.url()
111 text: place.favorite ? place.favorite.name : place.name
136 if (!place.detailsFetched)
137 place.getDetails();
138 root.showPlaceDetails(model.place, model.distance);
144 //! [PlaceSearchModel place delegate]

12345678910>>...44