summaryrefslogtreecommitdiff
path: root/Source/Android/src/org
AgeCommit message (Collapse)Author
2013-11-16[Android] Simplify the FolderBrowserAdapter a little, as well as the Fill ↵Lioncash
method within FolderBrowser.java. Previously the fill method would create an entire new adapter and assign it to the backing ListView. This is pretty unnecessary, so what it now does is, when the function is called, it clears out the adapter, then simply fills it in again with the new directory's contents. Simple, and doesn't require a reference to the actual ListView to be used.
2013-11-16[Android] Simplify the AboutFragment view inflating. Considering the backing ↵Lioncash
layout is a direct ListView, the original rootView can just be casted to a ListView, no need for an intermediate.
2013-11-16[Android] Use the ViewHolder design pattern for the FolderBrowserAdapter. In ↵Lioncash
directories with a lot of files, this should be noticeably smoother in terms of scrolling. Also fixed the case where the subtitle text might disappear.
2013-11-16[Android] Change the name of the XML layout file ↵Lioncash
gamelist_folderbrowser_list.xml to gamelist_folderbrowser_list_item.xml. More accurate name on what it is.
2013-11-16[Android] Eliminate the need to hold a reference to the shown Fragment ↵Lioncash
within GameListActivity. Now we only care about the numeric ID of the one being shown.
2013-11-16[Android] Fix the handling of orientation changes for the Fragments related ↵Lioncash
to the game list. Now screen orientation changes don't kick you back to the root view.
2013-11-15[Android] Add ability to take screenshots into the emulation menu.Lioncash
2013-11-15[Android] Add screenshot nativelibrary function.Ryan Houdek
2013-11-15[Android] Disable the workaround for Qualcomm devices with driver >= 53 for ↵Ryan Houdek
the rotated framebuffer since it is fixed now.
2013-11-15[Android] Simplify the AboutFragmentAdapter a little bit.Lioncash
- Removes an unnecessary variable. - Shortens the LayoutInflater usage. - Gets rid of an unnecessary override of onAttach.
2013-11-15[Android] Externalize the device compatibility warning strings.Lioncash
2013-11-15[Android] Indicate whether or not the device supports NEON within the About ↵Lioncash
fragment.
2013-11-15[Android] Get rid of some unnecessary variables in the getView() methods of ↵Lioncash
some adapters. Directly referencing convertView is fine.
2013-11-15[Android] Spawn a message if someone's phone doesn't support NEON. NEON is a ↵Ryan Houdek
requirement for Dolphin Mobile on ARM, CPU core will crash without it.
2013-11-15[Android] Documentation and some cleanup.Lioncash
2013-11-14[Android-overlay] Support touch screen axises in native. Have a ↵Ryan Houdek
non-configurable main joystick on screen at this point.
2013-11-14[Android] Get rid of some unnecessary onAttach overrides in AboutFragment, ↵Lioncash
VideoSettingsFragment, and FolderBrowser. These can just be replaced with calls to getActivity().
2013-11-13Merge branch 'master' into android-new-control-input-overlayRyan Houdek
Conflicts: Source/Core/DolphinWX/Src/Android/ButtonManager.h
2013-10-31[Android] Do /not/ give users the benefit of the doubt that the device ↵Ryan Houdek
supports OpenGL ES 3 when we can't grab an OpenGL context. The only devices that fail to do so is PowerVR5 and we can't run with them anyway.
2013-10-27[Android] General cleanup.Lioncash
We no longer need the buttons in Assets, considering they are now resources (ie. drawables). Also remove (now) junk code from VideoSettingsFragment.java. We handle the input overlay within the InputSettingsFragment. Also add a TODO detailing what needs to be refactored when axis support is finally added.
2013-10-27[Android] Overlay now works during emulation.Lioncash
2013-10-26[Android] Change how the onTouchEvent native method works. Just pass in the ↵Ryan Houdek
correct Button ID and Action and it'll be pressed or not. Not actually rigged up to the Java code yet. Doesn't support anything with an Axis yet so no C stick, main stick, L and R triggers
2013-10-26[Android] Add the copyright header to some Java source files that were ↵Lioncash
lacking them.
2013-10-26[Android] Improve an if statement check in InputConfigFragment.java. Also ↵Lioncash
clarify it.
2013-10-25[Android] Add the capability to dynamically enable and disable the input ↵Lioncash
overlay during emulation.
2013-10-25[Android] Fix alignment issues with the overlay config settings.Lioncash
2013-10-25[Android] Maintain the chosen button layout when returning to the input ↵Lioncash
overlay configuration menu. - Also make the overlay configuration screen fullscreen for the app. - Also force the overlay activity to be landscape, since this is the only orientation the EmulationActivity supports.
2013-10-25[Android] The emulation overlay now sets the button positions based upon the ↵Lioncash
locations chosen in the input overlay configuration settings. Documented the hell out of how the initialization of the Drawables works inside InputOverlay.java. Also made the use of InputOverlayItem.java obsolete. So this is now removed.
2013-10-25[Android] Implement a very basic version of the input overlay configuration ↵Lioncash
screen. Still a bit of a mess, but this will get cleaned up during finalizations.
2013-10-24[Android] Documentation typo cleanups from the last commit.Lioncash
Also cleaned up the Javadoc for the constructor of MotionAlertDialog.
2013-10-24[Android] Refactor InputConfigFragment a little bit in preparation for the ↵Lioncash
implementation of the new input overlay. This moves all of the dialog handling into the actual MotionAlertDialog class itself. This is something I should have done a long time ago. Also moved the Gamecube input binding preferences into their own PreferenceScreen.
2013-10-13[Android] Implement OnSharedPreferenceChangeListener within ↵Lioncash
PrefsActivity.java. This allows us to immediately save to the ini config when a preference in the front-end is changed, rather than waiting for the settings window to close. This also allows us to remove handling for preferences from CPUSettingsFragment.java and VideoSettingsFragment.java.
2013-10-10[Android] Replace the getter for the adapter backing the GameListFragment ↵lioncash
with a function that simply clears the array adapter. Maintains encapsulation this way. Simplified the actual setting of the backing ArrayAdapter for GameListFragment; this allows us to make a class variable a method variable now. Also fixed up the Javadoc for the OnGameListZeroListener.
2013-10-10[Android] Actually show the currently selected CPU core and video backend ↵Lioncash
within the settings screen.
2013-10-10Revert "{Android] Eliminate need for even using a byte array when copying ↵Lioncash
assets over." Turns out Android devs decided to opt for one of the most retarded ways of handling assets. Assets with some specific extensions are not compressed (png, jpeg, etc), and anything else is compressed. The AssetManager is so revolutionary, that you actually can't retrieve valid FileChannel descriptors from these compressed files! To add to this revolutionary system, they actually didn't give you a straightforward way of disabling this compression. Now using FileChannels are not possible, and thus we must use the much slower way of copying everything over. Thank you Android devs. Godforbid someone would like to use a non-array based way of copying things that's actually efficient, considering DMA access is possible with FileChannels. This reverts commit 0dd32986b8308e72c64f337217f933f8a74913fe.
2013-10-09{Android] Eliminate need for even using a byte array when copying assets over.Lioncash
2013-10-08[Android] Change the names of the functions responsible for loading/saving ↵Lioncash
config values in UserPreferences.java. Makes readability better, since they have names that actually go with each other now. LoadIniToPrefs() and SavePrefsToIni().
2013-10-08[Android] Rephrase a comment in VideoSettingsFragment.java.Lioncash
2013-10-07[Android] Remove unnecessary equals comparison in VideoSettingsFragment.java ↵Lioncash
in function SupportsGLES3(). contains() can handle this situation.
2013-10-06[Android] Fix an issue where emulation would crash if we couldn't retrieve ↵Ryan Houdek
GPU information. Also if we can't get the graphics information, give them the benefit of the doubt and enable the GLES3 option.
2013-10-06[Android] Tegra 4 'support.' This brings up the OpenGL backend to support ↵Ryan Houdek
Tegra 4 to the point where it will run games but it doesn't have any video output for some reason. This is a large change that doesn't actually change much functionally. Walking through the changes. It changes the string in the Android backend select to just OpenGL ES. Adds a check in the Android code to check for Tegra 4 and to enable the option to select the OpenGL ES backend. Adds a DriverDetails bug under BUG_ISTEGRA as a blanket case of Tegra 4 support. The changes that effects most lines in this change. Removing all float suffixes in the pixel/vertex/util shaders since OpenGL ES 2 doesn't support float suffixes. Disables the shaders for reinterpreting the EFB format since Tegra 4 doesn't support integers. Changes GLFunctions.cpp to grab the correct Tegra extension functions. Readds the GLSL 1.2 'hacks' as GLSLES2 'hacks' since they are required for GLSL ES 2 Adds a GLSLES2 to the GLSL_VERSION enum. Disable the SamplerCache on Tegra since Tegra doesn't support samplers... Enable glBufferSubData on Tegra since it is the only mobile GPU to correctly work with it. Disable glDrawRangeElements on Tegra since it doesn't support it, This uses glDrawElements instead.
2013-10-02[Android] Make sure to change the title accordingly when coming back from ↵Lioncash
the folder browser.
2013-10-02[Android] Simplify LayoutInflater retrieval within GameListAdapter, ↵Lioncash
FolderBrowserAdapter, and SideMenuAdapter. Also added Javadoc to SideMenuAdapter. Gave the context variables a full spelling as well.
2013-10-02[Android] Simplify a string retrieval in FolderBrowserAdapter.Lioncash
Also remove an unnecessary import from EmulationActivity.java. This should have been removed in the previous commit.
2013-10-02[Android] Simplify call for getting the WindowManager instance within ↵Lioncash
EmulationActivity.
2013-10-02[Android] General documentation cleanup and additions. Adjusts the ↵Lioncash
documentation to conform to the multitude of changes that have been made over time. Very minor code changes were made as well (of which were mostly for formatting). Such as adding override annotations to methods from the Comparable interface, so that they are clearly marked as such.
2013-10-01[Android] Make the GameListFragment extend a ListFragment instead of a ↵Lioncash
Fragment. This allows us to simplify behavior a little by eliminating the need for an AdapterView. Now we just override "onListClick" and achieve the same result.
2013-10-01[Android] Externalize how the formatting is used in the file size string, ↵lioncash
the file clicked string, and the current dir string.
2013-10-01[Android] Remove an unnecessary method override from GameListActivity.java. ↵lioncash
We don't actually do anything different from the default behavior of this method, so we don't need to explicitly define it. This method is intended to be used for modifying the contents of a menu before displaying it. We don't really have a need for this, since it doesn't need to be modified.
2013-09-27[Android] Return true upon displaying the exit confirmations dialog in ↵Lioncash
EmulationActivity.java. Now multiple games can be launched like normal. Previously it was returning false.