Index

A B C D E F G H I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept(String) - Method in class com.kernelcrew.moodapp.ui.FollowRequestsFragment
 
acceptRequest(String, String) - Method in class com.kernelcrew.moodapp.data.FollowProvider
 
adapter - Variable in class com.kernelcrew.moodapp.ui.MoodHistory
Adapter for binding mood data to the RecyclerView
addEmotion(Emotion) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
addEmotions(Set<Emotion>) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
addSnapshotListenerForUser(String, EventListener<DocumentSnapshot>) - Method in class com.kernelcrew.moodapp.data.UserProvider
Add a listener for changes made to a specific user.
addSocialSituation(String) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
addSocialSituations(Set<String>) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
addUser(String) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
addUsers(Set<String>) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
ANGER - Enum constant in enum class com.kernelcrew.moodapp.data.Emotion
 
applyLocalSearch(List<MoodEvent>) - Method in class com.kernelcrew.moodapp.ui.components.FilterBarFragment
Filters a list of MoodEvents locally based on the user’s current reasonSearchActive state.
applyReasonFilter(List<MoodEvent>) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
Filters a list of mood events by reasonQuery if set.
AuthHome - Class in com.kernelcrew.moodapp.ui
A fragment representing the authentication home screen.
AuthHome() - Constructor for class com.kernelcrew.moodapp.ui.AuthHome
 
AuthSignIn - Class in com.kernelcrew.moodapp.ui
A Fragment representing the Sign-In screen.
AuthSignIn() - Constructor for class com.kernelcrew.moodapp.ui.AuthSignIn
 
AuthSignUp - Class in com.kernelcrew.moodapp.ui
A Fragment representing the Sign-Up screen.
AuthSignUp() - Constructor for class com.kernelcrew.moodapp.ui.AuthSignUp
 
AuthSignUp.OnUsernameCheckListener - Interface in com.kernelcrew.moodapp.ui
 
AuthSignUp.OnValidationCompleteListener - Interface in com.kernelcrew.moodapp.ui
 

B

bind(View) - Method in class com.kernelcrew.moodapp.ui.BottomNavBarController
Must be called in the onViewCreated callback because the view needs to have a nav host controller connected to it.
bind(MoodEventForm.MoodEventDetails) - Method in class com.kernelcrew.moodapp.ui.MoodEventForm
 
BottomNavBarController - Class in com.kernelcrew.moodapp.ui
Controller to manage a bottom nav bar.
BottomNavBarController(NavigationBarView) - Constructor for class com.kernelcrew.moodapp.ui.BottomNavBarController
 
buildQuery() - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
Builds a Firestore Query using the applied filters.

C

clearCollection(CollectionReference, int) - Static method in class com.kernelcrew.moodapp.data.Utility
Recursively deletes all documents in the given collection.
clearFilters() - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
Clears all applied filters.
com.kernelcrew.moodapp.data - package com.kernelcrew.moodapp.data
 
com.kernelcrew.moodapp.ui - package com.kernelcrew.moodapp.ui
 
com.kernelcrew.moodapp.ui.components - package com.kernelcrew.moodapp.ui.components
 
com.kernelcrew.moodapp.utils - package com.kernelcrew.moodapp.utils
 
CombinedListener - Interface in com.kernelcrew.moodapp.data
 
CombinedListenerComposer - Class in com.kernelcrew.moodapp.data
 
CombinedListenerComposer(List<ListenerRegistration>) - Constructor for class com.kernelcrew.moodapp.data.CombinedListenerComposer
 
Comment - Class in com.kernelcrew.moodapp.data
A logged mood event owned by a user referenced by that user's firebase auth UID.
Comment() - Constructor for class com.kernelcrew.moodapp.data.Comment
Empty constructor for Firestore deserialization.
Comment(String, String, String, String) - Constructor for class com.kernelcrew.moodapp.data.Comment
Constructor for a new Comment with additional details.
CommentAdapter - Class in com.kernelcrew.moodapp.ui
 
CommentAdapter() - Constructor for class com.kernelcrew.moodapp.ui.CommentAdapter
 
CommentProvider - Class in com.kernelcrew.moodapp.data
 
compressPhoto(Bitmap) - Static method in class com.kernelcrew.moodapp.utils.PhotoUtils
Compress a Bitmap photo into a WEBP encoded byte array.
CONFUSION - Enum constant in enum class com.kernelcrew.moodapp.data.Emotion
 
count() - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
Counts the number of applied filters.
CreateMoodEvent - Class in com.kernelcrew.moodapp.ui
 
CreateMoodEvent() - Constructor for class com.kernelcrew.moodapp.ui.CreateMoodEvent
 

D

