am c9f562a9: Partially revert I0fa5eefc

* commit 'c9f562a9a4c2b634eb43d1ddaef69068c0d93f6f':
  Partially revert I0fa5eefc
main
Ken Wakasa 2011-09-23 18:07:11 -07:00 committed by Android Git Automerger
commit 577d86d28c
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ public class SuggestionsView extends RelativeLayout implements OnClickListener,
paint.setTextSize(textSize);
paint.setColor(color);
final Rect bounds = new Rect();
paint.getTextBounds(MORE_SUGGESTIONS_HINT, 0, 1, bounds);
paint.getTextBounds(MORE_SUGGESTIONS_HINT, 0, MORE_SUGGESTIONS_HINT.length(), bounds);
final int width = Math.round(bounds.width() + 0.5f);
final int height = Math.round(bounds.height() + 0.5f);
final Bitmap buffer = Bitmap.createBitmap(