forked from shadowsocks/shadowsocks-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
50 changed files
with
957 additions
and
1,505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Scala source | ||
".*\\.scala" -> frame open:"/*" line:"*" close:"*/" |
20 changes: 20 additions & 0 deletions
20
src/main/scala/be/mygod/preference/DialogPreferencePlus.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
/*******************************************************************************/ | ||
/* */ | ||
/* Copyright (C) 2016 by Max Lv <[email protected]> */ | ||
/* Copyright (C) 2016 by Mygod Studio <[email protected]> */ | ||
/* */ | ||
/* This program is free software: you can redistribute it and/or modify */ | ||
/* it under the terms of the GNU General Public License as published by */ | ||
/* the Free Software Foundation, either version 3 of the License, or */ | ||
/* (at your option) any later version. */ | ||
/* */ | ||
/* This program is distributed in the hope that it will be useful, */ | ||
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ | ||
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | ||
/* GNU General Public License for more details. */ | ||
/* */ | ||
/* You should have received a copy of the GNU General Public License */ | ||
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
/* */ | ||
/*******************************************************************************/ | ||
|
||
package be.mygod.preference | ||
|
||
import android.app.DialogFragment | ||
|
20 changes: 20 additions & 0 deletions
20
src/main/scala/be/mygod/preference/EditTextPreference.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
/*******************************************************************************/ | ||
/* */ | ||
/* Copyright (C) 2016 by Max Lv <[email protected]> */ | ||
/* Copyright (C) 2016 by Mygod Studio <[email protected]> */ | ||
/* */ | ||
/* This program is free software: you can redistribute it and/or modify */ | ||
/* it under the terms of the GNU General Public License as published by */ | ||
/* the Free Software Foundation, either version 3 of the License, or */ | ||
/* (at your option) any later version. */ | ||
/* */ | ||
/* This program is distributed in the hope that it will be useful, */ | ||
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ | ||
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | ||
/* GNU General Public License for more details. */ | ||
/* */ | ||
/* You should have received a copy of the GNU General Public License */ | ||
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
/* */ | ||
/*******************************************************************************/ | ||
|
||
package be.mygod.preference | ||
|
||
import android.content.Context | ||
|
20 changes: 20 additions & 0 deletions
20
src/main/scala/be/mygod/preference/EditTextPreferenceDialogFragment.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
/*******************************************************************************/ | ||
/* */ | ||
/* Copyright (C) 2016 by Max Lv <[email protected]> */ | ||
/* Copyright (C) 2016 by Mygod Studio <[email protected]> */ | ||
/* */ | ||
/* This program is free software: you can redistribute it and/or modify */ | ||
/* it under the terms of the GNU General Public License as published by */ | ||
/* the Free Software Foundation, either version 3 of the License, or */ | ||
/* (at your option) any later version. */ | ||
/* */ | ||
/* This program is distributed in the hope that it will be useful, */ | ||
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ | ||
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | ||
/* GNU General Public License for more details. */ | ||
/* */ | ||
/* You should have received a copy of the GNU General Public License */ | ||
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
/* */ | ||
/*******************************************************************************/ | ||
|
||
package be.mygod.preference | ||
|
||
import android.content.Context | ||
|
20 changes: 20 additions & 0 deletions
20
src/main/scala/be/mygod/preference/NumberPickerPreference.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
/*******************************************************************************/ | ||
/* */ | ||
/* Copyright (C) 2016 by Max Lv <[email protected]> */ | ||
/* Copyright (C) 2016 by Mygod Studio <[email protected]> */ | ||
/* */ | ||
/* This program is free software: you can redistribute it and/or modify */ | ||
/* it under the terms of the GNU General Public License as published by */ | ||
/* the Free Software Foundation, either version 3 of the License, or */ | ||
/* (at your option) any later version. */ | ||
/* */ | ||
/* This program is distributed in the hope that it will be useful, */ | ||
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ | ||
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | ||
/* GNU General Public License for more details. */ | ||
/* */ | ||
/* You should have received a copy of the GNU General Public License */ | ||
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
/* */ | ||
/*******************************************************************************/ | ||
|
||
package be.mygod.preference | ||
|
||
import android.content.Context | ||
|
20 changes: 20 additions & 0 deletions
20
src/main/scala/be/mygod/preference/NumberPickerPreferenceDialogFragment.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
/*******************************************************************************/ | ||
/* */ | ||
/* Copyright (C) 2016 by Max Lv <[email protected]> */ | ||
/* Copyright (C) 2016 by Mygod Studio <[email protected]> */ | ||
/* */ | ||
/* This program is free software: you can redistribute it and/or modify */ | ||
/* it under the terms of the GNU General Public License as published by */ | ||
/* the Free Software Foundation, either version 3 of the License, or */ | ||
/* (at your option) any later version. */ | ||
/* */ | ||
/* This program is distributed in the hope that it will be useful, */ | ||
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ | ||
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | ||
/* GNU General Public License for more details. */ | ||
/* */ | ||
/* You should have received a copy of the GNU General Public License */ | ||
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
/* */ | ||
/*******************************************************************************/ | ||
|
||
package be.mygod.preference | ||
|
||
import android.content.Context | ||
|
20 changes: 20 additions & 0 deletions
20
src/main/scala/be/mygod/preference/PreferenceCategory.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
/*******************************************************************************/ | ||
/* */ | ||
/* Copyright (C) 2016 by Max Lv <[email protected]> */ | ||
/* Copyright (C) 2016 by Mygod Studio <[email protected]> */ | ||
/* */ | ||
/* This program is free software: you can redistribute it and/or modify */ | ||
/* it under the terms of the GNU General Public License as published by */ | ||
/* the Free Software Foundation, either version 3 of the License, or */ | ||
/* (at your option) any later version. */ | ||
/* */ | ||
/* This program is distributed in the hope that it will be useful, */ | ||
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ | ||
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | ||
/* GNU General Public License for more details. */ | ||
/* */ | ||
/* You should have received a copy of the GNU General Public License */ | ||
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
/* */ | ||
/*******************************************************************************/ | ||
|
||
package be.mygod.preference | ||
|
||
import android.content.Context | ||
|
20 changes: 20 additions & 0 deletions
20
src/main/scala/be/mygod/preference/PreferenceFragment.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
/*******************************************************************************/ | ||
/* */ | ||
/* Copyright (C) 2016 by Max Lv <[email protected]> */ | ||
/* Copyright (C) 2016 by Mygod Studio <[email protected]> */ | ||
/* */ | ||
/* This program is free software: you can redistribute it and/or modify */ | ||
/* it under the terms of the GNU General Public License as published by */ | ||
/* the Free Software Foundation, either version 3 of the License, or */ | ||
/* (at your option) any later version. */ | ||
/* */ | ||
/* This program is distributed in the hope that it will be useful, */ | ||
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ | ||
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | ||
/* GNU General Public License for more details. */ | ||
/* */ | ||
/* You should have received a copy of the GNU General Public License */ | ||
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
/* */ | ||
/*******************************************************************************/ | ||
|
||
package be.mygod.preference | ||
|
||
import android.app.DialogFragment | ||
|
20 changes: 20 additions & 0 deletions
20
src/main/scala/be/mygod/preference/PreferenceGroupAdapter.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
/*******************************************************************************/ | ||
/* */ | ||
/* Copyright (C) 2016 by Max Lv <[email protected]> */ | ||
/* Copyright (C) 2016 by Mygod Studio <[email protected]> */ | ||
/* */ | ||
/* This program is free software: you can redistribute it and/or modify */ | ||
/* it under the terms of the GNU General Public License as published by */ | ||
/* the Free Software Foundation, either version 3 of the License, or */ | ||
/* (at your option) any later version. */ | ||
/* */ | ||
/* This program is distributed in the hope that it will be useful, */ | ||
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ | ||
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | ||
/* GNU General Public License for more details. */ | ||
/* */ | ||
/* You should have received a copy of the GNU General Public License */ | ||
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
/* */ | ||
/*******************************************************************************/ | ||
|
||
package be.mygod.preference | ||
|
||
import java.lang.reflect.Field | ||
|
20 changes: 20 additions & 0 deletions
20
src/main/scala/be/mygod/preference/SummaryPreference.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
/*******************************************************************************/ | ||
/* */ | ||
/* Copyright (C) 2016 by Max Lv <[email protected]> */ | ||
/* Copyright (C) 2016 by Mygod Studio <[email protected]> */ | ||
/* */ | ||
/* This program is free software: you can redistribute it and/or modify */ | ||
/* it under the terms of the GNU General Public License as published by */ | ||
/* the Free Software Foundation, either version 3 of the License, or */ | ||
/* (at your option) any later version. */ | ||
/* */ | ||
/* This program is distributed in the hope that it will be useful, */ | ||
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ | ||
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | ||
/* GNU General Public License for more details. */ | ||
/* */ | ||
/* You should have received a copy of the GNU General Public License */ | ||
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
/* */ | ||
/*******************************************************************************/ | ||
|
||
package be.mygod.preference | ||
|
||
import android.support.v7.preference.Preference | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,22 @@ | ||
/* | ||
* Shadowsocks - A shadowsocks client for Android | ||
* Copyright (C) 2014 <[email protected]> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* | ||
* ___====-_ _-====___ | ||
* _--^^^#####// \\#####^^^--_ | ||
* _-^##########// ( ) \\##########^-_ | ||
* -############// |\^^/| \\############- | ||
* _/############// (@::@) \\############\_ | ||
* /#############(( \\// ))#############\ | ||
* -###############\\ (oo) //###############- | ||
* -#################\\ / VV \ //#################- | ||
* -###################\\/ \//###################- | ||
* _#/|##########/\######( /\ )######/\##########|\#_ | ||
* |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \| | ||
* ` |/ V V ` V \#\| | | |/#/ V ' V V \| ' | ||
* ` ` ` ` / | | | | \ ' ' ' ' | ||
* ( | | | | ) | ||
* __\ | | | | /__ | ||
* (vvv(VVV)(VVV)vvv) | ||
* | ||
* HERE BE DRAGONS | ||
* | ||
*/ | ||
/*******************************************************************************/ | ||
/* */ | ||
/* Copyright (C) 2016 by Max Lv <[email protected]> */ | ||
/* Copyright (C) 2016 by Mygod Studio <[email protected]> */ | ||
/* */ | ||
/* This program is free software: you can redistribute it and/or modify */ | ||
/* it under the terms of the GNU General Public License as published by */ | ||
/* the Free Software Foundation, either version 3 of the License, or */ | ||
/* (at your option) any later version. */ | ||
/* */ | ||
/* This program is distributed in the hope that it will be useful, */ | ||
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ | ||
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | ||
/* GNU General Public License for more details. */ | ||
/* */ | ||
/* You should have received a copy of the GNU General Public License */ | ||
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */ | ||
/* */ | ||
/*******************************************************************************/ | ||
|
||
package com.github.shadowsocks | ||
|
||
|
Oops, something went wrong.