Home
last modified time | relevance | path

Searched refs:region (Results 1 – 25 of 176) sorted by relevance

12345678

/expo/ios/versioned/sdk47/EXLocation/EXLocation/TaskConsumers/
H A DABI47_0_0EXGeofencingTaskConsumer.m86 region.notifyOnEntry = notifyOnEntry;
87 region.notifyOnExit = notifyOnExit;
90 [locationManager startMonitoringForRegion:region];
91 [locationManager requestStateForRegion:region];
107 if ([region isKindOfClass:[CLCircularRegion class]]) {
150 [_locationManager stopMonitoringForRegion:region];
152 [_locationManager requestStateForRegion:region];
183 @"identifier": region.identifier,
185 @"radius": @(region.radius),
186 @"latitude": @(region.center.latitude),
[all …]
/expo/packages/expo-location/ios/EXLocation/TaskConsumers/
H A DEXGeofencingTaskConsumer.m86 region.notifyOnEntry = notifyOnEntry;
87 region.notifyOnExit = notifyOnExit;
90 [locationManager startMonitoringForRegion:region];
91 [locationManager requestStateForRegion:region];
107 if ([region isKindOfClass:[CLCircularRegion class]]) {
150 [_locationManager stopMonitoringForRegion:region];
152 [_locationManager requestStateForRegion:region];
183 @"identifier": region.identifier,
185 @"radius": @(region.radius),
186 @"latitude": @(region.center.latitude),
[all …]
/expo/ios/versioned/sdk48/EXLocation/EXLocation/TaskConsumers/
H A DABI48_0_0EXGeofencingTaskConsumer.m86 region.notifyOnEntry = notifyOnEntry;
87 region.notifyOnExit = notifyOnExit;
90 [locationManager startMonitoringForRegion:region];
91 [locationManager requestStateForRegion:region];
107 if ([region isKindOfClass:[CLCircularRegion class]]) {
150 [_locationManager stopMonitoringForRegion:region];
152 [_locationManager requestStateForRegion:region];
183 @"identifier": region.identifier,
185 @"radius": @(region.radius),
186 @"latitude": @(region.center.latitude),
[all …]
/expo/ios/versioned/sdk49/EXLocation/EXLocation/TaskConsumers/
H A DABI49_0_0EXGeofencingTaskConsumer.m86 region.notifyOnEntry = notifyOnEntry;
87 region.notifyOnExit = notifyOnExit;
90 [locationManager startMonitoringForRegion:region];
91 [locationManager requestStateForRegion:region];
107 if ([region isKindOfClass:[CLCircularRegion class]]) {
150 [_locationManager stopMonitoringForRegion:region];
152 [_locationManager requestStateForRegion:region];
183 @"identifier": region.identifier,
185 @"radius": @(region.radius),
186 @"latitude": @(region.center.latitude),
[all …]
/expo/packages/expo-localization/build/
H A DExpoLocalization.js56 const { region } = this;
57 switch (region) {
94 get region() {
113 : { region: null, textInfo: null, language: null };
114 const { region, textInfo, language } = locale;
119 const temperatureUnit = region ? regionToTemperatureUnit(region) : null;
129 regionCode: region || null,
148 …itGroupingSeparator, isoCurrencyCodes, isMetric, isRTL, locale, locales, region, timezone, } = thi…
158 region,
163 function regionToTemperatureUnit(region) { argument
[all …]
/expo/packages/expo-localization/src/
H A DExpoLocalization.ts75 const { region } = this; constant
76 switch (region) {
114 get region(): string | null {
135 : { region: null, textInfo: null, language: null };
136 const { region, textInfo, language } = locale; constant
143 const temperatureUnit = region ? regionToTemperatureUnit(region) : null;
154 regionCode: region || null,
183 region, constant
195 region,
201 function regionToTemperatureUnit(region: string) {
[all …]
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/location/taskConsumers/
H A DGeofencingTaskConsumer.java105 if (region != null) { in didReceiveBroadcast()
109 region.putInt("state", regionState); in didReceiveBroadcast()
112 data.putPersistableBundle("region", region); in didReceiveBroadcast()
131 Bundle region = new Bundle(); in didExecuteJob() local
133 region.putAll(item.getPersistableBundle("region")); in didExecuteJob()
135 bundle.putBundle("region", region); in didExecuteJob()
174 for (Map<String, Object> region : regions) { in startGeofencing()
175 Geofence geofence = geofenceFromRegion(region); in startGeofencing()
216 …String identifier = region.containsKey("identifier") ? (String) region.get("identifier") : UUID.ra… in geofenceFromRegion()
221 …boolean notifyOnEnter = !region.containsKey("notifyOnEnter") || (boolean) region.get("notifyOnEnte… in geofenceFromRegion()
[all …]
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/location/taskConsumers/
H A DGeofencingTaskConsumer.java105 if (region != null) { in didReceiveBroadcast()
109 region.putInt("state", regionState); in didReceiveBroadcast()
112 data.putPersistableBundle("region", region); in didReceiveBroadcast()
131 Bundle region = new Bundle(); in didExecuteJob() local
133 region.putAll(item.getPersistableBundle("region")); in didExecuteJob()
135 bundle.putBundle("region", region); in didExecuteJob()
174 for (Map<String, Object> region : regions) { in startGeofencing()
175 Geofence geofence = geofenceFromRegion(region); in startGeofencing()
216 …String identifier = region.containsKey("identifier") ? (String) region.get("identifier") : UUID.ra… in geofenceFromRegion()
221 …boolean notifyOnEnter = !region.containsKey("notifyOnEnter") || (boolean) region.get("notifyOnEnte… in geofenceFromRegion()
[all …]
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/location/taskConsumers/
H A DGeofencingTaskConsumer.java105 if (region != null) { in didReceiveBroadcast()
109 region.putInt("state", regionState); in didReceiveBroadcast()
112 data.putPersistableBundle("region", region); in didReceiveBroadcast()
131 Bundle region = new Bundle(); in didExecuteJob() local
133 region.putAll(item.getPersistableBundle("region")); in didExecuteJob()
135 bundle.putBundle("region", region); in didExecuteJob()
174 for (Map<String, Object> region : regions) { in startGeofencing()
175 Geofence geofence = geofenceFromRegion(region); in startGeofencing()
216 …String identifier = region.containsKey("identifier") ? (String) region.get("identifier") : UUID.ra… in geofenceFromRegion()
221 …boolean notifyOnEnter = !region.containsKey("notifyOnEnter") || (boolean) region.get("notifyOnEnte… in geofenceFromRegion()
[all …]
/expo/packages/expo-location/android/src/main/java/expo/modules/location/taskConsumers/
H A DGeofencingTaskConsumer.java105 if (region != null) { in didReceiveBroadcast()
109 region.putInt("state", regionState); in didReceiveBroadcast()
112 data.putPersistableBundle("region", region); in didReceiveBroadcast()
131 Bundle region = new Bundle(); in didExecuteJob() local
133 region.putAll(item.getPersistableBundle("region")); in didExecuteJob()
135 bundle.putBundle("region", region); in didExecuteJob()
174 for (Map<String, Object> region : regions) { in startGeofencing()
175 Geofence geofence = geofenceFromRegion(region); in startGeofencing()
216 …String identifier = region.containsKey("identifier") ? (String) region.get("identifier") : UUID.ra… in geofenceFromRegion()
221 …boolean notifyOnEnter = !region.containsKey("notifyOnEnter") || (boolean) region.get("notifyOnEnte… in geofenceFromRegion()
[all …]
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/components/maps/
H A DRegionChangeEvent.java37 WritableMap region = new WritableNativeMap(); in dispatch() local
39 region.putDouble("latitude", center.latitude); in dispatch()
40 region.putDouble("longitude", center.longitude); in dispatch()
41 region.putDouble("latitudeDelta", bounds.northeast.latitude - bounds.southwest.latitude); in dispatch()
42 region.putDouble("longitudeDelta", bounds.northeast.longitude - bounds.southwest.longitude); in dispatch()
43 event.putMap("region", region); in dispatch()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/components/maps/
H A DRegionChangeEvent.java37 WritableMap region = new WritableNativeMap(); in dispatch() local
39 region.putDouble("latitude", center.latitude); in dispatch()
40 region.putDouble("longitude", center.longitude); in dispatch()
41 region.putDouble("latitudeDelta", bounds.northeast.latitude - bounds.southwest.latitude); in dispatch()
42 region.putDouble("longitudeDelta", bounds.northeast.longitude - bounds.southwest.longitude); in dispatch()
43 event.putMap("region", region); in dispatch()
/expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/components/maps/
H A DRegionChangeEvent.java37 WritableMap region = new WritableNativeMap(); in dispatch() local
39 region.putDouble("latitude", center.latitude); in dispatch()
40 region.putDouble("longitude", center.longitude); in dispatch()
41 region.putDouble("latitudeDelta", bounds.northeast.latitude - bounds.southwest.latitude); in dispatch()
42 region.putDouble("longitudeDelta", bounds.northeast.longitude - bounds.southwest.longitude); in dispatch()
43 event.putMap("region", region); in dispatch()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/maps/
H A DRegionChangeEvent.java37 WritableMap region = new WritableNativeMap(); in dispatch() local
39 region.putDouble("latitude", center.latitude); in dispatch()
40 region.putDouble("longitude", center.longitude); in dispatch()
41 region.putDouble("latitudeDelta", bounds.northeast.latitude - bounds.southwest.latitude); in dispatch()
42 region.putDouble("longitudeDelta", bounds.northeast.longitude - bounds.southwest.longitude); in dispatch()
43 event.putMap("region", region); in dispatch()
/expo/packages/expo-maps/ios/ExpoMaps/AppleMaps/POIUtils/
H A DAppleMapsPOISearch.swift78 request.region = mapView.region in seatSearchRegion()
114 guard let region = searchResultRegion else { in setMarkersDisplayRegion() variable
117 mapView.region = region in setMarkersDisplayRegion()
H A DAppleMapsPOISearchCompleter.swift31 func setSearchCompleterRegion(region: MKCoordinateRegion) { in setSearchCompleterRegion()
32 searchCompleter.region = region in setSearchCompleterRegion()
/expo/ios/versioned/sdk48/ExpoMaps/ExpoMaps/AppleMaps/POIUtils/
H A DAppleMapsPOISearch.swift78 request.region = mapView.region in seatSearchRegion()
114 guard let region = searchResultRegion else { in setMarkersDisplayRegion() variable
117 mapView.region = region in setMarkersDisplayRegion()
H A DAppleMapsPOISearchCompleter.swift31 func setSearchCompleterRegion(region: MKCoordinateRegion) { in setSearchCompleterRegion()
32 searchCompleter.region = region in setSearchCompleterRegion()
/expo/ios/versioned/sdk49/ExpoMaps/ExpoMaps/AppleMaps/POIUtils/
H A DAppleMapsPOISearch.swift78 request.region = mapView.region in seatSearchRegion()
114 guard let region = searchResultRegion else { in setMarkersDisplayRegion() variable
117 mapView.region = region in setMarkersDisplayRegion()
H A DAppleMapsPOISearchCompleter.swift31 func setSearchCompleterRegion(region: MKCoordinateRegion) { in setSearchCompleterRegion()
32 searchCompleter.region = region in setSearchCompleterRegion()
/expo/packages/expo-location/src/
H A DLocation.ts431 for (const region of regions) { constant
432 if (typeof region.latitude !== 'number') {
433 throw new TypeError(`Region's latitude must be a number. Got '${region.latitude}' instead.`);
435 if (typeof region.longitude !== 'number') {
437 `Region's longitude must be a number. Got '${region.longitude}' instead.`
440 if (typeof region.radius !== 'number') {
441 throw new TypeError(`Region's radius must be a number. Got '${region.radius}' instead.`);
/expo/packages/expo-location/build/
H A DLocation.js339 for (const region of regions) {
340 if (typeof region.latitude !== 'number') {
341 … throw new TypeError(`Region's latitude must be a number. Got '${region.latitude}' instead.`);
343 if (typeof region.longitude !== 'number') {
344 … throw new TypeError(`Region's longitude must be a number. Got '${region.longitude}' instead.`);
346 if (typeof region.radius !== 'number') {
347 … throw new TypeError(`Region's radius must be a number. Got '${region.radius}' instead.`);
/expo/packages/expo-localization/src/__tests__/
H A DLocalization-test.web.ts28 region, constant
33 validateString(region);
53 expect(Localization.region).toBe(null);
60 expect(Localization.region).toBe('US');
67 const result = Localization.region;
/expo/apps/native-component-list/src/screens/Location/
H A DGeofencingScreen.tsx151 return state.geofencingRegions.map((region) => {
155 key={region.identifier}
156 center={region}
157 radius={region.radius}
214 TaskManager.defineTask(GEOFENCING_TASK, async ({ data: { region } }: { data: any }) => {
215 const stateString = Location.GeofencingRegionState[region.state].toLowerCase();
217 console.log(`${stateString} region ${region.identifier}`);
222 body: `You're ${stateString} a region ${region.identifier}`,
223 data: region,
/expo/home/screens/DiagnosticsScreen/
H A DGeofencingDiagnosticsScreen.tsx79 …'Tap on the map to select a region with chosen radius and then press `Start geofencing` to start g…
178 return geofencingRegions.map((region) => {
181 key={region.identifier}
182 center={region}
183 radius={region.radius}
197 return 'Select at least one region on the map';
256 TaskManager.defineTask(GEOFENCING_TASK, async ({ data: { region } }: any) => {
257 const stateString = Location.GeofencingRegionState[region.state].toLowerCase();
258 …dy = `You're ${stateString} a region with latitude: ${region.latitude}, longitude: ${region.longit…
264 ...region,

12345678