decodePhoto(List<Integer>) - Static method in class com.kernelcrew.moodapp.utils.PhotoUtils
Decode a WEBP-encoded image into a bitmap.
DefaultFilterBarFragment - Class in com.kernelcrew.moodapp.ui.components
Default implementation of FilterBarFragment's abstract setupKeyboardHiding.
DefaultFilterBarFragment() - Constructor for class com.kernelcrew.moodapp.ui.components.DefaultFilterBarFragment
 
DeleteDialogFragment - Class in com.kernelcrew.moodapp.ui
Dialog fragment for confirming mood event deletion
DeleteDialogFragment() - Constructor for class com.kernelcrew.moodapp.ui.DeleteDialogFragment
 
DeleteDialogFragment.DeleteDialogListener - Interface in com.kernelcrew.moodapp.ui
 
deleteMoodEvent(String) - Method in class com.kernelcrew.moodapp.data.MoodEventProvider
 
deleteRequest(String, String) - Method in class com.kernelcrew.moodapp.data.FollowProvider
 
deny(String) - Method in class com.kernelcrew.moodapp.ui.FollowRequestsFragment
 
DISGUST - Enum constant in enum class com.kernelcrew.moodapp.data.Emotion
 
dispatchTouchEvent(MotionEvent) - Method in class com.kernelcrew.moodapp.ui.MapTouchWrapper
Intercepts and dispatches touch events to the view hierarchy.

E

EditMoodEvent - Class in com.kernelcrew.moodapp.ui
 
EditMoodEvent() - Constructor for class com.kernelcrew.moodapp.ui.EditMoodEvent
 
Emotion - Enum Class in com.kernelcrew.moodapp.data
 
EmotionIconUtils - Class in com.kernelcrew.moodapp.ui
Utility class for converting emotion names into map marker icons.
EmotionIconUtils() - Constructor for class com.kernelcrew.moodapp.ui.EmotionIconUtils
 
EmotionPickerFragment - Class in com.kernelcrew.moodapp.ui.components
 
EmotionPickerFragment() - Constructor for class com.kernelcrew.moodapp.ui.components.EmotionPickerFragment
 
EmotionPickerFragment.OnSelectEmotionListener - Interface in com.kernelcrew.moodapp.ui.components
 

F

FEAR - Enum constant in enum class com.kernelcrew.moodapp.data.Emotion
 
fetchFollowers(String) - Method in class com.kernelcrew.moodapp.data.FollowProvider
 
fetchFollowers(String) - Method in class com.kernelcrew.moodapp.data.UserProvider
Fetch all users following a specific user.
fetchFollowing(String) - Method in class com.kernelcrew.moodapp.data.FollowProvider
 
fetchFollowing(String) - Method in class com.kernelcrew.moodapp.data.UserProvider
Fetch all users followed by a specific user.
fetchLocation(LocationHandler.OnLocationObtainedListener) - Method in class com.kernelcrew.moodapp.data.LocationHandler
Initiates a location fetch: 1.
fetchUsername(String) - Method in class com.kernelcrew.moodapp.data.UserProvider
Fetch the username for a specific user.
FilterBarFragment - Class in com.kernelcrew.moodapp.ui.components
A fragment that interfaces the filtering options for mood events.
FilterBarFragment() - Constructor for class com.kernelcrew.moodapp.ui.components.FilterBarFragment
 
FilterBarFragment.FilterUpdater - Interface in com.kernelcrew.moodapp.ui.components
 
FilterBarFragment.OnFilterChangedListener - Interface in com.kernelcrew.moodapp.ui.components
Interface to notify when filters are changed.
FilterBarFragment.OnUserSearchListener - Interface in com.kernelcrew.moodapp.ui.components
Callback interface for delivering user search results to whoever is listening (e.g., HomeFeed).
FollowersFragment - Class in com.kernelcrew.moodapp.ui
 
FollowersFragment() - Constructor for class com.kernelcrew.moodapp.ui.FollowersFragment
 
FollowingFragment - Class in com.kernelcrew.moodapp.ui
 
FollowingFragment() - Constructor for class com.kernelcrew.moodapp.ui.FollowingFragment
 
FollowProvider - Class in com.kernelcrew.moodapp.data
 
FollowRequestAdapter - Class in com.kernelcrew.moodapp.ui
 
FollowRequestAdapter(List<String>, FollowRequestsFragment) - Constructor for class com.kernelcrew.moodapp.ui.FollowRequestAdapter
 
FollowRequestProvider - Class in com.kernelcrew.moodapp.data
 
FollowRequestProvider(Context) - Constructor for class com.kernelcrew.moodapp.data.FollowRequestProvider
 
FollowRequestsFragment - Class in com.kernelcrew.moodapp.ui
 
