@Override
  public void showPreviewForKey(
      Keyboard.Key key, Drawable icon, View parentView, PreviewPopupTheme previewPopupTheme) {
    KeyPreview popup = getPopupForKey(key, parentView, previewPopupTheme);
    Point previewPosition =
        mPositionCalculator.calculatePositionForPreview(
            key, previewPopupTheme, getLocationInWindow(parentView));
    popup.showPreviewForKey(key, icon, previewPosition);
  }
@Test
  public void testNoPopupForModifier() {
    KeyPreviewsManager underTest =
        new KeyPreviewsManager(getApplicationContext(), mPositionCalculator, 3);

    PopupWindow createdPopupWindow = getLatestCreatedPopupWindow();
    Assert.assertNull(createdPopupWindow);

    mTestKeys[0].modifier = true;
    underTest.showPreviewForKey(mTestKeys[0], "y", mKeyboardView, mTheme);

    createdPopupWindow = getLatestCreatedPopupWindow();
    Assert.assertNull(createdPopupWindow);
  }