- a - Variable in class com.example.staysafe.Rate
-
An int representing how many questions the user has selected option A for.
- activity - Variable in class com.example.staysafe.Affected
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Best
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Facts
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Game
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Imagine
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Menu
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Menu3
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Options
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Rate
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.RateVideo
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Restate
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Review
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Stop
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Survey
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Talk
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Think
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Time
-
The instance of the current Activity
- activity - Variable in class com.example.staysafe.Video
-
The instance of the current Activity
- addData(String, String) - Method in class com.example.staysafe.Login
-
Convenience method to add data to a single string variable to be
concatenated and then output to research data file.
- addData(String, String) - Method in interface com.example.staysafe.SSCallback
-
Saves key value pairs in order to have them output at the end of the
session.
- addData(String, String) - Method in class com.example.staysafe.Template1
-
Saves key value pairs in order to have them output at the end of the
session.
- addData(String, String) - Method in class com.example.staysafe.Template2
-
Saves key value pairs in order to have them output at the end of the
session.
- addData(String, String) - Method in class com.example.staysafe.Template3
-
Saves key value pairs in order to have them output at the end of the
session.
- addOutputFile() - Method in interface com.example.staysafe.SSCallback
-
Causes all saved items from the session to be compiled and saved in the
root:/StaySafe/Data/ directory.
- addOutputFile() - Method in class com.example.staysafe.Template1
-
- addOutputFile() - Method in class com.example.staysafe.Template2
-
- addOutputFile() - Method in class com.example.staysafe.Template3
-
- Affected - Class in com.example.staysafe
-
The Affected Fragment is responsible for displaying the affected persons
screen to the user.
- Affected(SSJsonReader, int) - Constructor for class com.example.staysafe.Affected
-
The constructor saves what template type this Fragment is a part of and
copies the instance of the
SSJsonReader
into memory.
- alert - Variable in class com.example.staysafe.ErrorFragment
-
The instance of the Dialog being presented.
- alert - Variable in class com.example.staysafe.ExitUtility
-
The instance of the Dialog being presented.
- anim - Variable in class com.example.staysafe.Review
-
The enumerable keeping track of the next item in the work-it process to
be animated.
- animateHand(float, float, int, Runnable) - Method in interface com.example.staysafe.SSCallback
-
Animates the floating hand used in
Template1
to simulate a user
touch.
- animateHand(int, int, int, Runnable, boolean) - Method in interface com.example.staysafe.SSCallback
-
- animateHand(int, int, int, Runnable, boolean) - Method in class com.example.staysafe.Template1
-
- animateHand(float, float, int, Runnable) - Method in class com.example.staysafe.Template1
-
Animates the floating hand used in
Template1
to simulate a user
touch.
- animateHand(float, float, int, Runnable) - Method in class com.example.staysafe.Template2
-
Not used in this class.
- animateHand(int, int, int, Runnable, boolean) - Method in class com.example.staysafe.Template2
-
Not used in this class.
- animateHand(float, float, int, Runnable) - Method in class com.example.staysafe.Template3
-
Not used in this class.
- animateHand(int, int, int, Runnable, boolean) - Method in class com.example.staysafe.Template3
-
Not used in this class.
- animateHandNext() - Method in interface com.example.staysafe.SSCallback
-
Convenience method of
#animateHand(int, int, int, Runnable)
Animates the floating hand used in
Template1
to press the next
button.
- animateHandNext() - Method in class com.example.staysafe.Template1
-
Convenience method to animate the hand to press the nextbuton.
- animateHandNext() - Method in class com.example.staysafe.Template2
-
Not used in this class.
- animateHandNext() - Method in class com.example.staysafe.Template3
-
Not used in this class.
- ANIMATION_DISTANCE - Variable in class com.example.staysafe.Template1
-
The distance the floating hand travels during the press animation.
- ANIMATION_LENGTH - Variable in class com.example.staysafe.Template1
-
The length of the floating hand animation.
- Animator - Enum in com.example.staysafe
-
The enumeration is to facilitate the
Review
class in its animations
of the WORK-IT review.
- Animator() - Constructor for enum com.example.staysafe.Animator
-
- approveNext() - Method in class com.example.staysafe.Best
-
This method checks to see if the voice over has been completed and
an option has selected
- approveNext() - Method in class com.example.staysafe.Imagine
-
This method checks to see if the voice over has been completed and
and the third done button has been pressed
- approveNext() - Method in class com.example.staysafe.Login
-
- approveNext() - Method in class com.example.staysafe.Options
-
This method checks to see if the voice over has been completed and
and two options have been selected
- approveNext() - Method in class com.example.staysafe.Rate
-
This method checks to see if the voice over has been completed and
and all questions are answered
- approveNext() - Method in class com.example.staysafe.Think
-
This method checks to see if the voice over has been completed and
and all done buttons have been pressed
- atLeastOne() - Method in class com.example.staysafe.Affected
-
This method checks to see if at least one affected person is selected.
- d1 - Variable in class com.example.staysafe.Think
-
The ImageViews of the done buttons the user presses after thinking
about each question.
- d1Time - Variable in class com.example.staysafe.Imagine
-
String representing the values of the times until each done button was pressed.
- d2 - Variable in class com.example.staysafe.Think
-
The ImageViews of the done buttons the user presses after thinking
about each question.
- d2Time - Variable in class com.example.staysafe.Imagine
-
String representing the values of the times until each done button was pressed.
- d3 - Variable in class com.example.staysafe.Think
-
The ImageViews of the done buttons the user presses after thinking
about each question.
- d3Time - Variable in class com.example.staysafe.Imagine
-
String representing the values of the times until each done button was pressed.
- date - Variable in class com.example.staysafe.Login
-
TextView corresponding to the inputs visible to user on the login screen.
- dateStringNOSLASH - Variable in class com.example.staysafe.Login
-
String representation of the generated date string without slashes.
- density - Variable in class com.example.staysafe.Template1
-
The current pixel density of the device.
- deselect(int) - Method in class com.example.staysafe.Affected
-
This method indicated that a affected person has been de-selected.
- deselect(int) - Method in class com.example.staysafe.Options
-
This method removes the option corresponding to the passed in index value in the options queue.
- displaySetup() - Method in class com.example.staysafe.Template1
-
finds and determines different characteristics of the current display
environment.
- done - Variable in class com.example.staysafe.Best
-
A boolean value indicating when that an option has been selected.
- done - Variable in class com.example.staysafe.Game
-
A boolean value indicating when the user has finished playing the game.
- done - Variable in class com.example.staysafe.Imagine
-
A boolean value indicating if done3
has been pressed.
- done - Variable in class com.example.staysafe.Options
-
A boolean value indicating if exactly two options have been selected.
- done - Variable in class com.example.staysafe.Rate
-
A boolean value indicating when all three questions have been answered.
- done - Variable in class com.example.staysafe.Think
-
A boolean value indicating when all three questions have been answered.
- done1 - Variable in class com.example.staysafe.Imagine
-
The TextViews of all three done buttons.
- done1Time - Variable in class com.example.staysafe.Think
-
String values representing the time it takes for the user to press the done
button for each question they are asked to think about.
- done2 - Variable in class com.example.staysafe.Imagine
-
The TextViews of all three done buttons.
- done2Time - Variable in class com.example.staysafe.Think
-
String values representing the time it takes for the user to press the done
button for each question they are asked to think about.
- done3 - Variable in class com.example.staysafe.Imagine
-
The TextViews of all three done buttons.
- done3Time - Variable in class com.example.staysafe.Think
-
String values representing the time it takes for the user to press the done
button for each question they are asked to think about.
- DURATION_MACRO - Variable in class com.example.staysafe.Imagine
-
An int for the length of the animation.
- DURATION_MACRO - Variable in class com.example.staysafe.Think
-
An int value representing how long the animation is suppose to last.
- DURRATION_MACRO - Variable in class com.example.staysafe.Review
-
Value of the fading animation length for the work-it review animation.
- Game - Class in com.example.staysafe
-
The Game Fragment is responsible for displaying the game screen to the user.
- Game(SSJsonReader, int) - Constructor for class com.example.staysafe.Game
-
The constructor saves what template type this Fragment is a part of and
copies the instance of the
SSJsonReader
into memory.
- gameAnimation(int) - Method in class com.example.staysafe.Game
-
Method call to move the running man to the corresponding question.
- getAffectedPersonsFacts() - Method in class com.example.staysafe.SSJsonReader
-
Method for retrieving the affected person facts for the problem.
- getAffectedPersonsTitle() - Method in class com.example.staysafe.SSJsonReader
-
Method for retrieving the title for the affected person screen.
- getBestOption() - Method in class com.example.staysafe.SSJsonReader
-
- getGame() - Method in class com.example.staysafe.SSJsonReader
-
Method for retrieving the games question and answers for the current
problem choice.
- getNum(Problem) - Static method in enum com.example.staysafe.Problem
-
Returns the current problem as a number
- getOptions() - Method in class com.example.staysafe.SSJsonReader
-
Method for retrieving the options for the problem.
- getOptionsFacts() - Method in class com.example.staysafe.SSJsonReader
-
Method for retrieving the options factoids for the problem.
- getPeopleProblemChoices() - Method in class com.example.staysafe.SSJsonReader
-
A method for retrieving the problem themes in the people category
- getPlacesProblemChoices() - Method in class com.example.staysafe.SSJsonReader
-
A method for retrieving the problem themes in the places category
- getProblemChoice() - Method in class com.example.staysafe.SSJsonReader
-
Method for retrieving a String representing the current problem choice.
- getProblemNumber() - Method in class com.example.staysafe.SSJsonReader
-
Method for retrieving a String representing the current problem choice
number.
- getSelectedOptions() - Method in class com.example.staysafe.SSJsonReader
-
- getStatusBarHeight() - Method in class com.example.staysafe.Template1
-
returns the height of the status bar on the active device
- getSurvey() - Method in class com.example.staysafe.SSJsonReader
-
Method for retrieving the survey question for the current problem choice.
- getT1(int) - Method in class com.example.staysafe.SSJsonReader
-
This method returns in the dynamic text description required for Template
1's introduction video screens that was read in when the class was
constructed.
- getTemplate3Facts() - Method in class com.example.staysafe.SSJsonReader
-
A method for retrieving the template 3 HIV facts.
- getTheLetter() - Method in class com.example.staysafe.SSJsonReader
-
- getTheme(Theme) - Static method in enum com.example.staysafe.Theme
-
Returns the current Theme
- getThemeNum(Theme) - Static method in enum com.example.staysafe.Theme
-
Returns the current Theme as a number
- getThingsProblemChoices() - Method in class com.example.staysafe.SSJsonReader
-
A method for retrieving the problem themes in the things category
- getTimeElapsed() - Method in class com.example.staysafe.SSTimer
-
Called when the time elapsed is desired
- getVersion() - Method in class com.example.staysafe.SSJsonReader
-
Retrieves the version of curriculum in the JSON file
- getVideoConsequences() - Method in class com.example.staysafe.SSJsonReader
-
Method for retrieving the consequences related to the video for the
current problem selection
- gobutton - Variable in class com.example.staysafe.Game
-
The image for the beginning go button.
- goodBad_time - Variable in class com.example.staysafe.RateVideo
-
The time it took for the user to make a selection.s
- goodHighlight - Variable in class com.example.staysafe.RateVideo
-
This layout is used to show to the user that they have made a selection.
- goodSelected - Variable in class com.example.staysafe.RateVideo
-
Indicates if the good button was selected.
- o1Highlight - Variable in class com.example.staysafe.Best
-
The frame layouts corresponding to the highlights for each option.
- o1Highlight - Variable in class com.example.staysafe.Options
-
The TextViews of each of the different highlights behind each option.
- o2Highlight - Variable in class com.example.staysafe.Best
-
The frame layouts corresponding to the highlights for each option.
- o2Highlight - Variable in class com.example.staysafe.Options
-
The TextViews of each of the different highlights behind each option.
- o3Highlight - Variable in class com.example.staysafe.Options
-
The TextViews of each of the different highlights behind each option.
- o4Highlight - Variable in class com.example.staysafe.Options
-
The TextViews of each of the different highlights behind each option.
- ol - Variable in class com.example.staysafe.Review
-
Layout corresponding to an item in the work-it review.
- onAttach(Activity) - Method in class com.example.staysafe.Affected
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Begin
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Best
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Facts
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Game
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Imagine
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Menu
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Menu3
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Options
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Rate
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.RateVideo
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Restate
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Review
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Stop
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity.
- onAttach(Activity) - Method in class com.example.staysafe.Survey
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Talk
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Think
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Time
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onAttach(Activity) - Method in class com.example.staysafe.Video
-
This class uses the onAttach method of the android life cycle to save an
instance of the activity and to implement the interface between the main
activity and this fragment activity
- onBackPressed() - Method in class com.example.staysafe.Login
-
Android call to eliminate the back soft button functionality.
- onBackPressed() - Method in class com.example.staysafe.Template1
-
Method run when back button is pressed.
- onBackPressed() - Method in class com.example.staysafe.Template2
-
Method run when back button is pressed.
- onBackPressed() - Method in class com.example.staysafe.Template3
-
Method run when back button is pressed.
- onClick(View) - Method in class com.example.staysafe.Affected
-
The method called when an affected person has been selected by the user.
- onClick(View) - Method in class com.example.staysafe.Best
-
- onClick(View) - Method in class com.example.staysafe.ErrorFragment
-
Method called when the OK button is pressed.
- onClick(View) - Method in class com.example.staysafe.ExitUtility
-
Action method for user button presses.
- onClick(View) - Method in class com.example.staysafe.Facts
-
The method called when the user has pressed the play button.
- onClick(View) - Method in class com.example.staysafe.Game
-
Controls the flow of the game.
- onClick(View) - Method in class com.example.staysafe.Imagine
-
This method is called when a done button has been pressed by the user.
- onClick(View) - Method in class com.example.staysafe.Menu
-
Performs the appropriate actions for the user interactions.
- onClick(View) - Method in class com.example.staysafe.Menu3
-
This method communicates to the super class
Template3
and signals
what screen should be loaded next.
- onClick(View) - Method in class com.example.staysafe.Options
-
This method is called when an option has been selected by the user.
- onClick(View) - Method in class com.example.staysafe.Rate
-
This method is called when an option has been selected by the user.
- onClick(View) - Method in class com.example.staysafe.RateVideo
-
The method called when good/bad decision has been selected by the user.
- onClick(View) - Method in class com.example.staysafe.Survey
-
This method is called when the user selects a response.
- onClick(View) - Method in class com.example.staysafe.Talk
-
Method called by the Android system when a person has been selected.
- onClick(View) - Method in class com.example.staysafe.Think
-
This method is called when a done button has been pressed by the user.
- onClick(View) - Method in class com.example.staysafe.Video
-
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Affected
-
This method changes the value within
Affected.voComplete
to indicate the
voice over file has finished playing.
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Best
-
This method changes the value within
Best.voComplete
to indicate the
voice over file has finished playing.
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Facts
-
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Game
-
This method changes the value within
Game.voComplete
to indicate the
voice over file has finished playing.
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Imagine
-
This method changes the value within
Imagine.voComplete
to indicate the
voice over file has finished playing.
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Menu
-
This method changes the value within
Menu.voComplete
to indicate the
voice over file has finished playing.
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Options
-
This method changes the value within
Options.voComplete
to indicate the
voice over file has finished playing.
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Rate
-
This method changes the value within
Rate.voComplete
to indicate the
voice over file has finished playing.
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.RateVideo
-
When the voice over has completed this method is called.
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Restate
-
Upon voice over completion, this method is called and the next button is
made available to the user.
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Review
-
This method changes the value within
Review.voComplete
to indicate the
voice over file has finished playing.
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Talk
-
This method changes the value within
Talk.voComplete
to indicate the
voice over file has finished playing.
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Think
-
This method changes the value within
Think.voComplete
to indicate the
voice over file has finished playing.
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Time
-
This method changes the value within
voComplete
to indicate the
voice over file has finished playing.
- onCompletion(MediaPlayer) - Method in class com.example.staysafe.Video
-
Controls both the voice over and video files.
- onCreate(Bundle) - Method in class com.example.staysafe.Login
-
This method is called by the system to inflate the layout for the Login
screen.
- onCreate(Bundle) - Method in class com.example.staysafe.Template1
-
Responsible for inflating the Template 1 view elements.
- onCreate(Bundle) - Method in class com.example.staysafe.Template2
-
Responsible for inflating the Template 2 view elements.
- onCreate(Bundle) - Method in class com.example.staysafe.Template3
-
Responsible for inflating the Template 3 view elements.
- onCreateDialog(Bundle) - Method in class com.example.staysafe.ErrorFragment
-
The Android life cycle called when the AlertDialog should be displayed to
the user.
- onCreateDialog(Bundle) - Method in class com.example.staysafe.ExitUtility
-
The Android life cycle called when the AlertDialog should be displayed to
the user.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Affected
-
This method is called by the system to inflate the layout for the
Affected screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Begin
-
This method is called by the system to inflate the layout for the Begin
screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Best
-
This method is called by the system to inflate the layout for the Best
screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Facts
-
This method is called by the system to inflate the layout for the Facts
screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Game
-
This method is called by the system to inflate the layout for the Game
screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Imagine
-
This method is called by the system to inflate the layout for the
Imagine screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Menu
-
This method is called by the system to inflate the layout for the Menu
screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Menu3
-
This method is called by the system to inflate the layout for the Menu3
screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Options
-
This method is called by the system to inflate the layout for the
Options screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.RAInstructions
-
This method is called by the system to inflate the layout for the
RAInstructions screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Rate
-
This method is called by the system to inflate the layout for the
Rate screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.RateVideo
-
This method is called by the system to inflate the layout for the
RateVideo screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Restate
-
This method is called by the system to inflate the layout for the Restate
screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Review
-
This method is called by the system to inflate the layout for the Review
screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Stop
-
This method is called by the system to inflate the layout for the Stop
screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Survey
-
This method is called by the system to inflate the layout for the Survey
screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Talk
-
This method is called by the system to inflate the layout for the Talk
screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Think
-
This method is called by the system to inflate the layout for the
Think screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Time
-
This method is called by the system to inflate the layout for the
Time screen.
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.staysafe.Video
-
This method is called by the system to inflate the layout for the Video
screen.
- onDestroy() - Method in class com.example.staysafe.Affected
-
- onDestroy() - Method in class com.example.staysafe.Best
-
- onDestroy() - Method in class com.example.staysafe.Facts
-
- onDestroy() - Method in class com.example.staysafe.Game
-
- onDestroy() - Method in class com.example.staysafe.Imagine
-
- onDestroy() - Method in class com.example.staysafe.Menu
-
- onDestroy() - Method in class com.example.staysafe.Menu3
-
- onDestroy() - Method in class com.example.staysafe.Options
-
- onDestroy() - Method in class com.example.staysafe.Rate
-
- onDestroy() - Method in class com.example.staysafe.RateVideo
-
- onDestroy() - Method in class com.example.staysafe.Restate
-
- onDestroy() - Method in class com.example.staysafe.Review
-
- onDestroy() - Method in class com.example.staysafe.Stop
-
- onDestroy() - Method in class com.example.staysafe.Survey
-
- onDestroy() - Method in class com.example.staysafe.Talk
-
- onDestroy() - Method in class com.example.staysafe.Think
-
- onDestroy() - Method in class com.example.staysafe.Time
-
All data is saved within this method and memory with the
voMediaPlayer
is released.
- onDestroy() - Method in class com.example.staysafe.Video
-
- onLoginNext(View) - Method in class com.example.staysafe.Login
-
Method to be run when the user is presses the next button.
- onLongClick(View) - Method in class com.example.staysafe.Survey
-
Provides a similar
ExitUtility
to the user but redirects the
administrative user to save the data as if the user had finished the
session entirely
- onLongClick(View) - Method in class com.example.staysafe.Template1
-
Called by the Android system when the StaySafe logo has been long
pressed.
- onLongClick(View) - Method in class com.example.staysafe.Template2
-
Called by the Android system when the StaySafe logo has been long
pressed.
- onLongClick(View) - Method in class com.example.staysafe.Template3
-
Called by the Android system when the StaySafe logo has been long
pressed.
- onMenu() - Method in class com.example.staysafe.Template3
-
Displays the
Menu3
screen to the user.
- onNext(View) - Method in class com.example.staysafe.Template1
-
Called when the user presses the next button.
- onNext(View) - Method in class com.example.staysafe.Template2
-
Called when the user presses the next button.
- onNextPress() - Method in class com.example.staysafe.Stop
-
Called by the controlling activity to indicate to the Stop fragment that
the next button has been pressed.
- onPause() - Method in class com.example.staysafe.Facts
-
- onPause() - Method in class com.example.staysafe.Video
-
- onResume() - Method in class com.example.staysafe.Facts
-
- onResume() - Method in class com.example.staysafe.Video
-
- onRoute(View) - Method in class com.example.staysafe.Template3
-
Method called by the Android system when a button is pressed.
- OnSSTimerListener - Interface in com.example.staysafe
-
An interface designed to facilitate the interactions of the
SSTimer
class (interface user) and the classes that instantiated it.
- onSurvey() - Method in class com.example.staysafe.Template3
-
Displays the
Survey
screen to the user.
- onTimerDone(SSTimer) - Method in interface com.example.staysafe.OnSSTimerListener
-
Performs actions required when a
SSTimer
expires.
- onTimerDone(SSTimer) - Method in class com.example.staysafe.Rate
-
- onTimerDone(SSTimer) - Method in class com.example.staysafe.RateVideo
-
When the delay between the displaying of
RateVideo.consq
and the next
button has elapsed this method is called by the
SSTimer
class
indicating the timer has expired.
- onTimerDone(SSTimer) - Method in class com.example.staysafe.Review
-
Animates the next item in the work-it process.
- onTimerDone(SSTimer) - Method in class com.example.staysafe.Template3
-
Method responsible for displaying the survey button on delay.
- op - Variable in class com.example.staysafe.Best
-
A String[] that holds the options array from the
SSJsonReader
selected options.
- opA - Variable in class com.example.staysafe.Think
-
The TextViews of each of the questions the user is suppose to think about.
- opB - Variable in class com.example.staysafe.Think
-
The TextViews of each of the questions the user is suppose to think about.
- optA - Variable in class com.example.staysafe.Rate
-
The LinearLayouts for each of the options.
- optB - Variable in class com.example.staysafe.Rate
-
The LinearLayouts for each of the options.
- option - Variable in class com.example.staysafe.Imagine
-
The TextViews of the options, the letter of the option, and the problem
the user it working on.
- option1 - Variable in class com.example.staysafe.Options
-
The TextViews of each of the different options on the screen related
to the problem choice the user selected.
- option2 - Variable in class com.example.staysafe.Options
-
The TextViews of each of the different options on the screen related
to the problem choice the user selected.
- option3 - Variable in class com.example.staysafe.Options
-
The TextViews of each of the different options on the screen related
to the problem choice the user selected.
- option4 - Variable in class com.example.staysafe.Options
-
The TextViews of each of the different options on the screen related
to the problem choice the user selected.
- optionA - Variable in class com.example.staysafe.Rate
-
The TextViews of each of the options the user selected as well as
the problem they are working on.
- optionB - Variable in class com.example.staysafe.Rate
-
The TextViews of each of the options the user selected as well as
the problem they are working on.
- optionCounter - Variable in class com.example.staysafe.Options
-
an int representing how many options have been selected.
- optionLetter - Variable in class com.example.staysafe.SSJsonReader
-
- Options - Class in com.example.staysafe
-
The Options Fragment is responsible for displaying the options
screen to the user.
- Options(SSJsonReader, int) - Constructor for class com.example.staysafe.Options
-
The constructor saves what template type this Fragment is a part of and
copies the instance of the
SSJsonReader
into memory.
- options - Variable in class com.example.staysafe.Options
-
TextView arrays of the options and facts.
- optionsQueue - Variable in class com.example.staysafe.Options
-
A Queue containing the indices of which options were selected.
- opts - Variable in class com.example.staysafe.Options
-
A String[] containing the options for the problem choice.
- optTimes - Variable in class com.example.staysafe.Options
-
A String[] containing the timing data for each individual option.
- q1 - Variable in class com.example.staysafe.Game
-
TextView for question
- q1a1 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q1a2 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q1h - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- q1s - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- q1Time - Variable in class com.example.staysafe.Rate
-
Strings representing the time it took for each question to be answered.
- q2 - Variable in class com.example.staysafe.Game
-
TextView for question
- q2a1 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q2a2 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q2h - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- q2s - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- q2Time - Variable in class com.example.staysafe.Rate
-
Strings representing the time it took for each question to be answered.
- q3 - Variable in class com.example.staysafe.Game
-
TextView for question
- q3a1 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q3a2 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q3h - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- q3s - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- q3Time - Variable in class com.example.staysafe.Rate
-
Strings representing the time it took for each question to be answered.
- q4 - Variable in class com.example.staysafe.Game
-
TextView for question
- q4a1 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q4a2 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q4h - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- q4s - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- q5 - Variable in class com.example.staysafe.Game
-
TextView for question
- q5a1 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q5a2 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q5h - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- q5s - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- q6 - Variable in class com.example.staysafe.Game
-
TextView for question
- q6a1 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q6a2 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q6h - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- q6s - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- q7 - Variable in class com.example.staysafe.Game
-
TextView for question
- q7a1 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q7a2 - Variable in class com.example.staysafe.Game
-
TextView for answer to a question.
- q7h - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- q7s - Variable in class com.example.staysafe.Game
-
ImageView with the smiley faces.
- qtimer - Variable in class com.example.staysafe.Rate
-
The instances of the
SSTimer
used for retrieving timing values for
this Fragment.
- questionTransition1(int, ImageView, ImageView, TextView) - Method in class com.example.staysafe.Game
-
This method is for when the first answer is selected.
- questionTransition2(int, ImageView, ImageView, TextView) - Method in class com.example.staysafe.Game
-
This method is for when the second answer is selected.
- raid - Variable in class com.example.staysafe.Login
-
TextView corresponding to the inputs visible to user on the login screen.
- RAInstructions - Class in com.example.staysafe
-
The RAInstructions Fragment is responsible for signaling to the
administrative user that a session has been completed and instruct them on
how to transfer research data off the tablet.
- RAInstructions() - Constructor for class com.example.staysafe.RAInstructions
-
- random - Variable in class com.example.staysafe.Game
-
I don't know what this does.
- Rate - Class in com.example.staysafe
-
The Rate Fragment is responsible for displaying the rate
screen to the user.
- Rate(SSJsonReader, int) - Constructor for class com.example.staysafe.Rate
-
The constructor saves what template type this Fragment is a part of and
copies the instance of the
SSJsonReader
into memory.
- rate1 - Variable in class com.example.staysafe.Rate
-
String representing which option was selected for each question.
- rate1A - Variable in class com.example.staysafe.Rate
-
The ImageViews corresponding to each of the check marks under the options.
- rate1B - Variable in class com.example.staysafe.Rate
-
The ImageViews corresponding to each of the check marks under the options.
- rate2 - Variable in class com.example.staysafe.Rate
-
String representing which option was selected for each question.
- rate2A - Variable in class com.example.staysafe.Rate
-
The ImageViews corresponding to each of the check marks under the options.
- rate2B - Variable in class com.example.staysafe.Rate
-
The ImageViews corresponding to each of the check marks under the options.
- rate3 - Variable in class com.example.staysafe.Rate
-
String representing which option was selected for each question.
- rate3A - Variable in class com.example.staysafe.Rate
-
The ImageViews corresponding to each of the check marks under the options.
- rate3B - Variable in class com.example.staysafe.Rate
-
The ImageViews corresponding to each of the check marks under the options.
- rateQ1 - Variable in class com.example.staysafe.Rate
-
The TextViews of each of the different questions on the screen.
- rateQ2 - Variable in class com.example.staysafe.Rate
-
The TextViews of each of the different questions on the screen.
- rateQ3 - Variable in class com.example.staysafe.Rate
-
The TextViews of each of the different questions on the screen.
- rateQ4 - Variable in class com.example.staysafe.Rate
-
The ImageViews corresponding to each of the check marks under the options.
- RateVideo - Class in com.example.staysafe
-
The RateVideo Fragment is responsible for displaying the rate video screen to
the user.
- RateVideo(SSJsonReader, int) - Constructor for class com.example.staysafe.RateVideo
-
The constructor saves what template type this Fragment is a part of and
copies the instance of the
SSJsonReader
into memory.
- reader - Variable in class com.example.staysafe.Affected
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Best
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Facts
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Game
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Imagine
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Login
-
SSJsonReader
used temporarily for the login screen to retrieve
the current version number.
- reader - Variable in class com.example.staysafe.Menu
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Options
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Rate
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.RateVideo
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Restate
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Review
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Stop
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Survey
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Talk
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Template1
-
The instance of the
SSJsonReader
to be passed to all of the
Fragments incorporated in Template 1.
- reader - Variable in class com.example.staysafe.Template2
-
The instance of the
SSJsonReader
to be passed to all of the
Fragments incorporated in Template 2.
- reader - Variable in class com.example.staysafe.Template3
-
The instance of the
SSJsonReader
to be passed to all of the
Fragments incorporated in Template 3.
- reader - Variable in class com.example.staysafe.Think
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Time
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- reader - Variable in class com.example.staysafe.Video
-
The instance of the
SSJsonReader
class that reads in the dynamic
content for the application.
- resetBackgrounds() - Method in class com.example.staysafe.Menu
-
Resets the backgrounds of all problems TextViews in the
Menu.problems
layout to be clear.
- restart() - Method in interface com.example.staysafe.SSCallback
-
Causes all saved items from the current session to be lost and forces the
application to exit back to the
Login
screen.
- restart() - Method in class com.example.staysafe.Template1
-
Closes the current Activity and loads the
Login
Activity to
restart the application.
- restart() - Method in class com.example.staysafe.Template2
-
Closes the current Activity and loads the
Login
Activity to
restart the application.
- restart() - Method in class com.example.staysafe.Template3
-
Closes the current Activity and loads the
Login
Activity to
restart the application.
- Restate - Class in com.example.staysafe
-
The Restate Fragment is responsible for displaying the problem selected by
the user.
- Restate(SSJsonReader, int) - Constructor for class com.example.staysafe.Restate
-
The constructor saves what template type this Fragment is a part of and
copies the instance of the
SSJsonReader
into memory.
- Review - Class in com.example.staysafe
-
The Review Fragment is responsible for displaying the work-it review to the
user.
- Review(SSJsonReader, int) - Constructor for class com.example.staysafe.Review
-
The constructor saves what template type this Fragment is a part of and
copies the instance of the
SSJsonReader
into memory.
- reviewDone - Variable in class com.example.staysafe.Review
-
boolean value indicating if the work-it review has finished animating.
- rightView - Variable in class com.example.staysafe.Facts
-
The FlowTextViews
- rl - Variable in class com.example.staysafe.Review
-
Layout corresponding to an item in the work-it review.
- routingTimer - Variable in class com.example.staysafe.Template3
-
timer used to display the survey button 5 seconds after the menu button.
- second - Variable in class com.example.staysafe.Imagine
-
The boolean values indicating what done buttons have been pressed.
- second - Variable in class com.example.staysafe.Think
-
Boolean value indicating if the user is on the Think Fragment for option A or option B.
- secondUse - Variable in class com.example.staysafe.Template1
-
Indicates if this is the second time the
Think
Fragment has been
executed for this template
- secondUse - Variable in class com.example.staysafe.Template2
-
Indicates if this is the second time the
Think
Fragment has been
executed for this template
- select(int) - Method in class com.example.staysafe.Affected
-
This method indicated that a affected person has been selected.
- select(int) - Method in class com.example.staysafe.Options
-
This method adds the selected option to the options queue.
- selected - Variable in class com.example.staysafe.Affected
-
A boolean[] indicating which facts were selected by the user.
- selected - Variable in class com.example.staysafe.Talk
-
Value indicating what person the user can talk to was selected.
- selectedOption1 - Variable in class com.example.staysafe.SSJsonReader
-
- selectedOption2 - Variable in class com.example.staysafe.SSJsonReader
-
- selection - Variable in class com.example.staysafe.Survey
-
Values that indicate what selection the user made for the question.
- sess - Variable in class com.example.staysafe.Facts
-
A int corresponding to the current session number.
- session - Variable in class com.example.staysafe.Login
-
TextView corresponding to the inputs visible to user on the login screen.
- setBestOption(String, String) - Method in class com.example.staysafe.SSJsonReader
-
- setInvisible() - Method in class com.example.staysafe.Rate
-
This method sets all of the questions to invisible at the start of the screen.
- setMinimumTimePeriod(int) - Method in class com.example.staysafe.SSTimer
-
set the minimum elapsed time for this timer
- setOnSSTimerListener(Object) - Method in class com.example.staysafe.SSTimer
-
sets the onTimerDone method to be performed on timer completion
- setOptions(String, String) - Method in class com.example.staysafe.SSJsonReader
-
Saves the selected options for the session.
- setProblemChoice(String, String) - Method in class com.example.staysafe.SSJsonReader
-
After a theme selection has been made by the user, this method will
assure that future calls to this class reference the appropriate values
from the selected problem.
- setPrompt() - Method in class com.example.staysafe.Imagine
-
This method sets the timer listener for the
prompt
SSTimer
.
- setPrompt() - Method in class com.example.staysafe.Think
-
- setScreen() - Method in class com.example.staysafe.Options
-
This method populates each options and facts TextView with content from
the
Options.reader
class and sets all facts to be invisible.
- setStartTime() - Method in class com.example.staysafe.SSTimer
-
Sets the starting time of the timer
- shake - Variable in class com.example.staysafe.ExitUtility
-
Holds the shake animation for when the user enters in the wrong pass
code.
- shake - Variable in class com.example.staysafe.Stop
-
- shakeable - Variable in class com.example.staysafe.Stop
-
The item that is animated when the incorrect pass code is entered into
the
Stop.passcode
text field.
- showError(String) - Method in class com.example.staysafe.Login
-
- showError(String) - Method in interface com.example.staysafe.SSCallback
-
Shows an error to the user.
- showError(String) - Method in class com.example.staysafe.Template1
-
Shows an error to the user.
- showError(String) - Method in class com.example.staysafe.Template2
-
Shows an error to the user.
- showError(String) - Method in class com.example.staysafe.Template3
-
Shows an error to the user.
- shown - Variable in class com.example.staysafe.Options
-
A boolean[] indicating which facts were selected by the user.
- showRouting(boolean) - Method in interface com.example.staysafe.SSCallback
-
Shows the routing elements (Go to Survey and Go to Menu) buttons.
- showRouting(boolean) - Method in class com.example.staysafe.Template1
-
Not used in this class.
- showRouting(boolean) - Method in class com.example.staysafe.Template2
-
Not used in this class.
- showRouting(boolean) - Method in class com.example.staysafe.Template3
-
called by the fragments associated with the template 3.
- sideImage - Variable in class com.example.staysafe.Facts
-
The ImageViews corresponding to the image on the left side of the screen
and the play button.
- site - Variable in class com.example.staysafe.Login
-
TextView corresponding to the inputs visible to user on the login screen.
- slide - Variable in class com.example.staysafe.Imagine
-
The instance of the animation.
- slide - Variable in class com.example.staysafe.Review
-
The animation to be applied to the work-it LinearLayouts
- slide - Variable in class com.example.staysafe.Think
-
The instance of the Animation
- SSCallback - Interface in com.example.staysafe
-
An interface designed to facilitate the interactions of the StaySafe
Fragments and their current Template's Activity.
- SSJsonReader - Class in com.example.staysafe
-
The SSJsonReader is the class that the StaySafe application will use to read
in the dynamic text for the curriculum.
- SSJsonReader(int, int) - Constructor for class com.example.staysafe.SSJsonReader
-
Method call for initiating the JSON reader.
- SSJsonReader(int) - Constructor for class com.example.staysafe.SSJsonReader
-
Convenience constructor for initiating the StaySafe JSON reader for
Templates 1 and 3.
- SSTimer - Class in com.example.staysafe
-
The SSTimer class functions as a utility to the StaySafe application to
facilitate all time data.
- SSTimer() - Constructor for class com.example.staysafe.SSTimer
-
Constructor that saves the current instance of the class
- star - Variable in class com.example.staysafe.Game
-
The image for the ending animation.
- startCountDown() - Method in class com.example.staysafe.SSTimer
-
Starts the timer
- startTime - Variable in class com.example.staysafe.SSTimer
-
- statusBarHeight - Variable in class com.example.staysafe.Template1
-
the height of the statues bar for the current device.
- Stop - Class in com.example.staysafe
-
The Stop Fragment is responsible for signaling to the user that the session
has completed.
- Stop(SSJsonReader, int) - Constructor for class com.example.staysafe.Stop
-
The constructor saves what template type this Fragment is a part of and
copies the instance of the
SSJsonReader
into memory.
- stopFragment - Variable in class com.example.staysafe.Template1
-
- stopFragment - Variable in class com.example.staysafe.Template2
-
- stopFragment - Variable in class com.example.staysafe.Template3
-
- stopRoutingTimer() - Method in interface com.example.staysafe.SSCallback
-
- stopRoutingTimer() - Method in class com.example.staysafe.Template1
-
Not used in this class.
- stopRoutingTimer() - Method in class com.example.staysafe.Template2
-
Not used in this class.
- stopRoutingTimer() - Method in class com.example.staysafe.Template3
-
Method responsible for canceling the survey timer delay when the user
changes screen before the timer expires.
- Survey - Class in com.example.staysafe
-
The Survey Fragment is responsible for displaying the dynamic survey
questions to the user.
- Survey(SSJsonReader, int) - Constructor for class com.example.staysafe.Survey
-
The constructor saves what template type this Fragment is a part of and
copies the instance of the
SSJsonReader
into memory.
- surveyButton - Variable in class com.example.staysafe.Template3
-
- swappedAnswers - Variable in class com.example.staysafe.Game
-
An array indicating that the answer values have been swapped.
- Talk - Class in com.example.staysafe
-
The Talk Fragment is responsible for displaying the
"persons the user can talk to", to the user.
- Talk(SSJsonReader, int) - Constructor for class com.example.staysafe.Talk
-
The constructor saves what template type this Fragment is a part of and
copies the instance of the
SSJsonReader
into memory.
- temp1 - Variable in class com.example.staysafe.Affected
-
boolean value indicating what template this fragment is currently apart
of.
- temp1 - Variable in class com.example.staysafe.Begin
-
boolean value indicating what template this fragment is currently apart
of.
- temp1 - Variable in class com.example.staysafe.Best
-
boolean value indicating what template this fragment is currently apart
of.
- temp1 - Variable in class com.example.staysafe.Game
-
boolean value indicating what template this fragment is currently apart
of.
- temp1 - Variable in class com.example.staysafe.Imagine
-
The boolean values indicating what the current session is.
- temp1 - Variable in class com.example.staysafe.Menu
-
boolean value indicating what template this fragment is currently apart
of.
- temp1 - Variable in class com.example.staysafe.Options
-
Boolean values corresponding to which template the user is in.
- temp1 - Variable in class com.example.staysafe.Rate
-
A boolean value representing if the user is on template 1.
- temp1 - Variable in class com.example.staysafe.RateVideo
-
boolean value indicating what template this fragment is currently apart
of.
- temp1 - Variable in class com.example.staysafe.Restate
-
boolean value indicating what template this fragment is currently apart
of.
- temp1 - Variable in class com.example.staysafe.Review
-
boolean value indicating what template this fragment is currently apart
of.
- temp1 - Variable in class com.example.staysafe.Stop
-
boolean value indicating what template this fragment is currently apart
of.
- temp1 - Variable in class com.example.staysafe.Survey
-
boolean value indicating what template this fragment is currently apart
of.
- temp1 - Variable in class com.example.staysafe.Talk
-
boolean value indicating what template this fragment is currently apart
of.
- temp1 - Variable in class com.example.staysafe.Think
-
Boolean value indicating if the user is on Template 1.
- temp1 - Variable in class com.example.staysafe.Time
-
boolean value indicating what template this fragment is currently apart
of.
- temp1Run1 - Variable in class com.example.staysafe.Video
-
boolean value indicating what template this fragment is currently apart
of.
- temp1Run2 - Variable in class com.example.staysafe.Video
-
boolean value indicating what template this fragment is currently apart
of.
- temp1SL2 - Variable in class com.example.staysafe.SSJsonReader
-
- temp1SL3 - Variable in class com.example.staysafe.SSJsonReader
-
- temp2 - Variable in class com.example.staysafe.Affected
-
boolean value indicating what template this fragment is currently apart
of.
- temp2 - Variable in class com.example.staysafe.Best
-
boolean value indicating what template this fragment is currently apart
of.
- temp2 - Variable in class com.example.staysafe.Game
-
boolean value indicating what template this fragment is currently apart
of.
- temp2 - Variable in class com.example.staysafe.Imagine
-
The boolean values indicating what the current session is.
- temp2 - Variable in class com.example.staysafe.Options
-
Boolean values corresponding to which template the user is in.
- temp2 - Variable in class com.example.staysafe.Survey
-
boolean value indicating what template this fragment is currently apart
of.
- temp2 - Variable in class com.example.staysafe.Video
-
boolean value indicating what template this fragment is currently apart
of.
- temp3 - Variable in class com.example.staysafe.Begin
-
boolean value indicating what template this fragment is currently apart
of.
- temp3 - Variable in class com.example.staysafe.Game
-
boolean value indicating what template this fragment is currently apart
of.
- temp3 - Variable in class com.example.staysafe.Stop
-
boolean value indicating what template this fragment is currently apart
of.
- temp3 - Variable in class com.example.staysafe.Video
-
boolean value indicating what template this fragment is currently apart
of.
- temp3b - Variable in class com.example.staysafe.Menu3
-
boolean value indicating what template this fragment is currently apart
of.
- temp3type - Variable in class com.example.staysafe.SSJsonReader
-
- template1 - Variable in class com.example.staysafe.SSJsonReader
-
- Template1 - Class in com.example.staysafe
-
The activity is an extension of the
Template2
activity.
- Template1() - Constructor for class com.example.staysafe.Template1
-
- template2 - Variable in class com.example.staysafe.SSJsonReader
-
- Template2 - Class in com.example.staysafe
-
The base activity for the StaySafe application (Temp 2).
- Template2() - Constructor for class com.example.staysafe.Template2
-
- template3 - Variable in class com.example.staysafe.SSJsonReader
-
- Template3 - Class in com.example.staysafe
-
This activity is meant to breakup the user
Template2
process for the
user.
- Template3() - Constructor for class com.example.staysafe.Template3
-
- Theme - Enum in com.example.staysafe
-
Theme enumerable used to save what theme has been selected.
- Theme() - Constructor for enum com.example.staysafe.Theme
-
- themeChoice - Variable in class com.example.staysafe.Menu
-
A
Theme
type denoting which theme is currently selected.
- themeTime - Variable in class com.example.staysafe.Menu
-
Time for taken to make a selection.
- things - Variable in class com.example.staysafe.Menu
-
Holds the problem choices related to the category.
- things - Variable in class com.example.staysafe.SSJsonReader
-
- thingsButton - Variable in class com.example.staysafe.Menu
-
Buttons for the different themes.
- Think - Class in com.example.staysafe
-
The Think Fragment is responsible for displaying the think
screen to the user.
- Think() - Constructor for class com.example.staysafe.Think
-
- Think(boolean, SSJsonReader, int) - Constructor for class com.example.staysafe.Think
-
The constructor saves what template type this Fragment is a part of and
copies the instance of the
SSJsonReader
into memory.
- third - Variable in class com.example.staysafe.Think
-
Boolean values indicating if the user has already pressed the corresponding
done button.
- time - Variable in class com.example.staysafe.Affected
-
A int[] that holds the time from the beginning of the screen to when the
corresponding affected person was selected.
- time - Variable in class com.example.staysafe.Survey
-
The values of the time it took the user to answer the survey question.
- Time - Class in com.example.staysafe
-
The Time Fragment is responsible for displaying the time
screen to the user.
- Time(SSJsonReader, int) - Constructor for class com.example.staysafe.Time
-
The constructor saves what template type this Fragment is a part of and
copies the instance of the
SSJsonReader
into memory.
- timer - Variable in class com.example.staysafe.Affected
-
The instance of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Best
-
The instance of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Facts
-
The instance of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Game
-
The instance of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Imagine
-
The instances of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Menu
-
The instance of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Options
-
The instance of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Rate
-
The instances of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.RateVideo
-
The instance of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Restate
-
The instance of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Review
-
The instance of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Survey
-
The instance of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Talk
-
The instance of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Think
-
The instances of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Time
-
The instance of the
SSTimer
used for retrieving timing values for
this Fragment.
- timer - Variable in class com.example.staysafe.Video
-
The instance of the
SSTimer
used for retrieving timing values for
this Fragment.
- times - Variable in class com.example.staysafe.Game
-
Array containing times of selections from beginning of screen to the time
of answer selection
- tl - Variable in class com.example.staysafe.Review
-
Layout corresponding to an item in the work-it review.
- transaction - Variable in class com.example.staysafe.Template3
-
instance of a FragmentTransaction used for all Fragments
- tv1 - Variable in class com.example.staysafe.Think
-
The TextViews of each of the questions the user is suppose to think about.
- tv2 - Variable in class com.example.staysafe.Think
-
The TextViews of each of the questions the user is suppose to think about.
- tv3 - Variable in class com.example.staysafe.Think
-
The TextViews of each of the questions the user is suppose to think about.
- type - Variable in class com.example.staysafe.Template3
-
Value representing which Template 3 session is current running
- valueOf(String) - Static method in enum com.example.staysafe.Animator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.example.staysafe.Problem
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.example.staysafe.Theme
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.example.staysafe.Animator
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.example.staysafe.Problem
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.example.staysafe.Theme
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- version - Variable in class com.example.staysafe.SSJsonReader
-
- vid - Variable in class com.example.staysafe.Menu3
-
boolean value indicating what Template 3 elements have already been done
by the user.
- vid - Variable in class com.example.staysafe.Template3
-
boolean values representing which Template 3 sessions have already been
shown.
- Video - Class in com.example.staysafe
-
The Video Fragment is responsible for displaying a video to the user.
- Video(SSJsonReader, int) - Constructor for class com.example.staysafe.Video
-
The constructor saves what template type this Fragment is a part of and
copies the instance of the
SSJsonReader
into memory.
- video_time - Variable in class com.example.staysafe.Video
-
- videoBtn - Variable in class com.example.staysafe.Template3
-
- videoComplete - Variable in class com.example.staysafe.Facts
-
- videoComplete - Variable in class com.example.staysafe.Video
-
- vidtime - Variable in class com.example.staysafe.Facts
-
A String holding the value of the time until the user pressed the play
button.
- view - Variable in class com.example.staysafe.Facts
-
The instance of the current View
- view - Variable in class com.example.staysafe.Imagine
-
The instance of the current View
- view - Variable in class com.example.staysafe.Options
-
The instance of the current View
- view - Variable in class com.example.staysafe.Rate
-
The instance of voice over MediaPlayer
- view - Variable in class com.example.staysafe.Think
-
The instance of the current View
- view - Variable in class com.example.staysafe.Time
-
The instance of the current View
- voComplete - Variable in class com.example.staysafe.Affected
-
- voComplete - Variable in class com.example.staysafe.Best
-
- voComplete - Variable in class com.example.staysafe.Facts
-
- voComplete - Variable in class com.example.staysafe.Game
-
- voComplete - Variable in class com.example.staysafe.Imagine
-
- voComplete - Variable in class com.example.staysafe.Menu
-
- voComplete - Variable in class com.example.staysafe.Options
-
- voComplete - Variable in class com.example.staysafe.Rate
-
- voComplete - Variable in class com.example.staysafe.RateVideo
-
- voComplete - Variable in class com.example.staysafe.Review
-
- voComplete - Variable in class com.example.staysafe.Talk
-
- voComplete - Variable in class com.example.staysafe.Think
-
- voComplete - Variable in class com.example.staysafe.Time
-
A boolean value indicating when the
voMediaPlayer
has finished
playing.
- voComplete - Variable in class com.example.staysafe.Video
-
- voMediaPlayer - Variable in class com.example.staysafe.Affected
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Best
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Facts
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Game
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Imagine
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Menu
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Menu3
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Options
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Rate
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.RateVideo
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Restate
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Review
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Stop
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Survey
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Talk
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Think
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Time
-
The instance of voice over MediaPlayer
- voMediaPlayer - Variable in class com.example.staysafe.Video
-
The instance of voice over MediaPlayer
- voPrompt - Variable in class com.example.staysafe.Imagine
-
Strings for the paths to the audio files for the voice over and for the prompt.
- voPrompt - Variable in class com.example.staysafe.Think
-
String values containing the paths of the audio and prompt voice over files.
- voString - Variable in class com.example.staysafe.Imagine
-
Strings for the paths to the audio files for the voice over and for the prompt.
- voString - Variable in class com.example.staysafe.Rate
-
The String containing the path to the audio file for the screen.
- voString - Variable in class com.example.staysafe.Think
-
String values containing the paths of the audio and prompt voice over files.
- voString - Variable in class com.example.staysafe.Time
-
String value containing the path of the audio file to be played.