FollowRequestsFragment() - Constructor for class com.kernelcrew.moodapp.ui.FollowRequestsFragment
 
fromString(String) - Static method in enum class com.kernelcrew.moodapp.data.Emotion
 

G

getAll() - Method in class com.kernelcrew.moodapp.data.MoodEventProvider
Returns all mood events which can then be further filtered.
getColorRes() - Method in enum class com.kernelcrew.moodapp.data.Emotion
Get the resource ID for the color of this emotion
getCommentsByMoodEventId(String) - Method in class com.kernelcrew.moodapp.data.CommentProvider
 
getCommentText() - Method in class com.kernelcrew.moodapp.data.Comment
 
getCreated() - Method in class com.kernelcrew.moodapp.data.Comment
 
getCreated() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
getCurrentLocation(Context) - Static method in class com.kernelcrew.moodapp.data.LocationHandler
Returns the current location if permission is granted.
getDeleteDialogListener() - Method in class com.kernelcrew.moodapp.ui.DeleteDialogFragment
Get the current delete dialog listener
getEmotion() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
getEmotionIcon(Context, String) - Static method in class com.kernelcrew.moodapp.ui.EmotionIconUtils
Converts an emotion name to its corresponding map marker icon.
getEmotions() - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
getEndDate() - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
getError() - Method in class com.kernelcrew.moodapp.ui.components.EmotionPickerFragment
 
getFilterLatitude() - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
getFilterLongitude() - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
getFilterRadius() - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
getIconRes() - Method in enum class com.kernelcrew.moodapp.data.Emotion
Get the resource ID of the icon drawable for this emotion
getId() - Method in class com.kernelcrew.moodapp.data.Comment
 
getId() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
getInstance() - Static method in class com.kernelcrew.moodapp.data.CommentProvider
Get the singleton instance of the CommentProvider.
getInstance() - Static method in class com.kernelcrew.moodapp.data.FollowProvider
 
getInstance() - Static method in class com.kernelcrew.moodapp.data.MoodEventProvider
Get the singleton instance of the MoodEventProvider.
getInstance() - Static method in class com.kernelcrew.moodapp.data.UserProvider
Get the singleton instance of UserProvider
getItemCount() - Method in class com.kernelcrew.moodapp.ui.CommentAdapter
 
getItemCount() - Method in class com.kernelcrew.moodapp.ui.FollowRequestAdapter
 
getItemCount() - Method in class com.kernelcrew.moodapp.ui.MoodAdapter
 
getItemCount() - Method in class com.kernelcrew.moodapp.ui.MoodHistoryAdapter
Returns the total number of items in the data set.
getItems() - Method in class com.kernelcrew.moodapp.ui.MoodHistoryAdapter
Returns a copy of the current list of mood events.
getItemViewType(int) - Method in class com.kernelcrew.moodapp.ui.MoodAdapter
 
getLatitude() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
getLongitude() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
getMoodEvent(String) - Method in class com.kernelcrew.moodapp.data.MoodEventProvider
Get a mood event by id.
getMoodEventFilter() - Method in class com.kernelcrew.moodapp.ui.components.FilterBarFragment
Retrieves (or creates) the current mood event filter.
getMoodEventId() - Method in class com.kernelcrew.moodapp.data.Comment
 
getMoodIconResource(String) - Static method in class com.kernelcrew.moodapp.ui.MoodIconUtil
 
getName() - Method in class com.kernelcrew.moodapp.data.User
 
getPhoto() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
getPhotoBytes() - Method in class com.kernelcrew.moodapp.data.MoodEvent
PNG encode the photo as a list of bytes (each an int so that it is serializable by Firestore.)
getReason() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
getReasonQuery() - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
getSelected() - Method in class com.kernelcrew.moodapp.ui.components.EmotionPickerFragment
 
getSocialSituation() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
getStartDate() - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
getSummary() - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
Returns a summary of the currently applied filters.
getTimestamp() - Method in class com.kernelcrew.moodapp.data.Comment
 
getTimestamp() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
getUid() - Method in class com.kernelcrew.moodapp.data.Comment
 
getUid() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
getUid() - Method in class com.kernelcrew.moodapp.data.User
 
getUsername() - Method in class com.kernelcrew.moodapp.data.Comment
 
getUsername() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
getUsername(String) - Method in class com.kernelcrew.moodapp.data.UserProvider
Fetch the username of a specific user.
getVisibility() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 

H

handleSubmit(MoodEventForm.MoodEventDetails) - Method in interface com.kernelcrew.moodapp.ui.MoodEventForm.MoodEventFormSubmitCallback
 
HAPPINESS - Enum constant in enum class com.kernelcrew.moodapp.data.Emotion
 
