summaryrefslogtreecommitdiff
path: root/Source/Android/src/org
AgeCommit message (Collapse)Author
2013-08-28[Android] Fix the position of a logcat logging statement. If, for whatever ↵lioncash
reason, the event parameter is null, then the previous placement would have caused an exception.
2013-08-28[Android] Clean up AboutFragment's onAttach method.lioncash
2013-08-27[Android] Simplify onAttach for CPUSettingsFragment and VideoSettingsFragmentLioncash
2013-08-27[Android] Remove the documentation of a parameter in GameListItem that was ↵Lioncash
removed a while ago.
2013-08-26[Android] Add wad file support.Ryan Houdek
2013-08-26[Android] Remove the explicit key event listener from InputConfigFragment. ↵Lioncash
The AlertDialog class has a key listener built into it. Also documented the methods/interfaces in MotionAlertDialog.
2013-08-26[Android] Only dismiss the input dialog when an input is registered. Before ↵Lioncash
it would dismiss upon the first event. Fixes a bug where control sticks wouldn't register because of the AlertDialog closing immediately after the "if (firstEvent)" branch.
2013-08-26[Android] Make the dialog variable in InputConfigFragment a local variable ↵Lioncash
in onPreferenceTreeClick. With the new input UI, this doesn't need to be accessible to other classes. Also change the documentation of the custom dialog class.
2013-08-26[Android] Greatly simplify the input handling for the button mapping ↵Lioncash
settings. Now input handling is directly in the fragment.
2013-08-26[Android] Finish documenting the native functions in NativeLibrary.java.Lioncash
2013-08-25[Android] My bad, somehow the Java file in the previous commit got encoded ↵Lioncash
with UTF8+BOM.
2013-08-25[Android] Fixed a typo in the event callback system documentation.Lioncash
2013-08-25[Android] Document the event callback system used in the Settings menu in ↵Lioncash
large detail.
2013-08-25[Android] Initial implementation of the new input UI.Lioncash
Testing may be further required. But it should work for the most part.
2013-08-24[Android] Invalidate the options menu upon switching fragments. This hides ↵Lioncash
the 'clear game list' option faster when switching fragment. Also fixes a rare bug where the option might not even redraw when returning to the game list.
2013-08-24[Android] Don't create a new GCMPath entry in the Dolphin config if it ↵Lioncash
another existing GCMPath entry already has the same directory path. Also, fix a 'bug' with the clear all items function. Make sure we set GCMPathes to 0, so that GCMPath entries start adding at GCMPath0 again. This change also allows me to remove the duplicate checking code from GameListFragment, since the items in the game list are loaded based on the GCMEntries in the Dolphin config.
2013-08-24[Android] Add the license header to Java files that were missing it.Lioncash
2013-08-23[Android] Add an option to clear the game list.Lioncash
2013-08-23[Android] Since we don't show invalid filetypes in the file browser anymore, ↵Lioncash
there's no need to check if a file is valid or not since they're all valid now.
2013-08-23[Android] Document most of the native functions in NativeLibrary.java.Lioncash
2013-08-23[Android] Fix the removal of duplicate items from the gamelist.Lioncash
This should have initially been a nested loop since it now guarantees every item in the list is checked. Also, removed some unused code and documented some things.
2013-08-23[Android] Only show valid files in the file browser.Lioncash
2013-08-22[Android] General cleanup. Add more documentation.Lioncash
Remove some accidental changes that slipped through. Don't want to have input settings in the settings menu just yet.
2013-08-22[Android] Format all Java files to be consistent.Lioncash
2013-08-22[Android] Make the previous commit parlane approved in terms of boolean ↵Lioncash
conditions.
2013-08-22[Android] Fix a bug in FolderBrowser.java which was causing an incomplete ↵Lioncash
directory structure to show.
2013-08-21[Android] Make two class variables in InputConfigFragment private. If left ↵Lioncash
the way they were, they could be accessed by other classes in its package, which is not intended.
2013-08-21Remove unused code from InputConfigFragment. This was for when the option to ↵Lioncash
draw onscreen controls was in this menu instead of video preferences.
2013-08-21[Android] Fixed a bug where the config files might not load correctly upon ↵Lioncash
launch. If the initial files existed, it wouldn't load the configs. This fixes that. If the files don't exist they will be copied (in the previous block) and everything will be fine.
2013-08-21[Android] Fix preferences from crashing. OSD controls was supposed to be ↵Ryan Houdek
boolean.
2013-08-20[Android] Migrate the "Draw Onscreen Controls" preference to the video settings.Lioncash
2013-08-20[Android] Remove unnecessary string messages from CPUSettingsFragment and ↵Lioncash
VideoSettingsFragment.
2013-08-20[Android] Implement a ViewPager for the settings. Also, move classes into ↵Lioncash
appropriate packages to make things cleaner.
2013-08-20[Android] Load all of the new settings from the ini when the app is launched.Lioncash
- Also fix a typo in the ini saving method in UserPreferences. Accidentally spelt the ini name wrong. - Also include the relocated XML preferences. I meant to push this with the previous commit.
2013-08-20[Android] Add most of the Dolphin video/gfx settings to the settings menu.Lioncash
2013-08-19[Android] Forgot to document the new parameter used in ↵Lioncash
SaveConfigToDolphinIni() in the last change. Fixed that.
2013-08-19[Android] Turn SaveConfigToDolphinIni() into a static method. Now saving ↵Lioncash
settings to the ini config just uses one call in PrefsFragment.onDestroy().
2013-08-19[Android] Remove the loading toast messages from the UI. These really don't ↵Lioncash
need to be here since the things they were used for took very, very little time to load.
2013-08-19[Android] Decouple Dolphin.ini config file saving from GameListActivity. It ↵Lioncash
doesn't make sense to save the config AFTER control is returned from PrefsFragment to GameListActivity, since the main purpose of PrefsFragment is to handle the user settings. So, instead, we call SaveConfigToDolphinIni() in the PrefsFragment.onDestroy() method. This way, when the PrefsFragment object is being 'destroyed', it will write the settings to the ini.
2013-08-19[Android] Simplify saving settings to the ini file. Since the setting names ↵Lioncash
are known, there's no reason to loop through them. This will likely be simplified further very soon.
2013-08-19[Android] Change the settings menu a little more. Instead of the settings ↵Lioncash
being a single view with settings from all components being displayed, I have broken it into sections. This future-proofs the settings menu in the sense that it won't get cluttered before people start asking "Hey, shouldn't this be broken into sections?". As of this commit, it is broken into CPU Settings and Video Settings. I also simplified the code that is responsible for setting the valid CPU cores and video backends by simply making UI string arrays that get chosen, based on the platform the Android device is running on.
2013-08-18[Android] Catch a more specific exception type (UnsatisfiedLinkError) when ↵Lioncash
trying to load the main native Dolphin 'library'. Also made the logging tag more specific. It's generally bad to catch Exception because it's not very specific for the person reading the code. It doesn't say why that exception might have happened, it just indicates it's possible for an Exception to happen, which is quite general.
2013-08-17[Android] Make the banners display a little larger. Now they don't look like ↵Lioncash
tiny icons in the game list.
2013-08-17[Android] Fix Wii games.Ryan Houdek
2013-08-17[Android] Prevent duplicate duplicate items from being in the game list at ↵Lioncash
one time. Previously it was possible for a game with the same path and name to be in the list as another. This is annoying because duplicates ae (obviously) no different from the initial item. This prevents duplicates from entering the list. The way this works is: 1. We get the final list of items to add to the list. 2. Loop through it using two indices, which, for this explanation I'll call [item] and [itemAfter] We compare path name at item with index [item] and the path name at item with index [itemAfter] To phrase this numerically comparison works like so: for (int i = 0; i < listSize; i++) { if (i+1 < listSize) item[i].getPath().equals(item[i+1].getPath()) } 3. For each path comparison that is true, remove item at [indexNext].
2013-08-17[Android] Change the Game List items to be formatted similarly to how the ↵Lioncash
folder browser is. Also ensure the 'no banner' icon scales down to the same size as the other banners.
2013-08-17[Android] Simplify if statement conditions for the item click listener in ↵Lioncash
FolderBrowser.java. Since FolderBrowserItems have an 'isDirectory()' method, that's all we need to care about now. There's no need to check subtitles to determine if an item is a directory anymore.
2013-08-17[Android] Shorten FolderBrowserItem's method 'isValidItem()' into ↵Lioncash
'isValid()' makes more sense and less redundancy in terms of 'item.isValidItem()' -> 'item.isValid()'
2013-08-17[Android] FolderBrowserItem objects don't need to store a context.Lioncash
Removed the requirement to pass a context in the constructors. Also cleaned out unnecessary imports.
2013-08-15[Android] Fix a bug where the name would display incorrectly in the game list.Lioncash
Completely missed the 'this.' on the variable. My bad.