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

O

onActivityResult(int, int, Intent) - Method in class com.example.sulemaia.Activity.CharacterSelector
We control the deletion of characters, not making it able to have less than one.
onActivityResult(int, int, Intent) - Method in class com.example.sulemaia.Activity.MainActivity
This is basically the whole parsing of the file so we can check it goes along with the limitations and specifications of the project.
onBackPressed() - Method in class com.example.sulemaia.Activity.SearchAlgorithms
Method called by user on back button pressed.
onBindViewHolder(CharacterEditorAdapter.Item, int) - Method in class com.example.sulemaia.Adapter.CharacterEditorAdapter
Method to act over the view holder for the edition of the costs af the lands for the character.
onBindViewHolder(CharacterSelectorAdapter.Item, int) - Method in class com.example.sulemaia.Adapter.CharacterSelectorAdapter
Method to act over the creation of the view holder.
onBindViewHolder(DialogCharacterEditorAdapter.Item, int) - Method in class com.example.sulemaia.Adapter.DialogCharacterEditorAdapter
Take action on the bind view holder.
onBindViewHolder(DialogCharacterInformationAdapter.Item, int) - Method in class com.example.sulemaia.Adapter.DialogCharacterInformationAdapter
Take action on the view holder creation.
onBindViewHolder(MainActivityAdapter.Item, int) - Method in class com.example.sulemaia.Adapter.MainActivityAdapter
Take action on the view holder.
onClick(View) - Method in class com.example.sulemaia.Activity.CharacterEditor.ButtonActions
Depending on the button tapped on the activity, the resulting action changes.
onClick(View) - Method in class com.example.sulemaia.Activity.CharacterSelector.ButtonActions
Floating action buttons.
onClick(View) - Method in class com.example.sulemaia.Activity.ExpansionDetails.ButtonActions
We get an order depending on the order tapped by the user on the app, and proceed depending on the selection of the automatic or manual algorithm.
onClick(View) - Method in class com.example.sulemaia.Activity.FieldInformation.ButtonActions
Tap configuration so we can choose the color of a terrain, the initial and final tile fo the character, and finally the ok button to proceed with the app.
onClick(View) - Method in class com.example.sulemaia.Activity.GameScreen.ButtonActions
Depending on the button pressed (up, down, left, right), we have to check if there is any map terrain in that coordinate (if the character is not already on the bounds of the map), and also if the character can go through that specific terrain.
onClick(View) - Method in class com.example.sulemaia.Activity.MainActivity.ButtonActions
Implementation of the action depending on the button tapped on the app (cancel button = go backwards, addFileButton = ask permision and continue with the normal app flow, okButton = load all the information that will be needed for the processes into the intent).
onClick(View) - Method in class com.example.sulemaia.Adapter.CharacterSelectorAdapter.ButtonActions
Take action depending on which float button was tapped.
onClick(View) - Method in class com.example.sulemaia.Fragment.AStar.ButtonActions
When we start the algorithm, we let the user select a color for the final path drawing.
onClick(View) - Method in class com.example.sulemaia.Fragment.FirstBest.ButtonActions
Once the user chooses to start the algorithm, we let he/she choose the color to paint the final path.
onClick(View) - Method in class com.example.sulemaia.Fragment.UniformCost.ButtonActions
When we start the algorithm, we let the user select a color for the final path drawing.
onCreate(Bundle) - Method in class com.example.sulemaia.Activity.CharacterEditor
On the creation of this class and activity, we instantiate the most important aspects of the app in this context, like buttons, images, names, and editors.
onCreate(Bundle) - Method in class com.example.sulemaia.Activity.CharacterSelector
We obtain each character icon into Constants from the ones preloaded into the code (in this version, 10 characters), obtain all the previous information (biomes, content file, etc...) from the Intent, configure each characteristic of each player on default, add the necessary buttons and views, and finally check if its the first time starting the app, so we can show the interactive tutorial.
onCreate(Bundle) - Method in class com.example.sulemaia.Activity.ExpansionDetails
On the creation of the class, we have four slots for the four possible directions in which the character can move, creating an expansion order.
onCreate(Bundle) - Method in class com.example.sulemaia.Activity.FieldInformation
Class to configure all the initial instances for the class to work.
onCreate(Bundle) - Method in class com.example.sulemaia.Activity.GameScreen
Initialization of all the basic data that the game and board will need to be playable, like biomes, colors, codes, coordinates, and buttons.
onCreate(Bundle) - Method in class com.example.sulemaia.Activity.LoadScreen
 