hasLocation() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
hasPendingRequest(String, String) - Method in class com.kernelcrew.moodapp.data.FollowProvider
Returns true if requesterUid has a pending follow request to targetUid
hideSoftKeyboard(Activity) - Static method in class com.kernelcrew.moodapp.data.Utility
Hide the keyboard if it is open
HomeFeed - Class in com.kernelcrew.moodapp.ui
A fragment that displays the user's feed: mood events from people the user is following.
HomeFeed() - Constructor for class com.kernelcrew.moodapp.ui.HomeFeed
 

I

insertComment(Comment) - Method in class com.kernelcrew.moodapp.data.CommentProvider
 
insertMoodEvent(MoodEvent) - Method in class com.kernelcrew.moodapp.data.MoodEventProvider
Insert a new mood event into the DB.
isFollowed() - Method in class com.kernelcrew.moodapp.data.User
 
isFollowing(String, String) - Method in class com.kernelcrew.moodapp.data.FollowProvider
Returns true if userUid is already following targetUid
isSynced() - Method in class com.kernelcrew.moodapp.data.MoodEvent
 

L

listenForFollowAcceptedNotifications(String) - Method in class com.kernelcrew.moodapp.data.FollowRequestProvider
Start listening for notifications, such as followAccepted.
listenForFollowing(String, EventListener<QuerySnapshot>) - Method in class com.kernelcrew.moodapp.data.FollowProvider
 
listenForFollowRequests(String) - Method in class com.kernelcrew.moodapp.data.FollowRequestProvider
Start listening for follow requests (incoming follow requests).
listenToMoodEventsForUsers(List<String>, MoodEventFilter, int, CombinedListener) - Method in class com.kernelcrew.moodapp.data.MoodEventProvider
Listens to mood events for a list of user IDs.
LocationFragment - Class in com.kernelcrew.moodapp.ui
 
LocationFragment() - Constructor for class com.kernelcrew.moodapp.ui.LocationFragment
 
LocationHandler - Class in com.kernelcrew.moodapp.data
LocationHandler - A non-UI class for requesting location updates Created by taking logic from a functional LocationFragment, so that it can be used in other functions.
LocationHandler(Context) - Constructor for class com.kernelcrew.moodapp.data.LocationHandler
 
LocationHandler.OnLocationObtainedListener - Interface in com.kernelcrew.moodapp.data
 
LocationUpdateListener - Interface in com.kernelcrew.moodapp.ui
 

M

MainActivity - Class in com.kernelcrew.moodapp.ui
 
MainActivity() - Constructor for class com.kernelcrew.moodapp.ui.MainActivity
 
MapTouchWrapper - Class in com.kernelcrew.moodapp.ui
A custom FrameLayout that intercepts touch events and notifies a listener when touched.
MapTouchWrapper(Context) - Constructor for class com.kernelcrew.moodapp.ui.MapTouchWrapper
Constructs a new MapTouchWrapper with the specified context.
MapTouchWrapper(Context, AttributeSet) - Constructor for class com.kernelcrew.moodapp.ui.MapTouchWrapper
Constructs a new MapTouchWrapper with the specified context and attribute set.
MoodAdapter - Class in com.kernelcrew.moodapp.ui
 
MoodAdapter() - Constructor for class com.kernelcrew.moodapp.ui.MoodAdapter
 
MoodAdapter.MoodViewHolder - Class in com.kernelcrew.moodapp.ui
 
MoodAdapter.OnMoodClickListener - Interface in com.kernelcrew.moodapp.ui
 
MoodComments - Class in com.kernelcrew.moodapp.ui
Fragment responsible for displaying the comments on a selected mood.
MoodComments() - Constructor for class com.kernelcrew.moodapp.ui.MoodComments
 
MoodDetails - Class in com.kernelcrew.moodapp.ui
 
MoodDetails() - Constructor for class com.kernelcrew.moodapp.ui.MoodDetails
 
MoodEvent - Class in com.kernelcrew.moodapp.data
A logged mood event owned by a user referenced by that user's firebase auth UID.
MoodEvent() - Constructor for class com.kernelcrew.moodapp.data.MoodEvent
Empty constructor for Firestore deserialization.
MoodEvent(String, String, Emotion, String, String, Double, Double) - Constructor for class com.kernelcrew.moodapp.data.MoodEvent
Constructor for a new MoodEvent with additional details.
MoodEventDetails(MoodEvent) - Constructor for class com.kernelcrew.moodapp.ui.MoodEventForm.MoodEventDetails
Extract the mood event details from a MoodEvent
MoodEventFilter - Class in com.kernelcrew.moodapp.data
A class for filtering mood events through Firestore.
MoodEventFilter(Query) - Constructor for class com.kernelcrew.moodapp.data.MoodEventFilter
 
