A B C D E F G H I L M N O P R S T U V 
All Classes All Packages

A

A - edu.cnm.deepdive.scalescroller.model.entity.Note
 
A_FLAT - edu.cnm.deepdive.scalescroller.model.entity.Note
 
A_SHARP - edu.cnm.deepdive.scalescroller.model.entity.Note
 
ActivityLoginBinding - Class in edu.cnm.deepdive.scalescroller.databinding
 
ActivityMainBinding - Class in edu.cnm.deepdive.scalescroller.databinding
 
APPLICATION_ID - Static variable in class edu.cnm.deepdive.scalescroller.BuildConfig
 
audioSettingsButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentSettingsBinding
 
AudioSettingsFragment - Class in edu.cnm.deepdive.scalescroller.controller
A preference fragment for audio settings, with a custom style and a button.
AudioSettingsFragment() - Constructor for class edu.cnm.deepdive.scalescroller.controller.AudioSettingsFragment
 
AudioSettingsFragmentDirections - Class in edu.cnm.deepdive.scalescroller.controller
 

B

B - edu.cnm.deepdive.scalescroller.model.entity.Note
 
B_FLAT - edu.cnm.deepdive.scalescroller.model.entity.Note
 
B_SHARP - edu.cnm.deepdive.scalescroller.model.entity.Note
 
bind(View) - Static method in class edu.cnm.deepdive.scalescroller.databinding.ActivityLoginBinding
 
bind(View) - Static method in class edu.cnm.deepdive.scalescroller.databinding.ActivityMainBinding
 
bind(View) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 
bind(View) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentHighScoreBinding
 
bind(View) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentScaleSelectBinding
 
bind(View) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentSettingsBinding
 
bind(View) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentTitleBinding
 
bind(View) - Static method in class edu.cnm.deepdive.scalescroller.databinding.ItemScaleBinding
 
bind(View) - Static method in class edu.cnm.deepdive.scalescroller.databinding.ItemScoreBinding
 
bind(View) - Static method in class edu.cnm.deepdive.scalescroller.databinding.PrefAudioBackButtonBinding
 
bind(View) - Static method in class edu.cnm.deepdive.scalescroller.databinding.PrefSpeedBackButtonBinding
 
build() - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs.Builder
 
build() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs.Builder
 
build() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs.Builder
 
BUILD_TYPE - Static variable in class edu.cnm.deepdive.scalescroller.BuildConfig
 
BuildConfig - Class in edu.cnm.deepdive.scalescroller
 
BuildConfig() - Constructor for class edu.cnm.deepdive.scalescroller.BuildConfig
 
Builder() - Constructor for class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs.Builder
 
Builder(EndLevelDialogFragmentArgs) - Constructor for class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs.Builder
 
Builder(GameFragmentArgs) - Constructor for class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs.Builder
 
Builder(ScaleDialogFragmentArgs) - Constructor for class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs.Builder
 
Builder(String, boolean, int) - Constructor for class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs.Builder
 
Builder(String, String, String) - Constructor for class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs.Builder
 
buttonLayout - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentTitleBinding
 

C

C - edu.cnm.deepdive.scalescroller.model.entity.Note
 
C_DOUBLE_SHARP - edu.cnm.deepdive.scalescroller.model.entity.Note
 
C_FLAT - edu.cnm.deepdive.scalescroller.model.entity.Note
 
C_SHARP - edu.cnm.deepdive.scalescroller.model.entity.Note
 
Callback() - Constructor for class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase.Callback
 
CHALLENGE - edu.cnm.deepdive.scalescroller.controller.GameFragment.GameMode
 
ChallengeAttempt - Class in edu.cnm.deepdive.scalescroller.model.entity
Holds data in the database for attempts of levels in Challenge mode.
ChallengeAttempt() - Constructor for class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
 
ChallengeAttemptDao - Interface in edu.cnm.deepdive.scalescroller.model.dao
Provides an interface with methods that perform actions on the ChallengeAttempt table of the database.
ChallengeAttemptRepository - Class in edu.cnm.deepdive.scalescroller.service
ChallengeAttemptRepository contains methods that provide a layer of abstraction above the ChallengeAttemptDao, and allows for creation, reading, updating, and deleting of attempts.
ChallengeAttemptRepository(Context) - Constructor for class edu.cnm.deepdive.scalescroller.service.ChallengeAttemptRepository
The constructor initializes the context, the database, and the dao.
ChallengeAttemptWithPlayer - Class in edu.cnm.deepdive.scalescroller.model.pojo
ChallengeAttemptWithPlayer extends the ChallengeAttempt entity to provide support for queries that need the Player object in addition to the ChallengeAttempt object.
ChallengeAttemptWithPlayer() - Constructor for class edu.cnm.deepdive.scalescroller.model.pojo.ChallengeAttemptWithPlayer
 
challengeButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentTitleBinding
 
changeSpeedButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentSettingsBinding
 
coin1 - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 
coin2 - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 
coin3 - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 
completeSignIn(Intent) - Method in class edu.cnm.deepdive.scalescroller.service.GoogleSignInService
Completes the signin process and sets the account.
Converters() - Constructor for class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase.Converters
 
createPlayer(GoogleSignInAccount) - Method in class edu.cnm.deepdive.scalescroller.service.PlayerRepository
Creates a player record in the database given a Google Sign In account.

D

D - edu.cnm.deepdive.scalescroller.model.entity.Note
 
D_FLAT - edu.cnm.deepdive.scalescroller.model.entity.Note
 
D_SHARP - edu.cnm.deepdive.scalescroller.model.entity.Note
 
dateToLong(Date) - Static method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase.Converters
Converts a Date object into a Long.
DEBUG - Static variable in class edu.cnm.deepdive.scalescroller.BuildConfig
 
