MCPcopy Create free account

hub / github.com/Plastix/Forage / functions

Functions603 in github.com/Plastix/Forage

↓ 27 callersMethodisViewAttached
Checks if the view is currently attached to the presenter. You should call this method before accessing {@link #view} to avoid NPEs!
app/src/main/java/io/github/plastix/forage/ui/base/Presenter.java:30
↓ 25 callersMethodget
()
app/src/main/java/io/github/plastix/forage/data/local/pref/StringPreference.java:28
↓ 17 callersMethodhasInternetConnectionCompletable
()
app/src/main/java/io/github/plastix/forage/data/network/NetworkInteractor.java:28
↓ 17 callersMethodsubmitLog
(@Query("cache_code") String cacheCode, @Query("logtype") String logTy
app/src/main/java/io/github/plastix/forage/data/api/OkApiService.java:27
↓ 16 callersMethodtoString
()
app/src/main/java/io/github/plastix/forage/data/api/response/SubmitLogResponse.java:14
↓ 14 callersMethodisLocationAvailable
Returns whether location is available on the device using Google Play Location Services through an RxJava Completable. @return rx.Completable calls o
app/src/main/java/io/github/plastix/forage/data/location/LocationInteractor.java:81
↓ 14 callersMethodnormalize
Normalize an angle so that it is between 0 and 360. @param angle Angle in degrees to normalize @return Normalized angle.
app/src/main/java/io/github/plastix/forage/util/AngleUtils.java:45
↓ 14 callersMethodread
(JsonReader in)
app/src/main/java/io/github/plastix/forage/data/api/gson/HtmlAdapter.java:30
↓ 13 callersMethodisValidLatitude
String overloaded version of {@link #isValidLatitude(double)}. @param latitude String Latitude @return True if valid, else false.
app/src/main/java/io/github/plastix/forage/util/LocationUtils.java:60
↓ 13 callersMethodisValidLongitude
String overloaded version of {@link #isValidLongitude(double)}. @param longitude String Latitude @return True if valid, else false.
app/src/main/java/io/github/plastix/forage/util/LocationUtils.java:84
↓ 13 callersMethodonViewAttached
(V view)
app/src/main/java/io/github/plastix/forage/ui/base/Presenter.java:12
↓ 12 callersMethodisSet
()
app/src/main/java/io/github/plastix/forage/data/local/pref/StringPreference.java:33
↓ 11 callersMethodbuildLocation
Helper method for creating a new Location object with the specified latitude and longitude. Android's Location class doesn't have a nice constructor o
app/src/main/java/io/github/plastix/forage/util/LocationUtils.java:26
↓ 10 callersMethodhasAllPermissionsGranted
Returns whether all permissions have been granted based on the specified permission results. @param grantResults Permission grant results. @return Tr
app/src/main/java/io/github/plastix/forage/util/PermissionUtils.java:32
↓ 10 callersMethodonError
()
app/src/main/java/io/github/plastix/forage/ui/cachedetail/CacheDetailView.java:13
↓ 9 callersMethodcreate
(Gson gson, TypeToken<T> type)
app/src/main/java/io/github/plastix/forage/data/api/gson/ListTypeAdapterFactory.java:27
↓ 9 callersMethodonDestroy
()
app/src/main/java/io/github/plastix/forage/ui/map/MapActivity.java:155
↓ 9 callersMethodretrieveRequestToken
()
app/src/main/java/io/github/plastix/forage/data/api/auth/OAuthInteractor.java:38
↓ 8 callersMethodaddSubscription
Registers a subscription to automatically be unsubscribed on onDestroy. See {@link CompositeSubscription#add(Subscription) for details.} @param subsc
app/src/main/java/io/github/plastix/forage/ui/base/RxPresenter.java:54
↓ 8 callersMethodgetViewState
Exposes the state of the attached view as a boolean Observabele. True is emitted when the view is attached and false is emitted when the view detatche
app/src/main/java/io/github/plastix/forage/ui/base/RxPresenter.java:73
↓ 8 callersMethodisPermissionRequestCancelled
Returns whether the permission request has been cancelled. @param grantResults Permission grant results. @return True if request has been cancelled,
app/src/main/java/io/github/plastix/forage/util/PermissionUtils.java:52
↓ 8 callersMethodsetContentView
(@LayoutRes int layoutResID)
app/src/main/java/io/github/plastix/forage/ui/base/BaseActivity.java:35
↓ 8 callersMethodsetSupportActionBarBack
Sets the support action bar back button. The activity still has to manage the back button event correctly! @param delegate AppCompatDelegate for the
app/src/main/java/io/github/plastix/forage/util/ActivityUtils.java:65
↓ 7 callersMethodcapitalize
Capitalizes the first character of the given string. @param input String to capitalize. @return Capitalized string.
app/src/main/java/io/github/plastix/forage/util/StringUtils.java:56
↓ 7 callersMethodgetUpdatedLocation
Gets the updated location using Google Play Location Services. The caller must have location permissions before calling this method! @return An rx.Si
app/src/main/java/io/github/plastix/forage/data/location/LocationInteractor.java:39
↓ 7 callersMethodhasSavedOAuthTokens
()
app/src/main/java/io/github/plastix/forage/data/api/auth/OAuthInteractor.java:72
↓ 7 callersMethodplus
(CacheListModule module)
app/src/main/java/io/github/plastix/forage/ApplicationComponent.java:74
↓ 7 callersMethodsearchAndRetrieve
(@Query("search_method") String searchMethod, @Query("search_params"
app/src/main/java/io/github/plastix/forage/data/api/OkApiService.java:18
↓ 7 callersMethodshow
(FragmentActivity context, @StringRes int contentId)
app/src/main/java/io/github/plastix/forage/ui/misc/PermissionRationaleDialog.java:27
↓ 7 callersMethodshowLoading
()
app/src/main/java/io/github/plastix/forage/ui/login/LoginView.java:15
↓ 6 callersMethoddelete
()
app/src/main/java/io/github/plastix/forage/data/local/pref/StringPreference.java:41
↓ 6 callersMethodgetComponent
(Context context)
app/src/main/java/io/github/plastix/forage/ForageApplication.java:29
↓ 6 callersMethodgetGeocache
Returns a rx.Single of the Geocache with the specified OpenCaching cache code. If the geocache does not exist in the database then the Single's onErro
app/src/main/java/io/github/plastix/forage/data/local/DatabaseInteractor.java:71
↓ 6 callersMethodhumanReadableImperialDistance
Turns the distance in miles to a human-readable String. For example: <p> 5.2 -> 5.2 mi 0.3 -> 5280 ft @param resources Resources object to fetch the
app/src/main/java/io/github/plastix/forage/util/StringUtils.java:75
↓ 6 callersMethodjoin
Joins an array of strings into a single string separated by the specified delimiter. @param delimiter String in between joined elements. @param eleme
app/src/main/java/io/github/plastix/forage/util/StringUtils.java:24
↓ 6 callersMethodmetersToKilometers
Converts meters to kilometers. @param meter Unit in meters. @return Unit in kilometers.
app/src/main/java/io/github/plastix/forage/util/UnitUtils.java:32
↓ 6 callersMethodmetersToMiles
Converts meters to miles. @param meters Unit in meters. @return Unit in miles.
app/src/main/java/io/github/plastix/forage/util/UnitUtils.java:43
↓ 6 callersMethodnavigate
(String latitude, String longitude)
app/src/main/java/io/github/plastix/forage/ui/navigate/NavigatePresenter.java:14
↓ 6 callersMethodonViewDetached
()
app/src/main/java/io/github/plastix/forage/ui/base/Presenter.java:16
↓ 6 callersMethodretrieveAccessToken
(final Uri callback)
app/src/main/java/io/github/plastix/forage/data/api/auth/OAuthInteractor.java:47
↓ 6 callersMethodshowCompass
()
app/src/main/java/io/github/plastix/forage/ui/compass/CompassView.java:17
↓ 6 callersMethodshowErrorDialog
(String message)
app/src/main/java/io/github/plastix/forage/ui/log/LogView.java:10
↓ 6 callersMethodstartCompass
(@NonNull Location location)
app/src/main/java/io/github/plastix/forage/ui/compass/CompassPresenter.java:38
↓ 5 callersMethodallowPermissionsIfNeeded
(UiDevice device)
app/src/androidTest/java/io/github/plastix/forage/util/UiAutomatorUtils.java:19
↓ 5 callersMethodcall
(OrderedRealmCollection<Cache> caches)
app/src/main/java/io/github/plastix/forage/data/local/DatabaseInteractor.java:88
↓ 5 callersMethoddoOnFirst
Transformer which calls the specified Action1 upon first emission from the source observable.
app/src/main/java/io/github/plastix/forage/util/RxUtils.java:98
↓ 5 callersMethoderrorParsingLatitude
()
app/src/main/java/io/github/plastix/forage/ui/navigate/NavigateView.java:5
↓ 5 callersMethoderrorParsingLongitude
()
app/src/main/java/io/github/plastix/forage/ui/navigate/NavigateView.java:7
↓ 5 callersMethodgetGeocachesFromInternet
()
app/src/main/java/io/github/plastix/forage/ui/cachelist/CacheListPresenter.java:40
↓ 5 callersMethodgetLocationObservable
Returns an Observable that emits Location events at the specified interval. This uses the Google Play Services Location API. The caller must have loca
app/src/main/java/io/github/plastix/forage/data/location/LocationInteractor.java:61
↓ 5 callersMethodgetNearbyCaches
Gets a JSON array of Geocaches near the specified Location from {@link OkApiService}. @param lat Latitude of specified location. @param lon Lon
app/src/main/java/io/github/plastix/forage/data/api/OkApiInteractor.java:42
↓ 5 callersMethodgetRotationOffset
(@NonNull WindowManager windowManager)
app/src/main/java/io/github/plastix/forage/util/AngleUtils.java:14
↓ 5 callersMethodmilesToFeet
Converts miles to feet. @param miles Unit in miles. @return Unit in feet.
app/src/main/java/io/github/plastix/forage/util/UnitUtils.java:53
↓ 5 callersMethodmilesToKilometer
Converts miles to kilometers. @param miles Unit in miles. @return Unit in kilometers.
app/src/main/java/io/github/plastix/forage/util/UnitUtils.java:22
↓ 5 callersMethodopenCompassScreen
(double lat, double lon)
app/src/main/java/io/github/plastix/forage/ui/navigate/NavigateView.java:9
↓ 5 callersMethodopenLogScreen
()
app/src/main/java/io/github/plastix/forage/ui/cachedetail/CacheDetailView.java:15
↓ 5 callersMethodsafeUnsubscribe
Unsubscribes from the specified subscription. @param subscription Subscription instance.
app/src/main/java/io/github/plastix/forage/util/RxUtils.java:28
↓ 5 callersMethodshowSubmittingDialog
()
app/src/main/java/io/github/plastix/forage/ui/log/LogView.java:8
↓ 4 callersMethodanimateMapCamera
(Location location)
app/src/main/java/io/github/plastix/forage/ui/map/MapActivityView.java:17
↓ 4 callersMethodapp
()
app/src/androidTest/java/io/github/plastix/forage/util/TestUtils.java:14
↓ 4 callersMethodcenterMapOnLocation
()
app/src/main/java/io/github/plastix/forage/ui/map/MapPresenter.java:41
↓ 4 callersMethodcloseOpenDialog
()
app/src/main/java/io/github/plastix/forage/ui/log/LogActivity.java:101
↓ 4 callersMethodgetAzimuthObservable
Returns an Observable that emits the Azimuth of the Android compass. @return Observable
app/src/main/java/io/github/plastix/forage/data/sensor/AzimuthInteractor.java:29
↓ 4 callersMethodgetLogTypes
(String cacheCode)
app/src/main/java/io/github/plastix/forage/ui/log/LogPresenter.java:63
↓ 4 callersMethodhasInternetConnection
()
app/src/main/java/io/github/plastix/forage/data/network/NetworkInteractor.java:23
↓ 4 callersMethodonDestroyed
()
app/src/unitTests/java/io/github/plastix/forage/ui/base/PresenterTest.java:50
↓ 4 callersMethodrotateCompass
(float degrees)
app/src/main/java/io/github/plastix/forage/ui/compass/CompassView.java:9
↓ 4 callersMethodset
(@Nullable String value)
app/src/main/java/io/github/plastix/forage/data/local/pref/StringPreference.java:37
↓ 4 callersMethodsetAccuracy
(float accuracyInMeters)
app/src/main/java/io/github/plastix/forage/ui/compass/CompassView.java:13
↓ 4 callersMethodsetDistance
(float distanceInMeters)
app/src/main/java/io/github/plastix/forage/ui/compass/CompassView.java:11
↓ 4 callersMethodsetHost
(String host)
app/src/main/java/io/github/plastix/forage/data/api/HostSelectionInterceptor.java:17
↓ 4 callersMethodsetLocationRequest
(LocationRequest locationRequest)
app/src/main/java/io/github/plastix/forage/data/location/LocationAsyncEmitter.java:29
↓ 4 callersMethodshow
(FragmentActivity context)
app/src/main/java/io/github/plastix/forage/ui/compass/LocationUnavailableDialog.java:19
↓ 4 callersMethodshow
(@NonNull View view)
app/src/main/java/io/github/plastix/forage/util/ViewUtils.java:11
↓ 4 callersMethodstartOAuth
()
app/src/main/java/io/github/plastix/forage/ui/login/LoginPresenter.java:29
↓ 4 callersMethodtoLocation
Returns a new Android Location object with the corresponding data from the realm object. @return New Location object.
app/src/main/java/io/github/plastix/forage/data/local/model/RealmLocation.java:22
↓ 3 callersMethodaddMapMarkers
(List<Cache> caches)
app/src/main/java/io/github/plastix/forage/ui/map/MapActivityView.java:15
↓ 3 callersMethodapply
Applies performance metrics library.
app/src/main/java/io/github/plastix/forage/dev_tools/DevMetricsProxy.java:7
↓ 3 callersMethodgetGeocacheCopy
Returns a rx.Single of the Geocache with the specified OpenCaching cache code. This copies the object from the Realm database so it is no longer live!
app/src/main/java/io/github/plastix/forage/data/local/DatabaseInteractor.java:59
↓ 3 callersMethodgetGeocaches
Returns a rx.Single of all the geocaches currently stored locally in the database. @return rx.Single with List of geocaches.
app/src/main/java/io/github/plastix/forage/data/local/DatabaseInteractor.java:84
↓ 3 callersMethodgetMagneticDeclination
Gets the magnetic declination at the specified location. @param location Current location. @return The declination of the horizontal component of the
app/src/main/java/io/github/plastix/forage/util/LocationUtils.java:43
↓ 3 callersMethodhasMap
()
app/src/main/java/io/github/plastix/forage/ui/map/MapActivity.java:93
↓ 3 callersMethodhide
(@NonNull View view)
app/src/main/java/io/github/plastix/forage/util/ViewUtils.java:15
↓ 3 callersMethodmakeErrorSnackbar
(@StringRes int resID)
app/src/main/java/io/github/plastix/forage/ui/login/LoginActivity.java:84
↓ 3 callersMethodmakeErrorSnackbar
(@StringRes int resID)
app/src/main/java/io/github/plastix/forage/ui/cachelist/CacheListFragment.java:106
↓ 3 callersMethodoauthCallback
(final Uri uri)
app/src/main/java/io/github/plastix/forage/ui/login/LoginPresenter.java:61
↓ 3 callersMethodsetRefreshing
()
app/src/main/java/io/github/plastix/forage/ui/cachelist/CacheListView.java:15
↓ 3 callersMethodsetSupportActionBarTitle
Overloaded version of {@link #setSupportActionBarTitle(Activity, String)}. @param activity Activity to set action bar on. @param titleID String ID o
app/src/main/java/io/github/plastix/forage/util/ActivityUtils.java:42
↓ 3 callersMethodsetupMap
()
app/src/main/java/io/github/plastix/forage/ui/map/MapPresenter.java:26
↓ 3 callersMethodstopLoading
()
app/src/main/java/io/github/plastix/forage/ui/login/LoginActivity.java:73
↓ 3 callersMethodstripHtml
Parses HTML into a Plain text string @param input String in HTML form @return Plain text string <p> Based on http://stackoverflow.com/questions/85600
app/src/main/java/io/github/plastix/forage/util/StringUtils.java:44
↓ 2 callersMethodclearAndSaveGeocaches
Removes all caches from the database then updates the database with {@link Cache}s from the specified list. @param data JSON Array of Geocaches.
app/src/main/java/io/github/plastix/forage/data/local/DatabaseInteractor.java:43
↓ 2 callersMethoddownloadGeocaches
()
app/src/main/java/io/github/plastix/forage/ui/cachelist/CacheListFragment.java:130
↓ 2 callersMethodenableMapLocation
(GoogleMap googleMap)
app/src/main/java/io/github/plastix/forage/ui/map/MapActivity.java:122
↓ 2 callersMethodforageApplication
()
app/src/integrationTests/java/io/github/plastix/forage/ForageRoboelectricIntegrationTestRunner.java:21
↓ 2 callersMethodgetGeocache
(String cacheCode)
app/src/main/java/io/github/plastix/forage/ui/cachedetail/CacheDetailPresenter.java:21
↓ 2 callersMethodgetView
Getter for tests
app/src/unitTests/java/io/github/plastix/forage/ui/base/PresenterTest.java:58
↓ 2 callersMethodhasPermission
Returns whether the application has access to a specific permission. @param permission Permission to check.
app/src/main/java/io/github/plastix/forage/util/PermissionUtils.java:22
↓ 2 callersMethodhasTextInputLayoutErrorText
Espresso ViewMatcher for checking the error text of a TextInputLayout Source: http://stackoverflow.com/questions/34285782/android-espresso-how-to-chec
app/src/androidTest/java/io/github/plastix/forage/espresso/ViewMatchers.java:20
↓ 2 callersMethodhostInteceptor
()
app/src/main/java/io/github/plastix/forage/ApplicationComponent.java:58
next →1–100 of 603, ranked by callers