MoodEventFilter(MoodEventProvider) - Constructor for class com.kernelcrew.moodapp.data.MoodEventFilter
 
MoodEventForm - Class in com.kernelcrew.moodapp.ui
Fragment controller for MoodEventForm.
MoodEventForm() - Constructor for class com.kernelcrew.moodapp.ui.MoodEventForm
 
MoodEventForm.MoodEventDetails - Class in com.kernelcrew.moodapp.ui
 
MoodEventForm.MoodEventFormSubmitCallback - Interface in com.kernelcrew.moodapp.ui
A callback which is fired when a complete mood event form is submitted.
MoodEventProvider - Class in com.kernelcrew.moodapp.data
 
MoodEventVisibility - Enum Class in com.kernelcrew.moodapp.data
The visibility of a mood event.
MoodHistory - Class in com.kernelcrew.moodapp.ui
Fragment responsible for displaying a history of user's mood events using the new filtering logic.
MoodHistory() - Constructor for class com.kernelcrew.moodapp.ui.MoodHistory
 
MoodHistoryAdapter - Class in com.kernelcrew.moodapp.ui
Adapter class for binding mood event data to the RecyclerView in the mood history screen.
MoodHistoryAdapter(List<MoodEvent>, MoodHistoryAdapter.OnItemClickListener) - Constructor for class com.kernelcrew.moodapp.ui.MoodHistoryAdapter
Constructs a new MoodHistoryAdapter with the specified data and listener.
MoodHistoryAdapter.MoodViewHolder - Class in com.kernelcrew.moodapp.ui
ViewHolder class for mood event items.
MoodHistoryAdapter.OnItemClickListener - Interface in com.kernelcrew.moodapp.ui
Interface for handling click events on mood items in the RecyclerView.
MoodIconUtil - Class in com.kernelcrew.moodapp.ui
 
MoodIconUtil() - Constructor for class com.kernelcrew.moodapp.ui.MoodIconUtil
 
MoodMap - Class in com.kernelcrew.moodapp.ui
 
MoodMap() - Constructor for class com.kernelcrew.moodapp.ui.MoodMap
 
MoodViewHolder(View) - Constructor for class com.kernelcrew.moodapp.ui.MoodAdapter.MoodViewHolder
 
MoodViewHolder(View) - Constructor for class com.kernelcrew.moodapp.ui.MoodHistoryAdapter.MoodViewHolder
 
MyProfile - Class in com.kernelcrew.moodapp.ui
 
MyProfile() - Constructor for class com.kernelcrew.moodapp.ui.MyProfile
 

N

NotificationHelper - Class in com.kernelcrew.moodapp.utils
 
NotificationHelper(Context) - Constructor for class com.kernelcrew.moodapp.utils.NotificationHelper
 

O

onAttach(Context) - Method in class com.kernelcrew.moodapp.ui.components.FilterBarFragment
Auto-wire the listener from parent Activity or Fragment if available.
onAttach(Context) - Method in class com.kernelcrew.moodapp.ui.DeleteDialogFragment
 
onBindViewHolder(RecyclerView.ViewHolder, int) - Method in class com.kernelcrew.moodapp.ui.MoodAdapter
 
onBindViewHolder(CommentAdapter.CommentViewHolder, int) - Method in class com.kernelcrew.moodapp.ui.CommentAdapter
 
onBindViewHolder(FollowRequestAdapter.ViewHolder, int) - Method in class com.kernelcrew.moodapp.ui.FollowRequestAdapter
 
onBindViewHolder(MoodHistoryAdapter.MoodViewHolder, int) - Method in class com.kernelcrew.moodapp.ui.MoodHistoryAdapter
Binds data to the ViewHolder at the specified position.
onCheckComplete(boolean) - Method in interface com.kernelcrew.moodapp.ui.AuthSignUp.OnUsernameCheckListener
 
onCreate(Bundle) - Method in class com.kernelcrew.moodapp.ui.MainActivity
 
onCreate(Bundle) - Method in class com.kernelcrew.moodapp.ui.MoodComments
 
onCreate(Bundle) - Method in class com.kernelcrew.moodapp.ui.MoodDetails
 
onCreateDialog(Bundle) - Method in class com.kernelcrew.moodapp.ui.DeleteDialogFragment
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.AuthHome
Called to have the fragment instantiate its user interface view.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.AuthSignIn
Inflates the fragment layout and initializes UI elements.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.AuthSignUp
Inflates the fragment layout and initializes UI elements.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.components.FilterBarFragment
Inflates the filter bar layout and initializes filter options.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.components.UploadPhotoFragment
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.CreateMoodEvent
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.EditMoodEvent
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.FollowersFragment
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.FollowingFragment
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.FollowRequestsFragment
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.HomeFeed
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.LocationFragment
Creates the fragment view and initializes location services.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.MoodComments
Creates and returns the view hierarchy associated with the fragment.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.MoodDetails
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.MoodHistory
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.MoodMap
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.MyProfile
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.OtherUserProfile
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.kernelcrew.moodapp.ui.RequestFragment
 
