Searched refs:keyListener (Results 1 – 9 of 9) sorted by relevance
127 public KeyListener getKeyListener(@NonNull final KeyListener keyListener) { in getKeyListener() argument128 Preconditions.checkNotNull(keyListener, "keyListener cannot be null"); in getKeyListener()129 return mHelper.getKeyListener(keyListener); in getKeyListener()183 KeyListener getKeyListener(@NonNull KeyListener keyListener) { in getKeyListener() argument184 return keyListener; in getKeyListener()224 KeyListener getKeyListener(@NonNull final KeyListener keyListener) { in getKeyListener() argument225 if (keyListener instanceof EmojiKeyListener) { in getKeyListener()226 return keyListener; in getKeyListener()228 return new EmojiKeyListener(keyListener); in getKeyListener()
78 public void setKeyListener(@Nullable KeyListener keyListener) { in setKeyListener() argument79 if (keyListener != null) { in setKeyListener()80 keyListener = getEmojiEditTextHelper().getKeyListener(keyListener); in setKeyListener()82 super.setKeyListener(keyListener); in setKeyListener()
86 public void setKeyListener(@Nullable KeyListener keyListener) { in setKeyListener() argument87 if (keyListener != null) { in setKeyListener()88 keyListener = getEmojiEditTextHelper().getKeyListener(keyListener); in setKeyListener()90 super.setKeyListener(keyListener); in setKeyListener()
38 EmojiKeyListener(android.text.method.KeyListener keyListener) { in EmojiKeyListener() argument39 mKeyListener = keyListener; in EmojiKeyListener()
72 public void setKeyListener(@Nullable KeyListener keyListener) { in setKeyListener() argument73 if (keyListener != null) { in setKeyListener()74 keyListener = getEmojiEditTextHelper().getKeyListener(keyListener); in setKeyListener()76 super.setKeyListener(keyListener); in setKeyListener()
184 KeyListener keyListener = view.getKeyListener(); in isAutoTextEnabled() local185 if (keyListener == null) { in isAutoTextEnabled()188 if (!(keyListener instanceof TextKeyListener)) { in isAutoTextEnabled()191 TextKeyListener textKeyListener = (TextKeyListener) keyListener; in isAutoTextEnabled()196 KeyListener keyListener = view.getKeyListener(); in getCapitalization() local197 if (keyListener == null) { in getCapitalization()200 int inputType = keyListener.getInputType(); in getCapitalization()276 KeyListener keyListener = textView.getKeyListener(); in getDigits() local277 if (!(keyListener instanceof DigitsKeyListener)) { in getDigits()280 DigitsKeyListener digitsKeyListener = (DigitsKeyListener) keyListener; in getDigits()[all …]
56 final KeyListener keyListener = mEmojiEditTextHelper.getKeyListener( in testGetKeyListener_returnsSameKeyListener() local59 assertSame(param, keyListener); in testGetKeyListener_returnsSameKeyListener()
67 final KeyListener keyListener = mEmojiEditTextHelper.getKeyListener( in testGetKeyListener_returnsEmojiKeyListener() local70 assertThat(keyListener, instanceOf(EmojiKeyListener.class)); in testGetKeyListener_returnsEmojiKeyListener()
251 public void setOnKeyListener(View.OnKeyListener keyListener) { in setOnKeyListener() argument252 mOnKeyListener = keyListener; in setOnKeyListener()