| Interface | Description |
|---|---|
| DrawingLocationActivity |
Interface implemented for drawing routes on maps.
|
| Class | Description |
|---|---|
| AcceptingUnitTest |
Created by tothd on 10/24/2016.
|
| BuildConfig | |
| CommandStack |
Created by tothd on 11/26/2016.
|
| CustomMapTileProvider |
The following is a derivative of an answer to "TileProvider using local tiles" on
Stack Overflow by "Alex Vasilkov," a stack overflow user.
|
| DistanceCalculator |
Async task to queries the google maps server and get the distance from two lat lng points (road distance)
|
| DriverLocationActivity |
This activity allows the driver to view a map, place pins, and search around
those pins a specific radius to see any requests in that specified area.
|
| DriverNotificationService |
This notification handler sets up when a driver accepts a rider ride.
|
| EditProfileActivity |
This activity is used to change the User's profile fields (email, phone no.)
|
| ElasticsearchRequestController |
Controller for all queries and updates to the elasticsearch server regarded UserRequest objects.
|
| ElasticsearchRequestController.AddBatchOpenRequestTask |
Adds an open request to elastic search server
|
| ElasticsearchRequestController.AddDriverAcceptanceToRequest |
Add a driver acceptance to a request
info[0] is the request ID
info[1] is the driver ID
|
| ElasticsearchRequestController.AddDriverAcceptanceToRequestOffline | |
| ElasticsearchRequestController.AddOpenRequestTask |
Adds an open request to elastic search server
|
| ElasticsearchRequestController.DeleteRiderRequests |
Delete a rider request
|
| ElasticsearchRequestController.GetAcceptedByMe |
Fetch requests that have been accepted by the current user (in Driver mode)
|
| ElasticsearchRequestController.GetAcceptedDriverRequests |
Get a driver's inProgress Requests
|
| ElasticsearchRequestController.GetAcceptedRequests |
Get a rider's requests that have been accepted by a driver
|
| ElasticsearchRequestController.getAcceptedUsersForRequest |
Get users who have accepted the request
|
| ElasticsearchRequestController.GetActiveDriverRequests | Deprecated
b/c if the driver has been set for a request then it should be inProgress or closed
|
| ElasticsearchRequestController.GetActiveRiderRequests |
Get the currently open Requests for a rider
|
| ElasticsearchRequestController.GetAwaitingPaymentDriverRequests |
Get the requests for a driver that are closed but payment has not been recived
|
| ElasticsearchRequestController.GetAwaitingPaymentRiderRequests |
Get the requests for a rider that are closed but payment has not been recived
|
| ElasticsearchRequestController.GetClosedRequests | Deprecated |
| ElasticsearchRequestController.GetInPrgressRequests |
Gets in progress requests
|
| ElasticsearchRequestController.GetInPrgressRiderRequests |
Get the inProgress requests for a rider
|
| ElasticsearchRequestController.GetNearbyRequests |
Gets requests nearby the specified location
|
| ElasticsearchRequestController.GetNearbyRequestsGeoFilter |
Gets nearby requests using geo distance filter
|
| ElasticsearchRequestController.GetOpenRequestById |
GetRequest fetches the request with the given Id from the server
|
| ElasticsearchRequestController.GetPastDriverRequests |
Get the closed requests for a driver
|
| ElasticsearchRequestController.GetPastRiderRequests |
Get the 100 latest closed requests for a rider
|
| ElasticsearchRequestController.GetRequestsByDescriptionKeyword |
Fetch requests whose descriptions match a given keyword
|
| ElasticsearchRequestController.GetRequestsByEndLocationKeyword |
Fetch requests whose end Locations match a given keyword
|
| ElasticsearchRequestController.GetRequestsByStartLocationKeyword |
Fetch requests whose start Locations match a given keyword
|
| ElasticsearchRequestController.GetRequestsByUserNameKeyword | Deprecated |
| ElasticsearchRequestController.MarkAsPaid | Deprecated |
| ElasticsearchRequestController.MoveToClosedRequest |
Move a request from inProgress to closed
|
| ElasticsearchRequestController.MoveToInProgresseRequest |
Move a request from open to inProgress
|
| ElasticsearchRequestController.SetConfirmedDriver |
Sets a confirmed driver to a UserRequest
|
| ElasticsearchRequestController.UpdateClosedRequestObject | |
| ElasticsearchUserController |
Elasticsearch controller to deal with user stuff on the elasticsearch server
BUILDER PATTERN USED
Jests Builder classes are used to build commands executed by the client
|
| ElasticsearchUserController.AddToDriverRating | |
| ElasticsearchUserController.AddUserTask |
AsyncTask used to add the user to the elasticsearch server
Input: User object
Output: Boolean representing elasticsearch result
|
| ElasticsearchUserController.CheckUserTask |
AsyncTask used to determine whether or not the entered username is already taken.
|
| ElasticsearchUserController.DeleteUserTask |
Removes a user from the DB
|
| ElasticsearchUserController.getUsersFromId | |
| ElasticsearchUserController.getUsersFromIds | |
| ElasticsearchUserController.RetrieveUserInfoFromId |
Given a user id, generate the user object
|
| ElasticsearchUserController.UpdateUserInfoOfflineTask |
AsyncTask used to overwrite an existing user in the database
Input: User object
Output: Boolean representing elasticsearch result
|
| ElasticsearchUserController.UpdateUserInfoTask |
AsyncTask used to overwrite an existing user in the database
Input: User object
Output: Boolean representing elasticsearch result
|
| EmptyMapActivity |
A view for a map activity to show locations when clicked.
|
| ExampleInstrumentedTest |
Instrumentation test, which will execute on an Android device.
|
| ExtraRequirementsUnitTest | |
| FileController |
The type File controller.
|
| Location |
Custom Location class for use in a2b project elasticsearch server
|
| LocationUnitTest |
Created by tothd on 10/13/2016.
|
| LoginActivity |
A login screen that offers login via username
No passwords will be prompted.
|
| MainActivity |
Main activity to load activities for testing purposes.
|
| MarkerInfoDialog |
Dialog with marker details with the ability to create new request
|
| OfflineBehaviorUnitTest |
Created by tothd on 10/12/2016.
|
| Point |
A custom class for a point on a map
|
| ProfileActivity |
ProfileActivity allows a user to view their own profile as well as though of other users
|
| R | |
| R.anim | |
| R.array | |
| R.attr | |
| R.bool | |
| R.color | |
| R.dimen | |
| R.drawable | |
| R.id | |
| R.integer | |
| R.layout | |
| R.menu | |
| R.mipmap | |
| R.raw | |
| R.string | |
| R.style | |
| R.styleable | |
| RequestController |
Request Controller to deal with all local backend Request work
|
| RequestDetailActivity |
This activity displays the details of a request and allows interaction with it:
accept a driver, delete a request, confirm a driver, enable payment, complete a request,
accept a request
|
| RequestListActivity |
This activity displays a list of requests which corresponds to the current user mode as well
as the selected requests to view in the spinner (also in this activity)
This work, "RequestListActivity," contains a derivative
"Android - How to create clickable listview?" by "Delpes," a stackoverflow user,
used under CC-BY-SA by CMPUT301F16T11.
|
| RequestsUnitTest |
Created by tothd on 10/24/2016.
|
| RideCompleteDialog |
Viewed on November 7, 2016
https://developer.android.com/guide/topics/ui/dialogs.html
Takes a UserRequest & is created by newInstance
Idea for ^ taken on November 7, 2016 from
http://stackoverflow.com/questions/15459209/passing-argument-to-dialogfragment
To implement this dialog you must do the following in your code:
RideCompleteDialog newDialog = RideCompleteDialog.newInstance(UserRequest);
newDialog.show(getFragmentManager().beginTransaction(), "dialog");
|
| RiderLocationActivity |
Main map activity for riders to select their pickup and drop off locations.
|
| RiderNotificationService |
This class is a background service that get runs when the user as a rider creates an active request.
|
| SearchingUnitTest |
Created by tothd on 10/24/2016.
|
| ShadedListAdapter |
Extends ArrayAdapter and modifies view so every even numbered entry is lightly shaded in
This work, "ShadedListAdapter," contains a derivative of an answer to
"Android Alternate row Colors in ListView" by "Suraj Bajaj," a user on Stack Overflow.
|
| SignUpActivity |
Activity that prompts user to fill out required information.
|
| StatusUnitTest | |
| User |
User class model, contains username, email and phone number
|
| UserController |
Controllers user and user functions
static so it can be shared by all activities
SINGLETON DESIGN PATTERN
STATE DESIGN PATTERN (mode)
STATE DESIGN PATTERN (user)
|
| UserProfileUnitTest |
Created by tothd on 10/24/2016.
|
| UserRequest |
Model representing UserRequests.
|
| Vehicle |
Created by toth on 11/18/2016.
|
| WillingDriverAdapter |
Extends ArrayAdapter and modifies view so every even numbered entry is lightly shaded in
This work, "ShadedListAdapter," contains a derivative of an answer to
"Android Alternate row Colors in ListView" by "Suraj Bajaj," a user on Stack Overflow.
|
| Enum | Description |
|---|---|
| DriverLocationActivity.SearchCriteria |
Used to determine what search criteria the search by keyword is using
|
| Mode |
An enum class for rider and driver user modes
|
| RequestStatus |
Created by jm on 2016-11-22.
|