onCreateViewHolder(ViewGroup, int) - Method in class com.kernelcrew.moodapp.ui.CommentAdapter
 
onCreateViewHolder(ViewGroup, int) - Method in class com.kernelcrew.moodapp.ui.FollowRequestAdapter
 
onCreateViewHolder(ViewGroup, int) - Method in class com.kernelcrew.moodapp.ui.MoodAdapter
 
onCreateViewHolder(ViewGroup, int) - Method in class com.kernelcrew.moodapp.ui.MoodHistoryAdapter
Creates a new ViewHolder when needed by the RecyclerView.
onDeleteConfirmed() - Method in interface com.kernelcrew.moodapp.ui.DeleteDialogFragment.DeleteDialogListener
 
onDeleteConfirmed() - Method in class com.kernelcrew.moodapp.ui.MoodDetails
 
onDestroyView() - Method in class com.kernelcrew.moodapp.ui.HomeFeed
 
onEvent(List<DocumentSnapshot>, FirebaseFirestoreException) - Method in interface com.kernelcrew.moodapp.data.CombinedListener
Called when one or more underlying snapshot listeners return data.
onFilterChanged(MoodEventFilter) - Method in interface com.kernelcrew.moodapp.ui.components.FilterBarFragment.OnFilterChangedListener
Called when the filter has been updated.
onFilterChanged(MoodEventFilter) - Method in class com.kernelcrew.moodapp.ui.HomeFeed
 
onFilterChanged(MoodEventFilter) - Method in class com.kernelcrew.moodapp.ui.MoodMap
 
onItemClick(String) - Method in class com.kernelcrew.moodapp.ui.MoodComments
Callback method from the MoodHistoryAdapter.OnItemClickListener interface.
onItemClick(String) - Method in class com.kernelcrew.moodapp.ui.MoodHistory
Called when a user clicks on a mood event row.
onItemClick(String) - Method in interface com.kernelcrew.moodapp.ui.MoodHistoryAdapter.OnItemClickListener
 
onLocationFailed(String) - Method in interface com.kernelcrew.moodapp.data.LocationHandler.OnLocationObtainedListener
Called when obtaining location fails, either due to missing permissions, disabled services, or runtime errors.
onLocationObtained(double, double) - Method in interface com.kernelcrew.moodapp.data.LocationHandler.OnLocationObtainedListener
Called when the location is successfully obtained.
onLocationUpdated(Double, Double) - Method in interface com.kernelcrew.moodapp.ui.LocationUpdateListener
 
onLocationUpdated(Double, Double) - Method in class com.kernelcrew.moodapp.ui.MoodEventForm
 
onMapReady(GoogleMap) - Method in class com.kernelcrew.moodapp.ui.MoodMap
Manipulates the map when it's available.
onNavigationItemSelected(MenuItem) - Method in class com.kernelcrew.moodapp.ui.BottomNavBarController
 
onPause() - Method in class com.kernelcrew.moodapp.ui.MoodHistory
 
onPause() - Method in class com.kernelcrew.moodapp.ui.MoodMap
 
onResume() - Method in class com.kernelcrew.moodapp.ui.MoodHistory
We no longer need onResume/onPause to set/remove a Firestore listener because the FilterBarFragment's callback sets up the listener whenever the user changes filters.
onResume() - Method in class com.kernelcrew.moodapp.ui.MoodMap
 
onSelectEmotion(Emotion) - Method in interface com.kernelcrew.moodapp.ui.components.EmotionPickerFragment.OnSelectEmotionListener
 
onSubmit(MoodEventForm.MoodEventFormSubmitCallback) - Method in class com.kernelcrew.moodapp.ui.MoodEventForm
Register a on submit callback listener for the submit form action
onUpload(Bitmap) - Method in interface com.kernelcrew.moodapp.ui.components.UploadPhotoFragment.UploadPhotoListener
 
onUserSearchResults(List<User>) - Method in interface com.kernelcrew.moodapp.ui.components.FilterBarFragment.OnUserSearchListener
Called when new user search results are ready.
onUserSearchResults(List<User>) - Method in class com.kernelcrew.moodapp.ui.HomeFeed
 
onValidationComplete(AuthSignUp.SignUpDetails) - Method in interface com.kernelcrew.moodapp.ui.AuthSignUp.OnValidationCompleteListener
 
