Skip navigation links
A B C D E F G H I K L M N O P Q R S T U V W 

A

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
Causes all saved items (Template1.finalHeaders and Template1.finalValues) from the session to be compiled and saved in the root:/StaySafe/Data/ directory.
addOutputFile() - Method in class com.example.staysafe.Template2
Causes all saved items (Template2.finalHeaders and Template2.finalValues) from the session to be compiled and saved in the root:/StaySafe/Data/ directory.
addOutputFile() - Method in class com.example.staysafe.Template3
Causes all saved items (Template3.finalHeaders and Template3.finalValues) from the session to be compiled and saved in the root:/StaySafe/Data/ directory.
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
Convenience method similar to SSCallback.animateHand(float, float, int, Runnable) This method takes an elements absolute position on the screen and translates those values into percentages which can be used by SSCallback.animateHand(float, float, int, Runnable) This allows the pointer to be moved around the screen dynamically in case the object needing to be "touched" is not allows in the same position.
animateHand(int, int, int, Runnable, boolean) - Method in class com.example.staysafe.Template1
Convenience method similar to Template1.animateHand(float, float, int, Runnable) This method takes an elements absolute position on the screen and translates those values into percentages which can be used by Template1.animateHand(float, float, int, Runnable) This allows the pointer to be moved around the screen dynamically in case the object needing to be "touched" is not allows in the same position.
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
This method is called when the user presses the next button by Login.onLoginNext(View) method.
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.

B

badHighlight - Variable in class com.example.staysafe.RateVideo
This layout is used to show to the user that they have made a selection.
baseQuestionTransition(int, TextView, TextView) - Method in class com.example.staysafe.Game
After a answer is selected, this method puts that application into a state to reflect the selection.
Begin - Class in com.example.staysafe
The Begin Fragment is responsible for displaying the Begin screen to the user.
Begin(int) - Constructor for class com.example.staysafe.Begin
The constructor saves what template type this Fragment is a part of.
Best - Class in com.example.staysafe
The Best Fragment is responsible for displaying the Best Options screen to the user.
Best(SSJsonReader, int) - Constructor for class com.example.staysafe.Best
The constructor saves what template type this Fragment is a part of and copies the instance of the SSJsonReader into memory.
best - Variable in class com.example.staysafe.Best
A String corresponding to the letter of the option that would be selected.
bestOption - Variable in class com.example.staysafe.SSJsonReader
 
blueBack - Variable in class com.example.staysafe.Survey
Values indicating to the Fragment what background image should be used.

C

callback - Variable in class com.example.staysafe.Affected
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Begin
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Best
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.ExitUtility
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Facts
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Game
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Imagine
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Menu
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Menu3
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Options
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Rate
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.RateVideo
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Restate
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Review
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Survey
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Talk
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Think
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Time
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
callback - Variable in class com.example.staysafe.Video
The instance of the SSCallback that allows this fragment to communicate with the parent activity.
cancelCountDown() - Method in class com.example.staysafe.SSTimer
Stops the timer
canceled - Variable in class com.example.staysafe.SSTimer
boolean indicating if the timer count down was canceled.
cdt - Variable in class com.example.staysafe.SSTimer
The Android CountDownTimer timer used in the SSTimer
checkNext() - Method in class com.example.staysafe.Options
This method checks if the conditions for the next button are met.
choice - Variable in class com.example.staysafe.Game
Where the output data is stored indicated if the user selected the correct answer.
choice - Variable in class com.example.staysafe.SSJsonReader
 
choice_time - Variable in class com.example.staysafe.Talk
Value indicating at what time the person the user can talk to was selected.
choices - Variable in class com.example.staysafe.Survey
All of the 35 possible responses the user can select for all 7 questions.
choiceTime - Variable in class com.example.staysafe.Best
A String corresponding to the timing it takes to select an option.
clicked - Variable in class com.example.staysafe.RateVideo
When true, indicates that the user has made their "good/bad" choice.
client - Variable in class com.example.staysafe.Login
TextView corresponding to the inputs visible to user on the login screen.
com.example.staysafe - package com.example.staysafe
 
consq - Variable in class com.example.staysafe.RateVideo
The text view which holds the dynamic consequences for the given problem choice.
countDownFrom(int) - Method in class com.example.staysafe.SSTimer
sets the amount the timer will run before calling the onTimerDone method set via the OnSSTimerListener interface.
currentQ - Variable in class com.example.staysafe.Rate
An int representing which question the user is currently on.

