Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Refactored Developer Options code #607

Merged
merged 3 commits into from
Oct 10, 2018
Merged

Conversation

keianhzo
Copy link
Contributor

@keianhzo keianhzo commented Oct 9, 2018

Fixes #580 Refactored developer options code. Haven't replaced the scrollview for a listview as we don''t have so many elements as to affect the performance and would require some more work.

Copy link
Contributor

@MortimerGoro MortimerGoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great refactor!

I tested on a clean install and MSAA is 4X by default. It was 2X by default before.

@keianhzo
Copy link
Contributor Author

keianhzo commented Oct 9, 2018

Thanks @MortimerGoro! Default MSAA should be ok now

@@ -35,7 +35,7 @@
<string name="developer_options_events">Input Events</string>
<string name="developer_options_display_density">Display Density:</string>
<string name="developer_options_window_size">Window Size:</string>
<string name="developer_options_window_size_by">by</string>
<string name="developer_options_by">By</string>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the L10n string should be like Window Size: {width} × {height} or Window Size: {width} by {height}

we can't use the word By by itself, because the ordering of words doesn't make sense in all other languages

<string name="developer_options_env_cave">Cave</string>
<string name="developer_options_env_void">Void</string>
<string name="developer_options_environments">Environment</string>
<string name="developer_options_env_meadow">meadow</string>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why ar these lowercased but the Pointer Color selections, for example, are not?

@keianhzo
Copy link
Contributor Author

@cvan Fixed those two, thanks!

@keianhzo keianhzo force-pushed the developer-options-refactor branch from 343e82f to 633f59b Compare October 10, 2018 14:10
@bluemarvin
Copy link
Contributor

Looks like this is ready to land. Any outstanding issues can be addressed in a follow up issue.

@bluemarvin bluemarvin merged commit 4d6344f into master Oct 10, 2018
@bluemarvin bluemarvin deleted the developer-options-refactor branch November 13, 2018 23:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants