MCPcopy Create free account

hub / github.com/SimCoderYoutube/UberClone / functions

Functions355 in github.com/SimCoderYoutube/UberClone

↓ 48 callersMethodgetCoordinates
()
android/app/src/main/java/com/simcoder/uber/Objects/LocationObject.java:31
↓ 30 callersMethodgetDriver
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:340
↓ 26 callersMethodgetId
()
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:69
↓ 25 callersMethodgetName
()
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:61
↓ 15 callersMethodgetDestination
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:368
↓ 13 callersMethodparseData
Parse the Datasnapshot retrieved from the database and puts it into a RideObject @param dataSnapshot - datasnapshot of the ride
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:108
↓ 12 callersMethodgetPickup
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:354
↓ 8 callersMethodbringBottomSheetDown
Handles hiding the bottom sheet with animation. Also takes care of hiding or showing the elements in it depending on the current state of the request.
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:397
↓ 8 callersMethodgetEnded
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:398
↓ 8 callersMethodgetProfileImage
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:166
↓ 7 callersMethodgenerateBitmap
(Context context, String location, String duration)
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:918
↓ 7 callersMethodgetCancelled
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:435
↓ 7 callersMethodgetCustomer
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:347
↓ 6 callersMethodgetRideRef
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:439
↓ 5 callersMethodgetData
Get the info of the driver and update the payout amount displayed to the driver
android/app/src/main/java/com/simcoder/uber/Payment/PayoutActivity.java:89
↓ 5 callersMethodgetState
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:457
↓ 5 callersMethodonCreate
(Bundle savedInstanceState)
android/app/src/main/java/com/simcoder/uber/Login/MenuFragment.java:49
↓ 5 callersMethodsetName
(String name)
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:37
↓ 4 callersMethodcancelRide
Called when a drive is meant to be cancelled
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:281
↓ 4 callersMethodendRide
End Ride by removing all of the active listeners, returning all of the values to the default state and clearing the map from markers
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:741
↓ 4 callersMethodendRide
End Ride by removing all of the active listeners, returning all of the values to the default state and clearing the map from markers
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:683
↓ 4 callersMethodgetPhone
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:106
↓ 4 callersMethodgetService
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:90
↓ 3 callersMethodMapAnimator
Remove route polylines from the map
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:1258
↓ 3 callersMethodclone
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:461
↓ 3 callersMethoddisconnectDriver
Disconnects driver, putting to sleep the code that fetches current location
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:862
↓ 3 callersMethoderasePolylines
Remove route polylines from the map
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:877
↓ 3 callersMethodfetchCardsList
Get the list of cards the Customer has available in the stripe dash. The returned object is a json so this function does the parse and saves it into a
android/app/src/main/java/com/simcoder/uber/Payment/PaymentUtils.java:60
↓ 3 callersMethodgetCar
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:422
↓ 3 callersMethodgetDate
Parse a timestamp in to a date of the type MM-dd-yyyy, hh:mm @return parsed timestamp
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:270
↓ 3 callersMethodgetDriversAround
Displays drivers around the user's current location and updates them in real time.
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:1035
↓ 3 callersMethodgetTimePassed
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:449
↓ 3 callersMethodgetTypeList
Returns array list with all of the driver rides available for this application. @param activity - activity that called this function @return typeArray
android/app/src/main/java/com/simcoder/uber/Utils/Utils.java:33
↓ 3 callersMethodinitPlacesAutocomplete
Init Places according the updated google api and listen for user inputs, when a user chooses a place change the values of destination and destinationL
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:466
↓ 3 callersMethodonResult
(ArrayList<CardObject> cardArrayList)
android/app/src/main/java/com/simcoder/uber/Payment/PaymentUtils.java:35
↓ 3 callersMethodsetDestination
(LocationObject destination)
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:371
↓ 3 callersMethodsetPickup
(LocationObject pickup)
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:357
↓ 2 callersMethodbringBottomSheetUp
Handles showing the bottom sheet with animation.
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:384
↓ 2 callersMethodcheckDriverLastUpdated
Checks if driver has not been updated in a while, if it has been more than x time since the driver location was last updated then remove it from the d
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:1127
↓ 2 callersMethodcheckLocationPermission
Get permissions for our app if they didn't previously exist. requestCode: the number assigned to the request that we've made. Each | re
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:806
↓ 2 callersMethodcheckNoType
checks if both types have not been fetched meaning the DetailsActivity must be called
android/app/src/main/java/com/simcoder/uber/Login/LauncherActivity.java:101
↓ 2 callersMethodconnectDriver
Connects driver, waking up the code that fetches current location
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:850
↓ 2 callersMethodgetId
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:394
↓ 2 callersMethodgetNameDash
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:130
↓ 2 callersMethodgetNotificationKey
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:202
↓ 2 callersMethodgetPriceString
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:430
↓ 2 callersMethodgetProfileImage
()
android/app/src/main/java/com/simcoder/uber/Objects/CustomerObject.java:91
↓ 2 callersMethodgetRating
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:426
↓ 2 callersMethodgetRequestsAround
Get Closest Rider by getting all the requests available within a radius of MAX_SEARCH_DISTANCE and around the driver current location. If a request is
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:484
↓ 2 callersMethodgetRouteToMarker
Get Route from pickup to destination, showing the route to the user
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:1169
↓ 2 callersMethodgetRouteToMarker
Get Route from pickup to destination, showing the route to the user @param destination - LatLng of the location to go to
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:634
↓ 2 callersMethodgetSelectedItem
()
android/app/src/main/java/com/simcoder/uber/Adapters/TypeAdapter.java:75
↓ 2 callersMethodgetTypeById
get type object that is in the arrayList with a certain id @param activity - activity that called this function @param id - id of the object to find @
android/app/src/main/java/com/simcoder/uber/Utils/Utils.java:61
↓ 2 callersMethodgetUserInformation
Fetches other user information and populates the relevant design elements @param otherUserDriverOrCustomer - String "customer" or "driver" @param othe
android/app/src/main/java/com/simcoder/uber/History/HistorySingleActivity.java:194
↓ 2 callersMethodlogOut
()
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:837
↓ 2 callersMethodopenMaps
Open a maps application to show the driver the route between the pickup point and destination. It tries to first open waze, if it fails it will try to
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:268
↓ 2 callersMethodrequestListener
Listener for the current request.
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:569
↓ 2 callersMethodrequestListener
Listener for the request the driver is currently assigned to.
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:601
↓ 2 callersMethodsetCoordinates
(LatLng coordinates)
android/app/src/main/java/com/simcoder/uber/Objects/LocationObject.java:34
↓ 2 callersMethodsetCurrent
(LocationObject current)
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:364
↓ 2 callersMethodsetLocation
(LocationObject mLocation)
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:186
↓ 2 callersMethodsetMapLocation
Sets markers of pickup and destination to the holder's map
android/app/src/main/java/com/simcoder/uber/Adapters/HistoryAdapter.java:127
↓ 2 callersMethodsetSelectedItem
(TypeObject selectedItem)
android/app/src/main/java/com/simcoder/uber/Adapters/TypeAdapter.java:79
↓ 2 callersMethodstartApis
starts up onesignal and stripe apis @param type - type of the user (customer, driver)
android/app/src/main/java/com/simcoder/uber/Login/LauncherActivity.java:115
↓ 1 callersMethodbindView
Bind view to holder, setting the text to the design elements @param pos
android/app/src/main/java/com/simcoder/uber/Adapters/HistoryAdapter.java:151
↓ 1 callersMethodcheckLocationPermission
Get permissions for our app if they didn't previously exist. requestCode -> the number assigned to the request that we've made. Each request has it's
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:900
↓ 1 callersMethodcheckRequestState
Use the mCurrentRide variable to check which is the current state of it and do all The necessary work according to that state.
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:446
↓ 1 callersMethodcheckRide
Checks if user is able to place a ride request @return -1 if not able and 0 otherwise
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:86
↓ 1 callersMethodcheckUserAccType
Check user account type, either customer or driver. If it doesn't have a type then start the DetailsActivity for the user to be able to pick one.
android/app/src/main/java/com/simcoder/uber/Login/LauncherActivity.java:54
↓ 1 callersMethodconfirmDriver
Called when a driver wants to accept a customer request
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:295
↓ 1 callersMethodconfirmEntry
()
android/app/src/main/java/com/simcoder/uber/Driver/DriverChooseTypeActivity.java:74
↓ 1 callersMethoddisconnectDriver
Disconnects driver by removing the driversWorking driver id from the database
android/app/src/main/java/com/simcoder/uber/Utils/onAppKilled.java:20
↓ 1 callersMethoddisplayCustomerRelatedObjects
Displays the elements that are only available to the customer: - Rating bar - pay button
android/app/src/main/java/com/simcoder/uber/History/HistorySingleActivity.java:171
↓ 1 callersMethoderasePolylines
Remove route polylines from the map
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:1186
↓ 1 callersMethodfetchLocationName
This function returns the name of location given the coordinates of said location
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:869
↓ 1 callersMethodfirebaseAuthWithGoogle
login with the google credential if the account does not exist it will be automatically created @param credential - google auth credential
android/app/src/main/java/com/simcoder/uber/Login/MenuFragment.java:129
↓ 1 callersMethodforgotPassword
Sends an email to the email that's on the email input for the user to reset the password
android/app/src/main/java/com/simcoder/uber/Login/LoginFragment.java:60
↓ 1 callersMethodgetActive
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:198
↓ 1 callersMethodgetAmount
()
android/app/src/main/java/com/simcoder/uber/Objects/PayoutObject.java:58
↓ 1 callersMethodgetAssignedCustomerInfo
Fetch assigned customer's info and display it in the Bottom sheet
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:649
↓ 1 callersMethodgetBrand
()
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:57
↓ 1 callersMethodgetCalculatedRideDistance
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:443
↓ 1 callersMethodgetCalculatedTime
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:453
↓ 1 callersMethodgetCancelledType
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:402
↓ 1 callersMethodgetCarDash
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:142
↓ 1 callersMethodgetConnect
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:210
↓ 1 callersMethodgetDefaultCard
()
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:65
↓ 1 callersMethodgetDriverInfo
Get all the user information that we can get from the user's database.
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:695
↓ 1 callersMethodgetDriverLocation
()
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:635
↓ 1 callersMethodgetDriverRatingString
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:157
↓ 1 callersMethodgetDuration
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:468
↓ 1 callersMethodgetExpMonth
()
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:45
↓ 1 callersMethodgetExpYear
()
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:49
↓ 1 callersMethodgetId
()
android/app/src/main/java/com/simcoder/uber/Objects/PayoutObject.java:50
↓ 1 callersMethodgetImage
()
android/app/src/main/java/com/simcoder/uber/Objects/TypeObject.java:34
↓ 1 callersMethodgetLastDigits
()
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:53
↓ 1 callersMethodgetLicense
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:118
↓ 1 callersMethodgetLicenseDash
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:148
↓ 1 callersMethodgetLocation
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:182
↓ 1 callersMethodgetName
()
android/app/src/main/java/com/simcoder/uber/Objects/CustomerObject.java:75
next →1–100 of 355, ranked by callers