D

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.

E

endAnimation() - Method in class com.example.staysafe.Game
This method is what causes the star to swirl when the running man arrives at the finish line.
endTime - Variable in class com.example.staysafe.Menu
Time for taken to make a selection.
error - Variable in class com.example.staysafe.ErrorFragment
The error message to be displayed within the ErrorFragment.alert Dialog.
ErrorFragment - Class in com.example.staysafe
The ErrorFragment DialogFragment is responsible for displaying error messages to the user.
ErrorFragment(String) - Constructor for class com.example.staysafe.ErrorFragment
Constructor used to display the error message to the user.
ExitUtility - Class in com.example.staysafe
The ExitUtility DialogFragment allows the administrative user to exit back to the beginning of the application without having to go through the rest of the application in its entirety.
ExitUtility() - Constructor for class com.example.staysafe.ExitUtility
 

F

fac - Variable in class com.example.staysafe.Menu3
boolean value indicating what Template 3 elements have already been done by the user.
fac - Variable in class com.example.staysafe.Template3
boolean values representing which Template 3 sessions have already been shown.
fact1 - Variable in class com.example.staysafe.Options
The TextViews of each of the different facts for each option.
fact2 - Variable in class com.example.staysafe.Options
The TextViews of each of the different facts for each option.
fact3 - Variable in class com.example.staysafe.Options
The TextViews of each of the different facts for each option.
fact4 - Variable in class com.example.staysafe.Options
The TextViews of each of the different facts for each option.
facts - Variable in class com.example.staysafe.Affected
An TextView array of the affected persons facts.
Facts - Class in com.example.staysafe
The Facts Fragment is responsible for displaying the Facts screen to the user.
Facts(SSJsonReader, int) - Constructor for class com.example.staysafe.Facts
The constructor saves what template type this Fragment is a part of and copies the instance of the SSJsonReader into memory.
facts - Variable in class com.example.staysafe.Options
TextView arrays of the options and facts.
factsBtn - Variable in class com.example.staysafe.Template3
 
FADE_MACRO - Variable in class com.example.staysafe.Menu
Used for the length of the of fading transition the Menu.problems layout uses.
fileName - Variable in class com.example.staysafe.Template1
The filename of the file to be exported.
fileName - Variable in class com.example.staysafe.Template2
The filename of the file to be exported.
fileName - Variable in class com.example.staysafe.Template3
The filename of the file to be exported.
finalHeaders - Variable in class com.example.staysafe.Login
String that holds the values to be output to the saved data file.
finalHeaders - Variable in class com.example.staysafe.Template1
Strings used to save the output data.
finalHeaders - Variable in class com.example.staysafe.Template2
Strings used to save the output data.
finalHeaders - Variable in class com.example.staysafe.Template3
Strings used to save the output data.
finalValues - Variable in class com.example.staysafe.Login
String that holds the values to be output to the saved data file.
finalValues - Variable in class com.example.staysafe.Template1
Strings used to save the output data.
finalValues - Variable in class com.example.staysafe.Template2
Strings used to save the output data.
finalValues - Variable in class com.example.staysafe.Template3
Strings used to save the output data.
first - Variable in class com.example.staysafe.Imagine
The boolean values indicating what done buttons have been pressed.
first - Variable in class com.example.staysafe.Think
Boolean values indicating if the user has already pressed the corresponding done button.
firstrun - Variable in class com.example.staysafe.Template1
used to to determine if this is the first time the Template1.moveHand(float, float, int) method has been run.

G

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
Retrieves the best option as set with SSJsonReader.setBestOption(String, String).
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
Retrieves the selected options for the session as set with SSJsonReader.setOptions(String, String).
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
Retrieves the corresponding letter to the best option as set with SSJsonReader.setBestOption(String, String).
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.

H

handVisible(boolean) - Method in interface com.example.staysafe.SSCallback
Sets the "floating hand" visibility in Template1
handVisible(boolean) - Method in class com.example.staysafe.Template1
Determines the visibility of the "floating hand" used in Template 1
handVisible(boolean) - Method in class com.example.staysafe.Template2
Not used in this class.
handVisible(boolean) - Method in class com.example.staysafe.Template3
Not used in this class.
hasMinimumTimeElapsed() - Method in class com.example.staysafe.SSTimer
Indicates weather or not the minimum time set by SSTimer.setMinimumTimePeriod(int) has been reached
hideGoButton() - Method in class com.example.staysafe.Game
This method is what causes the go button to fade out when the go button is pressed at the beginning of the game.
highlights - Variable in class com.example.staysafe.Affected
An FrameLayout array of the affected persons highlights.
highlights - Variable in class com.example.staysafe.Options
FrameLayout array of the option highlights.
highlights - Variable in class com.example.staysafe.Talk
Highlights to signal to the user that a selection of one of the six people you can talk to has been selected.

