diff options
author | Nick Bradbury <nick.bradbury@gmail.com> | 2016-02-05 13:07:18 -0500 |
---|---|---|
committer | Nick Bradbury <nick.bradbury@gmail.com> | 2016-02-05 13:07:18 -0500 |
commit | c7199c5cce0c4294b8e786fb96a9a084151aa7fc (patch) | |
tree | 665936ca56e52f061e7b0e9dc0122767cd0cd928 | |
parent | f9617209fa4fceb5fb31d18e0452f83600798c53 (diff) | |
download | gradle-perf-android-medium-c7199c5cce0c4294b8e786fb96a9a084151aa7fc.tar.gz |
Rename OpenSansEditText to WPEditText
-rw-r--r-- | WordPress/src/main/java/org/wordpress/android/util/DialogUtils.java | 4 | ||||
-rw-r--r-- | WordPress/src/main/java/org/wordpress/android/widgets/WPEditText.java (renamed from WordPress/src/main/java/org/wordpress/android/widgets/OpenSansEditText.java) | 8 | ||||
-rw-r--r-- | WordPress/src/main/res/layout/blog_preferences.xml | 10 | ||||
-rw-r--r-- | WordPress/src/main/res/layout/comment_edit_activity.xml | 8 | ||||
-rw-r--r-- | WordPress/src/main/res/layout/create_blog_fragment.xml | 4 | ||||
-rw-r--r-- | WordPress/src/main/res/layout/edit_post_settings_fragment.xml | 4 | ||||
-rw-r--r-- | WordPress/src/main/res/layout/media_edit_fragment.xml | 6 | ||||
-rw-r--r-- | WordPress/src/main/res/layout/my_profile_dialog.xml | 2 | ||||
-rw-r--r-- | WordPress/src/main/res/layout/new_account_user_fragment_screen.xml | 8 | ||||
-rw-r--r-- | WordPress/src/main/res/layout/signin_fragment.xml | 8 |
10 files changed, 31 insertions, 31 deletions
diff --git a/WordPress/src/main/java/org/wordpress/android/util/DialogUtils.java b/WordPress/src/main/java/org/wordpress/android/util/DialogUtils.java index e42008817..5ace35392 100644 --- a/WordPress/src/main/java/org/wordpress/android/util/DialogUtils.java +++ b/WordPress/src/main/java/org/wordpress/android/util/DialogUtils.java @@ -8,7 +8,7 @@ import android.view.LayoutInflater; import android.view.View; import org.wordpress.android.R; -import org.wordpress.android.widgets.OpenSansEditText; +import org.wordpress.android.widgets.WPEditText; import org.wordpress.android.widgets.WPTextView; public class DialogUtils { @@ -24,7 +24,7 @@ public class DialogUtils { alertDialogBuilder.setView(promptView); final WPTextView textView = (WPTextView) promptView.findViewById(R.id.my_profile_dialog_label); - final OpenSansEditText editText = (OpenSansEditText) promptView.findViewById(R.id.my_profile_dialog_input); + final WPEditText editText = (WPEditText) promptView.findViewById(R.id.my_profile_dialog_input); final WPTextView hintView = (WPTextView) promptView.findViewById(R.id.my_profile_dialog_hint); textView.setText(title); diff --git a/WordPress/src/main/java/org/wordpress/android/widgets/OpenSansEditText.java b/WordPress/src/main/java/org/wordpress/android/widgets/WPEditText.java index 20ac1f25f..fe89045be 100644 --- a/WordPress/src/main/java/org/wordpress/android/widgets/OpenSansEditText.java +++ b/WordPress/src/main/java/org/wordpress/android/widgets/WPEditText.java @@ -5,18 +5,18 @@ import android.util.AttributeSet; import org.wordpress.persistentedittext.PersistentEditText; -public class OpenSansEditText extends PersistentEditText { - public OpenSansEditText(Context context) { +public class WPEditText extends PersistentEditText { + public WPEditText(Context context) { super(context, null); TypefaceCache.setCustomTypeface(context, this, null); } - public OpenSansEditText(Context context, AttributeSet attrs) { + public WPEditText(Context context, AttributeSet attrs) { super(context, attrs); TypefaceCache.setCustomTypeface(context, this, attrs); } - public OpenSansEditText(Context context, AttributeSet attrs, int defStyle) { + public WPEditText(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); TypefaceCache.setCustomTypeface(context, this, attrs); } diff --git a/WordPress/src/main/res/layout/blog_preferences.xml b/WordPress/src/main/res/layout/blog_preferences.xml index 833b06dc5..56aae7516 100644 --- a/WordPress/src/main/res/layout/blog_preferences.xml +++ b/WordPress/src/main/res/layout/blog_preferences.xml @@ -27,7 +27,7 @@ android:layout_height="wrap_content" android:text="@string/account_details" /> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/username" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -35,7 +35,7 @@ android:maxLength="@integer/max_length_username" android:singleLine="true" /> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/password" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -51,7 +51,7 @@ android:layout_height="wrap_content" android:text="@string/http_credentials" /> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/httpuser" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -59,7 +59,7 @@ android:maxLength="@integer/max_length_username" android:hint="@string/httpuser" /> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/httppassword" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -119,7 +119,7 @@ android:layout_height="wrap_content" android:text="@string/scaled_image" /> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/scaledImageWidth" android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/WordPress/src/main/res/layout/comment_edit_activity.xml b/WordPress/src/main/res/layout/comment_edit_activity.xml index 085ba6ef8..beb1e20d9 100644 --- a/WordPress/src/main/res/layout/comment_edit_activity.xml +++ b/WordPress/src/main/res/layout/comment_edit_activity.xml @@ -20,7 +20,7 @@ android:layout_height="wrap_content" android:orientation="vertical"> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/author_name" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -29,7 +29,7 @@ android:inputType="textPersonName|textNoSuggestions" android:singleLine="true" /> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/author_email" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -38,7 +38,7 @@ android:inputType="textEmailAddress" android:singleLine="true" /> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/author_url" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -47,7 +47,7 @@ android:inputType="textUri" android:singleLine="true" /> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/edit_comment_content" android:layout_width="match_parent" android:layout_height="match_parent" diff --git a/WordPress/src/main/res/layout/create_blog_fragment.xml b/WordPress/src/main/res/layout/create_blog_fragment.xml index 1c8430751..6fc8ee514 100644 --- a/WordPress/src/main/res/layout/create_blog_fragment.xml +++ b/WordPress/src/main/res/layout/create_blog_fragment.xml @@ -36,7 +36,7 @@ android:background="@color/white" android:id="@+id/relativeLayout"> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/site_title" android:layout_width="fill_parent" android:layout_height="wrap_content" @@ -65,7 +65,7 @@ android:background="@color/white" android:layout_marginBottom="16dp"> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/site_url" style="@style/WordPress.NUXEditText" android:layout_width="fill_parent" diff --git a/WordPress/src/main/res/layout/edit_post_settings_fragment.xml b/WordPress/src/main/res/layout/edit_post_settings_fragment.xml index 177971a5d..d59fe01e8 100644 --- a/WordPress/src/main/res/layout/edit_post_settings_fragment.xml +++ b/WordPress/src/main/res/layout/edit_post_settings_fragment.xml @@ -92,7 +92,7 @@ android:inputType="textAutoCorrect" /> </LinearLayout> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/postExcerpt" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -105,7 +105,7 @@ android:inputType="textMultiLine|textCapSentences|textAutoCorrect" android:minLines="1" /> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/post_password" android:layout_marginTop="@dimen/margin_small" android:layout_marginLeft="@dimen/margin_small" diff --git a/WordPress/src/main/res/layout/media_edit_fragment.xml b/WordPress/src/main/res/layout/media_edit_fragment.xml index c74898add..f160f31b8 100644 --- a/WordPress/src/main/res/layout/media_edit_fragment.xml +++ b/WordPress/src/main/res/layout/media_edit_fragment.xml @@ -39,7 +39,7 @@ android:visibility="@integer/media_editor_save_button_visibility" tools:visibility="visible"/> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/media_edit_fragment_title" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -58,7 +58,7 @@ android:text="@string/media_edit_caption_text" android:textSize="@dimen/text_sz_large" /> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/media_edit_fragment_caption" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -74,7 +74,7 @@ android:text="@string/media_edit_description_text" android:textSize="@dimen/text_sz_large" /> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/media_edit_fragment_description" android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/WordPress/src/main/res/layout/my_profile_dialog.xml b/WordPress/src/main/res/layout/my_profile_dialog.xml index bae10acf3..1c325e2fb 100644 --- a/WordPress/src/main/res/layout/my_profile_dialog.xml +++ b/WordPress/src/main/res/layout/my_profile_dialog.xml @@ -15,7 +15,7 @@ android:textStyle="bold" app:fontVariation="light" /> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/my_profile_dialog_input" android:layout_width="fill_parent" android:layout_height="wrap_content" /> diff --git a/WordPress/src/main/res/layout/new_account_user_fragment_screen.xml b/WordPress/src/main/res/layout/new_account_user_fragment_screen.xml index 831dd3732..9f6d69215 100644 --- a/WordPress/src/main/res/layout/new_account_user_fragment_screen.xml +++ b/WordPress/src/main/res/layout/new_account_user_fragment_screen.xml @@ -52,7 +52,7 @@ android:layout_height="wrap_content" android:background="@color/white"> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/email_address" android:layout_width="fill_parent" android:layout_height="wrap_content" @@ -81,7 +81,7 @@ android:background="@color/white" android:id="@+id/relativeLayout"> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/username" android:layout_width="fill_parent" android:layout_height="wrap_content" @@ -110,7 +110,7 @@ android:background="@color/white" android:id="@+id/relativeLayout2"> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/password" android:layout_width="fill_parent" android:layout_height="wrap_content" @@ -152,7 +152,7 @@ android:background="@color/white" android:layout_marginBottom="16dp"> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/site_url" style="@style/WordPress.NUXEditText" android:layout_width="fill_parent" diff --git a/WordPress/src/main/res/layout/signin_fragment.xml b/WordPress/src/main/res/layout/signin_fragment.xml index 64f5f666e..62ab330c3 100644 --- a/WordPress/src/main/res/layout/signin_fragment.xml +++ b/WordPress/src/main/res/layout/signin_fragment.xml @@ -90,7 +90,7 @@ android:background="@color/white" android:clickable="true"> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/nux_username" style="@style/WordPress.NUXEditText" android:layout_width="fill_parent" @@ -122,7 +122,7 @@ android:background="@color/white" android:clickable="true"> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/nux_password" style="@style/WordPress.NUXEditText" android:layout_width="fill_parent" @@ -165,7 +165,7 @@ android:animateLayoutChanges="true" android:visibility="gone"> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/nux_two_step" style="@style/WordPress.NUXEditText" android:layout_width="fill_parent" @@ -186,7 +186,7 @@ android:background="@color/white" android:visibility="gone"> - <org.wordpress.android.widgets.OpenSansEditText + <org.wordpress.android.widgets.WPEditText android:id="@+id/nux_url" style="@style/WordPress.NUXEditText" android:layout_width="fill_parent" |