onViewComments(MoodEvent) - Method in interface com.kernelcrew.moodapp.ui.MoodAdapter.OnMoodClickListener
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.AuthHome
Called immediately after AuthHome.onCreateView(LayoutInflater, ViewGroup, Bundle) has returned.
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.components.EmotionPickerFragment
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.components.FilterBarFragment
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.components.UploadPhotoFragment
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.CreateMoodEvent
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.EditMoodEvent
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.FollowersFragment
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.FollowingFragment
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.FollowRequestsFragment
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.HomeFeed
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.LocationFragment
Called after this view has been created.
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.MoodComments
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.MoodEventForm
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.MoodHistory
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.MoodMap
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.MyProfile
 
onViewCreated(View, Bundle) - Method in class com.kernelcrew.moodapp.ui.RequestFragment
 
onViewDetails(MoodEvent) - Method in interface com.kernelcrew.moodapp.ui.MoodAdapter.OnMoodClickListener
 
OtherUserProfile - Class in com.kernelcrew.moodapp.ui
 
OtherUserProfile() - Constructor for class com.kernelcrew.moodapp.ui.OtherUserProfile
 

P

PhotoUtils - Class in com.kernelcrew.moodapp.utils
 
PhotoUtils() - Constructor for class com.kernelcrew.moodapp.utils.PhotoUtils
 
populateMapFromExistingLocation(double, double) - Method in class com.kernelcrew.moodapp.ui.LocationFragment
Populates the map with an existing location coordinate pair.
PRIVATE - Enum constant in enum class com.kernelcrew.moodapp.data.MoodEventVisibility
Only the author can view this mood event.
PUBLIC - Enum constant in enum class com.kernelcrew.moodapp.data.MoodEventVisibility
Anyone following the author can view this mood event.

R

remove() - Method in class com.kernelcrew.moodapp.data.CombinedListenerComposer
 
REQUEST_LOCATION_PERMISSION - Static variable in class com.kernelcrew.moodapp.data.LocationHandler
 
RequestFragment - Class in com.kernelcrew.moodapp.ui
 
RequestFragment() - Constructor for class com.kernelcrew.moodapp.ui.RequestFragment
 

S

SADNESS - Enum constant in enum class com.kernelcrew.moodapp.data.Emotion
 
saveMoodEventWithoutLocation() - Method in class com.kernelcrew.moodapp.ui.LocationFragment
Saves a mood event without location data using a default message.
searchUsers(String, String) - Method in class com.kernelcrew.moodapp.data.UserProvider
Search users by username (case-insensitive, partial-match) while excluding the current user.
sendNotification(String, String) - Method in class com.kernelcrew.moodapp.utils.NotificationHelper
 
sendRequest(String, String) - Method in class com.kernelcrew.moodapp.data.FollowProvider
 
setAllowUserSearch(boolean) - Method in class com.kernelcrew.moodapp.ui.components.FilterBarFragment
 
setComments(List<Comment>) - Method in class com.kernelcrew.moodapp.ui.CommentAdapter
 
setCommentText(String) - Method in class com.kernelcrew.moodapp.data.Comment
 
setCreated(Date) - Method in class com.kernelcrew.moodapp.data.Comment
 
setCreated(Date) - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
setDateRange(Date, Date) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
setDeleteDialogListener(DeleteDialogFragment.DeleteDialogListener) - Method in class com.kernelcrew.moodapp.ui.DeleteDialogFragment
Set the delete dialog listener
setEmotion(String) - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
setEmotions(Set<Emotion>) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
setError(String) - Method in class com.kernelcrew.moodapp.ui.components.EmotionPickerFragment
Start displaying an error.
setId(String) - Method in class com.kernelcrew.moodapp.data.Comment
 
setId(String) - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
setLatitude(Double) - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
setLimit(int) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
setLocation(Double, Double) - Method in class com.kernelcrew.moodapp.ui.LocationFragment
 
setLocation(Double, Double, double) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
setLongitude(Double) - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
setMoodEventId(String) - Method in class com.kernelcrew.moodapp.data.Comment
 
setMoods(List<MoodEvent>) - Method in class com.kernelcrew.moodapp.ui.MoodAdapter
 
setMoods(List<MoodEvent>) - Method in class com.kernelcrew.moodapp.ui.MoodHistoryAdapter
Updates the adapter's data set with a new list of mood events.
setOnFilterChangedListener(FilterBarFragment.OnFilterChangedListener) - Method in class com.kernelcrew.moodapp.ui.components.FilterBarFragment
Sets a listener to be notified when the filter changes.
setOnMoodClickListener(MoodAdapter.OnMoodClickListener) - Method in class com.kernelcrew.moodapp.ui.MoodAdapter
 