I

il - Variable in class com.example.staysafe.Review
Layout corresponding to an item in the work-it review.
Imagine - Class in com.example.staysafe
The Imagine Fragment is responsible for displaying the Imagine screen to the user.
Imagine(SSJsonReader, int) - Constructor for class com.example.staysafe.Imagine
The constructor saves what template type this Fragment is a part of and copies the instance of the SSJsonReader into memory.

K

kl - Variable in class com.example.staysafe.Review
Layout corresponding to an item in the work-it review.

L

last - Variable in class com.example.staysafe.Imagine
The boolean values indicating what done buttons have been pressed.
last - Variable in class com.example.staysafe.Think
Boolean values indicating if the user has already pressed the corresponding done button.
leftView - Variable in class com.example.staysafe.Facts
The FlowTextViews
letter - 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.
listener - Variable in class com.example.staysafe.SSTimer
The saved class implementing the OnSSTimerListener
Login - Class in com.example.staysafe
The Login Activity is responsible for displaying the login screen for the administrative user to enter in probationer data into the application.
Login() - Constructor for class com.example.staysafe.Login
 
lp - Variable in class com.example.staysafe.Template1
Current instance of the LayoutParameters for the device.s

M

man0 - Variable in class com.example.staysafe.Game
animated man for different legs in the race in the game
man1 - Variable in class com.example.staysafe.Game
animated man for different legs in the race in the game
man2 - Variable in class com.example.staysafe.Game
animated man for different legs in the race in the game
man3 - Variable in class com.example.staysafe.Game
animated man for different legs in the race in the game
man4 - Variable in class com.example.staysafe.Game
animated man for different legs in the race in the game
man5 - Variable in class com.example.staysafe.Game
animated man for different legs in the race in the game
man6 - Variable in class com.example.staysafe.Game
animated man for different legs in the race in the game
man7 - Variable in class com.example.staysafe.Game
animated man for different legs in the race in the game
man8 - Variable in class com.example.staysafe.Game
animated man for different legs in the race in the game
maxX - Variable in class com.example.staysafe.Template1
The maximum values for the screen orientation.
maxY - Variable in class com.example.staysafe.Template1
The maximum values for the screen orientation.
maz - Variable in class com.example.staysafe.Menu3
boolean value indicating what Template 3 elements have already been done by the user.
maz - Variable in class com.example.staysafe.Template3
boolean values representing which Template 3 sessions have already been shown.
mazeBtn - Variable in class com.example.staysafe.Template3
 
me - Variable in class com.example.staysafe.SSTimer
Current instance of the SSSTimer
mediaControls - Variable in class com.example.staysafe.Facts
The instance of the MediaController
Menu - Class in com.example.staysafe
The Menu Fragment is responsible for displaying the possible problem choices to the user.
Menu(SSJsonReader, int) - Constructor for class com.example.staysafe.Menu
The constructor saves what template type this Fragment is a part of and copies the instance of the SSJsonReader into memory.
Menu3 - Class in com.example.staysafe
The Menu3 Fragment is responsible for communicating with the Template3 class which Template 3 screen should be displayed to the user.
Menu3(int, boolean, boolean, boolean) - Constructor for class com.example.staysafe.Menu3
Constructor for the Menu3 screen.
menuAnimate(String[]) - Method in class com.example.staysafe.Menu
Method call to change the problem choices displayed to the user.
menuButton - Variable in class com.example.staysafe.Template3
 
minTime - Variable in class com.example.staysafe.SSTimer
The minimum time associated with the current instance of the SSTimer
move(int) - Method in interface com.example.staysafe.SSCallback
Used to signal to Template3 what Fragment should be loaded next.
move(int) - Method in class com.example.staysafe.Template1
Not used in this class.
move(int) - Method in class com.example.staysafe.Template2
Not used in this class.
move(int) - Method in class com.example.staysafe.Template3
Method called by the Menu3 screen to change the screen currently displayed to the user.
moveHand(float, float, int) - Method in interface com.example.staysafe.SSCallback
Moves the "floating hand" to this position.
moveHand(float, float, int) - Method in class com.example.staysafe.Template1
Moves the "floating hand" to this position.
moveHand(float, float, int) - Method in class com.example.staysafe.Template2
Not used in this class.
moveHand(float, float, int) - Method in class com.example.staysafe.Template3
Not used in this class.
myVideoView - Variable in class com.example.staysafe.Facts
The instance of the VideoView
myVideoView - Variable in class com.example.staysafe.Video
VideoView that displays the videos to the user.