onCreate(Bundle) - Method in class com.example.sulemaia.Activity.MainActivity
We instantiate the most basic and necessary items so the app can work correctly, like buttons and hash sets.
onCreate(Bundle) - Method in class com.example.sulemaia.Activity.SearchAlgorithms
Getting the initial variables available for the run of the activity, like the bundle and the intent.
onCreate(Bundle) - Method in class com.example.sulemaia.Activity.Tutorial
On the creation of the tutorial, we activate and deactivate certain buttons, for it to work accordingly to the normal flow, and show specific images with their description.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.sulemaia.Fragment.AStar
To create the view.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.sulemaia.Fragment.FirstBest
To create the view.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.example.sulemaia.Fragment.UniformCost
On create view we load all the importan information from the bundle, like the biomes, codes, colors, relevant coordinates, etc...
onCreateViewHolder(ViewGroup, int) - Method in class com.example.sulemaia.Adapter.CharacterEditorAdapter
Method called by system on the creation of the view.
onCreateViewHolder(ViewGroup, int) - Method in class com.example.sulemaia.Adapter.CharacterSelectorAdapter
Method to act over the view holder creation.
onCreateViewHolder(ViewGroup, int) - Method in class com.example.sulemaia.Adapter.DialogCharacterEditorAdapter
Take action on the view holder creation.
onCreateViewHolder(ViewGroup, int) - Method in class com.example.sulemaia.Adapter.DialogCharacterInformationAdapter
Take action on the view holder creation.
onCreateViewHolder(ViewGroup, int) - Method in class com.example.sulemaia.Adapter.MainActivityAdapter
Take action on the view holder creation.
onItemClick(AdapterView<?>, View, int, long) - Method in class com.example.sulemaia.Activity.FieldInformation.ButtonActions
Relevant information related to the field, so it can be shown and processed.
onItemSelected(AdapterView<?>, View, int, long) - Method in class com.example.sulemaia.Fragment.AStar.Measures
We show a reference to the measure mode selected.
onItemSelected(AdapterView<?>, View, int, long) - Method in class com.example.sulemaia.Fragment.FirstBest.Measures
We show a reference to the measure mode selected.
onNavigationItemSelected(MenuItem) - Method in class com.example.sulemaia.Activity.SearchAlgorithms.NavigationListener
Depending of the heuristic algoritm to show, we create and load the corresponding fragment.
onNothingSelected(AdapterView<?>) - Method in class com.example.sulemaia.Fragment.AStar.Measures
When no method is selected, nothing happens, since you already have one method selected by default.
onNothingSelected(AdapterView<?>) - Method in class com.example.sulemaia.Fragment.FirstBest.Measures
When no method is selected, nothing happens, since you already have one method selected by default.
onOptionsItemSelected(MenuItem) - Method in class com.example.sulemaia.Activity.CharacterEditor
Method called by system on back button pressed.
onOptionsItemSelected(MenuItem) - Method in class com.example.sulemaia.Activity.CharacterSelector
Method called by system.
onOptionsItemSelected(MenuItem) - Method in class com.example.sulemaia.Activity.ExpansionDetails
Method called by system on back button pressed.
onOptionsItemSelected(MenuItem) - Method in class com.example.sulemaia.Activity.FieldInformation
Method called by system.
onOptionsItemSelected(MenuItem) - Method in class com.example.sulemaia.Activity.GameScreen
Method called by system on Back button pressed.
onOptionsItemSelected(MenuItem) - Method in class com.example.sulemaia.Activity.SearchAlgorithms
Method called by user on back button pressed.
onPostExecute(HeuristicPathTree) - Method in class com.example.sulemaia.Thread.ResolverAStarThread
Once the algorithm has finished, we actually need to end the thread and draw the path over the UI.
onPostExecute(HeuristicPathTree) - Method in class com.example.sulemaia.Thread.ResolverFirstBestThread
Once the algorithm has finished, we actually need to end the thread and draw the path over the UI.
onPostExecute(HeuristicPathTree) - Method in class com.example.sulemaia.Thread.ResolverUniformCostThread
Whenever the algorithm finishes, we have to finish the thread.
onProgressChanged(SeekBar, int, boolean) - Method in class com.example.sulemaia.Fragment.AStar.ButtonActions
Change to the refresh of the process of the thread.
onProgressChanged(SeekBar, int, boolean) - Method in class com.example.sulemaia.Fragment.FirstBest.ButtonActions
Refresh rate from the time configured to the movement of the character, controlled by the thread.
onProgressChanged(SeekBar, int, boolean) - Method in class com.example.sulemaia.Fragment.UniformCost.ButtonActions
Change to the refresh of the process of the thread.
onProgressUpdate(HeuristicPathTree.Node...) - Method in class com.example.sulemaia.Thread.ResolverAStarThread
Every time the thread makes a step, we change the character's position.
onProgressUpdate(HeuristicPathTree.Node...) - Method in class com.example.sulemaia.Thread.ResolverFirstBestThread
Every time the thread makes a step, we change the character's position.
onProgressUpdate(HeuristicPathTree.Node...) - Method in class com.example.sulemaia.Thread.ResolverUniformCostThread
Every time the thread refreshes, we have to move the character in the UI.
onRequestPermissionsResult(int, String[], int[]) - Method in class com.example.sulemaia.Activity.MainActivity.ButtonActions
We proceed with the normal flow of the app depending of which option was selected (reading permission granted or denied).
onStartTrackingTouch(SeekBar) - Method in class com.example.sulemaia.Fragment.AStar.ButtonActions
Code not used but still needed to be instantiated for the thread to work properly.
onStartTrackingTouch(SeekBar) - Method in class com.example.sulemaia.Fragment.FirstBest.ButtonActions
Code not used but still needed to be instantiated for the thread to work properly.
onStartTrackingTouch(SeekBar) - Method in class com.example.sulemaia.Fragment.UniformCost.ButtonActions
Code not used but still needed to be instantiated for the thread to work properly.
onStop() - Method in class com.example.sulemaia.Fragment.AStar
Method to make the thread stop once the algorithm finishes.
onStop() - Method in class com.example.sulemaia.Fragment.FirstBest
Method to make the thread stop once the algorithm finishes.
onStop() - Method in class com.example.sulemaia.Fragment.UniformCost
Mehtod to stop the thread once the algorithm finishes.
onStopTrackingTouch(SeekBar) - Method in class com.example.sulemaia.Fragment.AStar.ButtonActions
Code not used but still needed to be instantiated for the thread to work properly.
onStopTrackingTouch(SeekBar) - Method in class com.example.sulemaia.Fragment.FirstBest.ButtonActions
Code not used but still needed to be instantiated for the thread to work properly.
onStopTrackingTouch(SeekBar) - Method in class com.example.sulemaia.Fragment.UniformCost.ButtonActions
Code not used but still needed to be instantiated for the thread to work properly.
onTouch(View, MotionEvent) - Method in class com.example.sulemaia.Activity.FieldInformation.ButtonActions
Detect the touch on the phone panel
A B C D E F G H I L M N O P R S T U V 
Skip navigation links