Home
last modified time | relevance | path

Searched refs:keyListener (Results 1 – 9 of 9) sorted by relevance

/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/
DEmojiEditTextHelper.java127 public KeyListener getKeyListener(@NonNull final KeyListener keyListener) { in getKeyListener() argument
128 Preconditions.checkNotNull(keyListener, "keyListener cannot be null"); in getKeyListener()
129 return mHelper.getKeyListener(keyListener); in getKeyListener()
183 KeyListener getKeyListener(@NonNull KeyListener keyListener) { in getKeyListener() argument
184 return keyListener; in getKeyListener()
224 KeyListener getKeyListener(@NonNull final KeyListener keyListener) { in getKeyListener() argument
225 if (keyListener instanceof EmojiKeyListener) { in getKeyListener()
226 return keyListener; in getKeyListener()
228 return new EmojiKeyListener(keyListener); in getKeyListener()
DEmojiEditText.java78 public void setKeyListener(@Nullable KeyListener keyListener) { in setKeyListener() argument
79 if (keyListener != null) { in setKeyListener()
80 keyListener = getEmojiEditTextHelper().getKeyListener(keyListener); in setKeyListener()
82 super.setKeyListener(keyListener); in setKeyListener()
DEmojiExtractEditText.java86 public void setKeyListener(@Nullable KeyListener keyListener) { in setKeyListener() argument
87 if (keyListener != null) { in setKeyListener()
88 keyListener = getEmojiEditTextHelper().getKeyListener(keyListener); in setKeyListener()
90 super.setKeyListener(keyListener); in setKeyListener()
DEmojiKeyListener.java38 EmojiKeyListener(android.text.method.KeyListener keyListener) { in EmojiKeyListener() argument
39 mKeyListener = keyListener; in EmojiKeyListener()
/frameworks/support/emoji/appcompat/src/main/java/androidx/emoji/widget/
DEmojiAppCompatEditText.java72 public void setKeyListener(@Nullable KeyListener keyListener) { in setKeyListener() argument
73 if (keyListener != null) { in setKeyListener()
74 keyListener = getEmojiEditTextHelper().getKeyListener(keyListener); in setKeyListener()
76 super.setKeyListener(keyListener); in setKeyListener()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DTextViewBindingAdapterTest.java184 KeyListener keyListener = view.getKeyListener(); in isAutoTextEnabled() local
185 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() local
197 if (keyListener == null) { in getCapitalization()
200 int inputType = keyListener.getInputType(); in getCapitalization()
276 KeyListener keyListener = textView.getKeyListener(); in getDigits() local
277 if (!(keyListener instanceof DigitsKeyListener)) { in getDigits()
280 DigitsKeyListener digitsKeyListener = (DigitsKeyListener) keyListener; in getDigits()
[all …]
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/widget/
DEmojiEditTextHelperPre19Test.java56 final KeyListener keyListener = mEmojiEditTextHelper.getKeyListener( in testGetKeyListener_returnsSameKeyListener() local
59 assertSame(param, keyListener); in testGetKeyListener_returnsSameKeyListener()
DEmojiEditTextHelperTest.java67 final KeyListener keyListener = mEmojiEditTextHelper.getKeyListener( in testGetKeyListener_returnsEmojiKeyListener() local
70 assertThat(keyListener, instanceOf(EmojiKeyListener.class)); in testGetKeyListener_returnsEmojiKeyListener()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DRowPresenter.java251 public void setOnKeyListener(View.OnKeyListener keyListener) { in setOnKeyListener() argument
252 mOnKeyListener = keyListener; in setOnKeyListener()