Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a289e139 authored by Mohammadinamul Sheik's avatar Mohammadinamul Sheik Committed by Android Git Automerger
Browse files

am b0dd5cc7: Fix the ellipses image scaling of LatinIME

* commit 'b0dd5cc7':
  Fix the ellipses image scaling of LatinIME
parents cc30f068 b0dd5cc7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -191,7 +191,9 @@ final class SuggestionStripLayoutHelper {
        final Bitmap buffer = Bitmap.createBitmap(width, (height * 3 / 2), Bitmap.Config.ARGB_8888);
        final Canvas canvas = new Canvas(buffer);
        canvas.drawText(MORE_SUGGESTIONS_HINT, width / 2, height, paint);
        return new BitmapDrawable(res, buffer);
        BitmapDrawable bitmapDrawable = new BitmapDrawable(res, buffer);
        bitmapDrawable.setTargetDensity(canvas);
        return bitmapDrawable;
    }

    private CharSequence getStyledSuggestedWord(final SuggestedWords suggestedWords,