determine if continue to try to find best location concode_field_sep Location bestLocation concode_elem_sep LocationResultListener locationResult concode_elem_sep int counts concode_elem_sep Runnable showTime concode_elem_sep Handler handler concode_elem_sep GpsStatus.Listener gpsStatusListener concode_elem_sep LocationListener networkLocationListener concode_elem_sep int timeout_seconds concode_elem_sep LocationManager myLocationManager concode_elem_sep boolean networkEnabled concode_elem_sep Context context concode_elem_sep int satCount concode_elem_sep LocationListener gpsLocationListener concode_elem_sep int min_gps_sat_count concode_elem_sep int iteration_timeout_step concode_elem_sep boolean gpsEnabled concode_field_sep void init concode_elem_sep boolean getIsGPSEnabled concode_elem_sep Location getLastBestLocation concode_elem_sep void onProviderDisabled concode_elem_sep void onProviderDisabled concode_elem_sep boolean getIsNetworkEnabled concode_elem_sep void onProviderEnabled concode_elem_sep void onProviderEnabled concode_elem_sep GeoLocation findLocation concode_elem_sep void gotLocation concode_elem_sep void onStatusChanged concode_elem_sep void onStatusChanged concode_elem_sep void run concode_elem_sep void onGpsStatusChanged concode_elem_sep void onLocationChanged concode_elem_sep void onLocationChanged
Boolean function ( ) { if ( networkEnabled ) return true ; if ( gpsEnabled ) { if ( counts <= 4 ) { return false ; } if ( satCount < min_gps_sat_count ) { if ( counts >= 40 && satCount >= 3 ) { return true ; } return false ; } } return true ; }