N

NEXT_BUTTON_DELAY_MACRO - Variable in class com.example.staysafe.RateVideo
Value of the delay time between when the RateVideo.consq are displayed to the user to when the next button is made visible/
nextButton - Variable in class com.example.staysafe.Template1
The ImageView containing the "next button"
nextButton - Variable in class com.example.staysafe.Template2
The ImageView containing the "next button"
nextButton - Variable in class com.example.staysafe.Template3
 
nextClickable(boolean) - Method in class com.example.staysafe.Template1
Makes the next button clickable.
nextVisible(boolean) - Method in interface com.example.staysafe.SSCallback
Makes the next button visible to the user.
nextVisible(boolean) - Method in class com.example.staysafe.Template1
Makes the next button visible to the user.
nextVisible(boolean) - Method in class com.example.staysafe.Template2
Makes the next button visible to the user.
nextVisible(boolean) - Method in class com.example.staysafe.Template3
Makes the next button visible to the user.
numcorrect - Variable in class com.example.staysafe.Game
value of the number of correct answers the user made.

O

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
Method called when user presses the Video.playButton.
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
All data is saved within this method and memory with the Affected.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Best
All data is saved within this method with the Best.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Facts
All data is saved within this method and memory with the Facts.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Game
All data is saved within this method and memory with the Game.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Imagine
All data is saved within this method and memory with the Imagine.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Menu
All data is saved within this method and memory with the Menu.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Menu3
All data is saved within this method and memory with the Menu3.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Options
All data is saved within this method and memory with the Options.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Rate
All data is saved within this method and memory with the Rate.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.RateVideo
All data is saved within this method and memory with the RateVideo.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Restate
All data is saved within this method and memory with the Restate.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Review
All data is saved within this method and memory with the Review.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Stop
All data is saved within this method and memory with the Stop.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Survey
All data is saved within this method and memory with the Survey.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Talk
All data is saved within this method and memory with the Talk.voMediaPlayer is released.
onDestroy() - Method in class com.example.staysafe.Think
All data is saved within this method and memory with the Think.voMediaPlayer is released.
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
All data is saved within this method and memory with the Video.voMediaPlayer is released.
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
This method suspends the video currently playing with Video.myVideoView
onResume() - Method in class com.example.staysafe.Facts
 
onResume() - Method in class com.example.staysafe.Video
This method resumes the video playing with Video.myVideoView
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.

P

passcode - Variable in class com.example.staysafe.ExitUtility
The EditText where the user enters in the pass code.
passcode - Variable in class com.example.staysafe.Stop
Input field for user to enter the pass code into.
people - Variable in class com.example.staysafe.Menu
Holds the problem choices related to the category.
people - Variable in class com.example.staysafe.SSJsonReader
 
people - Variable in class com.example.staysafe.Time
The ImageView of the spinning people at the top of the screen.
peopleButton - Variable in class com.example.staysafe.Menu
Buttons for the different themes.
personSelected - Variable in class com.example.staysafe.Talk
Value indicating that the user has selected one person.
places - Variable in class com.example.staysafe.Menu
Holds the problem choices related to the category.
places - Variable in class com.example.staysafe.SSJsonReader
 
placesButton - Variable in class com.example.staysafe.Menu
Buttons for the different themes.
playButton - Variable in class com.example.staysafe.Facts
The ImageViews corresponding to the image on the left side of the screen and the play button.
playButton - Variable in class com.example.staysafe.Video
Play button that the Video.myVideoView uses to begin the video
pointer - Variable in class com.example.staysafe.Template1
The ImageView containing the "floating hand"
probChoice - Variable in class com.example.staysafe.Menu
A Problem type denoting which problem is currently selected.
problem - 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.
problem - Variable in class com.example.staysafe.Options
The TextView displaying the current problem the user is working on
Problem - Enum in com.example.staysafe
Enumerable used to save what problem has been selected.
Problem() - Constructor for enum com.example.staysafe.Problem
 