setOnSelectEmotionListener(EmotionPickerFragment.OnSelectEmotionListener) - Method in class com.kernelcrew.moodapp.ui.components.EmotionPickerFragment
 
setOnTouchListener(Runnable) - Method in class com.kernelcrew.moodapp.ui.MapTouchWrapper
Sets a listener that will be executed when the view is touched.
setOnUserSearchListener(FilterBarFragment.OnUserSearchListener) - Method in class com.kernelcrew.moodapp.ui.components.FilterBarFragment
Registers a listener for receiving user search results.
setPhoto(Bitmap) - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
setPhotoBytes(List<Integer>) - Method in class com.kernelcrew.moodapp.data.MoodEvent
Set the photo associated with this mood event.
setReason(String) - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
setReasonQuery(String) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
setSelected(Emotion) - Method in class com.kernelcrew.moodapp.ui.components.EmotionPickerFragment
 
setSelectedDate(Date) - Method in class com.kernelcrew.moodapp.ui.MoodEventForm
TEST ONLY.
setSocialSituation(String) - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
setSocialSituations(Set<String>) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
setSortField(String, Query.Direction) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
setSynced(boolean) - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
setUid(String) - Method in class com.kernelcrew.moodapp.data.Comment
 
setUid(String) - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
setUpdateListener(LocationUpdateListener) - Method in class com.kernelcrew.moodapp.ui.LocationFragment
Listener for location updates.
setupKeyboardHiding(View) - Method in class com.kernelcrew.moodapp.ui.components.DefaultFilterBarFragment
 
setupKeyboardHiding(View) - Method in class com.kernelcrew.moodapp.ui.components.FilterBarFragment
Abstract method that MUST be implemented by subclasses.
setUploadPhotoListener(UploadPhotoFragment.UploadPhotoListener) - Method in class com.kernelcrew.moodapp.ui.components.UploadPhotoFragment
 
setUser(String) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
Set user filter to a single user ID.
setUsername(String) - Method in class com.kernelcrew.moodapp.data.Comment
 
setUsername(String) - Method in class com.kernelcrew.moodapp.data.MoodEvent
 
setUsers(Set<String>) - Method in class com.kernelcrew.moodapp.data.MoodEventFilter
 
setVisibility(MoodEventVisibility) - Method in class com.kernelcrew.moodapp.data.MoodEvent
Update the visibility.
SHAME - Enum constant in enum class com.kernelcrew.moodapp.data.Emotion
 
SURPRISE - Enum constant in enum class com.kernelcrew.moodapp.data.Emotion
 

T

textDate - Variable in class com.kernelcrew.moodapp.ui.MoodHistoryAdapter.MoodViewHolder
 
textMoodEventNumber - Variable in class com.kernelcrew.moodapp.ui.MoodHistoryAdapter.MoodViewHolder
 
toMoodEvent(String) - Method in class com.kernelcrew.moodapp.ui.MoodEventForm.MoodEventDetails
Convert the user details to a MoodEvent
toString() - Method in class com.kernelcrew.moodapp.data.Comment
 

U

unfollow(String, String) - Method in class com.kernelcrew.moodapp.data.FollowProvider
 
update(MoodEventFilter) - Method in interface com.kernelcrew.moodapp.ui.components.FilterBarFragment.FilterUpdater
 
updateFilter(FilterBarFragment.FilterUpdater) - Method in class com.kernelcrew.moodapp.ui.components.FilterBarFragment
Allows external code to update the current MoodEventFilter.
updateMoodEvent(String, MoodEvent) - Method in class com.kernelcrew.moodapp.data.MoodEventProvider
Update an existing mood event in DB.
UploadPhotoFragment - Class in com.kernelcrew.moodapp.ui.components
Modal to let the user either upload an existing photo from their gallery or capture a new temporary photo.
UploadPhotoFragment() - Constructor for class com.kernelcrew.moodapp.ui.components.UploadPhotoFragment
 
UploadPhotoFragment.UploadPhotoListener - Interface in com.kernelcrew.moodapp.ui.components
Listen to the upload/capture photo event by attaching a listener implementing this interface.
User - Class in com.kernelcrew.moodapp.data
 
User(String, String, boolean) - Constructor for class com.kernelcrew.moodapp.data.User
 
UserProvider - Class in com.kernelcrew.moodapp.data
 
Utility - Class in com.kernelcrew.moodapp.data
A utility class for UI related actions.
Utility() - Constructor for class com.kernelcrew.moodapp.data.Utility
 

V

valueOf(String) - Static method in enum class com.kernelcrew.moodapp.data.Emotion
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.kernelcrew.moodapp.data.MoodEventVisibility
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.kernelcrew.moodapp.data.Emotion
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.kernelcrew.moodapp.data.MoodEventVisibility
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E F G H I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form