MCPcopy Create free account

hub / github.com/SimCoderYoutube/UberClone / functions

Functions355 in github.com/SimCoderYoutube/UberClone

↓ 1 callersMethodgetPayoutAmount
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:206
↓ 1 callersMethodgetPayouts
fetches previous payouts made by the user and populates the recycler view
android/app/src/main/java/com/simcoder/uber/Payment/PayoutActivity.java:114
↓ 1 callersMethodgetPeople
()
android/app/src/main/java/com/simcoder/uber/Objects/TypeObject.java:42
↓ 1 callersMethodgetRatingString
()
android/app/src/main/java/com/simcoder/uber/Objects/CustomerObject.java:65
↓ 1 callersMethodgetRequestInfo
Get info of a request and if it has not ended or been cancelled then add it to the requestList which will push a card of the request to the driver scr
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:540
↓ 1 callersMethodgetRequestService
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:375
↓ 1 callersMethodgetRideDistance
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:382
↓ 1 callersMethodgetRideInformation
Fetches the info on the current ride and populates the design elements
android/app/src/main/java/com/simcoder/uber/History/HistorySingleActivity.java:133
↓ 1 callersMethodgetRouteToMarker
Get Route from pickup to destination, showing the route to the user
android/app/src/main/java/com/simcoder/uber/History/HistorySingleActivity.java:227
↓ 1 callersMethodgetUserData
Fetches current user's info and populates the design elements
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:496
↓ 1 callersMethodgetUserData
Fetches current user's info and populates the design element. Also checks if the user was working before closing the app and, if so, connect the drive
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:370
↓ 1 callersMethodgetUserHistoryIds
Fetch all of the rides that are completed and populate the design elements
android/app/src/main/java/com/simcoder/uber/History/HistoryActivity.java:97
↓ 1 callersMethodgetUserInfo
Fetches current user's info and populates the design elements
android/app/src/main/java/com/simcoder/uber/Customer/CustomerSettingsActivity.java:106
↓ 1 callersMethodgetUserInfo
Fetches current user's info and populates the design elements
android/app/src/main/java/com/simcoder/uber/Driver/DriverSettingsActivity.java:113
↓ 1 callersMethodhandleSignInResult
Gets the data out of the result of call. @param result - result of the api call
android/app/src/main/java/com/simcoder/uber/Login/MenuFragment.java:110
↓ 1 callersMethodinitRecyclerView
Initializes the recyclerview that shows the costumer the available car types
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:369
↓ 1 callersMethodinitRecyclerView
Initializes the recyclerview that shows the costumer the available car types
android/app/src/main/java/com/simcoder/uber/Driver/DriverChooseTypeActivity.java:86
↓ 1 callersMethodinitializeBottomSheetDialog
Initialize the bottom sheet dialog which will handle what happens when the user clicks a card. When it happens it will be given the option to either r
android/app/src/main/java/com/simcoder/uber/Payment/PaymentActivity.java:54
↓ 1 callersMethodinitializeObjects
initializes the design Elements
android/app/src/main/java/com/simcoder/uber/Login/MenuFragment.java:159
↓ 1 callersMethodinitializeObjects
Initializes the design Elements and calls clickListeners for them
android/app/src/main/java/com/simcoder/uber/Login/DetailsActivity.java:80
↓ 1 callersMethodinitializeObjects
Initializes the design Elements and calls clickListeners for them
android/app/src/main/java/com/simcoder/uber/Login/RegisterFragment.java:92
↓ 1 callersMethodinitializeObjects
Initializes the design Elements and calls clickListeners for them
android/app/src/main/java/com/simcoder/uber/Login/LoginFragment.java:111
↓ 1 callersMethodinitializeRecyclerView
Init the payout recycler view
android/app/src/main/java/com/simcoder/uber/Payment/PayoutActivity.java:150
↓ 1 callersMethodinitializeRequestCardSwipe
Initialize swipe cards and add listeners that will control events fo it: - Left swipe: Dismiss the ride request - right swipe: accept ride request
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:286
↓ 1 callersFunctionisCustomerPaymentReady
* check if user as a credit card enabled with stripe * @param {String} uid user id * @returns {boolean} true if customer does have a payment method
Firebase_Functions/index.js:132
↓ 1 callersMethodisRequestInProgress
Checks if request is in progress by looking at the last ride_info child that the current customer was a part of and if that last ride is still ongoing
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:530
↓ 1 callersMethodisRequestInProgress
Checks if request is in progress by looking at the last ride_info child that the current driver was a part of and if that last ride is still ongoing t
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:413
↓ 1 callersMethodloadPage
()
android/app/src/main/java/com/simcoder/uber/Payment/AddPaymentActivity.java:79
↓ 1 callersMethodlogOut
()
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:1159
↓ 1 callersMethodlogin
Logs in the user
android/app/src/main/java/com/simcoder/uber/Login/LoginFragment.java:74
↓ 1 callersMethodloginClick
Displays the LoginFragment
android/app/src/main/java/com/simcoder/uber/Login/AuthenticationActivity.java:65
↓ 1 callersMethodmakeSound
Issues a notification sound to the driver.
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:592
↓ 1 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/PayoutObject.java:35
↓ 1 callersMethodparseData
Parse datasnapshot into this object @param dataSnapshot - customer info fetched from the database
android/app/src/main/java/com/simcoder/uber/Objects/CustomerObject.java:38
↓ 1 callersMethodparseJson
(JSONObject jObject)
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:956
↓ 1 callersMethodpayoutRequest
Start a payout request to the server. @param context - context of the activity that called the function
android/app/src/main/java/com/simcoder/uber/Payment/PaymentUtils.java:127
↓ 1 callersMethodpickedCustomer
When the driver has picked up the customer this function must be called in order to know the state of the ride.
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:255
↓ 1 callersMethodpostRideInfo
Post Ride info to the database, this write action will be triggered by the firebase functions and only then will it be available to the drivers.
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:206
↓ 1 callersMethodrecordRide
When ride is ended this function must be called in order to finish a ride
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:237
↓ 1 callersMethodregister
Register the user, but before that check if every field is correct. After that registers the user and creates an entry for it oin the database
android/app/src/main/java/com/simcoder/uber/Login/DetailsActivity.java:44
↓ 1 callersMethodregister
Register the user, but before that check if every field is correct. After that registers the user and creates an entry for it oin the database
android/app/src/main/java/com/simcoder/uber/Login/RegisterFragment.java:60
↓ 1 callersMethodregistrationClick
Displays the RegisterFragment
android/app/src/main/java/com/simcoder/uber/Login/AuthenticationActivity.java:55
↓ 1 callersMethodremoveCard
remove a card for the current logged in user, this is just an http request, the server handles all the hard work. @param paymentId - id of the card to
android/app/src/main/java/com/simcoder/uber/Payment/PaymentUtils.java:224
↓ 1 callersMethodrideCostEstimate
Calculate Ride cost estimate
android/app/src/main/java/com/simcoder/uber/Utils/Utils.java:49
↓ 1 callersMethodround
Round a float value to a specific decimal place @param amount - the value to round @param decimalPlace - to what decimal place to round the amount to
android/app/src/main/java/com/simcoder/uber/Utils/Utils.java:20
↓ 1 callersMethodsaveUserInformation
Saves current user 's info to the database. If the resultUri is not null that means the profile image has been changed and we need to upload it to the
android/app/src/main/java/com/simcoder/uber/Customer/CustomerSettingsActivity.java:135
↓ 1 callersMethodsaveUserInformation
Saves current user 's info to the database. If the resultUri is not null that means the profile image has been changed and we need to upload it to the
android/app/src/main/java/com/simcoder/uber/Driver/DriverSettingsActivity.java:144
↓ 1 callersMethodsetBrand
(String brand)
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:17
↓ 1 callersMethodsetCameraWithCoordinationBounds
Show map within the pickup and destination marker, This will make sure everything is displayed to the user @param route - route between pickup and de
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:1202
↓ 1 callersMethodsetCameraWithCoordinationBounds
Show map within the pickup and destination marker, This will make sure everything is displayed to the user @param route - route between pickup and de
android/app/src/main/java/com/simcoder/uber/Driver/DriverMapActivity.java:890
↓ 1 callersMethodsetCameraWithCoordinationBounds
Show map within the pickup and destination marker, This will make sure everything is displayed to the user @param route - route between pickup and des
android/app/src/main/java/com/simcoder/uber/History/HistorySingleActivity.java:256
↓ 1 callersMethodsetData
(ArrayList<Double> data)
android/app/src/main/java/com/simcoder/uber/Adapters/TypeAdapter.java:89
↓ 1 callersMethodsetDefaultCard
(Boolean defaultCard)
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:41
↓ 1 callersMethodsetDefaultCard
Set default card for the current logged in user, this is just an http request, the server handles all the hard work. @param paymentId - id of the card
android/app/src/main/java/com/simcoder/uber/Payment/PaymentUtils.java:182
↓ 1 callersMethodsetDistance
(double distance)
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:472
↓ 1 callersMethodsetDuration
(double duration)
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:476
↓ 1 callersMethodsetExpMonth
(int expMonth)
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:21
↓ 1 callersMethodsetExpYear
(int expYear)
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:25
↓ 1 callersMethodsetLastDigits
(int lastDigits)
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:33
↓ 1 callersMethodsetRequestService
(String requestService)
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:378
↓ 1 callersMethodsetRideDistance
(float rideDistance)
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:386
↓ 1 callersMethodsetService
(String service)
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:194
↓ 1 callersMethodsetTimePassed
(float timePassed)
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:390
↓ 1 callersMethodsetupToolbar
Sets up toolbar with custom text and a listener to go back to the previous activity
android/app/src/main/java/com/simcoder/uber/Customer/CustomerSettingsActivity.java:92
↓ 1 callersMethodsetupToolbar
Sets up toolbar with custom text and a listener to go back to the previous activity
android/app/src/main/java/com/simcoder/uber/Driver/DriverSettingsActivity.java:98
↓ 1 callersMethodsetupToolbar
Sets up toolbar with custom text and a listener to go back to the previous activity
android/app/src/main/java/com/simcoder/uber/Driver/DriverChooseTypeActivity.java:63
↓ 1 callersMethodsetupToolbar
Sets up toolbar with custom text and a listener to go back to the previous activity
android/app/src/main/java/com/simcoder/uber/Payment/AddPaymentActivity.java:68
↓ 1 callersMethodsetupToolbar
Sets up toolbar with custom text and a listener to go back to the previous activity
android/app/src/main/java/com/simcoder/uber/Payment/PayoutActivity.java:164
↓ 1 callersMethodsetupToolbar
Sets up toolbar with custom text and a listener to go back to the previous activity
android/app/src/main/java/com/simcoder/uber/Payment/PaymentActivity.java:75
↓ 1 callersMethodsetupToolbar
Sets up toolbar with custom text and a listener to go back to the previous activity
android/app/src/main/java/com/simcoder/uber/History/HistoryActivity.java:81
↓ 1 callersMethodsetupToolbar
Sets up toolbar with custom text and a listener to go back to the previous activity
android/app/src/main/java/com/simcoder/uber/History/HistorySingleActivity.java:119
↓ 1 callersMethodshowDialog
Show end of ride dialog for the customer to be able to rate the ride
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:306
↓ 1 callersMethodstartRideRequest
Handles stating the ride request. Starts up two timers. The first will show up after CANCEL_OPTION_MILLISECONDS and it will display a layout with a bu
android/app/src/main/java/com/simcoder/uber/Customer/CustomerMapActivity.java:308
↓ 1 callersMethodstartStripeConnect
Start Stripe connect process by first creating a hash which will ensure the user security on the server side. @param activity - activity that calls th
android/app/src/main/java/com/simcoder/uber/Payment/PaymentUtils.java:48
↓ 1 callersFunctionupdatePayoutPending
* Checks for pending payouts and update them * @param {*} uid user id of the driver * @param {*} paymentId id of the payout
Firebase_Functions/index.js:157
MethodCardAdapter
(List<CardObject> itemArrayList, Activity activity)
android/app/src/main/java/com/simcoder/uber/Adapters/CardAdapter.java:30
MethodCardObject
CardObject constructor @param id - id of the card
android/app/src/main/java/com/simcoder/uber/Objects/CardObject.java:13
MethodCardRequestAdapter
(Context context, int resourceId, List<RideObject> items)
android/app/src/main/java/com/simcoder/uber/Adapters/CardRequestAdapter.java:26
MethodCustomerObject
(String id)
android/app/src/main/java/com/simcoder/uber/Objects/CustomerObject.java:21
MethodDriverObject
(String id)
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:27
MethodHistoryAdapter
(List<RideObject> itemList, Context context)
android/app/src/main/java/com/simcoder/uber/Adapters/HistoryAdapter.java:42
MethodHistoryViewHolders
(View itemView)
android/app/src/main/java/com/simcoder/uber/Adapters/HistoryAdapter.java:97
MethodLocationObject
LocationObject constructor @param coordinates - latLng of the location @param name - name of the location
android/app/src/main/java/com/simcoder/uber/Objects/LocationObject.java:18
MethodPayoutAdapter
(List<PayoutObject> itemArrayList, Context context)
android/app/src/main/java/com/simcoder/uber/Adapters/PayoutAdapter.java:28
MethodPayoutObject
RideObject constructor @param context - context of the parent activity
android/app/src/main/java/com/simcoder/uber/Objects/PayoutObject.java:26
MethodRideObject
RideObject constructor @param activity - parent activity @param id - id of the ride
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:70
MethodSendNotification
@param message - body of the notification, heading - header of the notification sendUid - user to send the notification
android/app/src/main/java/com/simcoder/uber/Utils/SendNotification.java:24
MethodTypeAdapter
(List<TypeObject> itemArrayList, Context context, ArrayList<Double> data)
android/app/src/main/java/com/simcoder/uber/Adapters/TypeAdapter.java:34
MethodTypeObject
TypeObject constructor @param id - id of the type (type_1, type_2,....) @param name - name of the type @param image - image of the type as drawable @p
android/app/src/main/java/com/simcoder/uber/Objects/TypeObject.java:23
MethodgetCancelledReason
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:406
MethodgetCar
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:114
MethodgetCurrent
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:361
MethodgetCustomerPaid
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:418
MethodgetDate
()
android/app/src/main/java/com/simcoder/uber/Objects/PayoutObject.java:62
MethodgetDistance
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:464
MethodgetDurationString
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:480
MethodgetEstimatedPrice
()
android/app/src/main/java/com/simcoder/uber/Objects/RideObject.java:489
MethodgetId
()
android/app/src/main/java/com/simcoder/uber/Objects/DriverObject.java:94
MethodgetId
()
android/app/src/main/java/com/simcoder/uber/Objects/TypeObject.java:30
MethodgetId
()
android/app/src/main/java/com/simcoder/uber/Objects/CustomerObject.java:70
← previousnext →101–200 of 355, ranked by callers