delete(ChallengeAttempt) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Deletes a single attempt from the database.
delete(ChallengeAttempt) - Method in class edu.cnm.deepdive.scalescroller.service.ChallengeAttemptRepository
Deletes a attempt record in the database.
delete(ChallengeAttempt...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Deletes multiple attempts from the database.
delete(LearnLevelAttempt) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.LearnLevelAttemptDao
Deletes a single attempt from the database.
delete(LearnLevelAttempt) - Method in class edu.cnm.deepdive.scalescroller.service.LearnLevelAttemptRepository
Deletes a attempt record in the database.
delete(LearnLevelAttempt...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.LearnLevelAttemptDao
Deletes multiple attempts from the database.
delete(Player) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.PlayerDao
Deletes a single player from the database.
delete(Player) - Method in class edu.cnm.deepdive.scalescroller.service.PlayerRepository
Deletes a player record in the database.
delete(Player...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.PlayerDao
Deletes multiple players from the database.
delete(Scale) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Deletes a single scale from the database.
delete(Scale) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleRepository
Deletes a scale record in the database.
delete(Scale...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Deletes multiple scales from the database.
delete(ScaleChallengeAttempt) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Deletes a single attempt from the database.
delete(ScaleChallengeAttempt) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleChallengeAttemptRepository
Deletes a attempt record in the database.
delete(ScaleChallengeAttempt...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Deletes multiple attempts from the database.
delete(Collection<ChallengeAttempt>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Deletes multiple attempts from the database.
delete(Collection<LearnLevelAttempt>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.LearnLevelAttemptDao
Deletes multiple attempts from the database.
delete(Collection<Player>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.PlayerDao
Deletes multiple players from the database.
delete(Collection<Scale>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Deletes multiple scales from the database.
delete(Collection<ScaleChallengeAttempt>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Deletes multiple attempts from the database.

E

E - edu.cnm.deepdive.scalescroller.model.entity.Note
 
E_FLAT - edu.cnm.deepdive.scalescroller.model.entity.Note
 
E_SHARP - edu.cnm.deepdive.scalescroller.model.entity.Note
 
edu.cnm.deepdive.scalescroller - package edu.cnm.deepdive.scalescroller
 
edu.cnm.deepdive.scalescroller.adapter - package edu.cnm.deepdive.scalescroller.adapter
 
edu.cnm.deepdive.scalescroller.controller - package edu.cnm.deepdive.scalescroller.controller
 
edu.cnm.deepdive.scalescroller.databinding - package edu.cnm.deepdive.scalescroller.databinding
 
edu.cnm.deepdive.scalescroller.model - package edu.cnm.deepdive.scalescroller.model
 
edu.cnm.deepdive.scalescroller.model.dao - package edu.cnm.deepdive.scalescroller.model.dao
 
edu.cnm.deepdive.scalescroller.model.entity - package edu.cnm.deepdive.scalescroller.model.entity
 
edu.cnm.deepdive.scalescroller.model.pojo - package edu.cnm.deepdive.scalescroller.model.pojo
 
edu.cnm.deepdive.scalescroller.service - package edu.cnm.deepdive.scalescroller.service
 
edu.cnm.deepdive.scalescroller.viewmodel - package edu.cnm.deepdive.scalescroller.viewmodel
 
EndLevelDialogFragment - Class in edu.cnm.deepdive.scalescroller.controller
Creates a dialog that pops up at the end of the level (in Learn mode) or game (in Challenge mode).
EndLevelDialogFragment() - Constructor for class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragment
 
EndLevelDialogFragmentArgs - Class in edu.cnm.deepdive.scalescroller.controller
 
EndLevelDialogFragmentArgs.Builder - Class in edu.cnm.deepdive.scalescroller.controller
 
equals(Object) - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs
 
equals(Object) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs
 
equals(Object) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenEndLevelDialog
 
equals(Object) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenScaleDialog
 
equals(Object) - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs
 
equals(Object) - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragmentDirections.OpenLearnModeGame
 
equals(Object) - Method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections.OpenChallengeModeGame
 

F

F - edu.cnm.deepdive.scalescroller.model.entity.Note
 
F_DOUBLE_SHARP - edu.cnm.deepdive.scalescroller.model.entity.Note
 
F_FLAT - edu.cnm.deepdive.scalescroller.model.entity.Note
 
F_SHARP - edu.cnm.deepdive.scalescroller.model.entity.Note
 
firstNote - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentTitleBinding
 
fragmentContainerView - Variable in class edu.cnm.deepdive.scalescroller.databinding.ActivityMainBinding
 
FragmentGameBinding - Class in edu.cnm.deepdive.scalescroller.databinding
 
FragmentHighScoreBinding - Class in edu.cnm.deepdive.scalescroller.databinding
 
FragmentScaleSelectBinding - Class in edu.cnm.deepdive.scalescroller.databinding
 
FragmentSettingsBinding - Class in edu.cnm.deepdive.scalescroller.databinding
 
FragmentTitleBinding - Class in edu.cnm.deepdive.scalescroller.databinding
 
fromBundle(Bundle) - Static method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs
 
fromBundle(Bundle) - Static method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs
 
fromBundle(Bundle) - Static method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs
 

G

G - edu.cnm.deepdive.scalescroller.model.entity.Note
 
G_DOUBLE_SHARP - edu.cnm.deepdive.scalescroller.model.entity.Note
 
G_FLAT - edu.cnm.deepdive.scalescroller.model.entity.Note
 
G_SHARP - edu.cnm.deepdive.scalescroller.model.entity.Note
 
GameFragment - Class in edu.cnm.deepdive.scalescroller.controller
The GameFragment is where the gameplay takes place, for both Learn and Challenge modes.
GameFragment() - Constructor for class edu.cnm.deepdive.scalescroller.controller.GameFragment
 
GameFragment.GameMode - Enum in edu.cnm.deepdive.scalescroller.controller
Enumerates the two game modes - LEARN and CHALLENGE.
GameFragmentArgs - Class in edu.cnm.deepdive.scalescroller.controller
 
GameFragmentArgs.Builder - Class in edu.cnm.deepdive.scalescroller.controller
 
GameFragmentDirections - Class in edu.cnm.deepdive.scalescroller.controller
 
GameFragmentDirections.OpenEndLevelDialog - Class in edu.cnm.deepdive.scalescroller.controller
 
GameFragmentDirections.OpenScaleDialog - Class in edu.cnm.deepdive.scalescroller.controller
 
GameViewModel - Class in edu.cnm.deepdive.scalescroller.viewmodel
Serves as the ViewModel for the GameFragment.
GameViewModel(Application) - Constructor for class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
The constructor initializes repositories, services, and other elements needed by the ViewModel.
get(long) - Method in class edu.cnm.deepdive.scalescroller.service.ChallengeAttemptRepository
Returns LiveData of a challenge attempt, given its id.
get(long) - Method in class edu.cnm.deepdive.scalescroller.service.LearnLevelAttemptRepository
Returns LiveData of a learn level attempt, given its id.
get(long) - Method in class edu.cnm.deepdive.scalescroller.service.PlayerRepository
Returns LiveData on a player, given their id.
get(long) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleRepository
Returns LiveData of a scale, given its id.
getAccount() - Method in class edu.cnm.deepdive.scalescroller.service.GoogleSignInService
Returns the current Google Sign In account.
getActionId() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenEndLevelDialog
 
getActionId() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenScaleDialog
 
getActionId() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragmentDirections.OpenLearnModeGame
 
getActionId() - Method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections.OpenChallengeModeGame
 
getAll() - Method in class edu.cnm.deepdive.scalescroller.service.ChallengeAttemptRepository
Returns LiveData of all challenge attempts.
getAll() - Method in class edu.cnm.deepdive.scalescroller.service.LearnLevelAttemptRepository
Returns LiveData of all learn level attempts.
getAll() - Method in class edu.cnm.deepdive.scalescroller.service.PlayerRepository
Returns LiveData on all players.
getAll() - Method in class edu.cnm.deepdive.scalescroller.service.ScaleRepository
Returns LiveData of all scales.
getAllByPlayer(long) - Method in class edu.cnm.deepdive.scalescroller.service.LearnLevelAttemptRepository
Returns LiveData of all learn level attempts made by a specific player.
getAllOrdered() - Method in class edu.cnm.deepdive.scalescroller.service.ScaleRepository
Returns LiveData of all scales, ordered by difficulty.
getAllScaleChallengeAttempts() - Method in class edu.cnm.deepdive.scalescroller.service.ScaleChallengeAttemptRepository
Returns LiveData of all scale-challenge attempts.
getArguments() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenEndLevelDialog
 
getArguments() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenScaleDialog
 
getArguments() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragmentDirections.OpenLearnModeGame
 
getArguments() - Method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections.OpenChallengeModeGame
 
getAttemptId() - Method in class edu.cnm.deepdive.scalescroller.model.entity.ScaleChallengeAttempt
Returns the id of the ChallengeAttempt foreign key.
getByMode(Mode) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleRepository
Returns LiveData of all scales with the specified mode.
getByOauth(String) - Method in class edu.cnm.deepdive.scalescroller.service.PlayerRepository
Returns LiveData on a player, given their OAuth key.
getByPlayer(long) - Method in class edu.cnm.deepdive.scalescroller.service.ChallengeAttemptRepository
Returns LiveData of all challenge attempts made by a specific player.
getByScaleName(Mode, Note) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleRepository
Returns LiveData of a scale, given its tonic and mode.
getByTonic(Note) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleRepository
Returns LiveData of all scales with the specified tonic.
getChallengeAttemptDao() - Method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase
Returns the ChallengeAttemptDao.
getChallengeAttemptsForScaleOrderByDate(long) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleChallengeAttemptRepository
Returns LiveData of all challenge attempts that use a particular scale, ordered by date.
getChallengeAttemptsForScaleOrderByScore(long) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleChallengeAttemptRepository
Returns LiveData of all challenge attempts that use a particular scale, ordered by score.
getCorrectCoins() - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Returns the number of correct coins collected.
getCorrectCoins() - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Returns the number of correct coins collected.
getDifficulty() - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Returns the difficulty of the attempted scale.
getDifficulty() - Method in enum edu.cnm.deepdive.scalescroller.model.entity.Mode
Returns a map of tonic notes to integer difficulties.
getDifficulty() - Method in class edu.cnm.deepdive.scalescroller.model.entity.Scale
Returns the difficulty of the scale.
getGameMode() - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs.Builder
 
getGameMode() - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs
 
getGameMode() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs.Builder
 
getGameMode() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs
 
getGameMode() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenEndLevelDialog
 
getGameMode() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragmentDirections.OpenLearnModeGame
 
getGameMode() - Method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections.OpenChallengeModeGame
 
getGameWon() - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs.Builder
 
getGameWon() - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs
 
getGameWon() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenEndLevelDialog
 
getHearts() - Method in class edu.cnm.deepdive.scalescroller.model.Level
Returns the current number of lives/hearts left.
getHearts() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Returns LiveData of an Integer value that holds the player's hearts.
getHighestDifficulty(long) - Method in class edu.cnm.deepdive.scalescroller.service.LearnLevelAttemptRepository
Returns LiveData of the learn level attempt with the highest difficulty rating.
getHighestLearnLevel() - Method in class edu.cnm.deepdive.scalescroller.model.entity.Player
Returns the highest learn level difficulty that the player has completed.
getHighScores() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.MainViewModel
Returns LiveData of a list of the highest-scoring challenge attempts and their associated players.
getHighScores(int) - Method in class edu.cnm.deepdive.scalescroller.service.ChallengeAttemptRepository
Returns LiveData of the challenge attempts with the highest scores.
getHighScoresByPlayer(long, int) - Method in class edu.cnm.deepdive.scalescroller.service.ChallengeAttemptRepository
Returns LiveData of the challenge attempts with the highest scores made by a particular player.
getId() - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Returns the auto-generated id for the Challenge level attempt.
getId() - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Returns the auto-generated id for the Learn level attempt.
getId() - Method in class edu.cnm.deepdive.scalescroller.model.entity.Player
Returns the auto-generated id for the player.
getId() - Method in class edu.cnm.deepdive.scalescroller.model.entity.Scale
Returns the auto-generated id for the scale.
getId() - Method in class edu.cnm.deepdive.scalescroller.model.entity.ScaleChallengeAttempt
Returns the auto-generated id for the associative entity.
getIncorrectCoins() - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Returns the number of incorrect coins collected.
getIncorrectCoins() - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Returns the number of incorrect coins collected.
getInstance() - Static method in class edu.cnm.deepdive.scalescroller.service.GoogleSignInService
Returns an instance of the singleton GoogleSignInService.
getInstance() - Static method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase
Returns an instance of the singleton database.
getItemCount() - Method in class edu.cnm.deepdive.scalescroller.adapter.HighScoreRecyclerAdapter
 
getItemCount() - Method in class edu.cnm.deepdive.scalescroller.adapter.ScaleRecyclerAdapter
 
getLastScaleId() - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Returns the id of the last scale attempted (i.e.
getLearnLevelAttemptDao() - Method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase
Returns the LearnLevelAttemptDao.
getLevel() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Returns the Level object.
getLevelWon() - Method in class edu.cnm.deepdive.scalescroller.model.Level
Returns true if the level has been won and false if it has been lost.
getLevelWon() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Returns LiveData of a Boolean indicating whether the player has won the level.
getMode() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs.Builder
 
getMode() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs
 
getMode() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenScaleDialog
 
getMode() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs.Builder
 
getMode() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs
 
getMode() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragmentDirections.OpenLearnModeGame
 
getMode() - Method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections.OpenChallengeModeGame
 
getMode() - Method in class edu.cnm.deepdive.scalescroller.model.entity.Scale
Returns the mode of the scale (major, natural minor, etc.): an enumerated type from the Mode enum.
getMode() - Method in class edu.cnm.deepdive.scalescroller.model.Level
Returns the mode of the scale.
getMode() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Returns the mode of the scale.
getNoteMap() - Static method in enum edu.cnm.deepdive.scalescroller.model.entity.Note
Returns a map of Integers to notes.
getNotes() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenScaleDialog
 
getNotes() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs.Builder
 
getNotes() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs
 
getNotes() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Returns an array of correct notes.
getNotesString() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Returns a String representation of the correct notes of the scale.
getNumber() - Method in enum edu.cnm.deepdive.scalescroller.model.entity.Note
Returns the note's number of half-steps away from C, mod 12.
getOauthKey() - Method in class edu.cnm.deepdive.scalescroller.model.entity.Player
Returns the OAuth key for the player.
getPlayer() - Method in class edu.cnm.deepdive.scalescroller.model.pojo.ChallengeAttemptWithPlayer
Returns the Player associated with the ChallengeAttempt.
getPlayer() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Returns LiveData of the current player.
getPlayer() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.MainViewModel
Returns LiveData of the current player.
getPlayerDao() - Method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase
Returns the PlayerDao.
getPlayerId() - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Returns the player id associated with the Challenge level attempt.
getPlayerId() - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Returns the player id associated with the Learn level attempt.
getResume() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Returns LiveData of a Boolean value indicating dialog directions.
getRoot() - Method in class edu.cnm.deepdive.scalescroller.databinding.ActivityLoginBinding
 
getRoot() - Method in class edu.cnm.deepdive.scalescroller.databinding.ActivityMainBinding
 
getRoot() - Method in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 
getRoot() - Method in class edu.cnm.deepdive.scalescroller.databinding.FragmentHighScoreBinding
 
getRoot() - Method in class edu.cnm.deepdive.scalescroller.databinding.FragmentScaleSelectBinding
 
getRoot() - Method in class edu.cnm.deepdive.scalescroller.databinding.FragmentSettingsBinding
 
getRoot() - Method in class edu.cnm.deepdive.scalescroller.databinding.FragmentTitleBinding
 
getRoot() - Method in class edu.cnm.deepdive.scalescroller.databinding.ItemScaleBinding
 
getRoot() - Method in class edu.cnm.deepdive.scalescroller.databinding.ItemScoreBinding
 
getRoot() - Method in class edu.cnm.deepdive.scalescroller.databinding.PrefAudioBackButtonBinding
 
getRoot() - Method in class edu.cnm.deepdive.scalescroller.databinding.PrefSpeedBackButtonBinding
 
getScale(Note, Mode) - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Returns LiveData of a scale, given tonic and mode.
getScaleChallengeAttempt(long) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleChallengeAttemptRepository
Returns LiveData of a scale-challenge attempt, given its id.
getScaleChallengeAttemptDao() - Method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase
Returns the ScaleChallengeAttemptDao.
getScaleDao() - Method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase
Returns the ScaleDao.
getScaleId() - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Returns the id for the attempted scale.
getScaleId() - Method in class edu.cnm.deepdive.scalescroller.model.entity.ScaleChallengeAttempt
Returns the id of the Scale foreign key.
getScales() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Returns LiveData of a list of scales, ordered by difficulty.
getScales() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.MainViewModel
Returns LiveData of a list of all scales in the database, ordered by difficulty.
getScalesForChallengeAttemptOrderByDate(long) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleChallengeAttemptRepository
Returns LiveData of all scales used in a particular attempt, ordered by date.
getScalesForChallengeAttemptOrderByName(long) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleChallengeAttemptRepository
Returns LiveData of all scales used in a particular attempt, ordered by scale name.
getScore() - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs.Builder
 
getScore() - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs
 
getScore() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenEndLevelDialog
 
getScore() - Method in class edu.cnm.deepdive.scalescroller.model.Level
Returns the current score in the level.
getScore() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Returns LiveData of an Integer value that holds the player's score.
getSteps() - Method in enum edu.cnm.deepdive.scalescroller.model.entity.Mode
Returns the notes in the scale (in terms of half-steps above tonic).
getTimestamp() - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Returns the timestamp when the attempt was completed/saved to the database.
getTimestamp() - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Returns the timestamp when the attempt was completed/saved to the database.
getTimestamp() - Method in class edu.cnm.deepdive.scalescroller.model.entity.ScaleChallengeAttempt
Returns the timestamp when the associative entity was created.
getTonic() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs.Builder
 
getTonic() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs
 
getTonic() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenScaleDialog
 
getTonic() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs.Builder
 
getTonic() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs
 
getTonic() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragmentDirections.OpenLearnModeGame
 
getTonic() - Method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections.OpenChallengeModeGame
 
getTonic() - Method in class edu.cnm.deepdive.scalescroller.model.entity.Scale
Returns the tonic of the scale: an enumerated type from the Note enum.
getTonic() - Method in class edu.cnm.deepdive.scalescroller.model.Level
Returns the tonic of the scale.
getTonic() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Returns the tonic of the scale.
getTotalScore() - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Returns the total score the player achieved in the Challenge level attempt.
getUsername() - Method in class edu.cnm.deepdive.scalescroller.model.entity.Player
Returns the player's username.
GoogleSignInService - Class in edu.cnm.deepdive.scalescroller.service
The GoogleSignInService class provides methods that allow the app to use Google Sign In to get user information and to associate users with players in the database.
guestButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.ActivityLoginBinding
 

H

HARMONIC_MINOR - edu.cnm.deepdive.scalescroller.model.entity.Mode
 
hashCode() - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs
 
hashCode() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs
 
hashCode() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenEndLevelDialog
 
hashCode() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenScaleDialog
 
hashCode() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs
 
hashCode() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragmentDirections.OpenLearnModeGame
 
hashCode() - Method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections.OpenChallengeModeGame
 
hearts - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 
highScore - Variable in class edu.cnm.deepdive.scalescroller.databinding.ItemScoreBinding
 
HighScoreFragment - Class in edu.cnm.deepdive.scalescroller.controller
Allows the user to view high scores from Challenge mode from a RecyclerView.
HighScoreFragment() - Constructor for class edu.cnm.deepdive.scalescroller.controller.HighScoreFragment
 
HighScoreFragmentDirections - Class in edu.cnm.deepdive.scalescroller.controller
 
HighScoreRecyclerAdapter - Class in edu.cnm.deepdive.scalescroller.adapter
Allows for the highest scores from the database to be listed in a RecyclerView.
HighScoreRecyclerAdapter(Context, List<ChallengeAttemptWithPlayer>) - Constructor for class edu.cnm.deepdive.scalescroller.adapter.HighScoreRecyclerAdapter
The constructor initializes the context and the list of high-scoring attempts.
highScoresBackButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentHighScoreBinding
 
highScoresButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentSettingsBinding
 
highScoresTitle - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentHighScoreBinding
 
horizontalGuideline1 - Variable in class edu.cnm.deepdive.scalescroller.databinding.ActivityLoginBinding
 
horizontalGuideline1 - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 
horizontalGuideline1 - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentSettingsBinding
 
horizontalGuideline2 - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 

I

inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.scalescroller.databinding.ActivityLoginBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.scalescroller.databinding.ActivityMainBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentHighScoreBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentScaleSelectBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentSettingsBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentTitleBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.scalescroller.databinding.ItemScaleBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.scalescroller.databinding.ItemScoreBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.scalescroller.databinding.PrefAudioBackButtonBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.scalescroller.databinding.PrefSpeedBackButtonBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.scalescroller.databinding.ActivityLoginBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.scalescroller.databinding.ActivityMainBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentHighScoreBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentScaleSelectBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentSettingsBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.scalescroller.databinding.FragmentTitleBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.scalescroller.databinding.ItemScaleBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.scalescroller.databinding.ItemScoreBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.scalescroller.databinding.PrefAudioBackButtonBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.scalescroller.databinding.PrefSpeedBackButtonBinding
 
insert(ChallengeAttempt) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Inserts a single attempt into the database.
insert(ChallengeAttempt...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Inserts multiple attempts into the database.
insert(LearnLevelAttempt) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.LearnLevelAttemptDao
Inserts a single attempt into the database.
insert(LearnLevelAttempt...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.LearnLevelAttemptDao
Inserts multiple attempts into the database.
insert(Player) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.PlayerDao
Inserts a single player into the database.
insert(Player...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.PlayerDao
Inserts multiple players into the database.
insert(Scale) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Inserts a single scale into the database.
insert(Scale...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Inserts multiple scales into the database.
insert(ScaleChallengeAttempt) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Inserts a single ScaleChallengeAttempt into the database.
insert(ScaleChallengeAttempt...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Inserts multiple attempts into the database.
insert(Collection<ChallengeAttempt>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Inserts multiple attempts into the database.
insert(Collection<LearnLevelAttempt>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.LearnLevelAttemptDao
Inserts multiple attempts into the database.
insert(Collection<Player>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.PlayerDao
Inserts multiple players into the database.
insert(Collection<Scale>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Inserts multiple scales into the database.
insert(Collection<ScaleChallengeAttempt>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Inserts multiple attempts into the database.
integerToMode(Integer) - Static method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase.Converters
Converts an Integer into a Mode object.
integerToNote(Integer) - Static method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase.Converters
Converts an Integer into a Note object.
isTonic() - Method in enum edu.cnm.deepdive.scalescroller.model.entity.Note
Returns true if the note is a possible tonic.
ItemScaleBinding - Class in edu.cnm.deepdive.scalescroller.databinding
 
ItemScoreBinding - Class in edu.cnm.deepdive.scalescroller.databinding
 

L

LEARN - edu.cnm.deepdive.scalescroller.controller.GameFragment.GameMode
 
learnButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentTitleBinding
 
LearnLevelAttempt - Class in edu.cnm.deepdive.scalescroller.model.entity
Holds data in the database for attempts of levels in Learn mode.
LearnLevelAttempt() - Constructor for class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
 
LearnLevelAttemptDao - Interface in edu.cnm.deepdive.scalescroller.model.dao
Provides an interface with methods that perform actions on the LearnLevelAttempt table of the database.
LearnLevelAttemptRepository - Class in edu.cnm.deepdive.scalescroller.service
LearnLevelAttemptRepository contains methods that provide a layer of abstraction above the LearnLevelAttemptDao, and allows for creation, reading, updating, and deleting of attempts.
LearnLevelAttemptRepository(Context) - Constructor for class edu.cnm.deepdive.scalescroller.service.LearnLevelAttemptRepository
The constructor initializes the context, the database, and the dao.
Level - Class in edu.cnm.deepdive.scalescroller.model
The Level class contains game logic used in conjunction with the GameViewModel.
Level(Note, Mode) - Constructor for class edu.cnm.deepdive.scalescroller.model.Level
The constructor initializes the tonic and mode of the scale.
LoginActivity - Class in edu.cnm.deepdive.scalescroller.controller
The launcher activity that allows the user to sign in with Google Sign In.
LoginActivity() - Constructor for class edu.cnm.deepdive.scalescroller.controller.LoginActivity
 
loginTitle - Variable in class edu.cnm.deepdive.scalescroller.databinding.ActivityLoginBinding
 
logoutButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentTitleBinding
 
longToDate(Long) - Static method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase.Converters
Converts a Long into a Date object.

M

MainActivity - Class in edu.cnm.deepdive.scalescroller.controller
The main activity hosts all of the fragments needed for navigation.
MainActivity() - Constructor for class edu.cnm.deepdive.scalescroller.controller.MainActivity
 
mainScreenTitle - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentTitleBinding
 
MainViewModel - Class in edu.cnm.deepdive.scalescroller.viewmodel
Serves as the ViewModel for all fragments except the GameFragment.
MainViewModel(Application) - Constructor for class edu.cnm.deepdive.scalescroller.viewmodel.MainViewModel
The constructor initializes repositories, services, and other elements needed by the ViewModel.
MAJOR - edu.cnm.deepdive.scalescroller.model.entity.Mode
 
MELODIC_MINOR - edu.cnm.deepdive.scalescroller.model.entity.Mode
 
Mode - Enum in edu.cnm.deepdive.scalescroller.model.entity
Enumerates the different modes available for use in ScaleScroller.
modeToInteger(Mode) - Static method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase.Converters
Converts a Mode object into an Integer.
moveDown - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 
moveUp - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 

N

NATURAL_MINOR - edu.cnm.deepdive.scalescroller.model.entity.Mode
 
Note - Enum in edu.cnm.deepdive.scalescroller.model.entity
Enumerates the different notes available for use in ScaleScroller.
noteToInteger(Note) - Static method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase.Converters
Converts a Note object into an Integer.

O

onActivityResult(int, int, Intent) - Method in class edu.cnm.deepdive.scalescroller.controller.LoginActivity
Completes signin, if possible.
onBindViewHolder(HighScoreRecyclerAdapter.Holder, int) - Method in class edu.cnm.deepdive.scalescroller.adapter.HighScoreRecyclerAdapter
 
onBindViewHolder(ScaleRecyclerAdapter.Holder, int) - Method in class edu.cnm.deepdive.scalescroller.adapter.ScaleRecyclerAdapter
 
onClick(Scale) - Method in interface edu.cnm.deepdive.scalescroller.adapter.ScaleRecyclerAdapter.OnScaleClickListener
 
onCreate() - Method in class edu.cnm.deepdive.scalescroller.ScaleScrollerApplication
onCreate(Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.AudioSettingsFragment
Overrides onCreate to apply a preferences-specific style.
onCreate(Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragment
Sets the style for the dialog.
onCreate(Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragment
 
onCreate(Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.LoginActivity
Initializes variables and sets an OnClickListener to Google Sign In.
onCreate(Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.MainActivity
Inflates the xml file and sets the content view.
onCreate(Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.PauseDialogFragment
Sets the style for the dialog.
onCreate(Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragment
Sets the style for the dialog.
onCreate(Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.SettingsFragment
Resets the theme - needed if coming from the SpeedSettings or AudioSettings fragments.
onCreate(Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.SpeedSettingsFragment
Overrides onCreate to apply a preferences-specific style.
onCreate(SupportSQLiteDatabase) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase.Callback
 
onCreateDialog(Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragment
Creates and sets the text for the dialog.
onCreateDialog(Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.PauseDialogFragment
Creates and sets the text for the dialog.
onCreateDialog(Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragment
Creates and sets the text for the dialog.
onCreatePreferences(Bundle, String) - Method in class edu.cnm.deepdive.scalescroller.controller.AudioSettingsFragment
Overrides onCreatePreferences to set the preferences from a resource file and to set up a click listener on a back button.
onCreatePreferences(Bundle, String) - Method in class edu.cnm.deepdive.scalescroller.controller.SpeedSettingsFragment
Overrides onCreatePreferences to set the preferences from a resource file and to set up a click listener on a back button.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragment
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.HighScoreFragment
Sets up navigation.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragment
Sets up navigation.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.SettingsFragment
Initializes navigation.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.TitleFragment
Initializes display text and navigation.
onCreateViewHolder(ViewGroup, int) - Method in class edu.cnm.deepdive.scalescroller.adapter.HighScoreRecyclerAdapter
 
onCreateViewHolder(ViewGroup, int) - Method in class edu.cnm.deepdive.scalescroller.adapter.ScaleRecyclerAdapter
 
onViewCreated(View, Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragment
 
onViewCreated(View, Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.HighScoreFragment
Creates a recycler view containing the high scores from the database, with information about the player and timestamp for each score.
onViewCreated(View, Bundle) - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragment
Creates a recycler view containing the scales in the database, with scales the user cannot select displayed as grayed-out.
openAudioSettings() - Static method in class edu.cnm.deepdive.scalescroller.controller.SettingsFragmentDirections
 
openChallengeModeGame() - Static method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections
 
openEndLevelDialog(String, boolean, int) - Static method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections
 
openHighScore() - Static method in class edu.cnm.deepdive.scalescroller.controller.SettingsFragmentDirections
 
openLearnModeGame(Note, Mode) - Static method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragmentDirections
 
openPauseDialog() - Static method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections
 
openScaleDialog(String, String, String) - Static method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections
 
openScaleSelect() - Static method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections
 
openSettings() - Static method in class edu.cnm.deepdive.scalescroller.controller.AudioSettingsFragmentDirections
 
openSettings() - Static method in class edu.cnm.deepdive.scalescroller.controller.HighScoreFragmentDirections
 
openSettings() - Static method in class edu.cnm.deepdive.scalescroller.controller.SpeedSettingsFragmentDirections
 
openSettings() - Static method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections
 
openSpeedSettings() - Static method in class edu.cnm.deepdive.scalescroller.controller.SettingsFragmentDirections
 
openTitle() - Static method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections
 
openTitle() - Static method in class edu.cnm.deepdive.scalescroller.controller.PauseDialogFragmentDirections
 
openTitle() - Static method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragmentDirections
 
openTitle() - Static method in class edu.cnm.deepdive.scalescroller.controller.SettingsFragmentDirections
 

P

pauseButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 
PauseDialogFragment - Class in edu.cnm.deepdive.scalescroller.controller
Creates a dialog that pops up when the player presses the pause button.
PauseDialogFragment() - Constructor for class edu.cnm.deepdive.scalescroller.controller.PauseDialogFragment
 
PauseDialogFragmentDirections - Class in edu.cnm.deepdive.scalescroller.controller
 
player - Variable in class edu.cnm.deepdive.scalescroller.databinding.ItemScoreBinding
 
Player - Class in edu.cnm.deepdive.scalescroller.model.entity
Holds data in the database for players of ScaleScroller.
Player() - Constructor for class edu.cnm.deepdive.scalescroller.model.entity.Player
 
PlayerDao - Interface in edu.cnm.deepdive.scalescroller.model.dao
Provides an interface with methods that perform actions on the Player table of the database.
PlayerRepository - Class in edu.cnm.deepdive.scalescroller.service
PlayerRepository contains methods that provide a layer of abstraction above the PlayerDao, and allows for creation, reading, updating, and deleting of players.
PlayerRepository(Context) - Constructor for class edu.cnm.deepdive.scalescroller.service.PlayerRepository
The constructor initializes the context, the database, the dao, and the GoogleSignInService.
playingAs - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentTitleBinding
 
PrefAudioBackButtonBinding - Class in edu.cnm.deepdive.scalescroller.databinding
 
preferencesBackButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.PrefAudioBackButtonBinding
 
preferencesBackButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.PrefSpeedBackButtonBinding
 
PrefSpeedBackButtonBinding - Class in edu.cnm.deepdive.scalescroller.databinding
 

R

refresh() - Method in class edu.cnm.deepdive.scalescroller.service.GoogleSignInService
Refreshes the signin with Google.

S

save(ChallengeAttempt) - Method in class edu.cnm.deepdive.scalescroller.service.ChallengeAttemptRepository
Creates or updates a attempt record in the database.
save(ChallengeAttempt) - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Saves a challenge attempt to the database.
save(LearnLevelAttempt) - Method in class edu.cnm.deepdive.scalescroller.service.LearnLevelAttemptRepository
Creates or updates a attempt record in the database.
save(LearnLevelAttempt) - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Saves a learn attempt to the database.
save(Player) - Method in class edu.cnm.deepdive.scalescroller.service.PlayerRepository
Creates or updates a player record in the database.
save(Scale) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleRepository
Creates or updates a scale record in the database.
save(ScaleChallengeAttempt) - Method in class edu.cnm.deepdive.scalescroller.service.ScaleChallengeAttemptRepository
Creates or updates a attempt record in the database.
Scale - Class in edu.cnm.deepdive.scalescroller.model.entity
Holds data in the database for available scales to be used.
Scale() - Constructor for class edu.cnm.deepdive.scalescroller.model.entity.Scale
 
ScaleChallengeAttempt - Class in edu.cnm.deepdive.scalescroller.model.entity
An associative entity that aids in the many-to-many relationship between ChallengeAttempt and Scale.
ScaleChallengeAttempt() - Constructor for class edu.cnm.deepdive.scalescroller.model.entity.ScaleChallengeAttempt
 
ScaleChallengeAttemptDao - Interface in edu.cnm.deepdive.scalescroller.model.dao
Provides an interface with methods that perform actions on the ScaleChallengeAttempt table of the database.
ScaleChallengeAttemptRepository - Class in edu.cnm.deepdive.scalescroller.service
ScaleChallengeAttemptRepository contains methods that provide a layer of abstraction above the ScaleChallengeAttemptDao, and allows for creation, reading, updating, and deleting of attempts.
ScaleChallengeAttemptRepository(Context) - Constructor for class edu.cnm.deepdive.scalescroller.service.ScaleChallengeAttemptRepository
The constructor initializes the context, the database, and the dao.
ScaleDao - Interface in edu.cnm.deepdive.scalescroller.model.dao
Provides an interface with methods that perform actions on the Scale table of the database.
ScaleDialogFragment - Class in edu.cnm.deepdive.scalescroller.controller
Creates a dialog that pops up at the beginning of each scale level to show the notes of the scale for reference.
ScaleDialogFragment() - Constructor for class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragment
 
ScaleDialogFragmentArgs - Class in edu.cnm.deepdive.scalescroller.controller
 
ScaleDialogFragmentArgs.Builder - Class in edu.cnm.deepdive.scalescroller.controller
 
scaleName - Variable in class edu.cnm.deepdive.scalescroller.databinding.ItemScaleBinding
 
scaleRecycler - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentScaleSelectBinding
 
ScaleRecyclerAdapter - Class in edu.cnm.deepdive.scalescroller.adapter
Allows for the scales in the database to be listed in a RecyclerView.
ScaleRecyclerAdapter(Context, List<Scale>, ScaleRecyclerAdapter.OnScaleClickListener, int) - Constructor for class edu.cnm.deepdive.scalescroller.adapter.ScaleRecyclerAdapter
The constructor initializes the context, the list of scales, an onClickListener, and the highest difficulty scale the current player has access to.
ScaleRecyclerAdapter.OnScaleClickListener - Interface in edu.cnm.deepdive.scalescroller.adapter
This interface can be implemented to handle clicks of scales in the adapter.
ScaleRepository - Class in edu.cnm.deepdive.scalescroller.service
ScaleRepository contains methods that provide a layer of abstraction above the ScaleDao, and allows for creation, reading, updating, and deleting of attempts.
ScaleRepository(Context) - Constructor for class edu.cnm.deepdive.scalescroller.service.ScaleRepository
The constructor initializes the context, the database, and the dao.
ScaleScrollerApplication - Class in edu.cnm.deepdive.scalescroller
This class serves as the entry point for the ScaleScroller application.
ScaleScrollerApplication() - Constructor for class edu.cnm.deepdive.scalescroller.ScaleScrollerApplication
 
ScaleScrollerDatabase - Class in edu.cnm.deepdive.scalescroller.service
The ScaleScroller Database provides abstract methods that return the DAOs for each entity.
ScaleScrollerDatabase() - Constructor for class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase
 
ScaleScrollerDatabase.Callback - Class in edu.cnm.deepdive.scalescroller.service
Overrides onCreate to populate the database with scales.
ScaleScrollerDatabase.Converters - Class in edu.cnm.deepdive.scalescroller.service
Provides type converters to translate Java objects into data that can be stored in the SQLite database.
scaleSelectBackButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentScaleSelectBinding
 
ScaleSelectFragment - Class in edu.cnm.deepdive.scalescroller.controller
Allows the user to select a scale from a RecyclerView for Learn mode.
ScaleSelectFragment() - Constructor for class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragment
 
ScaleSelectFragmentDirections - Class in edu.cnm.deepdive.scalescroller.controller
 
ScaleSelectFragmentDirections.OpenLearnModeGame - Class in edu.cnm.deepdive.scalescroller.controller
 
scaleTitle - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 
score - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentGameBinding
 
scoreNumber - Variable in class edu.cnm.deepdive.scalescroller.databinding.ItemScoreBinding
 
scoresRecycler - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentHighScoreBinding
 
select(long) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Queries the database for a specific attempt, based on id.
select(long) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.LearnLevelAttemptDao
Queries the database for a specific attempt, based on id.
select(long) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.PlayerDao
Queries the database for a specific player, based on id.
select(long) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Queries the database for a single attempt, based on id.
select(long) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Queries the database for a specific scale, based on id.
SELECT_CHALLENGE_ATTEMPTS_ORDER_BY_DATE_QUERY - Static variable in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
A query which selects challenge attempts for a single scale id, ordering by timestamp from most recent to less recent.
SELECT_CHALLENGE_ATTEMPTS_ORDER_BY_SCORE_QUERY - Static variable in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
A query which selects challenge attempts for a single scale id, ordering by score from highest to lowest.
SELECT_SCALES_BY_DATE_QUERY - Static variable in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
A query which selects scales for a single challenge attempt id, ordering by timestamp.
SELECT_SCALES_BY_NAME_QUERY - Static variable in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
A query which selects scales for a single challenge attempt id, ordering by scale name.
selectAll() - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Queries the database for all attempts.
selectAll() - Method in interface edu.cnm.deepdive.scalescroller.model.dao.LearnLevelAttemptDao
Queries the database for all attempts.
selectAll() - Method in interface edu.cnm.deepdive.scalescroller.model.dao.PlayerDao
Queries the database for all players.
selectAll() - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Queries the database for all attempts.
selectAll() - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Queries the database for all scales.
selectAllOrderByDifficulty() - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Queries the database for all scales, ordering based on difficulty.
selectAllWithPlayer(long) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Queries the database for all attempts made by a specific player.
selectAllWithPlayer(long) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.LearnLevelAttemptDao
Queries the database for all attempts made by a specific player.
selectChallengeAttemptsOrderByDate(long) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Queries the database for challenge attempts based on a scale id, ordering by timestamp from most recent to less recent.
selectChallengeAttemptsOrderByScore(long) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Queries the database for challenge attempts based on a scale id, ordering by score from highest to lowest.
selectHighestDifficultyWithPlayer(long) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.LearnLevelAttemptDao
Queries the database for the attempt that had the highest difficulty rating for a specific player.
selectHighScores(int) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Queries the database for the attempts with the highest scores.
selectPlayerHighScores(long, int) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Queries the database for the attempts with the highest scores made by a specific player.
selectScale - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentScaleSelectBinding
 
selectScalesOrderByDate(long) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Queries the database for scales based on a challenge attempt id, ordering by timestamp.
selectScalesOrderByName(long) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Queries the database for scales based on a challenge attempt id, ordering by scale name.
selectWithMode(Mode) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Queries the database for specific scales, based on mode.
selectWithOauth(String) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.PlayerDao
Queries the database for a specific player, based on OAuth key.
selectWithScaleName(Mode, Note) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Queries the database for a specific scale, based on tonic and mode.
selectWithTonic(Note) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Queries the database for specific scales, based on tonic.
setAttemptId(long) - Method in class edu.cnm.deepdive.scalescroller.model.entity.ScaleChallengeAttempt
Sets the id of the ChallengeAttempt foreign key.
setContext(Application) - Static method in class edu.cnm.deepdive.scalescroller.service.GoogleSignInService
Sets the application context for the class.
setContext(Application) - Static method in class edu.cnm.deepdive.scalescroller.service.ScaleScrollerDatabase
Sets the application context.
setCorrectCoins(int) - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Sets the number of correct coins collected.
setCorrectCoins(int) - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Sets the number of correct coins collected.
setDifficulty(int) - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Sets the difficulty of the attempted scale.
setDifficulty(int) - Method in class edu.cnm.deepdive.scalescroller.model.entity.Scale
Sets the difficulty of the scale.
setGameMode(GameFragment.GameMode) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs.Builder
 
setGameMode(GameFragment.GameMode) - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragmentDirections.OpenLearnModeGame
 
setGameMode(GameFragment.GameMode) - Method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections.OpenChallengeModeGame
 
setGameMode(GameFragment.GameMode) - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Sets the GameMode of the ViewModel to the enumerated types LEARN or CHALLENGE.
setGameMode(String) - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs.Builder
 
setGameMode(String) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenEndLevelDialog
 
setGameWon(boolean) - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs.Builder
 
setGameWon(boolean) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenEndLevelDialog
 
setHearts(boolean) - Method in class edu.cnm.deepdive.scalescroller.model.Level
Increments or decrements the number of hearts left.
setHighestLearnLevel(int) - Method in class edu.cnm.deepdive.scalescroller.model.entity.Player
Sets the highest learn level difficulty that the player has completed.
setId(long) - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Sets the auto-generated id for the Challenge level attempt.
setId(long) - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Sets the auto-generated id for the Learn level attempt.
setId(long) - Method in class edu.cnm.deepdive.scalescroller.model.entity.Player
Sets the auto-generated id for the player.
setId(long) - Method in class edu.cnm.deepdive.scalescroller.model.entity.Scale
Sets the auto-generated id for the scale.
setId(long) - Method in class edu.cnm.deepdive.scalescroller.model.entity.ScaleChallengeAttempt
Sets the auto-generated id for the associative entity.
setIncorrectCoins(int) - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Sets the number of incorrect coins collected.
setIncorrectCoins(int) - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Sets the number of incorrect coins collected.
setLastScaleId(long) - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Sets the id of the last scale attempted (i.e.
setLevel(Level) - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Sets the Level object.
setMode(Mode) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs.Builder
 
setMode(Mode) - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragmentDirections.OpenLearnModeGame
 
setMode(Mode) - Method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections.OpenChallengeModeGame
 
setMode(Mode) - Method in class edu.cnm.deepdive.scalescroller.model.entity.Scale
Sets the mode of the scale (major, natural minor, etc.): an enumerated type from the Mode enum.
setMode(Mode) - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Sets the mode of the scale in the ViewModel to one of the enumerated types.
setMode(String) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenScaleDialog
 
setMode(String) - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs.Builder
 
setNotes(String) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenScaleDialog
 
setNotes(String) - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs.Builder
 
setOauthKey(String) - Method in class edu.cnm.deepdive.scalescroller.model.entity.Player
Sets the OAuth key for the player.
setPaused(boolean) - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Sets a boolean value indicating whether the game is paused or not.
setPlayer(Player) - Method in class edu.cnm.deepdive.scalescroller.model.pojo.ChallengeAttemptWithPlayer
Sets the Player associated with the ChallengeAttempt.
setPlayerId(long) - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Sets the player id associated with the Challenge level attempt.
setPlayerId(long) - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Sets the player id associated with the Learn level attempt.
setResume(boolean) - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Sets the resume value indicating dialog directions.
setScaleId(long) - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Sets the id for the attempted scale.
setScaleId(long) - Method in class edu.cnm.deepdive.scalescroller.model.entity.ScaleChallengeAttempt
Sets the id of the Scale foreign key.
setScore(int) - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs.Builder
 
setScore(int) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenEndLevelDialog
 
setScore(int) - Method in class edu.cnm.deepdive.scalescroller.model.Level
Sets the score for the level by adding the new points.
setTimestamp(Date) - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Sets the timestamp when the attempt was completed/saved to the database.
setTimestamp(Date) - Method in class edu.cnm.deepdive.scalescroller.model.entity.LearnLevelAttempt
Sets the timestamp when the attempt was completed/saved to the database.
setTimestamp(Date) - Method in class edu.cnm.deepdive.scalescroller.model.entity.ScaleChallengeAttempt
Sets the timestamp when the associative entity was created.
settingsBackButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentSettingsBinding
 
settingsButton - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentTitleBinding
 
SettingsFragment - Class in edu.cnm.deepdive.scalescroller.controller
Contains options for audio and speed settings and high scores.
SettingsFragment() - Constructor for class edu.cnm.deepdive.scalescroller.controller.SettingsFragment
 
SettingsFragmentDirections - Class in edu.cnm.deepdive.scalescroller.controller
 
settingsTitle - Variable in class edu.cnm.deepdive.scalescroller.databinding.FragmentSettingsBinding
 
setTonic(Note) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs.Builder
 
setTonic(Note) - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragmentDirections.OpenLearnModeGame
 
setTonic(Note) - Method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections.OpenChallengeModeGame
 
setTonic(Note) - Method in class edu.cnm.deepdive.scalescroller.model.entity.Scale
Sets the tonic of the scale: an enumerated type from the Note enum.
setTonic(Note) - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Sets the tonic of the scale in the ViewModel to one of the enumerated types.
setTonic(String) - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenScaleDialog
 
setTonic(String) - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs.Builder
 
setTotalScore(int) - Method in class edu.cnm.deepdive.scalescroller.model.entity.ChallengeAttempt
Sets the total score the player achieved in the Challenge level attempt.
setUsername(String) - Method in class edu.cnm.deepdive.scalescroller.model.entity.Player
Sets the player's username.
signIn - Variable in class edu.cnm.deepdive.scalescroller.databinding.ActivityLoginBinding
 
signOut() - Method in class edu.cnm.deepdive.scalescroller.service.GoogleSignInService
Signs the user out.
SpeedSettingsFragment - Class in edu.cnm.deepdive.scalescroller.controller
A preference fragment for the speed of the sidescroller in Learn mode, with a custom style and a button.
SpeedSettingsFragment() - Constructor for class edu.cnm.deepdive.scalescroller.controller.SpeedSettingsFragment
 
SpeedSettingsFragmentDirections - Class in edu.cnm.deepdive.scalescroller.controller
 
startLevel() - Method in class edu.cnm.deepdive.scalescroller.viewmodel.GameViewModel
Starts a single level.
startSignIn(Activity, int) - Method in class edu.cnm.deepdive.scalescroller.service.GoogleSignInService
Allows the activity to start a signin request.

T

timestamp - Variable in class edu.cnm.deepdive.scalescroller.databinding.ItemScoreBinding
 
TitleFragment - Class in edu.cnm.deepdive.scalescroller.controller
The title fragment is the main navigational hub, and allows the user to select different game modes, go to settings, or logout.
TitleFragment() - Constructor for class edu.cnm.deepdive.scalescroller.controller.TitleFragment
 
TitleFragmentDirections - Class in edu.cnm.deepdive.scalescroller.controller
 
TitleFragmentDirections.OpenChallengeModeGame - Class in edu.cnm.deepdive.scalescroller.controller
 
toBundle() - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs
 
toBundle() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs
 
toBundle() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs
 
tonics() - Static method in enum edu.cnm.deepdive.scalescroller.model.entity.Note
Returns all of the possible tonic notes.
toString() - Method in class edu.cnm.deepdive.scalescroller.controller.EndLevelDialogFragmentArgs
 
toString() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentArgs
 
toString() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenEndLevelDialog
 
toString() - Method in class edu.cnm.deepdive.scalescroller.controller.GameFragmentDirections.OpenScaleDialog
 
toString() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleDialogFragmentArgs
 
toString() - Method in class edu.cnm.deepdive.scalescroller.controller.ScaleSelectFragmentDirections.OpenLearnModeGame
 
toString() - Method in class edu.cnm.deepdive.scalescroller.controller.TitleFragmentDirections.OpenChallengeModeGame
 
toString() - Method in enum edu.cnm.deepdive.scalescroller.model.entity.Mode
Overrides the toString method for a more user-readable scale mode representation.
toString() - Method in enum edu.cnm.deepdive.scalescroller.model.entity.Note
Overrides the toString method for a more user-readable note representation.

U

update(ChallengeAttempt) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Updates a single attempt in the database.
update(ChallengeAttempt...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Updates multiple attempts in the database.
update(LearnLevelAttempt) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.LearnLevelAttemptDao
Updates a single attempt in the database.
update(LearnLevelAttempt...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.LearnLevelAttemptDao
Updates multiple attempts in the database.
update(Player) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.PlayerDao
Updates a single player in the database.
update(Player...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.PlayerDao
Updates multiple players in the database.
update(Scale) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Updates a single scale in the database.
update(Scale...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Updates multiple scales in the database.
update(ScaleChallengeAttempt) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Updates a single attempt in the database.
update(ScaleChallengeAttempt...) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Updates multiple attempts in the database.
update(Collection<ChallengeAttempt>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ChallengeAttemptDao
Updates multiple attempts in the database.
update(Collection<LearnLevelAttempt>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.LearnLevelAttemptDao
Updates multiple attempts in the database.
update(Collection<Player>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.PlayerDao
Updates multiple players in the database.
update(Collection<Scale>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleDao
Updates multiple scales in the database.
update(Collection<ScaleChallengeAttempt>) - Method in interface edu.cnm.deepdive.scalescroller.model.dao.ScaleChallengeAttemptDao
Updates multiple attempts in the database.

V

valueOf(String) - Static method in enum edu.cnm.deepdive.scalescroller.controller.GameFragment.GameMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.cnm.deepdive.scalescroller.model.entity.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.cnm.deepdive.scalescroller.model.entity.Note
Returns the enum constant of this type with the specified name.
values() - Static method in enum edu.cnm.deepdive.scalescroller.controller.GameFragment.GameMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.cnm.deepdive.scalescroller.model.entity.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.cnm.deepdive.scalescroller.model.entity.Note
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION_CODE - Static variable in class edu.cnm.deepdive.scalescroller.BuildConfig
 
VERSION_NAME - Static variable in class edu.cnm.deepdive.scalescroller.BuildConfig
 
A B C D E F G H I L M N O P R S T U V 
All Classes All Packages