Lines Matching refs:detectedCountry
281 protected void runAfterDetectionAsync(final Country country, final Country detectedCountry,
287 country, detectedCountry, notifyChange, startLocationBasedDetection);
312 void runAfterDetection(final Country country, final Country detectedCountry,
315 notifyIfCountryChanged(country, detectedCountry);
319 + " detectCountry=" + (detectedCountry == null ? null :
320 "(source: " + detectedCountry.getSource()
321 + ", countryISO: " + detectedCountry.getCountryIso() + ")")
327 if (startLocationBasedDetection && (detectedCountry == null
328 || detectedCountry.getSource() > Country.COUNTRY_SOURCE_LOCATION)
338 if (detectedCountry == null
339 || detectedCountry.getSource() >= Country.COUNTRY_SOURCE_LOCATION) {
393 private void notifyIfCountryChanged(final Country country, final Country detectedCountry) {
394 if (detectedCountry != null && mListener != null
395 && (country == null || !country.equals(detectedCountry))) {
397 Slog.d(TAG, "" + country + " --> " + detectedCountry);
399 notifyListener(detectedCountry);