aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-03-19 19:32:48 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-19 19:32:48 -0700
commit75742f839df39b50fada6773ebd83f8e4e20c0a3 (patch)
tree2b1481cc25d0b840a49d4dde91ae2fbc8a57f9a2 /java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java
parentc19c2c0210f871e3ea772ced0bca7c18653667cc (diff)
parent14e908c3486ae5996e66625e959ff45c5f3740ef (diff)
downloadlatinime-75742f839df39b50fada6773ebd83f8e4e20c0a3.tar.gz
latinime-75742f839df39b50fada6773ebd83f8e4e20c0a3.tar.xz
latinime-75742f839df39b50fada6773ebd83f8e4e20c0a3.zip
am 14e908c3: Remove unused argument in SuggestionStripLayoutHelper
* commit '14e908c3486ae5996e66625e959ff45c5f3740ef': Remove unused argument in SuggestionStripLayoutHelper
Diffstat (limited to 'java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java')
-rw-r--r--java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java
index c26e223c9..1d84bb59f 100644
--- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java
+++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java
@@ -507,7 +507,7 @@ final class SuggestionStripLayoutHelper {
hintView, 1.0f - mCenterSuggestionWeight, ViewGroup.LayoutParams.MATCH_PARENT);
}
- public void layoutImportantNotice(final View importantNoticeStrip, final int stripWidth,
+ public void layoutImportantNotice(final View importantNoticeStrip,
final String importantNoticeTitle) {
final TextView titleView = (TextView)importantNoticeStrip.findViewById(
R.id.important_notice_title);
@@ -516,8 +516,7 @@ final class SuggestionStripLayoutHelper {
titleView.setTextColor(mColorAutoCorrect);
titleView.setText(importantNoticeTitle);
titleView.setTextScaleX(1.0f); // Reset textScaleX.
- final float titleScaleX = getTextScaleX(
- importantNoticeTitle, width, titleView.getPaint());
+ final float titleScaleX = getTextScaleX(importantNoticeTitle, width, titleView.getPaint());
titleView.setTextScaleX(titleScaleX);
}