Skip to content
Snippets Groups Projects
Commit ddc21f5b authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Dismiss all key preview before showing more suggestions

This CL also release key graphics and dismiss sliding key input
preview.

Bug: 13204690
Change-Id: Ie8eb7b7beca51689a907da9c0713b4d34d48dda1
parent 61c726f5
No related branches found
No related tags found
No related merge requests found
......@@ -323,6 +323,9 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
// {@link MoreKeysKeyboardView}.
// TODO: Remove unused null argument.
mMainKeyboardView.onDismissMoreKeysPanel(null /* unused */);
// Dismiss all key previews and sliding key input preview that may be being showed.
mMainKeyboardView.dismissAllKeyPreviews();
mMainKeyboardView.dismissSlidingKeyInputPreview();
final int stripWidth = getWidth();
final View container = mMoreSuggestionsContainer;
final int maxWidth = stripWidth - container.getPaddingLeft() - container.getPaddingRight();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment