Browse files

added GPL declaration.

  • Loading branch information...
1 parent e90f129 commit 6d78d49665319022a20547d8bb46362ad438e2f6 @mariotaku committed Nov 15, 2012
Showing with 1,131 additions and 12 deletions.
  1. +19 −0 src/org/mariotaku/twidere/activity/CreateComposeShortcutActivity.java
  2. +20 −1 src/org/mariotaku/twidere/activity/CustomTabsActivity.java
  3. +19 −0 src/org/mariotaku/twidere/activity/DataProfilingSettingsActivity.java
  4. +3 −1 src/org/mariotaku/twidere/activity/DualPaneActivity.java
  5. +19 −0 src/org/mariotaku/twidere/activity/EditCustomTabActivity.java
  6. +20 −1 src/org/mariotaku/twidere/activity/ExtensionsListActivity.java
  7. +19 −0 src/org/mariotaku/twidere/activity/HostMappingActivity.java
  8. +19 −0 src/org/mariotaku/twidere/activity/InternalSettingsDetailsActivity.java
  9. +4 −0 src/org/mariotaku/twidere/activity/LinkHandlerActivity.java
  10. +19 −0 src/org/mariotaku/twidere/activity/MultiSelectActivity.java
  11. +19 −0 src/org/mariotaku/twidere/activity/SettingsDetailsActivity.java
  12. +20 −1 src/org/mariotaku/twidere/adapter/AccountsAdapter.java
  13. +19 −0 src/org/mariotaku/twidere/adapter/DirectMessagesEntryAdapter.java
  14. +19 −0 src/org/mariotaku/twidere/adapter/ExtensionsAdapter.java
  15. +19 −0 src/org/mariotaku/twidere/adapter/ListActionAdapter.java
  16. +19 −0 src/org/mariotaku/twidere/adapter/SeparatedListAdapter.java
  17. +20 −1 src/org/mariotaku/twidere/fragment/APIUpgradeConfirmDialog.java
  18. +19 −0 src/org/mariotaku/twidere/fragment/ActivitiesAboutMeFragment.java
  19. +19 −0 src/org/mariotaku/twidere/fragment/CustomTabsFragment.java
  20. +19 −0 src/org/mariotaku/twidere/fragment/ExtensionsListFragment.java
  21. +19 −0 src/org/mariotaku/twidere/fragment/FiltersListFragment.java
  22. +19 −0 src/org/mariotaku/twidere/fragment/SavedSearchesListFragment.java
  23. +19 −0 src/org/mariotaku/twidere/fragment/UserMentionsFragment.java
  24. +19 −0 src/org/mariotaku/twidere/loader/ActivitiesAboutMeLoader.java
  25. +20 −1 src/org/mariotaku/twidere/loader/BaseUserListsLoader.java
  26. +19 −0 src/org/mariotaku/twidere/loader/DummyParcelableStatusesLoader.java
  27. +20 −1 src/org/mariotaku/twidere/loader/ExtensionsListLoader.java
  28. +19 −0 src/org/mariotaku/twidere/loader/SavedSearchesLoader.java
  29. +19 −0 src/org/mariotaku/twidere/loader/UserListMembershipsLoader.java
  30. +19 −0 src/org/mariotaku/twidere/loader/UserListsLoader.java
  31. +20 −1 src/org/mariotaku/twidere/model/AccountViewHolder.java
  32. +19 −0 src/org/mariotaku/twidere/preference/AutoRefreshContentPreference.java
  33. +19 −0 src/org/mariotaku/twidere/preference/ClearCachePreference.java
  34. +19 −0 src/org/mariotaku/twidere/preference/ClearDatabasesPreference.java
  35. +19 −0 src/org/mariotaku/twidere/preference/HomeRefreshContentPreference.java
  36. +19 −0 src/org/mariotaku/twidere/preference/ImageUploaderPickerPreference.java
  37. +19 −0 src/org/mariotaku/twidere/preference/MultiSelectListPreference.java
  38. +19 −0 src/org/mariotaku/twidere/preference/NotificationContentPreference.java
  39. +19 −0 src/org/mariotaku/twidere/preference/NotificationTypePreference.java
  40. +19 −0 src/org/mariotaku/twidere/preference/SlientNotificationsPreference.java
  41. +19 −0 src/org/mariotaku/twidere/preference/StatusPreviewPreference.java
  42. +19 −0 src/org/mariotaku/twidere/preference/TrendsLocationPreference.java
  43. +19 −0 src/org/mariotaku/twidere/preference/TweetShortenerPickerPreference.java
  44. +20 −1 src/org/mariotaku/twidere/util/BitmapDecodeHelper.java
  45. +19 −0 src/org/mariotaku/twidere/util/CacheUsersStatusesTask.java
  46. +19 −0 src/org/mariotaku/twidere/util/ClipboardUtils.java
  47. +19 −0 src/org/mariotaku/twidere/util/DatabaseHelper.java
  48. +20 −1 src/org/mariotaku/twidere/util/HtmlLinkExtractor.java
  49. +19 −0 src/org/mariotaku/twidere/util/MapInterface.java
  50. +19 −0 src/org/mariotaku/twidere/util/NameValuePairImpl.java
  51. +19 −0 src/org/mariotaku/twidere/util/NoDuplicatesArrayList.java
  52. +20 −1 src/org/mariotaku/twidere/util/NoDuplicatesLinkedList.java
  53. +19 −0 src/org/mariotaku/twidere/util/OAuthPasswordAuthenticator.java
  54. +19 −0 src/org/mariotaku/twidere/util/OnBackPressedAccessor.java
  55. +19 −0 src/org/mariotaku/twidere/util/OnLinkClickHandler.java
  56. +19 −0 src/org/mariotaku/twidere/util/ServiceUtils.java
  57. +19 −0 src/org/mariotaku/twidere/util/SynchronizedStateSavedList.java
  58. +19 −0 src/org/mariotaku/twidere/util/TwidereHostAddressResolver.java
  59. +19 −0 src/org/mariotaku/twidere/util/TwitterErrorCodes.java
  60. +1 −0 src/org/mariotaku/twidere/util/Utils.java
  61. +30 −1 src/org/mariotaku/twidere/view/SlidePane.java