problem - 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.
problem - Variable in class com.example.staysafe.Think
The TextView of the problem the user is working on.
problem1 - Variable in class com.example.staysafe.Menu
A TextView corresponding to a possible problem choice.
problem2 - Variable in class com.example.staysafe.Menu
A TextView corresponding to a possible problem choice.
problem3 - Variable in class com.example.staysafe.Menu
A TextView corresponding to a possible problem choice.
problem4 - Variable in class com.example.staysafe.Menu
A TextView corresponding to a possible problem choice.
problemArray - Variable in class com.example.staysafe.Menu
An array of all the problem choices in Menu.problems layout
problemChoice - Variable in class com.example.staysafe.SSJsonReader
 
problemNumber - Variable in class com.example.staysafe.SSJsonReader
 
problems - Variable in class com.example.staysafe.Menu
A layout containing all the problems on the screen.
problemTime - Variable in class com.example.staysafe.Menu
Time for taken to make a selection.
prompt - Variable in class com.example.staysafe.Imagine
The instances of the SSTimer used for retrieving timing values for this Fragment.
prompt - Variable in class com.example.staysafe.Think
The instances of the SSTimer used for retrieving timing values for this Fragment.
purpleBack - Variable in class com.example.staysafe.Survey
Values indicating to the Fragment what background image should be used.

Q

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.

R

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.

S

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
Saves the selected best option for the session from one of the two items options from SSJsonReader.getSelectedOptions().
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
This method sets the timer listener for the Think.prompt SSTimer.
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
The animation applied to Stop.shakeable
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
Called when an error is detected in Login.approveNext().
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
The instance of the Stop fragment saved so the ExitUtility cannot be performed when Template1.onLongClick(View) occurs.
stopFragment - Variable in class com.example.staysafe.Template2
The instance of the Stop fragment saved so the ExitUtility cannot be performed when Template2.onLongClick(View) occurs.
stopFragment - Variable in class com.example.staysafe.Template3
The instance of the Stop fragment saved so the ExitUtility cannot be performed when Template3.onLongClick(View) occurs.
stopRoutingTimer() - Method in interface com.example.staysafe.SSCallback
Method used by Template3 Fragments to cancel the goto survey button being made visible from the SSCallback.showRouting(boolean) call if applicable
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.

T

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

U

unselectLast() - Method in class com.example.staysafe.Options
This method removes the head of the options queue.
updateGUI(int, View) - Method in class com.example.staysafe.Survey
Method called by Survey.onClick(View).

V

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
A boolean value indicating when the Facts.myVideoView has finished playing.
videoComplete - Variable in class com.example.staysafe.Video
A boolean value indicating when the Video.myVideoView has finished playing.
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
A boolean value indicating when the Affected.voMediaPlayer has finished playing.
voComplete - Variable in class com.example.staysafe.Best
A boolean value indicating when the Best.voMediaPlayer has finished playing.
voComplete - Variable in class com.example.staysafe.Facts
A boolean value indicating when the Facts.voMediaPlayer has finished playing.
voComplete - Variable in class com.example.staysafe.Game
A boolean value indicating when the Game.voMediaPlayer has finished playing.
voComplete - Variable in class com.example.staysafe.Imagine
A boolean value indicating when the Imagine.voMediaPlayer has finished playing.
voComplete - Variable in class com.example.staysafe.Menu
A boolean value indicating when the Menu.voMediaPlayer has finished playing.
voComplete - Variable in class com.example.staysafe.Options
A boolean value indicating when the Options.voMediaPlayer has finished playing.
voComplete - Variable in class com.example.staysafe.Rate
A boolean value indicating when the Rate.voMediaPlayer has finished playing.
voComplete - Variable in class com.example.staysafe.RateVideo
A boolean value indicating when the RateVideo.voMediaPlayer has finished playing.
voComplete - Variable in class com.example.staysafe.Review
A boolean value indicating when the Review.voMediaPlayer has finished playing.
voComplete - Variable in class com.example.staysafe.Talk
A boolean value indicating when the Talk.voMediaPlayer has finished playing.
voComplete - Variable in class com.example.staysafe.Think
A boolean value indicating when the Think.voMediaPlayer has finished playing.
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
A boolean value indicating when the Video.voMediaPlayer has finished playing.
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.

W

wl - Variable in class com.example.staysafe.Review
Layout corresponding to an item in the work-it review.
A B C D E F G H I K L M N O P Q R S T U V W 
Skip navigation links