Sepalani
95ea721f06
Tools: Load GameCube BIOS added
2017-05-22 22:44:21 +01:00
Léo Lam
cf0c4455cd
Fix indirect includes
2017-05-22 10:39:36 +02:00
Pierre Bourdon
d486904e9b
build.gradle: do not change the output filename, our CI relies on it
2017-05-20 05:54:55 +02:00
JosJuice
ac5c82b36b
DiscIO: Remove VolumeCreator
...
This file is pretty small now that it doesn't handle Wii
partitions anymore, so let's move its contents to Volume.cpp.
This is also more consistent with how blob creation works.
2017-05-19 18:33:21 +02:00
Lioncash
35aa55931f
MainAndroid: Resolve -Wmissing-variable-declarations warnings
2017-05-18 19:55:05 -04:00
Sean Maas
3e33c99f4c
Android: Initialize video backend setting on first run
2017-05-18 08:44:45 -04:00
Sean Maas
d4728807e0
Android: Add pressed dpad images for other DPIs
2017-05-15 08:32:22 -04:00
Sean Maas
3bd8890486
Android: Prevent stuck on-screen buttons
2017-05-15 08:32:07 -04:00
Sean Maas
6190b1c4e2
Android: Animate onscreen joystick
...
Invalidate more often, display nub as pressed when in use, and implement
basic nub bounds.
2017-05-14 15:29:47 -04:00
Mahdi Hijazi
216a7ceea8
Android: Add pressed state to the on-screen controllers
...
Now the buttons will be shown in different color to indicate a press event
2017-05-14 18:41:04 +02:00
JosJuice
0146456af0
Don't translate button names
...
Since these button names are printed on all real controllers,
we should show them in the same way as they are printed on
the controllers, regardless of the user's language. It seems
like this was intended all along (except for "Start"), but the
_ markers in TASInputDlg.cpp (accidentally?) led to the button
names in the controller configs also becoming translatable.
I'm making exceptions for "L" and "R" because translators
may want to mark them in some way (for instance "L-Digital")
to clarify the difference from "L-Analog" and "R-Analog".
I'm also making an exception for START/PAUSE because it's
referred to as スタート in Japanese games.
I'm changing "Home" and "Start" to uppercase for consistency
with how Nintendo refers to those buttons, and because someone
who isn't familiar with the Latin script might not know the
connection between the lowercase and uppercase letters (most
users likely do know the connection, but we shouldn't assume it),
and because leaving "Start" as "Start" makes it "collide" with
unrelated strings, such as the string for the button that starts
a netplay session.
To rename "Start" and "Home" without breaking INI
compatibility, I added a ui_name variable like in f5c82ad
.
2017-05-06 16:29:10 +02:00
Tim Mutton
3dde12af13
Update support version
2017-05-04 17:21:31 +10:00
Tim Mutton
61aa507d23
Make apk name more descriptive
2017-05-04 17:13:31 +10:00
Tim Mutton
1fe1e11e0e
Use try/catch with logging for version number
2017-05-04 17:13:31 +10:00
Tim Mutton
c8d66fa246
Nix and windows variant of getting tag
2017-05-04 17:13:31 +10:00
Tim Mutton
8908d10028
Use different git command for version name
2017-05-04 17:13:31 +10:00
Tim Mutton
3d95bf0837
Revert change to version code until I can work out why its 13
2017-05-04 17:13:31 +10:00
Tim Mutton
6b704f5059
Update to latest libraries, use correct version name
2017-05-04 17:13:30 +10:00
Mahdi Hijazi
ed30caa3dd
[Android] Fix crash on the Android TV
...
Whenever the EmulationActivity crashes and the app gets back to the
TvMainActivity, dolphin will crash tring to restor the mBrowseFragment
since we don't save the adapter data in the bundle.
This is quick hack to avoid the crash. The proper fix would be to save the
adapter data in the bundle and restore it before restoring the fragment
when the activity gets recreated.
Crash Stacktrace:
Process: org.dolphinemu.dolphinemu.debug, PID: 30353
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.dolphinemu.dolphinemu.debug/org.dolphinemu.dolphinemu.ui.main.TvMainActivity}: java.lang.IllegalArgumentException: Invalid position 1 requested
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2691)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2752)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1461)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6120)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
Caused by: java.lang.IllegalArgumentException: Invalid position 1 requested
at android.support.v17.leanback.app.BrowseFragment.createMainFragment(BrowseFragment.java:509)
at android.support.v17.leanback.app.BrowseFragment.replaceMainFragment(BrowseFragment.java:1454)
at android.support.v17.leanback.app.BrowseFragment.setAdapter(BrowseFragment.java:764)
at org.dolphinemu.dolphinemu.ui.main.TvMainActivity.buildRowsAdapter(TvMainActivity.java:183)
at org.dolphinemu.dolphinemu.ui.main.TvMainActivity.onCreate(TvMainActivity.java:59)
at android.app.Activity.performCreate(Activity.java:6664)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2644)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2752)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1461)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6120)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
2017-05-03 23:58:40 +02:00
Mahdi Hijazi
796039e340
[Android] Add the missing Stereoscopic options
2017-05-03 11:56:09 +02:00
Mahdi Hijazi
ff475a2c02
[Android] Fix edit controls layout
...
Not checking the none existing key in the buttonsActionsMap
leads to break the sub menu of the configure controls menu
on Android phones.
2017-04-30 01:46:32 +02:00
Mahdi Hijazi
1e73f3c76e
[Android] Fix game banners
...
Use Bitmap.setPixels() instead of Bitmap.copyPixelsFromBuffer() the former
use non pre-multiplied values of the colors which is what we expect to
come from the native code.
2017-04-27 20:41:55 +02:00
MerryMage
ee7e6edf31
Android: Add audio stretch setting
2017-04-18 18:42:02 +01:00
JosJuice
9cd9ae902a
x86-64 support on Android
...
We can do this now that the x86-64 JIT supports PIE.
JITIL is deliberately excluded from the GUI because it
doesn't support PIE yet. (JITIL will be used if it's
set in the INI, though.)
2017-04-16 11:53:33 +02:00
Markus Wick
9b1e2c2b1e
Merge pull request #5118 from mahdihijazi/master
...
[Android] Load the game banner from the ROM and use it if no screenshot is available
2017-04-03 16:20:34 +02:00
Stenzek
105be9b514
Android: Add option for enabling GPU texture decoding
2017-04-01 12:32:57 +10:00
Mat M
542fb347f1
Merge pull request #5160 from mahdihijazi/enhance_style
...
android: Change the color of the selected slot to make it more visible
2017-03-31 03:57:32 -04:00
Mahdi Hijazi
8f2f833f9d
Update to Android SDK 25
...
This handles the new permission system in Android M.
2017-03-25 14:55:15 +01:00
Mahdi Hijazi
f1fd336a03
Change the color of the selected slot to make it more visible
...
On Android TV the selected slot is not cleary hilighted, this is to fix
that but changing the selected slot text color to blue.
2017-03-25 09:55:53 +01:00
Mahdi Hijazi
ba935d40ba
[Android] Load the game banner from the iso and use if no screenshot is available
...
It doesn't look that good since the banners are 96x32 but it still better
than nothing.
2017-03-24 21:26:48 +01:00
Mahdi Hijazi
ecf2eaac99
Remove obselete game menu settings button
2017-03-18 22:08:49 +01:00
Mahdi Hijazi
4c0e5dedb4
Fix loading the saved screen shots for Android version
...
Apparently the path was changed from using "/thump.png" to using
"/gameId-#.png". We will always use the first screenshot for the game
broswer wich will be "/gameId-1.png"
2017-03-18 22:08:41 +01:00
Mahdi Hijazi
d19f9038da
Fix menu actions on Android TV
...
Saving screenshot was not working due to 2 problems. The first one is that
the view id of the save screenshot in the Android TV fragment doesnt match
the one declared inside the menu_emulation. Second Problem will be fixed
in another commit.
This commit chnage the code to not depend on reusing the ids of the menu
everywhere in the emulator inorder for the onMenuItemClicked to work.
Instead you need to call EmulationActivity.handleMenuAction passing
the action to handle regardless of the ids you are using in the view.
2017-03-18 22:08:32 +01:00
Markus Wick
489d90b6f3
Merge pull request #4999 from stenzek/renderer-statics
...
VideoCommon: Eliminate static state in Renderer
2017-03-08 11:02:20 +01:00
degasus
a3f79f88cd
Android: Update android studio + gradle.
...
Android studio 2.3 finally displays the result of the native compilation, so C++ warnings are now shown in the build log.
2017-03-04 15:53:40 +01:00
Stenzek
459a5ab554
Android: Move screenshot waiting logic to Renderer
2017-03-04 16:53:16 +10:00
Stenzek
afc25fdca0
VideoCommon: Rename Renderer s_ prefixes to m_
2017-03-04 16:42:21 +10:00
Markus Wick
56afabb9a8
Merge pull request #4919 from ntruhan/master
...
Android: Sort configuration ini files
2017-03-03 00:39:12 +01:00
Lioncash
beec40f178
IniFile: Handle s64/u64 values
2017-02-25 00:03:20 -05:00
ntruhan
3d8ab184ac
Android: Sort configuration ini files
2017-02-16 13:08:00 -05:00
Lioncash
e07383a783
Core: Convert State enum into an enum class
2017-02-05 08:32:23 -05:00
Florent Castelli
fa04c1479e
cmake: Remove PCH support
...
Compilers are very picky and don't use PCH when they have been compiled
with different flags. I even got some ICE in MSVC, so removing them for now.
Modules are the solution.
2017-01-24 03:22:03 +01:00
Michael Maltese
21ae6afa73
Android: remove unused android.toolchain.cmake
...
Gradle automatically sets up the CMake build and this file isn't referenced
anywhere.
2017-01-22 16:54:08 -08:00
Sarkie
8c5c7f8d2a
Updated gradle to latest version
2017-01-17 10:19:39 +00:00
Sean Maas
cc29691875
Android: Change Exit Without Saving to Save and Exit
2017-01-10 17:12:42 -05:00
Tillmann Karras
7284c7a954
Android: fix software renderer 2nd edition
2017-01-09 11:58:19 +00:00
Tillmann Karras
7e21732b53
Android: fix software renderer settings string
2017-01-08 17:28:14 +00:00
JosJuice
9bd514ed1c
Add TGC disc image compatibility
2016-12-18 18:57:36 +01:00
Sean Maas
8647639746
Android: Fix Wii bindings resetting everything
2016-11-29 22:27:40 -05:00
Sean Maas
a90731e2ae
Android: Add input binding menus
2016-11-26 18:29:33 -05:00
Sean Maas
d10b336b0a
Android: Add InputBindingSetting class
...
Also update MotionAlertDialog to work with the new setting, and remove the
old InputBindingPreference.
2016-11-26 18:29:25 -05:00
Sean Maas
128c1f04ad
Android: Specify ini file for every setting
...
Load all the inis at once, choose which one to write to, and save them all
at the same time. This allows us to modify settings from different files
on the same settings page.
2016-11-14 18:34:06 -05:00
Markus Wick
6a2e1e9986
Merge pull request #4429 from SeannyM/android-invert-settings
...
Android: Fix inverted EFB settings
2016-11-14 10:07:10 +01:00
Jules Blok
aab6b70868
MainAndroid: Remove obsolete Host_RequestFullscreen() function
2016-11-11 20:48:19 +01:00
Jules Blok
8203ea929b
BlockingLoop: Yield to UI message pump while waiting.
2016-11-11 13:37:02 +01:00
Sean Maas
beff65854a
Android: Fix inverted EFB settings
2016-11-06 12:50:56 -05:00
Pringo
93bdab64fa
Change "Wiimote" to "Wii Remote" in Logs
2016-11-03 17:58:28 -07:00
Markus Wick
1c9ed79c6a
Merge pull request #4409 from sigmabeta/android-tv-screenshot-errors
...
[Android TV] Fix a screenshot glitch on game selector
2016-10-31 23:34:41 +01:00
Markus Wick
4f5d0cd450
Merge pull request #4391 from Pringo/wii-remote
...
Change "Wiimote" to "Wii Remote" in Interface
2016-10-31 12:49:16 +01:00
Markus Wick
d5ca153c26
Merge pull request #4401 from JosJuice/rename-getuniqueid
...
DiscIO/SConfig: Rename GetUniqueID to GetGameID
2016-10-31 12:39:27 +01:00
sigmabeta
64cf56dda3
Clear screenshot in game grid before attempting to render on Android TV devices
2016-10-30 18:53:57 -04:00
JosJuice
1081497cad
DiscIO/SConfig: Rename GetUniqueID to GetGameID
...
We call this "game ID" everywhere else, and it's not
actually completely unique.
2016-10-29 15:24:02 +02:00
Markus Wick
838b234317
Merge pull request #4389 from SeannyM/android-dir-restrict
...
Android: Allow accessing all folders
2016-10-26 08:49:27 +02:00
Pringo
4bd5674b85
Change "Wiimote" to "Wii Remote" in Interface
...
The usage of "Wii Remote" and "Wiimote" in the interface is inconsistent. "Wiimote" is also not a real word nor is it an official product name. Therefore I have changed instances of "Wiimote" in the UI to instead say "Wii Remote". I also made a couple of minor grammatical changes as well.
This is mostly a resubmission of #4338 but there are some minor other changes as well.
2016-10-25 19:49:41 -07:00
Sean Maas
f257c3385b
Android: Fix screenshots on game list
2016-10-25 22:25:34 -04:00
Sean Maas
351825aa10
Android: Allow accessing all folders
2016-10-25 21:55:31 -04:00
Sean Maas
9eb0ab936f
Android: Remove Japanese strings
...
These were very outdated and unmaintained.
2016-10-25 14:20:19 -04:00
Sean Maas
68affd37a1
Android: Remove unused stuff
2016-10-25 14:20:15 -04:00
Sean Maas
3b28fe11d6
Android: Cleanup formatting
2016-10-25 14:18:06 -04:00
Sean Maas
12db4e4882
Android: Fix "up one level" button
2016-10-24 23:16:51 -04:00
shuffle2
720cb34573
Merge pull request #4347 from SeannyM/android-wii-control
...
Android: On-screen classic controller + Wii controller select
2016-10-15 22:51:27 -07:00
Sean Maas
662cedfb78
Android: Fix some settings
2016-10-15 23:14:48 -04:00
Sean Maas
f981098438
Android: On-screen classic controller + Wii controller select
...
It's now possible to switch between a horizontal or vertical Wiimote
with no extension, a Wiimote with a Nunchuk, a Classic Controller,
or a GameCube Controller when running a Wii game.
2016-10-13 21:31:36 -04:00
Sean Maas
126117cdf7
Android: Use the light theme for emulation
2016-10-12 22:45:03 -04:00
Sean Maas
05f78a7707
Android: Add custom control scaling
...
Also put all touch control settings under a "Configure Controls" submenu
so the in-game menu isn't so cluttered.
2016-10-09 19:00:32 -04:00
sigmabeta
01b8a937ff
Fix games being invisible in the game list on non-TV devices
2016-10-08 08:57:32 -04:00
degasus
05eff01229
Android: Update the gradle file to use android studio 2.2 cmake.
2016-10-05 23:44:10 +02:00
Stenzek
4a4f6cc135
Android: Add video backend choice to settings
2016-10-01 02:40:02 +10:00
Stenzek
6a99cbd9fc
VideoCommon: Call Renderer::SurfaceChanged on render parent resize
...
This is needed because for some reason the WSI for NV Vulkan drivers
doesn't return VK_ERROR_OUT_OF_DATE_KHR, so there is no other way to know
that a resize has occured apart from polling, which is a poor solution for
X11 (since it is blocking).
2016-10-01 01:09:12 +10:00
Sean Maas
a317953ad4
Android: More accurate button scaling
...
Also scale based on button ID for consistency.
2016-09-29 21:46:46 -04:00
Sean Maas
313be655f4
Android: Option to toggle on/off individual buttons
2016-09-29 20:06:59 -04:00
Sean Maas
50b44fa337
Android: More on-screen buttons
...
GameCube now has a c-stick. For Wii games, there is now a Wiimote + Nunchuk setup.
2016-09-29 20:06:59 -04:00
Sean Maas
bd99b318e5
Android: Add on-screen dpad support
2016-09-29 20:06:59 -04:00
Sean Maas
c24a22e30f
Android: Use button IDs to save screen layout
...
Using the drawable caused problems such as not being able to have multiple joysticks.
2016-09-29 20:06:59 -04:00
MaJoR
daac4c4ae9
Adding forgotten wiimote home button
...
Ooops, forgot something. This adds the home button, that's all.
2016-09-28 23:28:44 -07:00
Markus Wick
dc40e75642
Merge pull request #4248 from SeannyM/android-left
...
Android: Fix Wiimote left button
2016-09-26 08:52:46 +02:00
Sean Maas
6ca8974b13
Android: Fix Wiimote left button
2016-09-25 21:05:40 -04:00
MaJoR
df5ea3d292
Adds Android Wiimote button images.
...
These were made when the button images were first remade many months ago, but they were never committed since there was no use for them at the time (and laziness :P). BUT now there is a PR that finally has use for these images, so it's time to get this into Dolphin and available for use!
2016-09-23 02:25:31 -07:00
Markus Wick
023eb34247
Merge pull request #4229 from SeannyM/android-joystick
...
Android: fix joystick saving incorrect y-coordinate
2016-09-20 07:03:15 +02:00
Sean Maas
001afae420
Android: fix joystick saving incorrect y-coordinate
2016-09-19 18:03:30 -04:00
Markus Wick
90ab952588
Merge pull request #4219 from SeannyM/android-state
...
Android: fix save and load state menus on non-TV devices
2016-09-19 22:32:05 +02:00
Markus Wick
0e2ec349ad
Merge pull request #4221 from SeannyM/android-cleanup
...
Android: remove unused files
2016-09-19 22:30:20 +02:00
Sean Maas
9d54c472ae
Android: scale buttons based on smaller screen dimension
2016-09-18 17:48:47 -04:00
Sean Maas
d49b38a5c9
Android: remove unused files
2016-09-16 18:24:16 -04:00
Sean Maas
094470ead6
Android: fix save and load state menus on non-TV devices
2016-09-16 17:43:38 -04:00
sigmabeta
8724df3b70
Fix crash caused by trying to reference touch-screen config UI on devices without touchscreen
2016-07-30 09:33:35 -04:00
Ironthighs
1ad32ee382
-Commented out lines disabling lint translation messages.
2016-07-22 23:01:45 -05:00
Ironthighs
89b5bc9ee5
-Fixed some various coding standard issues from previous commit.
2016-07-22 23:01:45 -05:00
Ironthighs
3dfeea01da
-Implemented ability to configure game controls by moving them around individually. Controls save locations once they are placed.
2016-07-22 23:01:45 -05:00
JosJuice
0a15aaaa12
Move DiscIO enums to a new file
...
At first there weren't many enums in Volume.h, but the number has been
growing, and I'm planning to add one more for regions. To not make
Volume.h too large, and to avoid needing to include Volume.h in code
that doesn't use volume objects, I'm moving the enums to a new file.
I'm also turning them into enum classes while I'm at it.
2016-07-13 17:29:27 +02:00
degasus
d79aeaa1e9
VideoCommon: Drop GetConfigName.
...
We're past 5.0 now, so there is no need to look for old inis.
2016-06-26 12:34:59 +02:00
JosJuice
1878605d77
Undo some comment formatting changes from b5104a7
2016-06-25 18:07:10 +02:00
Rukai
b5104a79f1
GCVolume: supports reading all opening.bnr information
...
DQT2: Game properties dialog contains info tab giving information about the selected iso.
2016-06-26 00:03:59 +10:00
spider-mario
9e82694071
Fix configStrings in Android’s ButtonManager
...
The bug was exposed by clang-format.
2016-06-24 22:36:15 +02:00
Pierre Bourdon
3570c7f03a
Reformat all the things. Have fun with merge conflicts.
2016-06-24 10:43:46 +02:00
Mat M
08d45b9fea
Merge pull request #3794 from EmptyChaos/frame-advance-race
...
Core: Add synchronization to state changes (Fix Frame Step and FIFO Player - Issue 8718)
2016-05-22 15:19:16 -04:00
Tyler Dunn
cf65199d86
[Android] Fix extra character in screenshot folder path
...
Environment.getExternalStorageDirectory().getPath() covers the end of the path with a slash, get rid of the extra slash to fix the path.
2016-05-20 15:24:49 -04:00
Tyler Dunn
4a0a92e95e
[Android] Bump gradle plugin to 2.1.0
...
And fix deprecation warning in script
2016-05-18 22:31:54 -04:00
Tyler Dunn
a5b72abf2c
[Android] Reduce code redundancy
2016-05-18 22:13:33 -04:00
Tyler Dunn
937caea1c9
[Android] Drop commit() for apply()
...
Apply is asynchronous, and we aren't expecting a return value so there
is no reason not to use apply.
2016-05-18 22:10:52 -04:00
Tyler Dunn
a0b54f558e
[Android] Don't hardcode SD card path
2016-05-18 22:10:42 -04:00
Tyler Dunn
6a870c2417
[Android] Fix possible leak of fileCursor
2016-05-18 22:10:29 -04:00
JosJuice
dc3bbeb92f
Fix reading CISO files on Android
2016-05-17 14:20:59 +02:00
EmptyChaos
c1944f623b
Core/Movie: Add ability to run code in Host context
...
EndPlayInput runs on the CPU thread so it can't directly call
UpdateWantDeterminism. PlayController also tries to ChangeDisc
from the CPU Thread which is also invalid. It now just pauses
execution and posts a request to the Host to fix it instead.
The Core itself also did dodgy things like PauseAndLock-ing
from the CPU Thread and SetState from EmuThread which have been
removed.
2016-05-13 09:23:44 +10:00
EmptyChaos
c1922783f8
Core: Threadsafety Synchronization Fixes (Frame Advance / FifoPlayer)
...
Fix Frame Advance and FifoPlayer pause/unpause/stop.
CPU::EnableStepping is not atomic but is called from multiple threads
which races and leaves the system in a random state; also instruction
stepping was unstable, m_StepEvent had an almost random value because
of the dual purpose it served which could cause races where CPU::Run
would SingleStep when it was supposed to be sleeping.
FifoPlayer never FinishStateMove()d which was causing it to deadlock.
Rather than partially reimplementing CPU::Run, just use CPUCoreBase
and then call CPU::Run(). More DRY and less likely to have weird bugs
specific to the player (i.e the previous freezing on pause/stop).
Refactor PowerPC::state into CPU since it manages the state of the
CPU Thread which is controlled by CPU, not PowerPC. This simplifies
the architecture somewhat and eliminates races that can be caused by
calling PowerPC state functions directly instead of using CPU's
(because they bypassed the EnableStepping lock).
2016-05-13 09:23:44 +10:00
degasus
2030ad4577
SCM: Use std::string.
...
Those macros may be defined, or not. We should support both cases, so use std::string as it also defines the length of the string.
2016-05-05 00:22:49 +02:00
degasus
3a4ff30745
Android: Also create directorys for the Wii files.
2016-04-24 14:44:30 +02:00
degasus
18db9498d7
Android: Check asset overwrite per file.
...
So new files will be added, eg the missed Wii directory.
2016-04-24 14:44:30 +02:00
degasus
3f704dca75
Android: Also copy sys/Wii directory.
...
Seems like this one was just missed, some games just did not start without it.
2016-04-24 14:44:30 +02:00
sigmabeta
57eea4f330
Fix android builds permanently.
2016-04-02 10:14:40 -04:00
degasus
6cd7740f4b
Android: Update gradle version
2016-04-02 13:56:30 +02:00
Pierre Bourdon
2d1c0e4092
Merge pull request #3722 from Sonicadvance1/upgrade_to_new_MaJoR1
...
Update to MaJoR1's latest on screen buttons
2016-03-27 22:43:22 +02:00
Ryan Houdek
38a5183eb4
Fix Android buildbot
2016-03-12 15:44:13 -06:00
Ryan Houdek
baee7f0d15
Update to MaJoR1's latest on screen buttons
2016-03-08 20:27:03 -06:00
Tyler Dunn
309b0c53bf
[Android] Remove CPUHelper class
2016-03-04 16:17:41 -05:00
Ryan Houdek
b57cb30c41
[Android] Make sure the file extension check isn't case sensitive
2016-03-03 08:29:51 -06:00
Pierre Bourdon
265c6408d6
Merge pull request #3686 from Armada651/revert-3578
...
Revert "Merge pull request #3578 from Armada651/forced-slow-depth"
2016-03-03 02:03:03 +01:00
Pierre Bourdon
8e1aff34df
Merge pull request #3682 from Alcaro/master
...
Run pngout and zopflipng on every single PNG in this repo.
2016-02-29 17:27:29 +01:00
Alcaro
da68dfc2f4
Use optipng too.
2016-02-29 17:08:18 +01:00
Ryan Houdek
c82feb6c08
Merge pull request #3626 from Sonicadvance1/more_robust_gcadapter
...
Improve stability of the Wii U Gamecube Controller adapter under Android.
2016-02-29 09:54:01 -05:00
Jules Blok
6d1628eda4
Revert "Merge pull request #3578 from Armada651/forced-slow-depth"
...
This reverts commit e2a1a085b6
, reversing
changes made to 2aea549eef
.
2016-02-29 00:55:51 +01:00
Alcaro
a79d9ccfa1
Run pngout and zopflipng on every single PNG in this repo.
2016-02-27 22:25:51 +01:00
Ryan Houdek
6513062144
Merge pull request #3596 from Sonicadvance1/fix_android_crash
...
[Android] Fix crash when we don't have access to a folder.
2016-02-22 16:15:54 -05:00
Jules Blok
e2a1a085b6
Merge pull request #3578 from Armada651/forced-slow-depth
...
VideoConfig: Replace FastDepthCalc by ForcedSlowDepth.
2016-02-22 11:29:09 +01:00
Ryan Houdek
6cc40b1235
Improve stability of the Wii U Gamecube Controller adapter under Android.
...
Under failure conditions of the GC Adapter, When interface count is zero and we can't open the device.
Then there were race conditions on shutdown of the threads which could result in crashing.
Make adapter opening more robust like the Mayflash DolphinBar.
Make shutdown more robust by making the read thread control the write thread.
Make sure that there is actual data to be written when kicking the write thread. So it doesn't attempt a write a shutdown.
Make a toast on screen to tell the user that the adapter needs to be unplugged and plugged back in again for it to work.
2016-02-13 08:17:20 -06:00
sigmabeta
c2d03e62e7
Add Wiimote graphic
2016-02-08 21:23:16 -05:00
sigmabeta
dd4082f216
Add Wiimote Speaker option
2016-02-08 21:23:16 -05:00
sigmabeta
85cf07e87e
Add Wiimote Input menu
2016-02-08 21:23:16 -05:00
Jules Blok
fb2f8e49bb
Android: Remove FastDepthCalc option.
2016-02-08 12:26:56 +01:00
Ryan Houdek
fe53461611
[Android] Implement support for real Wiimotes with the DolphinBar
...
This is the only way to get Wiimotes working under Android now.
This, just like the Wii U Gamecube Controller Adapter, completely goes around Android's limitations and talks with the device directly through USBManager.
Couple notes.
Continuous scanning must be enabled otherwise the Wiimotes won't be seen.
The UI doesn't expose support for this yet. One must change the Wiimote source and continuous scanning settings manually.
Testing up to two wiimotes in Taiko No Tatsujin, no reason to believe all four won't work.
2016-02-07 05:31:48 -06:00
Ryan Houdek
07434e3a65
[Android] Fix crash when we don't have access to a folder.
2016-02-05 22:03:33 -06:00
sigmabeta
7542eafd58
Fix capitalization on "GameCube" strings
2016-01-31 10:17:30 -05:00
sigmabeta
93056e3988
Change SettingsActivity label to "Settings" instead of "CPU Settings"
2016-01-31 10:06:00 -05:00
sigmabeta
9215878868
Add some stability fixes, though probably not enough
2016-01-30 10:24:44 -05:00
sigmabeta
bc03bbccf1
Make necessary modifications to Java_GCAdapter for permissions request
2016-01-30 10:10:15 -05:00
sigmabeta
6115d39a7a
Implement Gamecube Input setting screen
2016-01-29 23:33:06 -05:00
Ryan Houdek
f1ca95eec7
Merge pull request #3553 from Sonicadvance1/more_android_gc_adapter
...
Implement requesting permission for using the GC Wii U Adapter.
2016-01-29 23:12:37 -05:00
Ryan Houdek
b846ec084e
Implement requesting permission for using the GC Wii U Adapter.
2016-01-27 15:08:45 -06:00
sigmabeta
28bcd2636b
Fix CPU Core selection on x86-64 devices (really, just the Android emulator)
2016-01-25 09:28:57 -05:00
sigmabeta
96e7f774ae
Fix rotations in Settings screen breaking everything
2016-01-25 09:28:57 -05:00
sigmabeta
fb04622039
Fix bugs in Setting screen & add a way to exit without saving
2016-01-24 19:31:34 -05:00
sigmabeta
cf7f5d078b
Fix accessing video settings on Android TV
2016-01-24 10:04:06 -05:00
sigmabeta
04974835d6
Add fragment transition animations to the Settings UI screen
2016-01-23 17:00:54 -05:00
sigmabeta
2190496ce8
Fix special case for XFB & update EFB to match desktop
2016-01-23 12:28:51 -05:00
sigmabeta
cee84d8e90
Cleanup and documentation
2016-01-23 12:28:51 -05:00
sigmabeta
d90dce6d12
Implement video settings + support for missing files / settings
2016-01-23 12:28:51 -05:00
sigmabeta
c8e4008b83
Implement Seekbar dialog and SingleChoice dialog
2016-01-23 12:28:50 -05:00
sigmabeta
ce8a3d9bfb
Implement basic framework for new Settings UI
2016-01-23 12:28:50 -05:00
sigmabeta
e49f9b10a8
Implement Java-based Config file read/save
2016-01-23 12:28:50 -05:00
Ryan Houdek
ba8dc2cef3
Merge pull request #3517 from sigmabeta/android-animation-refactor
...
[Android] Refactor animations
2016-01-22 06:24:57 -05:00
sigmabeta
11fb26afa1
Fix android builds
2016-01-21 22:55:51 -05:00
Ryan Houdek
c399eefdaa
Strip the Android shared library file.
...
This cuts down the shared library size from ~11MB to ~5.5MB
2016-01-20 10:40:42 -06:00
sigmabeta
85ef16a75a
Create static helper methods for pixel-to-DP conversion
2016-01-16 10:33:59 -05:00
sigmabeta
d677f9ce16
Externalize animation code into static methods
2016-01-16 10:33:59 -05:00
Ryan Houdek
0271f05ab8
Merge pull request #3492 from sigmabeta/android-update-build-tools
...
[Android] Update build tools + support libraries
2016-01-13 16:35:52 -05:00
sigmabeta
5fef956384
Prevent screenshot from showing on EmulationActivity rotation events
2016-01-12 10:33:00 -05:00
sigmabeta
5f43976b10
Create a static Log class to call into instead of the default android one
2016-01-12 09:54:19 -05:00
Ryan Houdek
bd31b1411b
Merge pull request #3493 from sigmabeta/android-tv-screenshot-bugfix
...
[Android] Minor refactor + bugfix
2016-01-11 16:04:56 -05:00
Ryan Houdek
78bb37b29f
Merge pull request #3494 from Sonicadvance1/android_rotation
...
[Android] Add support for rotation and minimizing the application
2016-01-11 01:18:37 -05:00
Ryan Houdek
5a549ef663
[Android] Add support for rotation and minimizing the application
2016-01-10 13:00:32 -06:00
Ryan Houdek
d17bcbb489
[Android] Pause and resume emulation using proper functions
2016-01-10 12:23:40 -06:00
sigmabeta
db0a923083
Refresh screenshots in TvMainActivity after emulation complete
2016-01-10 13:18:20 -05:00
sigmabeta
7ff558886a
Refactor EmulationActivity to be launched exclusively by its static launcher method
2016-01-10 13:00:01 -05:00
sigmabeta
e34abd5739
Move TvMainActivity to ui.main package
2016-01-10 12:10:02 -05:00
sigmabeta
13f336051f
Update build tools + support libraries
2016-01-10 10:58:12 -05:00
sigmabeta
df2f783a77
Refactor PlatformGamesFragment to MVP structure
2016-01-10 10:37:32 -05:00
sigmabeta
a455305c23
Refactor AddDirectoryActivity and SettingsActivity to be launched exclusively via their own launcher method
2016-01-09 23:35:25 -05:00
sigmabeta
24efce4cea
Refactor TvMainActivity to MVP architecture
2016-01-09 20:32:10 -05:00
sigmabeta
81657b6710
Refactor MainActivity to MVP architecture
2016-01-09 18:08:04 -05:00
sigmabeta
f58a8561f8
Refactor DB read code to use RxJava
2016-01-09 13:10:22 -05:00
Pierre Bourdon
dd1192b709
Merge pull request #3449 from freelancer42/android_finish_main_activity_after_autostartfile
...
StartupHandler.java: Finish main activity if AutoStartFile is specified in intent
2016-01-07 00:50:47 +01:00
Pierre Bourdon
e668fd7a02
Merge pull request #3465 from Sonicadvance1/Android_move_jni
...
Move Android JNI bits from DolphinWX to the Android folder.
2016-01-07 00:47:39 +01:00
Ryan Houdek
74478addeb
Move Android JNI bits from DolphinWX to the Android folder.
2016-01-06 15:36:44 -06:00
Ryan Houdek
7fcb5a803b
Merge pull request #3359 from degasus/ini
...
VideoConfig: Use "GFX.ini" for both D3D and OGL.
2016-01-06 16:02:23 -05:00
degasus
ad1f7576ad
VideoConfig: Use "GFX.ini" for both D3D and OGL.
...
They share the same format, so there is no need to separate their configs.
2016-01-06 21:43:11 +01:00
Ryan Houdek
e3da564418
Merge pull request #3440 from Sonicadvance1/Android_WiiU_Adapter
...
[Android] Disable screen lock when a title is running.
2016-01-06 15:42:25 -05:00
Ryan Houdek
342496563d
Merge pull request #3455 from Sonicadvance1/GC_adapter_android
...
[Android] Add support for the Wii U Gamecube adapter under Android.
2016-01-06 15:07:09 -05:00
Ryan Houdek
1a207b06ae
[Android] Fix enabling and disabling Gamecube controllers.
2016-01-06 11:54:46 -06:00
Ryan Houdek
e62503c873
[Android] Add support for the Wii U Gamecube adapter under Android.
...
No way to properly enable it from an end user perspective yet.
Doesn't require root.
This same sort of system can be used for the Dolphinbar in the future for real wiimote support.
2016-01-06 01:10:54 -06:00
Kim Johnsson
204201bcbc
StartupHandler.java: Finish main activity if AutoStartFile is specified in intent
...
Call finish() on parent (main/browser) activity after starting EmulationActivity if AutoStartFile was specified. This makes the experience more streamlined for users who want to start games from an external frontend, since they don't expect to return to the Dolphin main activity after they've played their game.
2016-01-05 13:55:30 +01:00
Phatcat
b2ad0d0793
Android: 4k Internal Resolution support
...
Adds two more internal resolution options (including 4k) to the Android
configurations
2016-01-04 13:36:06 +01:00
Phatcat
f62054e467
Android: More analog input configurations
...
Lets the user set the following in intervals of 10 between 10 and 100;
- Stick/Radius (default 100,000000)
- Triggers/Threshold (default 90,000000)
- Tilt/Modifier/Range (default 50,000000) + mapped Tilt/Modifier button
to the configurations for wiimotes & nunchuks
2016-01-04 13:35:04 +01:00
Phatcat
158f0e8102
Android: Added categories to input controls
...
- Seperates input configurations into categories
- Reworked input configurations to reuse more strings
2016-01-04 13:19:44 +01:00
Phatcat
cfe8400cdd
Android: Revision of PR 3253 (Wiimote controls)
...
- Fix small error in NativeLibrary (line 141)
- Fix faulty indentment in arrays.xml
- Rework numbering system to be more accessible.
2016-01-04 13:19:42 +01:00
sigmabeta
b882a79322
Add support for the CPU Clock Override feature to Android UI
2016-01-03 16:46:29 -05:00
Ryan Houdek
6e60dc60e0
[Android] Disable screen lock when a title is running.
...
Encountered this when testing out the Wii U Gamecube Adapter.
2016-01-03 09:42:41 -06:00
Ryan Houdek
e77d454b8b
[Android] Add support for launching a game through activity monitor.
...
This also allows setting the user directory.
This is mainly for FifoCI in the future.
2016-01-01 08:57:19 -06:00
Jules Blok
2c5965be88
UserPreferences: Move all stereoscopy options to the stereoscopy section.
2015-12-22 23:16:28 +01:00
Phatcat
ca9c9b7135
Wiimote + Extensions for Android
2015-12-02 21:58:54 +01:00
JosJuice
cbd539eb3d
Use official names for GameCube controller sticks
...
Main Stick is changed to Control Stick and C-Stick is changed to C Stick.
A new ui_name variable is added to ControlGroup so that the UI strings
in DolphinWX can be updated without breaking backwards compatibility
with config INIs and other things that use names as IDs.
2015-09-12 22:45:06 +02:00
Ryan Houdek
c319fbb98d
Merge pull request #3013 from aserna3/Security101
...
Removed fastmem from Android UI
2015-09-11 09:14:50 -04:00
Anthony Serna
cbd7b0793f
Removed fastmem from Android UI
2015-09-09 14:46:20 -07:00
degasus
74b20e627c
VideoCommon: Drop "Disable destAlpha" hack
...
This option has no use any more, neither performance nor driver workaround.
2015-09-09 21:31:54 +02:00
Ryan Houdek
9bb63bf2eb
[Android] Fix multi-gamecube controller input, config changes
2015-09-04 20:06:01 -05:00
sigmabeta
6d6cb12b15
Android: Remove "fitSystemWindows" flag from MainActivity layout
2015-08-06 08:34:21 -04:00
sigmabeta
dc1f7aeb66
Android: Include newer versions of support libraries, which contain bugfixes
2015-08-06 08:26:31 -04:00
sigmabeta
6f27ad67e7
Android: Allow usage of Cached Interpreter core.
2015-07-28 17:16:14 -04:00
Ryan Houdek
e805e05ff5
Merge pull request #2773 from sigmabeta/android_wiimote_main
...
Android: Add Wiimote support, including configuration UI.
2015-07-26 16:54:45 -05:00
sigmabeta
e7f98c7f95
Android TV: Add first-run copy operations to TvMainActivity.
2015-07-25 14:09:58 -04:00
sigmabeta
245b58124e
Android TV: Add settings row, enabling access to other screens.
2015-07-25 12:26:31 -04:00
sigmabeta
0b1212b77d
Android TV: Add row listing all games
2015-07-25 12:26:31 -04:00
sigmabeta
7c14996e3e
Android TV: Implement game selector activity in new Android TV UI
2015-07-25 12:26:31 -04:00
sigmabeta
a8aa19f1fa
Android: Implement UI for configuration of all 4 Wiimotes.
2015-07-25 11:26:18 -04:00
sigmabeta
1cb07b1c48
Android: Wiimote UI Fixup
2015-07-23 23:17:16 -04:00
sigmabeta
008ac0eeb0
Android: Add UI for Wiimote configuration.
2015-07-23 22:11:11 -04:00
Ryan Houdek
a8227ad9b1
Add Wiimote support to the Android backend.
...
Not actually wired up to the Android UI for configuration.
2015-07-21 21:33:23 -05:00
Ryan Houdek
3163602157
Merge pull request #2688 from sigmabeta/android-tv-ingame-menu
...
Android TV: Replace toolbar on EmulationActivity with a full-screen menu
2015-07-21 12:52:21 -05:00
sigmabeta
12fd46e12d
Android TV: Add title text to in-game menu, and make the menu scrollable.
2015-07-14 17:45:00 -04:00
sigmabeta
c0315fcf78
Android TV: Implement Save and Load state menus
2015-07-14 17:45:00 -04:00
sigmabeta
d191d8851a
Android TV: Visual tweaks & glitch fixes
2015-07-14 17:45:00 -04:00
sigmabeta
9dd4cee1b7
Android TV: Fix a layering issue on the ingame menu
2015-07-14 17:45:00 -04:00
sigmabeta
957691444d
Android TV: Replace toolbar on EmulationActivity with a full-screen menu.
2015-07-14 17:45:00 -04:00
sigmabeta
658c49fab3
Android:Changes to simplify command-line building of the app, and bugfixes to the Gradle script
2015-07-13 09:37:44 -04:00
sigmabeta
3ad151062b
Android TV: Game selection screen highlights games with accent color.
2015-07-03 13:46:54 -04:00
sigmabeta
fd82f90fce
Android: Show transition animation when exiting game.
2015-06-26 15:01:23 -04:00
sigmabeta
0fcf0e1d21
Android: Show transition animation while game loads.
2015-06-26 08:32:51 -04:00
sigmabeta
0679e43efe
Android: Show screenshot on EmulationActivity before game starts.
2015-06-25 21:43:00 -04:00
sigmabeta
e970f757d0
Android: Don't crash trying to hide toolbar in game.
2015-06-24 22:53:33 -04:00
sigmabeta
8ca620db7f
Android: Invalidate Picasso screenshot cache every time a screenshot is displayed.
2015-06-23 22:36:27 -04:00
sigmabeta
a028805626
Android: Save screenshot at end of an emulation session.
2015-06-23 22:22:01 -04:00
sigmabeta
6b24b604e5
Android: MainActivity now contains a tab switcher separating games by platform.
2015-06-23 21:54:09 -04:00
sigmabeta
8b5b83c29a
Android Refactor: GameGridActivity is now MainActivity, and uses a Toolbar that reacts to the game grid scrolling.
2015-06-23 21:54:09 -04:00
sigmabeta
fa2d06e7a4
Android: Switch all activities to AppCompat-based Material themes, and use Support Library version of Floating Action Button.
2015-06-23 21:54:02 -04:00
Ryan Houdek
bb89a81053
Merge pull request #2635 from sigmabeta/android-seriously-now
...
Android: Remove Low and Medium DPI versions of all images.
2015-06-23 20:47:16 -05:00
Ryan Houdek
52aa9c05bd
Merge pull request #2633 from sigmabeta/android-emulation-menu
...
Android: Add Quicksave/Load functionality, and cleanup in-game menu.
2015-06-23 20:47:10 -05:00
sigmabeta
ac1f309b2c
Android: Remove Low and Medium DPI versions of all images.
2015-06-20 18:18:06 -04:00
sigmabeta
92c954c463
Android: Add Quicksave/Load functionality, and cleanup in-game menu.
2015-06-20 12:34:03 -04:00
sigmabeta
2bdf6537c8
Android: Have non-games use their filename as a Game ID.
2015-06-19 09:15:31 -04:00
sigmabeta
0c993ad4a9
Android: Fix a bug making Input Overlay config screen only work in release OR debug builds, but not in both.
2015-06-16 15:42:11 -04:00
sigmabeta
82dea170cf
Android: Don't delete the Input Overlay configuration screen.
2015-06-16 10:12:51 -04:00
Ryan Houdek
094c6bf5bc
Merge pull request #2601 from Sonicadvance1/android_fix_user_directory
...
[Android] Make sure we are setting the default user directory.
2015-06-14 17:03:55 -05:00
Matthew Parlane
252c719515
Merge pull request #2600 from Sonicadvance1/Android_remove_dialog
...
[Android] Remove dialog telling individuals that their drivers are terrible.
2015-06-14 15:17:03 +10:00
Ryan Houdek
7c4e6c7eb9
[Android] Make sure we are setting the default user directory.
...
This fixes an issue where the settings aren't being saved correctly because the user directory is never set before a run of the game.
2015-06-13 08:37:56 -05:00
Ryan Houdek
467f351f79
[Android] Remove dialog telling individuals that their drivers are terrible.
...
There aren't any AArch64 devices with v14 Qualcomm drivers. So it is dead code.
2015-06-13 08:18:42 -05:00
Jeffrey Pfau
7e36166374
Android: Allow git and cmake locations to be overridden
2015-06-13 03:54:37 -07:00
Jeffrey Pfau
fff657a7da
Android: Allow NDK location to be overridden
2015-06-12 19:59:25 -07:00
sigmabeta
5d5fc88a70
Android: Persist previously-set controller bindings on the Settings menu.
2015-06-09 10:31:15 -04:00
sigmabeta
b7dcbdbf57
Android: Database improvements - remove non-existent games & folders.
2015-06-08 20:27:12 -04:00
sigmabeta
d56f27857b
Android: Don't remove input configuration related files from old UI.
2015-06-08 20:07:43 -04:00
Eder Bastos
6f3279d627
Android: Remove old UI references from manifest, and set the new UI Activity's title to "Dolphin Emulator'
2015-06-08 19:43:10 -04:00
Eder Bastos
dbdc8121f0
Android: Require Android 5.0.
2015-06-08 19:43:10 -04:00
Eder Bastos
f197b5e7d5
Android: Remove the old UI.
2015-06-08 19:43:07 -04:00
Ryan Houdek
a91c152b86
Merge pull request #2572 from sigmabeta/android-show-version
...
Android: Show the version name as a subtitle in the GameGridActivity.
2015-06-08 19:37:33 -04:00
sigmabeta
1f07473f1f
Android: Show filenames for games with an empty title.
2015-06-08 19:23:04 -04:00
sigmabeta
f80f4bb542
Android: Show the version name as a subtitle in the GameGridActivity.
2015-06-08 18:07:26 -04:00
Ryan Houdek
21b1d143bc
Merge pull request #2566 from sigmabeta/android-tv-back
...
Android TV: Show the in-game menu when back button is pushed.
2015-06-08 04:02:22 -04:00
Ryan Houdek
59e2225f7d
Remove ARMv7 support.
2015-06-07 22:44:13 -05:00
Ryan Houdek
51b440fbcf
Merge pull request #2449 from sigmabeta/android-decouple-surfaceview
...
\Android: Decouple SurfaceView initialization and emulation start.
2015-06-07 23:18:56 -04:00
Ryan Houdek
9521bc1fc6
Merge pull request #2558 from sigmabeta/android-panic-alerts
...
Android: Display Panic Alerts on-screen as a Toast message.
2015-06-07 23:14:34 -04:00
sigmabeta
a97e9addf0
Android: Show the in-game menu when back button is pushed.
2015-06-07 23:11:34 -04:00
sigmabeta
8c843d98b6
Android: Add refresh library function.
2015-06-07 21:15:28 -04:00
sigmabeta
36d051d3f9
Android: Run AssetCopyService only once.
2015-06-07 20:42:30 -04:00
sigmabeta
3038368128
Android: Display Panic Alerts on-screen as an Android Toast message.
2015-06-07 20:13:52 -04:00
sigmabeta
e04778f9eb
Android: Allow compilation using Android NDK r10e.
2015-06-07 13:36:59 -04:00
sigmabeta
51cad1025c
Android TV: File Dolphin under "Games" on the TV Launcher
2015-06-05 16:26:49 -04:00
Eder Bastos
920a85b846
Android TV: Add TV banner + some metadata.
2015-06-03 19:42:15 -04:00
Eder Bastos
b14bea8544
Android TV: Allow the app to be launched from an Android TV launcher.
2015-06-03 16:48:38 -04:00
Eder Bastos
ed39876cb0
Android TV: Make file selector screen usable with d-pads
2015-06-01 16:42:54 -04:00
Ryan Houdek
d789d8d75f
[Android] Add support for panic alerts to the JNI.
2015-05-25 22:13:00 -05:00
Ryan Houdek
0c5f5c4519
Merge pull request #2394 from Sonicadvance1/android_block_profiling_api
...
[Android] Block profiling JNI interface
2015-05-25 23:06:37 -04:00
Tillmann Karras
cefcb0ace9
Update license headers to GPLv2+
2015-05-25 13:22:31 +02:00
Eder Bastos
4faff3cf62
Android: Decouple SurfaceView initialization and emulation start.
2015-05-24 19:40:11 -04:00
Eder Bastos
fe8d9e5a38
Android: Upgrade to newest Build-Tools version.
2015-05-22 17:14:28 -04:00
Eder Bastos
140826edd5
Android: Have build.gradle figure out what ABI and Toolchain to use.
2015-05-22 17:13:25 -04:00
Eder Bastos
286af8be50
Android: Implement new EmulationActivity.
2015-05-21 20:14:03 -04:00
Eder Bastos
3e5e352fee
Android: Implement an SQLite database-based game library.
2015-05-20 19:55:55 -04:00
Eder Bastos
4f6a5e0293
Android: Make floating action buttons use the correct accent color programmatically.
2015-05-20 19:46:48 -04:00
Eder Bastos
91c1c0b1b3
Android: Add SQLiteDatabase interface class.
2015-05-20 19:46:28 -04:00
Eder Bastos
5b0c047e0b
Android: Remove inheritance from Game model, and improve the relevance of its content
2015-05-20 19:46:19 -04:00
Eder Bastos
4c786cb70c
Android: Implement reading country value from game files.
2015-05-20 19:44:31 -04:00
Lioncash
12493c332c
Merge pull request #2420 from sigmabeta/android-native-gradle-build
...
Android: Allow building of native code inside Android Studio / Gradle
2015-05-20 19:31:30 -04:00
Eder Bastos
4cded65320
Android: No longer require specification of NDK or Git paths in build.gradle.
2015-05-19 09:05:35 -04:00
Eder Bastos
9c19d91e18
Android: Allow building of native libraries inside Android Studio / Gradle
2015-05-18 21:20:43 -04:00
Eder Bastos
ba591ea1ee
Android: Add Settings Activity to new UI.
2015-05-15 10:45:00 -04:00
Eder Bastos
bb7f8c6753
Move AssetCopyService to the services package.
2015-05-14 20:44:52 -04:00
Eder Bastos
4710c3e0eb
Android: Build separate APKs for each native platform.
2015-05-13 22:45:12 -04:00
Eder Bastos
c75378bb45
Android: Put GCPadNew.ini back into the repository.
2015-05-12 19:12:21 -04:00
Eder Bastos
0fa0e55e2c
Android: Fix a possible crash in the file browser if attempting to show a file with no extension.
2015-05-12 09:18:29 -04:00
Eder Bastos
06b7b20e5f
Android: Scale number of columns in game grid according to screen width.
2015-05-11 17:06:54 -04:00
Eder Bastos
f3aec526b1
Add an IntelliJ settings file describing the Dolphin project code style.
2015-05-11 11:16:56 -04:00
Ryan Houdek
a36dc19d9b
Add JNI interface for enabling writing block profile results.
2015-05-10 20:03:34 -05:00
Eder Bastos
abaf41baa7
Add a subtitle to AddDirectoryActivity containing the currently displayed folder's path.
2015-05-10 17:28:45 -04:00
Eder Bastos
ca4bec3539
Don't show "Error" when a blank string is returned from a native method.
2015-05-10 10:46:46 -04:00
Eder Bastos
3f1465196c
Add touch feedback to GameGridActivity and AddDirectoryActivity.
2015-05-10 10:30:09 -04:00
Eder Bastos
24c6be9d0f
Add File Browser screen to new UI.
2015-05-09 12:36:17 -04:00
Eder Bastos
700225f8c8
Add floating action button to GameGridActivity.
2015-05-08 19:57:44 -04:00
Eder Bastos
a4395ecd75
Have Picasso load images into memory at the size they will be displayed.
2015-05-08 19:56:25 -04:00
Eder Bastos
b47835fc07
Implement first few screens of Android 5.0-based UI.
2015-05-07 22:27:42 -04:00
Eder Bastos
2fe4b9ce68
Remove the "nativeLibsToJar" gradle task.
2015-05-05 22:34:56 -04:00
Eder Bastos
c80225ea4d
Convert the Android source code to the directory structure of a Gradle-based Android Studio project.
2015-05-02 21:49:17 -04:00
Ryan Houdek
c2b2e03f73
[Android] Support arguments from Activity Monitor.
...
Activity Monitor can start activities by using adb to invoke it.
This will allow us to set the user directory and autostart file from adb.
adb shell am start -n org.dolphinemu.dolphinemu/.gamelist.GameListActivity -e AutoStartFile /sdcard/AC.gcz -e UserDir /sdcard/dolphin-emu2/
This allows more automated testing to be done with Dolphin on Android.
2015-03-08 08:43:25 -05:00
Ryan Houdek
db06f058e4
Move user directory detection location to UICommon.
...
The UI should decide on where it wants the user directory, not our core system.
This is in anticipation of some upcoming work on Android which will need proper user directory setting.
2015-02-25 03:31:59 -06:00
Ryan Houdek
29fc52cfa1
[Android] Stop eating button events we don't handle.
...
We were eating /all/ button events except the back button. This would cause issues where Android wouldn't receive button press events for things like
volume rockers. So you couldn't change the audio ingame, even if that button isn't bound to an input.
Now we return to Android if we've handled that button press, so it works fine.
2015-02-24 05:38:16 -06:00
Ryan Houdek
a39eee28e9
Fix a typo in the Android cmake toolchain script.
...
This was a fairly recent update that went unnoticed because it uses a cached variable.
When I previously updated Android cmake I didn't noticed this.
Basically the issue was that Android cmake was no longer setting ${LIBRARY_OUTPUT_PATH_ROOT}
and instead only setting it to ${CMAKE_SOURCE_DIR} if it was passed a variable.
Same PR is open on the android cmake repo here https://github.com/taka-no-me/android-cmake/pull/37
2015-02-24 02:58:55 -06:00
Ryan Houdek
09e8adb199
[Android] Fix ignore format changes option.
...
This option was inversed, so it was always set to the opposite of what was wanted.
2015-02-18 16:27:37 -06:00
Ryan Houdek
714e146b94
Update Android cmake.
...
This is required to properly build the MIPS64 and x86_64 targets with clang.
2015-01-26 21:26:54 -06:00
Ryan Houdek
de070cfe8b
[Android] Change the default renderer to OpenGL.
...
We now require OpenGL ES 3.0 minimum to run, this is the sane default.
2015-01-26 00:51:24 -06:00
Ryan Houdek
983c7f4f21
[Android] Select the AArch64 recompiler core by default if shown to support ARMv8.
2015-01-26 00:50:25 -06:00
Ryan Houdek
7ee1dc56e7
[Android] No longer carry a default configuration file.
2015-01-26 00:49:24 -06:00
Ryan Houdek
0557fb6a9e
[Android] Add internet permissions.
...
These permissions are required for the ability to create sockets. Which are sort of required on a system that can make them.
2015-01-23 23:15:56 -06:00
Ryan Houdek
864969f300
[Android] Expose aspect ratio to the video settings.
2015-01-18 15:21:40 -06:00
Lioncash
ad254f1b16
Android: Fix a typo (Depthn -> Depth)
2014-12-28 20:34:54 -05:00
Lioncash
038b968698
Android: Use findViewById instead of getChildAt
...
More futureproof if anything else is added to the layout.
2014-12-28 20:33:27 -05:00
Lioncash
4221999c6e
Android: Fix a warning regarding a string in the slider layout
2014-12-28 20:19:29 -05:00
Lioncash
fa0c3aa62d
Android: Remove unnecessary context variable in SliderPreference
2014-12-28 20:17:24 -05:00
Ryan Houdek
859e103ce6
[Android] Add support for sterescopy configuration.
...
This menu allows us to configure the stereoscopy video settings if the device supports it.
This menu is only enabled if the hardware supports everything needed to use the feature.
2014-12-26 08:17:29 -06:00
Ryan Houdek
97d6afdde9
[Android] Add a few helper functions to EGLHelper.
...
Let's us check for extension support and OpenGL version.
2014-12-23 03:56:06 -06:00
Matthew Parlane
f4ab1443fa
Merge pull request #1725 from Sonicadvance1/update_gradle
...
Updates the gradle build file to the latest needed for Android Studio.
2014-12-21 14:31:05 +13:00
Ryan Houdek
b47cf7e70e
Updates the gradle build file to the latest needed for Android Studio.
...
This may require the buildbot to be updated.
2014-12-20 19:01:40 -06:00
Ryan Houdek
3b332f7270
[Android] Raise requirements to Android 4.3 and OpenGL ES 3.0
...
We need to stop pretending that we "support" GLES 2.0 devices.
We are a high performance application that requires GLES 3.0, which was officially supported in Android 4.3.
The few Android phones that released with Android 4.2 and supported OpenGL ES 3.0 have already been updated to a later Android version.
2014-12-20 15:43:51 -06:00
Lioncash
f9ba7a0fb2
Merge pull request #1625 from unknownbrackets/android-minor
...
Android: Ignore some generated files
2014-12-01 02:54:31 -05:00
Unknown W. Brackets
86ebe3916e
Android: Ignore some generated files.
...
/obj/ is used by ndk debugging (gdb) in some scenarios.
2014-11-30 22:52:22 -08:00
Ryan Houdek
db9cd8e3d7
Merge pull request #1615 from Sonicadvance1/fix_cpu_helper
...
[Android] Removes CPU architecture number from CPU helper.
2014-11-30 15:43:47 -06:00
Ryan Houdek
496f9d678a
[Android] Removes CPU architecture number from CPU helper.
...
This was '7' on all ARMv7 devices but was 'AArch64' on the Nexus 9.
Trying to cast to integer was causing a crash. We don't even use this so may as well as wipe it.
Also adds Nvidia to the CPU implementers list.
2014-11-30 01:17:05 -06:00
Ryan Houdek
b689954a71
Update the android cmake toolchain to latest.
...
To properly support 64bit architectures and clang we need the latest version.
2014-11-30 01:05:37 -06:00
Lioncash
6d0faced59
Merge pull request #1580 from lioncash/android
...
InputConfigFragment: Use a StringBuilder for string concatenation
2014-11-20 11:19:35 -05:00
Lioncash
d4a8e51e71
AboutFragmentItem: Remove incorrect javadoc tag
2014-11-20 09:23:27 -05:00
Lioncash
feb038bec3
InputConfigFragment: Use a StringBuilder for string concatenation
...
This is the recommended way to join strings, since it doesn't destroy and recreate the string repeatedly.
2014-11-20 09:18:30 -05:00
Stevoisiak
f1a26ff654
Various country flag improvements
...
* Added country flags for games from Netherlands and Spain
* Added separate category for Region Free games (Uses European flag as placeholder)
* Added missing country filter options in "show regions" menu
* Rearranged country filters for readability
* Incremented CACHE_REVISION
Also fixed various country filters not showing up as options in the "Show regions" menu.
2014-11-18 19:44:16 -05:00
Lioncash
b1c06fdd19
Merge pull request #1563 from lioncash/ui
...
Android: Use a PagerTabStrip instead of the ActionBar.
2014-11-17 13:57:00 -05:00
Lioncash
b94dbca160
Host: Kill off GetRenderWindowSize
2014-11-17 13:44:49 -05:00
Lioncash
5396a48d70
Android: Use a PagerTabStrip instead of the ActionBar.
...
The ActionBar method of doing the tabular layout is deprecated on Android 5.0.
This method alleviates those deprecations while providing the same functionality.
2014-11-16 21:18:08 -05:00
Lioncash
7d8248e24f
Android: Remove unused imports in GameListItem
2014-11-15 01:45:13 -05:00
Lioncash
cc62cb8818
Android: Support RTL language translations
...
If someone wants to do a translation for an Arabic language, Hebrew, etc, it will now display correctly.
2014-11-15 01:45:12 -05:00
Lioncash
4d6bc39e2f
AndroidManifest: Increment the minimum and target SDK values
2014-11-15 01:45:02 -05:00
Lioncash
5b1f734695
Android: Prevent instantiation of utility classes
2014-11-15 01:40:30 -05:00
Lioncash
4fe8bb1ca7
Android: Compress an if statement in FolderBrowser
2014-11-15 01:40:29 -05:00
Ryan Houdek
1c41acaddd
Merge pull request #1264 from Stevoisiak/GCM-to-ISO
...
Gcm to iso
2014-11-02 11:29:41 -06:00
Stevoisiak
d937c072a5
Updated android GCM references to ISO
2014-11-02 12:22:36 -05:00
Ryan Houdek
5dbfadaeaa
Enables EFB copies by default on Android.
...
I was mistaken and only changed one line previously which didn't enable them by default.
This changes the default configuration to enable EFB copies and EFB to texture.
2014-10-30 07:43:14 -05:00
Ryan Houdek
ceb08acf23
Fix a crash on Android when unplugging a controller during emulation.
...
If the action we are getting is a ACTION_CANCEL, it means that the "gesture" is aborted and we shouldn't perform any more actions on it.
2014-10-18 07:33:51 -05:00
Lioncash
053f5c1f17
Android: Use apply() instead of commit() for SharedPreference changes.
...
apply() changes the in-memory instance of SharedPreferences and writes to the disk asynchronously, rather than synchronously, which commit() does. Since these are done on the UI thread, they should be asynchronous.
2014-10-08 23:12:25 -04:00
Sean Maas
17f0fdb18f
[Android] Return to game list instead of exiting app
2014-10-08 22:28:18 -04:00
Ryan Houdek
e18860830a
Show OpenGL or OpenGL ES on Android depending on what the device supports.
...
Reduces confusion for the users
2014-09-19 09:21:16 -05:00
Ryan Houdek
707d21e36b
Fix a few minor bugs that appeared in the latest android cmake script
2014-09-07 23:18:43 -05:00
shuffle2
60a772c5e8
Merge pull request #901 from Sonicadvance1/64bit-android-cmake
...
Update the android cmake toolchain file to support 64bit.
2014-09-03 00:09:03 -07:00
Ryan Houdek
fc92490031
Merge pull request #902 from Sonicadvance1/android-64bit-support
...
Update shown CPU cores in the Android UI.
2014-08-28 18:20:35 -05:00
Ryan Houdek
5bf9472214
Update shown CPU cores in the Android UI.
...
Only show the JIT cores on x86_64(Will have its own issues once we reach that point)
Show AArch64 JIT if running on a AArch64 device(Good luck with that for now. Future proofing though)
2014-08-28 18:00:32 -05:00
Ryan Houdek
b197f44518
Update build.gradle to newer buildtools.
...
Newer android studio versions now mandate at least build tools 20.0.0 and gradle 0.12+
So update the gradle file for this.
2014-08-28 17:21:48 -05:00
Ryan Houdek
0d63dd5e53
Update the android cmake toolchain file to support 64bit.
...
This is available in a PR here: https://github.com/taka-no-me/android-cmake/pull/23
The maintainer of the android toolchain cmake file seems to be AWOL for now.
I have tested this file personally and it works, it just isn't merged in yet
2014-08-28 16:57:48 -05:00
Tony Wasserka
99dc069b9a
Merge pull request #597 from sigmabeta/android-studio-gitignore
...
[Android] Add a bunch of gradle/AS related stuff to gitignore.
2014-08-04 12:06:29 +02:00
Ryan Houdek
3627bd21f1
Remove JitArmIL files from the project.
...
Due to how the new CR-flags work, it isn't possible without some hefty work in the JITIL backend to support this on 32bit systems.
2014-07-30 21:41:17 -07:00
Eder Bastos
33f848c78c
Add a bunch of gradle/AS related stuff to gitignore.
2014-07-30 22:27:38 -04:00
Sean
304d9ccd58
[Android] Enable filtering onscreen buttons
2014-07-16 20:29:10 -04:00
Lioncash
30e4366d28
Merge pull request #580 from SeannyM/smaller-b
...
[Android] User configurable input overlay scaling
2014-07-16 19:04:35 -04:00
Sean
cd9a0b6f4d
[Android] Onscreen controls better resemble GC and user configurable scaling
2014-07-15 16:14:27 -04:00
Eder Bastos
36821cb117
Display file size in GiB instead of bytes.
2014-07-14 21:52:52 -04:00
Eder Bastos
0170050cad
Use the "No Banner" graphic as a Drawable resource, instead of as an asset.
2014-07-14 21:34:44 -04:00
Eder Bastos
94b1eeaf6f
Move first-execution copying of shaders / binaries to an IntentService.
2014-07-09 07:56:27 -04:00
Lioncash
5c7ed205a9
Android: Remove an unnecessary getString call from EmulationActivity
2014-07-05 18:02:30 -04:00
Eder Bastos
53e4f3d73c
Implement ViewHolder pattern on the GameListAdapter.
2014-06-24 23:03:38 -04:00
Eder Bastos
2c1008f0ae
Allow user to quit app with back button.
2014-06-23 08:24:39 -04:00
Lioncash
8e2015b9cb
Separate the XML view handling of the folder browser and the game list from one another.
2014-06-21 19:47:11 -04:00
Eder Bastos
b940e69f3b
Fix banner scaling in game list.
...
-In GameListAdapter.java, the existing scaling code is unnecessary and stops Android's built in scaling from doing its job.
-In gamelist...etc.xml, set the icon's width to 100 density-independent pixels (i.e. have android figure out how to make it the right size.)
2014-06-21 12:01:16 -04:00
Ryan Houdek
d62ae92b8f
Merge pull request #373 from sigmabeta/android-ui-cleanup
...
Soften up some of the UI elements on Android
2014-06-19 19:25:52 -05:00
Paul Olszewski
5d793881b0
Fix the capitalization of "GameCube" throughout the project.
2014-06-08 11:24:49 +09:00
Ryan Houdek
7dc31fbd1a
Fix potential crash in Video Settings.
...
When Shaders folder didn't exist it would cause crash.
2014-06-02 17:57:23 -05:00
Sean
568f3248f3
Android: add multitouch support
2014-05-30 19:02:28 -04:00
shuffle2
d0201335c6
Merge pull request #300 from Sonicadvance1/Fix-AndroidInput
...
[Android] Fixes a bunch of input bugs.
2014-05-30 15:32:08 -07:00
Eder Bastos
5416dd24d7
Attach '.debug' to the end of the app's package name. This allows for installation of both debug and release configs on the same device.
2014-05-26 00:08:40 -04:00
Eder Bastos
8a288c7765
Increase size of title text; force it to take a single line and ellipsize if text doesn't fit. Also set both text fields to a slightly lighter color.
2014-05-23 18:47:43 -04:00
Eder Bastos
570cda3e39
Clarify that 'tools' attributes are only visible in the UI editor preview, and darken the game title text a little
2014-05-15 19:39:47 -04:00
Eder Bastos
08bb79ccb3
Soften up some of the UI elements.
2014-05-15 18:06:23 -04:00
Sean Maas
1da3a43698
Add japanese strings
2014-05-11 00:35:59 -04:00
Ryan Houdek
878740b43d
Merge pull request #349 from Sonicadvance1/Android-Default-Config
...
[Android] Change default EFB copy method from disabled to texture.
2014-05-10 23:19:43 -05:00
Ryan Houdek
aa30f5a6cb
Change Android's default EFB configuration to texture instead of disabled.
2014-05-05 17:13:04 -05:00
Ryan Houdek
33bdc0f985
Adds support for the PP shaders in the Android UI.
...
Copies over the PP shaders to the APK's assets and installs them on run.
Exposes them via the video settings UI.
This is in anticipation of dropping the workaround for rotated blits on Adreno and instead forcing shader usage by the user.
2014-05-05 13:44:08 -05:00
Sean Maas
5865ae2d6f
Add a comment about game list color
2014-04-27 20:03:30 -04:00
Sean
be7f39445f
Make the Android UI more like the desktop UI
2014-04-27 17:13:09 -04:00
Sean
eef51fdde6
Android: Fix Scaled EFB Copy setting
2014-04-25 16:11:28 -04:00
Ryan Houdek
e1bbda1e18
[Android] Fix a bunch of input bugs.
...
Looking at the old code for the ButtonManager was a brainfsck. This fixes a ton of bugs I kept uncovering as I was moving along.
Fixes the gamepad configuration file being incorrect.
No longer treats touchscreen in a special way. Ends up as a regular device with a "Touchscreen" device name.
Was incorrectly converting a index from integer to ButtonType. Wouldn't work due to the addition of some unused(in JNI) enumerators in ButtonType.
Fixes an issue where a map had a key as an axis which was causing its binding to be overwritten for every axis that was used twice (eg main stick left and right);
Fixes Triggers not working at all.
Fixes DPad not working at all.
Fixes C-Stick only half working.
Removes touch screen specific nativelibrary types onTouchAxisEvent and onTouchEvent.
Adds a configuration version configuration option. Allows easy configuration overwriting if the options need to be changed during updating.
Supersedes github PR #291 .
2014-04-24 08:51:44 -05:00
Sean
4edb0a3134
Add braces
2014-04-22 19:40:03 -04:00
Sean
c81ac090c9
Clarify code with comments
2014-04-22 18:34:16 -04:00
Sean
f489e30cd8
Release button after touch leaves boundaries
...
Now, your finger can still move around, but as soon as it leaves the button boundaries the button is released.
2014-04-21 22:59:08 -04:00
Sean
72f3d69a78
Android: Allow finger movement while pressing button
2014-04-21 21:24:49 -04:00
Ryan Houdek
9849129b5d
Merge pull request #199 from lioncash/defined-densities
...
Provide clearly defined densities of the controller icons.
2014-03-23 00:35:40 -05:00
Lioncash
a35e1d42d9
Provide clearly defined densities of the controller icons.
2014-03-23 01:23:39 -04:00
Ryan Houdek
b76351e2d3
Make configuring the onscreen controls less annoying.
...
Now instead of the top left corner of the button snapping to your finger.
Remember where we clicked on the button initially so it moves from the same location you touched.
This is more intuitive than before of course.
2014-03-22 23:32:46 -05:00
Lioncash
13c780d6a7
Fix two untranslated Japanese strings.
2014-03-22 22:42:29 -04:00
Lioncash
7922428dd7
Fix a call to a parent class method in InputOverlay.
...
Should have been a call to draw, not onDraw. Behavior-wise, it's still the
same however.
2014-03-22 22:41:42 -04:00
Ryan Houdek
d85b8afe58
Pass our signing information to gradle by argument.
...
Changes from using environment variables that the world can see to arguments.
So we don't have to expose our keys and aliases to people
2014-03-22 07:33:18 -05:00
Ryan Houdek
adaf095229
Fix building the release APK with gradle.
...
In release build all warnings are errors, and lint has some obnoxious warnings.
2014-03-17 16:28:31 -05:00
Lioncash
932e3c1db2
[Android] Tidy up the dialog buttons that don't do anything.
...
All we want to do with these is dismiss the dialog. The same can be done by simply passing null.
2014-03-09 23:02:08 -04:00
Pierre Bourdon
8863eb0671
Merge pull request #145 from lioncash/split-about-activity
...
[Android] Split the AboutFragmentItem and InfoFragmentAdapter into their own class files.
2014-03-10 02:20:25 +01:00
Tillmann Karras
161b67076a
Update android.toolchain.cmake
...
from https://raw.github.com/taka-no-me/android-cmake/master/android.toolchain.cmake
2014-03-09 15:24:33 +01:00
Lioncash
53ed0051c8
[Android] Split the AboutFragmentItem and InfoFragmentAdapter into their own class files.
...
It doesn't make sense conceptually to keep them within the AboutActivity, as they are entirely self-contained classes.
2014-03-08 19:37:32 -05:00
Lioncash
c5fb4ac96f
[Android] Remove unnecessary comment from VideoSettingsFragment.
...
Misleading comment. We won't need to access index four for anything.
2014-03-08 19:08:26 -05:00
Ryan Houdek
1f750904af
Fix the OpenGL About tab.
...
Move EGLHelper to be local to the creation of the about GL/GLES tabs so we don't have 3 EGL contexts running at a time.
Fix issues with OpenGL context creation here so we show the correct information.
This requires adding an EGL function to the NativeLibrary since Android's JAVA bindings don't expose eglBindAPI.
2014-02-22 21:08:27 -06:00
Ryan Houdek
cf6e0b6015
Make it possible to build Dolphin for Android in OS X and also less of a pain with gradle.
2014-02-22 21:01:58 -06:00
Ryan Houdek
3666178f85
Remove Cache DL option from Android UI
...
This option has been removed entirely from Dolphin, so remove the option from Android
2014-02-06 17:02:38 -06:00
degasus
010a0d481a
VideoCommon: remove Cache Displaylist
...
This option was known to break every second game and only boost a bit.
It also seems to be broken because of streaming into pinned memory and buffer storage buffers.
v2: also remove dlc_desc
2014-01-31 07:30:55 +01:00
Ryan Houdek
ac2ebd264d
Merge pull request #5 from lioncash/android-info-fix
...
[Android] Fix three limits in GLES2InfoFragment.java.
2014-01-29 04:46:01 -08:00
Lioncash
74d9d7923e
Fix three limits in GLES2InfoFragment.java.
2014-01-29 07:35:07 -05:00
Buildbot system user
7ed9f5e63e
Upgrade Android API.
2014-01-28 23:35:13 +00:00
Lioncash
b9e7749fe6
[Android] Implement CPU info retrieval within the about menu.
...
ARM only at the moment. Could potentially support x86 and MIPS if necessary.
Capable of parsing the manufacturer codes and part IDs of some (but not all part numbers). If anyone knows of part numbers that aren't in the list, please report them.
2014-01-26 21:37:43 -05:00
Lioncash
521aa631dc
[Android] Parse integer ranges in the GLES3 info tab.
...
The info we retrieve will only ever have 2 elements given back to us.
2014-01-22 12:28:46 -05:00
Lioncash
36863bf7b8
[Android] Get rid of the version check class in VideoSettingsFragment.java. Not needed anymore since the introduction of the EGLHelper class. Also decouples some classes from the VideoSettingsFragment.java class (yay).
...
- Minor other change is that the EGL helper fields in GLES3InfoFragment.java, GLES2InfoFragment.java, and GLInfoFragment.java are made final.
2014-01-22 11:56:25 -05:00
Lioncash
5c4d087e8f
[Android] Greatly clean up the previous commits. Now here is the long list of cleaned up things:
...
- Spaces -> Tabs | Consistency
- Javadoc everything that was added and not documented.
- Remove duplicated code regarding the adapter that used to reside in DolphinInfoFragment.java. Now it resides in AboutActivity.java without a second duplication of it.
- Properly retrieve all of the contexts in the EGL initialization in EGLHelper.java.
- Remove the attribute EGL_RENDERABLE_TYPE from the pbuffersurface attributes in EGLHelper.java. With this present, the EGL context will always fail to reinitialize if destroyed and attempted to be recreated.
- Break the inner class Limit within GLES2InfoFragment.java, GLES3InfoFragment.java, and GLInfoFragment.java into its own single class. Greatly reduces code duplication.
- Introduce a Type enum into Limit.java (one of the wildly rare cases in Java where an enum is actually an OK solution). Removes duplicated constants from the Java files stated in the previous bullet note.
- Add a copyright comment to the top of EGLHelper.java. Forgot to do this initially, my bad.
- Add some missing override annotations to GLES2InfoFragment.java, GLES3InfoFragment.java, and GLInfoFragment.java.
- Use StringBuilders in the previously mentioned three Java files. This is better than using a String in this instance, as the String object won't have to be recreated multiple times (ala concatenation).
- Fix some constant accessors in the previously mentioned three Java files.
- Added the 'final' modifier to the above three classes and to Limit.java. These classes serve a single purpose only, and are not intended to be inherited.
2014-01-22 00:41:23 -05:00
Ryan Houdek
7e9b8d18a7
[android-about-menu-info] Add desktop OpenGL tab population.
...
Since showing every single limit that desktop OGL supports is crazy, Let's just show the basic information, and extensions.
2014-01-21 17:55:00 -06:00
Ryan Houdek
d3ccf1c7b5
[android-about-menu-info] Have information populate the GLES2 and GLES3 tabs.
...
There is a /lot/ of information in these tabs, we may have to think about changing how the information looks
OpenGL isn't done yet since there are a million limits on desktop GL, may just show a few things and extensions there.
2014-01-21 17:45:39 -06:00
Lioncash
0dc437e94d
[Android] Finally check if regular OpenGL is possible on devices and display/hide it's fragment based upon this in AboutActivity.java.
...
Also added another constructor to EGLHelper which can be used to quickly query for information.
2014-01-21 00:12:40 -05:00
Lioncash
f8abdbf91a
[Android] Initial introduction of the EGLHelper utility class. Should simplify all interop with the EGL/GL APIs. Not hooked up yet. However it is entirely functional.
2014-01-19 18:29:43 -05:00
Lioncash
45964e4b46
[Android] Initial implementation of the extended info menu.
...
Most fragments are not implemented yet. This is just a working base framework for it.
2014-01-07 19:47:15 -05:00
Lioncash
e6497bca5a
[Android] Simplify instantiations of OverlayConfigButton.java. Also simplified resizeDrawable even more. We just acquire the resource instance and then get the display metrics directly.
2014-01-02 12:23:17 -05:00
Lioncash
5635c94a30
[Android] Simplify resizeDrawable in OverlayConfigButton.java.
...
Also add a missing override to onRestart in DolphinEmulator.java.
2014-01-02 11:53:28 -05:00
Ryan Houdek
2ed24d5311
[Android] Fix the gradle build system to allow for building from terminal. It will now copy the library files correctly and sign the resulting apk.
2013-12-24 15:28:24 -06:00
Ryan Houdek
86b3719d14
[Android] Add a gradle build file for use with Android Studio 4.0
2013-12-23 12:26:55 -07:00
Ryan Houdek
6737904c83
[Android] Stop copying assets that don't need to be copied anymore.
2013-12-21 16:20:14 -06:00
Ryan Houdek
2e1aa64958
[Android] Fix joysticks only capable of right/down movements. Also make it capable of using onscreen joystick even if controller 1 is bound.
2013-12-12 21:24:39 -06:00
Ryan Houdek
50df037bb5
[Android] Fix gamepad input.
2013-12-12 14:42:25 -06:00
Ryan Houdek
2a0adc3972
[Android] Make our OpenGL ES 3 check in the UI less stupid.
2013-12-12 11:58:38 -06:00
Ryan Houdek
bc01785264
[Android] Fix an issue that occurs due to the warning dialog.
2013-11-30 19:48:08 -06:00
Ryan Houdek
65ce711a21
[Android] 0.13 release.
2013-11-30 14:28:48 -06:00
Ryan Houdek
020331383a
[Android] Fix alert when using crappy Qualcomm drivers.
2013-11-30 14:28:00 -06:00
Ryan Houdek
2ad686a2a2
[Android-overlay] Z-button support.
2013-11-29 21:50:42 -06:00
Ryan Houdek
b9f03444cd
[Android-overlay] Fix Java imports.
2013-11-29 21:32:27 -06:00
Ryan Houdek
7bdd8191db
Merge branch 'master' into android-new-control-input-overlay
...
Conflicts:
Source/Android/src/org/dolphinemu/dolphinemu/settings/video/VideoSettingsFragment.java
2013-11-29 21:27:17 -06:00
Ryan Houdek
00a25cdaf5
[Android-overlay] Disable Wiimote configuration until it is wired up.
2013-11-29 21:12:36 -06:00
Lioncash
f6e89356c7
[Android] Simplify some things in the overlay. Also Javadoc the new static function.
2013-11-29 20:06:39 -05:00
Ryan Houdek
49eef423a8
[Android-overlay] Add the new overlay icons. Support configuring them. Disable hardfloat since it has issues since Dalvik doesn't understand passing floats due to ABI differences.
2013-11-29 18:37:33 -06:00
Lioncash
7f85c3215b
[Android] Add Javadoc to InputOverlayDrawableJoystick.
2013-11-25 17:18:31 -05:00
Lioncash
76843b450b
[Android] Build the configuration window for the overlay programmatically. Moved the overlay configuration classes into their own package. Also launch the overlay config activity through the preference XML via an embedded Intent. Lets us remove code explicitly handling this.
2013-11-25 14:23:28 -05:00
Ryan Houdek
7ed8e6a29c
[Android] Fix the check for the Qualcomm graphics driver version for v53 drivers with the screen being rotated 90 degrees. Initialize the OpenGL information grabbing only once. Check for v14 Qualcomm drivers and spit out an error if the user tries selecting OpenGL ES 3.
2013-11-24 22:45:48 -06:00
Ryan Houdek
ba18f38e70
Merge branch 'master' into android-new-control-input-overlay
...
Conflicts:
Source/Android/res/values-ja/strings.xml
Source/Android/res/values/strings.xml
Source/Android/src/org/dolphinemu/dolphinemu/AboutFragment.java
Source/Android/src/org/dolphinemu/dolphinemu/emulation/EmulationActivity.java
Source/Android/src/org/dolphinemu/dolphinemu/folderbrowser/FolderBrowser.java
Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java
Source/Android/src/org/dolphinemu/dolphinemu/settings/video/VideoSettingsFragment.java
2013-11-24 16:12:00 -06:00
Ryan Houdek
f292819ff5
[Android] Due to recent changes in code breaking Tegra 4 support, and also the upcoming code which will be breaking GLES2 support entirely. Taking the initiative to drop the remaining support code from the codebase in preparation for the upcoming changes. For a look at how Dolphin on Tegra 4 looked like prior and would not have been able to be fixed at all due to Tegra 4 not supporting the precision we need in our shaders; Look at this Youtube video http://youtu.be/Ga7Jc_Ote7U
2013-11-24 15:49:23 -06:00
Ryan Houdek
f6f2b1fc60
[Android-overlay] Support multiple gamepads with touch screen controls.
2013-11-24 15:04:53 -06:00
Lioncash
42f8562e5c
[Android] Basic Wiimote binding settings now implemented.
2013-11-19 19:28:10 -05:00
Lioncash
7e544d8996
[Android] Basic UI functionality for enabling/disabling aforementioned Gamecube controllers.
2013-11-19 16:14:40 -05:00
Lioncash
53ab104d5f
[Android] Expand the input binding UI in the settings to handle 4 Gamecube controllers in the future.
...
Other changes:
- Broke out MotionAlertDialog into it's own separate class.
- Made a preference specifically for handling input bindings.
2013-11-19 15:53:30 -05:00
Ryan Houdek
ae11fba069
[Android] Make joysticks less dumb from a configuration standpoint.
2013-11-18 14:48:08 -06:00
Lioncash
ee32c8b4e9
[Android] Remove accidental fragment tag in GameListActivity (it was useless, since it's an empty string)
2013-11-16 15:17:37 -05:00
Lioncash
11a156615f
[Android] Like the previous commit (but for the GameListFragment), don't constantly create a new adapter when filling the game list.
2013-11-16 05:30:58 -05:00
Lioncash
d98664b053
[Android] Simplify the FolderBrowserAdapter a little, as well as the Fill 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 04:36:22 -05:00
Lioncash
c8ddc70c97
[Android] Simplify the AboutFragment view inflating. Considering the backing layout is a direct ListView, the original rootView can just be casted to a ListView, no need for an intermediate.
2013-11-16 04:09:30 -05:00
Lioncash
94f8c68a35
[Android] Use the ViewHolder design pattern for the FolderBrowserAdapter. In 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 03:56:58 -05:00
Lioncash
c90ce1aad1
[Android] Change the name of the XML layout file gamelist_folderbrowser_list.xml to gamelist_folderbrowser_list_item.xml. More accurate name on what it is.
2013-11-16 03:31:02 -05:00
Lioncash
21a196f9af
[Android] Eliminate the need to hold a reference to the shown Fragment within GameListActivity. Now we only care about the numeric ID of the one being shown.
2013-11-16 03:09:07 -05:00
Lioncash
777b5a109b
[Android] Fix the handling of orientation changes for the Fragments related to the game list. Now screen orientation changes don't kick you back to the root view.
2013-11-16 01:48:17 -05:00
Lioncash
23c84c220f
[Android] Add ability to take screenshots into the emulation menu.
2013-11-15 22:21:50 -05:00
Ryan Houdek
15bb974224
[Android] Add screenshot nativelibrary function.
2013-11-15 17:32:50 -06:00
Ryan Houdek
0720026dab
[Android] Disable the workaround for Qualcomm devices with driver >= 53 for the rotated framebuffer since it is fixed now.
2013-11-15 16:56:21 -06:00
Lioncash
483a28f34a
[Android] Simplify the AboutFragmentAdapter a little bit.
...
- Removes an unnecessary variable.
- Shortens the LayoutInflater usage.
- Gets rid of an unnecessary override of onAttach.
2013-11-15 17:19:09 -05:00
Lioncash
8c7d1afd5f
[Android] Externalize the device compatibility warning strings.
2013-11-15 17:05:56 -05:00
Lioncash
4bb22aa0ab
[Android] Indicate whether or not the device supports NEON within the About fragment.
2013-11-15 16:48:36 -05:00
Lioncash
d3731d0827
[Android] Get rid of some unnecessary variables in the getView() methods of some adapters.
...
Directly referencing convertView is fine.
2013-11-15 16:32:52 -05:00
Ryan Houdek
0e415467c4
[Android] Spawn a message if someone's phone doesn't support NEON. NEON is a requirement for Dolphin Mobile on ARM, CPU core will crash without it.
2013-11-15 14:17:47 -06:00
Lioncash
07765aa6f0
[Android] Documentation and some cleanup.
2013-11-15 12:26:17 -05:00
Ryan Houdek
1e90a838f2
Make sure to add our resources for the joystick.
2013-11-14 15:20:44 -06:00
Ryan Houdek
feedee5c23
[Android-overlay] Support touch screen axises in native. Have a non-configurable main joystick on screen at this point.
2013-11-14 15:18:33 -06:00
Lioncash
9d3d568ae4
[Android] Bump the targetSdkVersion in the AndroidManifest XML file to 19 (KitKat). Nothing we do would require compatibility behaviors to be enabled to maintain forward compatibility.
2013-11-14 11:01:44 -05:00
Lioncash
f15a0c17d0
[Android] Get rid of some unnecessary onAttach overrides in AboutFragment, VideoSettingsFragment, and FolderBrowser. These can just be replaced with calls to getActivity().
2013-11-14 10:45:45 -05:00
Ryan Houdek
2a23bdde6f
Merge branch 'master' into android-new-control-input-overlay
...
Conflicts:
Source/Core/DolphinWX/Src/Android/ButtonManager.h
2013-11-13 16:17:42 -06:00
Ryan Houdek
0f061e4e7c
[Android] Do /not/ give users the benefit of the doubt that the device 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-31 07:30:18 -05:00
Ryan Houdek
58d42f43e3
[Android] Fix PCH build. Clean up DolphinWX cmake file a little bit. Modify our android cmake toolchain file to make the default build location not be source root, because that is stupid.
2013-10-28 19:59:03 -05:00
Lioncash
3c7613fc83
[Android] More cleanup. We don't need the preference to enable/disable the overlay in the video preferences anymore.
2013-10-28 16:36:26 -04:00
Lioncash
4e999fe0ee
[Android] General cleanup.
...
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 22:15:49 -04:00
Lioncash
d1834b3058
[Android] Overlay now works during emulation.
2013-10-27 22:08:41 -04:00
Ryan Houdek
c24dfe559b
[Android] Change how the onTouchEvent native method works. Just pass in the 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 05:36:20 -05:00
Lioncash
c3e4aa1f35
[Android] Add the copyright header to some Java source files that were lacking them.
2013-10-26 01:06:00 -04:00
Lioncash
c78d5a9751
[Android] Improve an if statement check in InputConfigFragment.java. Also clarify it.
2013-10-26 00:59:53 -04:00
Lioncash
8d71a83ae5
[Android] Fix the super-mature string that was a placeholder for the title for the overlay configuration setting.
...
Also fix a NullPointerException possibility. Fixed it by giving the PreferenceScreen a title.
2013-10-26 00:55:07 -04:00
Lioncash
77eb9ce725
[Android] Add the capability to dynamically enable and disable the input overlay during emulation.
2013-10-25 23:10:17 -04:00
Lioncash
d9be95ed9e
[Android] Fix alignment issues with the overlay config settings.
2013-10-25 21:29:06 -04:00
Lioncash
7c6caa388a
[Android] Prevent automatic alignments within the overlay configuration settings. Let the user do this on their own.
2013-10-25 21:14:11 -04:00
Lioncash
c1ed54832c
[Android] Maintain the chosen button layout when returning to the input 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 21:05:42 -04:00
Lioncash
c8cf71c913
[Android] The emulation overlay now sets the button positions based upon the 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 20:34:38 -04:00
Lioncash
88c797a9c0
[Android] Slight cleanup for previous commit. Mostly UI adjustments.
...
Makes the buttons appear uniformly on the overlay config activity.
2013-10-25 17:39:23 -04:00
Lioncash
9f36081a8f
[Android] Implement a very basic version of the input overlay configuration screen.
...
Still a bit of a mess, but this will get cleaned up during finalizations.
2013-10-25 16:52:46 -04:00
Lioncash
1267877e80
[Android] Documentation typo cleanups from the last commit.
...
Also cleaned up the Javadoc for the constructor of MotionAlertDialog.
2013-10-24 15:10:25 -04:00
Lioncash
079147ca07
[Android] Refactor InputConfigFragment a little bit in preparation for the 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-24 14:55:10 -04:00
Ryan Houdek
187827624f
[Android] 0.12 release.
2013-10-21 12:09:15 -05:00
Lioncash
2015cd0928
[Android] Implement OnSharedPreferenceChangeListener within 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-13 22:20:34 -04:00
lioncash
615bac7ebc
[Android] Replace the getter for the adapter backing the GameListFragment 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 17:08:46 -04:00
Lioncash
511de71736
[Android] Actually show the currently selected CPU core and video backend within the settings screen.
2013-10-10 11:57:18 -04:00
Lioncash
8b6ff7a358
Revert "{Android] Eliminate need for even using a byte array when copying 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 0dd32986b8
.
2013-10-10 00:11:33 -04:00
Ryan Houdek
715d5ae8a7
Merge branch 'JitArmIL'
...
This implements a partial JITIL based off of the JIT64IL. It's enough to run most games, albiet at a slow speed.
Implementing instructions for this IL is really simple since it basically is just enabling based on what is already in JIT64IL, and then enabling each individual IL instruction.
2013-10-09 23:16:07 +00:00
Ryan Houdek
ba9f2d52e1
Add the JITIL Arm recompiler to the Android settings.
2013-10-09 23:08:12 +00:00
Lioncash
0dd32986b8
{Android] Eliminate need for even using a byte array when copying assets over.
2013-10-09 12:35:12 -04:00
Lioncash
a317391e3d
[Android] Change the names of the functions responsible for loading/saving 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 19:08:06 -04:00
Lioncash
efac4bc608
[Android] Rephrase a comment in VideoSettingsFragment.java.
2013-10-08 18:45:10 -04:00
Lioncash
fb4cc76b11
[Android] Remove unnecessary equals comparison in VideoSettingsFragment.java in function SupportsGLES3(). contains() can handle this situation.
2013-10-07 19:50:50 -04:00
Ryan Houdek
a40daac5b1
[Android] Fix an issue where emulation would crash if we couldn't retrieve 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 21:32:05 -05:00
Lioncash
cf1b634c33
[Android] Remove unnecessary attributes from the ViewPager layout XML file.
2013-10-06 20:04:53 -04:00
Lioncash
5bee29c7c2
[Android] Reflect the string change in the Tegra 4 support commit with the JP strings as well.
2013-10-06 10:45:05 -04:00
Ryan Houdek
6bdcde9dd6
[Android] Tegra 4 'support.' This brings up the OpenGL backend to support 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-06 03:12:29 -05:00
Lioncash
da46da17dc
[Android] Make sure to change the title accordingly when coming back from the folder browser.
2013-10-02 22:55:16 -04:00
Lioncash
8dfc752780
[Android] Simplify LayoutInflater retrieval within GameListAdapter, FolderBrowserAdapter, and SideMenuAdapter.
...
Also added Javadoc to SideMenuAdapter. Gave the context variables a full spelling as well.
2013-10-02 22:42:43 -04:00
Lioncash
4e08a6cc8d
[Android] Simplify a string retrieval in FolderBrowserAdapter.
...
Also remove an unnecessary import from EmulationActivity.java. This should have been removed in the previous commit.
2013-10-02 22:31:17 -04:00
Lioncash
c517b7fe7e
[Android] Simplify call for getting the WindowManager instance within EmulationActivity.
2013-10-02 21:59:09 -04:00
Lioncash
b1268bfcd2
[Android] General documentation cleanup and additions. Adjusts the 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-02 15:28:02 -04:00
Lioncash
cd6a863eec
[Android] Make the GameListFragment extend a ListFragment instead of a 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 21:43:27 -04:00
lioncash
16fb0b04d8
[Android] Externalize how the formatting is used in the file size string, the file clicked string, and the current dir string.
2013-10-01 10:32:05 -04:00
lioncash
80a4cbdbb4
[Android] Add xxhdpi versions of the file icon and the folder icon used in the folder browser.
2013-10-01 10:05:17 -04:00
lioncash
ca177539b6
[Android] Add correct density-sized images of the navigation drawer icon. Now all icons are density-specific.
2013-10-01 09:53:47 -04:00
lioncash
c3c1afcc09
[Android] Explicitly specify the allowBackup attribute in the manifest.
...
It's considered good practice to specify it, so why not?
Basically it allows the application to be backed up or restored via ADB.
2013-10-01 09:31:02 -04:00
lioncash
cb9ff3d9f8
[Android] Remove an unnecessary method override from GameListActivity.java. 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-10-01 09:18:17 -04:00
Lioncash
1c4c00d171
[Android] Return true upon displaying the exit confirmations dialog in EmulationActivity.java. Now multiple games can be launched like normal. Previously it was returning false.
2013-09-27 18:17:29 -04:00
Lioncash
69d2ecff52
Simplify SwitchPage() within GameListActivity.java. We no longer need the first switch statement, since case 0 will be hit when SwitchPage(0) is called from the folder browser. This means we can also get rid of recreateFragment(), since the only time this needs to be called is within the onCreate() function. When SwitchPage(0) is called, SwitchPage will perform basically the same actions as recreateFragment() would; thus the reason it can be removed.
2013-09-27 17:16:59 -04:00
Lioncash
689aca2788
[Android] Remove commented out code within EmulationActivity.java. Since the back button handling has a specific purpose, this is no longer needed.
2013-09-26 23:40:39 -04:00
Lioncash
f6a8733660
[Android] Tiny inline documentation cleanup.
2013-09-26 23:32:41 -04:00
Lioncash
8aba748735
[Android] Fix a situation within the FolderBrowser where the application would crash. listFiles() returns null when either the File object it's called on isn't a directory or if an I/O error happens (in their infinite wisdom, they actually thought NOT throwing an exception was a cool way to handle this. How about that?). In the case of trying to access system directories as a normal user, an I/O error will occur due to permission access rights. This fixes that.
2013-09-26 23:06:10 -04:00
Lioncash
d903983564
[Android] Move EmulationActivity.java and NativeGLSurfaceView.java into a new sub-package called emulation. Now, all that's kept within the base package is the main class, the native calling class, etc.
2013-09-23 07:14:51 -04:00
Ryan Houdek
96a77f9feb
[Android] Fix the ability to stop the game and start another.
2013-09-23 01:43:18 -05:00
Ryan Houdek
bab91494d5
Merge branch 'master' into android-core-control
2013-09-23 00:47:57 -05:00
Ryan Houdek
1da6469c62
[Android] Use new 4.0 icon.
2013-09-23 00:25:34 -05:00
Lioncash
af7ed820f5
[Android] Add a JP version of the string for FSAA. Also correct the English string too.
2013-09-22 19:16:32 -04:00
Ryan Houdek
bdae5d1027
[Android] Fix typo, FSAA stands for full scene antialiasing.
2013-09-22 11:59:10 -05:00
Ryan Houdek
6340ad68be
Merge branch 'GLES3-FSAA'
2013-09-22 10:00:51 -05:00
Ryan Houdek
81effb8099
[Android] Add in FSAA option.
2013-09-22 09:25:38 -05:00
Pierre Bourdon
1f95a294cd
Add the new 'Clean' themes from MaJoR and default to Clean by changing the name of the config key (yes, hack)
2013-09-22 16:00:56 +02:00
Lioncash
49fff7979b
[Android] Make the FolderBrowser extend a ListFragment instead of a regular fragment. Lets us get rid of the need for an AdapterView.OnItemClickListener when handling list item clicks. Simplifies the implementation of the FolderBrowser a tiny bit.
2013-09-18 22:17:23 -04:00
Ryan Houdek
24a44ecfb8
[ANDROID] Add two new DriverDetails bugs for Adreno. V45 of the driver has broken shader compilation with UBOs in the shaders, this is most likely fixed with V53 found in the Nexus 5. Add a bug for issue surrounding on screentext and doing a glClear after swap causes screen swizzling and zero frames rendered respectively. On the Java side, pass in the dimensions of the screen swapped since there is an issue with Adreno where it rotates the output 90 degrees for some reason. Disable the GLSL shader cache on Android for now due to the inability to cleanly exit the emulator, this tends to cause the cache to get corrupted. All this together fixes rendering with Adreno 3xx GPUs with driver version v14 and above. In particular my Galaxy S4 still resets with this without the root commands, but my HTC Droid DNA and LG G2 is fine. This must be due to particular 'enhancements' that the Samsung kernel has over the other ones. The speed on Adreno has yet to be optimized, so it will most likely be slow still. Faster than the software rasterizer in any case. The ARMJIT is still broken in at this point, so not much fun can be had.
2013-09-18 02:37:10 -05:00
Lioncash
db7f8697ba
[Android] Use a simpler "startActivity()" call in DolphinEmulator.java. Turns out the other one isn't 4.0 compatible, but actually only 4.1 and up. Also, in this case, we really don't actually care about the saved instance state bundle.
2013-09-18 01:57:01 -04:00
Lioncash
988544389a
[Android] Slightly change the layout of the AboutFragment. Looks more like an actual list view now.
2013-09-16 22:04:59 -04:00
Lioncash
b4883e2ada
[Android] Make the AboutFragment extend the ListFragment, since this is basically what this fragment acts as. Much more descriptive than simply extending Fragment.
...
Also made the list non-clickable, since it isn't supposed to be interacted with.
2013-09-16 21:04:58 -04:00
Lioncash
449cd3b267
[Android] No need to use startActivityForResult in DolphinEmulator.java any more. Just some leftover stuff from the big refactor.
2013-09-15 22:11:17 -04:00
Lioncash
5a0f0b908e
[Android] Fix the name of the parameters in some unused interface methods.
...
There are some interface methods that are simply stubbed for the time being. It would be better to give the parameters better names despite not being used.
2013-09-15 14:34:30 -04:00
Pierre Bourdon
c3eec379df
Move global User/Wii to Sys/Wii
2013-09-14 06:08:30 +02:00
Ryan Houdek
751fae4965
[Android] Make sure the default config file has fastmem disabled.
2013-09-13 21:17:40 -05:00
Lioncash
7a15159c34
[Android] Explicitly set the defaults for the CPU settings.
2013-09-13 00:29:59 -04:00
Lioncash
0490d7d59c
[Android] JP strings for the Fastmem option.
2013-09-13 00:24:06 -04:00
Ryan Houdek
ba05db7828
[Android] Add a fastmem option to the cpu options, default disabled.
2013-09-12 23:08:00 -05:00
lioncash
84db868187
[Android] Android uppercases the name of the tabs in the settings by default. So we don't have to call ".toUpperCase" in the string returns in getPageTitle().
2013-09-10 11:21:13 -04:00
lioncash
8ceb72612a
[Android] Kick the targetSdkVersion in the AndroidManifest XML file to 18. Since this app basically works on 4.x.x, we don't need to make compatibility modes kick in for anything above 4.0.0.
...
Also very minor cleanup to the XML.
2013-09-10 09:29:05 -04:00
lioncash
ce5f80b151
[Android] Give the exceptions in compareTo implementations in GameListItem and FolderBrowserItem some messages. If the exceptions ever actually get thrown, at least you're given a reason as to why the exception was thrown now. Also changed the exception type to NullPointerException. IllegalArgumentException is intended to be used for validating the parameters in constructors/methods.
2013-09-10 08:32:11 -04:00
Lioncash
a3ef35a1bf
[Android] Fix a bug where the video backend would not load correctly.
2013-09-09 22:38:09 -04:00
Lioncash
f382a53500
[Android] Organize the list of allowed file extensions for the folder browser and game list alphabetically.
...
Keeps things nice and sorted.
2013-09-08 17:52:26 -04:00
Lioncash
c306dafe44
[Android] Simplify some checks within the the folder browser in regards to checking if a file is hidden or not. Also potentially fixed the case where items in the game list would not remain saved to the config.
2013-09-08 16:45:37 -04:00
Lioncash
f753b9ae97
[Android] Show the full text for save and load states if there's room on the screen. If not, let it overflow into a context menu.
2013-09-07 19:19:28 -04:00
Lioncash
cc054b9da3
[Android] Make the MotionAlertDialog private. This isn't needed to be protected anymore. The only reason it was protected was for when the input settings were coupled as all hell to the GameListActivity (lol). Also documented the interface method within it.
2013-09-07 18:51:15 -04:00
Lioncash
86d10ec19e
[Android] Fix the input binding string.
...
Forgot a period at the end. Thanks for pointing that out pauldachz
2013-09-07 06:19:24 -04:00
Lioncash
10eb9f09b4
[Android] Change a check for an empty path from !path.equals("") to !path.isEmpty() in GameListItem.
...
Also simplify the logging exception tag in the constructor.
2013-09-04 08:02:32 -04:00
Lioncash
b94a462fca
[Android] Remove the compareTo implementation from SideMenuItem. We don't perform any operations that require it.
2013-09-04 07:43:56 -04:00
Lioncash
38304a7e42
[Android] Simplify the JP settings labels.
2013-09-04 07:36:28 -04:00
Lioncash
48cda9d26f
[Android] Display the name of the control that is being bound in the input settings. Makes the binding description more informative.
2013-09-04 07:32:28 -04:00
Lioncash
a83d4e7226
[Android] Correct a typo for the load state menu root in the menu overlay XML. Should be "loadStateRoot", not "loadtateRoot"
2013-09-04 07:19:02 -04:00
Lioncash
a7c2b27a6a
[Android] Remove unused strings from the resource XML files.
2013-09-04 07:09:29 -04:00
Lioncash
bdc04f9119
[Android] Change the exception logging in NativeLibrary to be an error instead of a warning.
...
Technically not having the required library should be regarded as an error, since the app won't even load without it.
Also changed the logging tag in FolderBrowser.
2013-09-04 06:46:11 -04:00
Lioncash
70cfe96492
[Android] Fix an accidental call to the wrong method in the superclass of EmulationActivity. Should have been returning "super.onMenuItemSelected(itemId, item)" instead of "super.onOptionsItemSelected(item)".
2013-09-03 17:25:45 -04:00
Lioncash
4f72671d32
[Android] Change the documentation of the FolderBrowser class. We don't show invalid items anymore.
2013-09-03 07:05:02 -04:00