View
19 src/org/mariotaku/twidere/activity/CreateComposeShortcutActivity.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.activity;
import org.mariotaku.twidere.Constants;
View
21 src/org/mariotaku/twidere/activity/CustomTabsActivity.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.activity;
import org.mariotaku.twidere.fragment.CustomTabsFragment;
@@ -30,4 +49,4 @@ public boolean onOptionsItemSelected(final MenuItem item) {
}
return super.onOptionsItemSelected(item);
}
-}
+}
View
19 src/org/mariotaku/twidere/activity/DataProfilingSettingsActivity.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.activity;
import java.io.BufferedReader;
View
4 src/org/mariotaku/twidere/activity/DualPaneActivity.java
@@ -146,7 +146,9 @@ public void onCreate(final Bundle savedInstanceState) {
break;
}
setContentView(layout);
- mRightPaneContainer.setBackgroundResource(getPaneBackground());
+ if (mRightPaneContainer != null) {
+ mRightPaneContainer.setBackgroundResource(getPaneBackground());
+ }
getSupportFragmentManager().addOnBackStackChangedListener(this);
}
View
19 src/org/mariotaku/twidere/activity/EditCustomTabActivity.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.activity;
import static android.text.TextUtils.isEmpty;
View
21 src/org/mariotaku/twidere/activity/ExtensionsListActivity.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.activity;
import org.mariotaku.twidere.fragment.ExtensionsListFragment;
@@ -30,4 +49,4 @@ public boolean onOptionsItemSelected(final MenuItem item) {
}
return super.onOptionsItemSelected(item);
}
-}
+}
View
19 src/org/mariotaku/twidere/activity/HostMappingActivity.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.activity;
import static android.text.TextUtils.isEmpty;
View
19 src/org/mariotaku/twidere/activity/InternalSettingsDetailsActivity.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.activity;
import org.mariotaku.twidere.Constants;
View
4 src/org/mariotaku/twidere/activity/LinkHandlerActivity.java
@@ -361,4 +361,8 @@ private boolean setFragment(final Uri uri) {
return true;
}
+ // This simply disables dual pane layout.
+ int getDualPaneLayoutRes() {
+ return getNormalLayoutRes();
+ }
}
View
19 src/org/mariotaku/twidere/activity/MultiSelectActivity.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.activity;
import static org.mariotaku.twidere.util.Utils.getAccountScreenNames;
View
19 src/org/mariotaku/twidere/activity/SettingsDetailsActivity.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.activity;
import android.content.res.Resources;
View
21 src/org/mariotaku/twidere/adapter/AccountsAdapter.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.adapter;
import static org.mariotaku.twidere.util.Utils.getBiggerTwitterProfileImage;
@@ -99,4 +118,4 @@ public Cursor swapCursor(final Cursor cursor) {
}
return super.swapCursor(cursor);
}
-}
+}
View
19 src/org/mariotaku/twidere/adapter/DirectMessagesEntryAdapter.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.adapter;
import static android.text.format.DateUtils.formatSameDayTime;
View
19 src/org/mariotaku/twidere/adapter/ExtensionsAdapter.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.adapter;
import java.util.ArrayList;
View
19 src/org/mariotaku/twidere/adapter/ListActionAdapter.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.adapter;
import org.mariotaku.twidere.R;
View
19 src/org/mariotaku/twidere/adapter/SeparatedListAdapter.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.adapter;
import java.util.ArrayList;
View
21 src/org/mariotaku/twidere/fragment/APIUpgradeConfirmDialog.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.fragment;
import org.mariotaku.twidere.R;
@@ -28,4 +47,4 @@ public Dialog onCreateDialog(final Bundle savedInstanceState) {
return builder.create();
}
-}
+}
View
19 src/org/mariotaku/twidere/fragment/ActivitiesAboutMeFragment.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.fragment;
import static android.text.format.DateUtils.getRelativeTimeSpanString;
View
19 src/org/mariotaku/twidere/fragment/CustomTabsFragment.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.fragment;
import static org.mariotaku.twidere.util.Utils.getTabIconDrawable;
View
19 src/org/mariotaku/twidere/fragment/ExtensionsListFragment.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.fragment;
import static org.mariotaku.twidere.util.Utils.showErrorToast;
View
19 src/org/mariotaku/twidere/fragment/FiltersListFragment.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.fragment;
import org.mariotaku.twidere.activity.FiltersActivity;
View
19 src/org/mariotaku/twidere/fragment/SavedSearchesListFragment.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.fragment;
import static org.mariotaku.twidere.util.Utils.openTweetSearch;
View
19 src/org/mariotaku/twidere/fragment/UserMentionsFragment.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.fragment;
import static org.mariotaku.twidere.util.Utils.getAccountScreenName;
View
19 src/org/mariotaku/twidere/loader/ActivitiesAboutMeLoader.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.loader;
import java.util.List;
View
21 src/org/mariotaku/twidere/loader/BaseUserListsLoader.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.loader;
import static org.mariotaku.twidere.util.Utils.getTwitterInstance;
@@ -83,4 +102,4 @@ public Twitter getTwitter() {
public void onStartLoading() {
forceLoad();
}
-}
+}
View
19 src/org/mariotaku/twidere/loader/DummyParcelableStatusesLoader.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.loader;
import java.util.List;
View
21 src/org/mariotaku/twidere/loader/ExtensionsListLoader.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.loader;
import java.util.List;
@@ -133,4 +152,4 @@ public void onReceive(final Context context, final Intent intent) {
}
}
-}
+}
View
19 src/org/mariotaku/twidere/loader/SavedSearchesLoader.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.loader;
import static org.mariotaku.twidere.util.Utils.getTwitterInstance;
View
19 src/org/mariotaku/twidere/loader/UserListMembershipsLoader.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.loader;
import java.util.List;
View
19 src/org/mariotaku/twidere/loader/UserListsLoader.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.loader;
import static org.mariotaku.twidere.util.Utils.getTwitterInstance;
View
21 src/org/mariotaku/twidere/model/AccountViewHolder.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.model;
import org.mariotaku.twidere.R;
@@ -32,4 +51,4 @@ public void setAccountColor(final int color) {
public void setIsDefault(final boolean is_default) {
default_indicator.setVisibility(is_default ? View.VISIBLE : View.GONE);
}
-}
+}
View
19 src/org/mariotaku/twidere/preference/AutoRefreshContentPreference.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.preference;
import org.mariotaku.twidere.Constants;
View
19 src/org/mariotaku/twidere/preference/ClearCachePreference.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.preference;
import static android.os.Environment.getExternalStorageDirectory;
View
19 src/org/mariotaku/twidere/preference/ClearDatabasesPreference.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.preference;
import org.mariotaku.twidere.Constants;
View
19 src/org/mariotaku/twidere/preference/HomeRefreshContentPreference.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.preference;
import org.mariotaku.twidere.Constants;
View
19 src/org/mariotaku/twidere/preference/ImageUploaderPickerPreference.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.preference;
import java.util.ArrayList;
View
19 src/org/mariotaku/twidere/preference/MultiSelectListPreference.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.preference;
import android.app.AlertDialog;
View
19 src/org/mariotaku/twidere/preference/NotificationContentPreference.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.preference;
import org.mariotaku.twidere.Constants;
View
19 src/org/mariotaku/twidere/preference/NotificationTypePreference.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.preference;
import org.mariotaku.twidere.Constants;
View
19 src/org/mariotaku/twidere/preference/SlientNotificationsPreference.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.preference;
import android.content.Context;
View
19 src/org/mariotaku/twidere/preference/StatusPreviewPreference.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.preference;
import static android.text.format.DateUtils.getRelativeTimeSpanString;
View
19 src/org/mariotaku/twidere/preference/TrendsLocationPreference.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.preference;
import static org.mariotaku.twidere.util.Utils.getDefaultTwitterInstance;
View
19 src/org/mariotaku/twidere/preference/TweetShortenerPickerPreference.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.preference;
import java.util.ArrayList;
View
21 src/org/mariotaku/twidere/util/BitmapDecodeHelper.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import java.io.IOException;
@@ -47,4 +66,4 @@ private static Bitmap decode(final String path, final BitmapFactory.Options opts
}
}
-}
+}
View
19 src/org/mariotaku/twidere/util/CacheUsersStatusesTask.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import static org.mariotaku.twidere.util.Utils.makeCachedUserContentValues;
View
19 src/org/mariotaku/twidere/util/ClipboardUtils.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import android.content.Context;
View
19 src/org/mariotaku/twidere/util/DatabaseHelper.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import static org.mariotaku.twidere.util.DatabaseUpgradeHelper.safeUpgrade;
View
21 src/org/mariotaku/twidere/util/HtmlLinkExtractor.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import java.util.Vector;
@@ -64,4 +83,4 @@ private static String replaceInvalidChar(String link) {
}
}
-}
+}
View
19 src/org/mariotaku/twidere/util/MapInterface.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
public interface MapInterface {
View
19 src/org/mariotaku/twidere/util/NameValuePairImpl.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import static org.mariotaku.twidere.util.Utils.parseString;
View
19 src/org/mariotaku/twidere/util/NoDuplicatesArrayList.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import java.util.ArrayList;
View
21 src/org/mariotaku/twidere/util/NoDuplicatesLinkedList.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import java.util.Collection;
@@ -36,4 +55,4 @@ public boolean addAll(final int index, final Collection<? extends E> collection)
copy.removeAll(this);
return super.addAll(index, copy);
}
-}
+}
View
19 src/org/mariotaku/twidere/util/OAuthPasswordAuthenticator.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import static android.text.TextUtils.isEmpty;
View
19 src/org/mariotaku/twidere/util/OnBackPressedAccessor.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import android.annotation.TargetApi;
View
19 src/org/mariotaku/twidere/util/OnLinkClickHandler.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import static org.mariotaku.twidere.util.Utils.openTweetSearch;
View
19 src/org/mariotaku/twidere/util/ServiceUtils.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import java.util.HashMap;
View
19 src/org/mariotaku/twidere/util/SynchronizedStateSavedList.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import java.io.Serializable;
View
19 src/org/mariotaku/twidere/util/TwidereHostAddressResolver.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import static android.text.TextUtils.isEmpty;
View
19 src/org/mariotaku/twidere/util/TwitterErrorCodes.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.util;
import org.mariotaku.twidere.R;
View
1 src/org/mariotaku/twidere/util/Utils.java
@@ -1840,6 +1840,7 @@ public static void openDirectMessagesConversation(final Activity activity, final
final Fragment details_fragment = dual_pane_activity.getDetailsFragment();
if (details_fragment instanceof DirectMessagesConversationFragment && details_fragment.isAdded()) {
((DirectMessagesConversationFragment) details_fragment).showConversation(account_id, conversation_id);
+ dual_pane_activity.bringRightPaneToFront();
} else {
final Fragment fragment = new DirectMessagesConversationFragment();
final Bundle args = new Bundle();
View
31 src/org/mariotaku/twidere/view/SlidePane.java
@@ -1,3 +1,22 @@
+/*
+ * Twidere - Twitter client for Android
+ *
+ * Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
+ *
+ * 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 org.mariotaku.twidere.view;
import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
@@ -76,11 +95,21 @@ void animateContentTo(final int x) {
public void onSizeChanged(int w, int h, int oldw, int oldh) {
super.onSizeChanged(w, h, oldw, oldh);
if (mFirstCreate) {
- closeNoAnimation();
+ //closeNoAnimation();
+ post(new CloseNoAnimationRunnable());
mFirstCreate = false;
}
}
+ class CloseNoAnimationRunnable implements Runnable {
+
+ public void run() {
+ closeNoAnimation();
+ }
+
+
+ }
+
boolean shouldDisableScroll() {
return mShouldDisableScroll;
}

0 comments on commit 6d78d49

Please sign in to comment.