Home
last modified time | relevance | path

Searched refs:getKeyListener (Results 1 – 17 of 17) sorted by relevance

/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
DEmojiEditTextHelper.java121 public KeyListener getKeyListener(@NonNull final KeyListener keyListener) { in getKeyListener() method in EmojiEditTextHelper
123 return mHelper.getKeyListener(keyListener); in getKeyListener()
146 KeyListener getKeyListener(@NonNull KeyListener keyListener) { in getKeyListener() method in EmojiEditTextHelper.HelperInternal
178 KeyListener getKeyListener(@NonNull final KeyListener keyListener) { in getKeyListener() method in EmojiEditTextHelper.HelperInternal19
DEmojiEditText.java64 setKeyListener(super.getKeyListener()); in init()
70 super.setKeyListener(getEmojiEditTextHelper().getKeyListener(keyListener)); in setKeyListener()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DTextViewBindingAdapterTest.java47 assertTrue(view.getKeyListener() instanceof DigitsKeyListener); in testNumeric()
48 DigitsKeyListener listener = (DigitsKeyListener) view.getKeyListener(); in testNumeric()
53 assertTrue(view.getKeyListener() instanceof DigitsKeyListener); in testNumeric()
54 listener = (DigitsKeyListener) view.getKeyListener(); in testNumeric()
184 KeyListener keyListener = view.getKeyListener(); in isAutoTextEnabled()
196 KeyListener keyListener = view.getKeyListener(); in getCapitalization()
276 KeyListener keyListener = textView.getKeyListener(); in getDigits()
295 KeyListener keyListener = view.getKeyListener(); in isPhoneNumber()
301 assertTrue(TextViewBindingObject.KeyListener1.class.isInstance(textView.getKeyListener())); in testInputMethod()
303 assertTrue(TextViewBindingObject.KeyListener2.class.isInstance(textView.getKeyListener())); in testInputMethod()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
DEmojiEditTextHelperTest.java60 mEmojiEditTextHelper.getKeyListener(null); in testGetKeyListener_withNull_throwsException()
65 final KeyListener keyListener = mEmojiEditTextHelper.getKeyListener( in testGetKeyListener_returnsEmojiKeyListener()
74 final KeyListener keyListener1 = mEmojiEditTextHelper.getKeyListener(mockKeyListener); in testGetKeyListener_doesNotCreateNewInstance()
75 final KeyListener keyListener2 = mEmojiEditTextHelper.getKeyListener(keyListener1); in testGetKeyListener_doesNotCreateNewInstance()
DEmojiEditTextHelperPre19Test.java54 final KeyListener keyListener = mEmojiEditTextHelper.getKeyListener( in testGetKeyListener_returnsSameKeyListener()
/frameworks/support/emoji/appcompat/src/android/support/text/emoji/widget/
DEmojiAppCompatEditText.java58 setKeyListener(super.getKeyListener()); in init()
64 super.setKeyListener(getEmojiEditTextHelper().getKeyListener(input)); in setKeyListener()
/frameworks/base/core/java/android/text/method/
DTextKeyListener.java139 KeyListener im = getKeyListener(event); in onKeyDown()
147 KeyListener im = getKeyListener(event); in onKeyUp()
154 KeyListener im = getKeyListener(event); in onKeyOther()
191 private KeyListener getKeyListener(KeyEvent event) { in getKeyListener() method in TextKeyListener
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTextViewBindingAdapter.java85 KeyListener listener = view.getKeyListener(); in setAutoText()
102 KeyListener listener = view.getKeyListener(); in setCapitalize()
118 } else if (view.getKeyListener() instanceof DigitsKeyListener) { in setDigits()
133 } else if (view.getKeyListener() instanceof DialerKeyListener) { in setPhoneNumber()
/frameworks/base/core/java/android/widget/
DDialerFilter.java274 KeyListener lettersInput = mLetters.getKeyListener(); in swapPrimaryAndHint()
275 KeyListener digitsInput = mDigits.getKeyListener(); in swapPrimaryAndHint()
DTextView.java1558 if (singleLine && getKeyListener() == null && ellipsize < 0) {
1639 boolean canInputOrMove = (mMovement != null || getKeyListener() != null);
2364 public final KeyListener getKeyListener() {
5304 if (type == BufferType.EDITABLE || getKeyListener() != null
7150 if (getKeyListener() == null) { in shouldAdvanceFocusOnEnter()
7176 if (getKeyListener() != null && !mSingleLine && mEditor != null in shouldAdvanceFocusOnTab()
7838 boolean shouldEllipsize = mEllipsize != null && getKeyListener() == null; in makeNewLayout()
7955 getKeyListener() == null ? effectiveEllipsize : null, ellipsisWidth); in makeSingleLayout()
9192 if (getKeyListener() != null) return; in startMarquee()
/frameworks/base/core/java/com/android/internal/widget/
DEditableInputConnection.java102 KeyListener kl = mTextView.getKeyListener(); in clearMetaKeyStates()
/frameworks/support/api/
D26.0.0-beta1.txt1984 method public android.text.method.KeyListener getKeyListener(android.text.method.KeyListener);
D26.0.0-SNAPSHOT.txt2002 method public android.text.method.KeyListener getKeyListener(android.text.method.KeyListener);
D26.0.0-beta2.txt2000 method public android.text.method.KeyListener getKeyListener(android.text.method.KeyListener);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt38786 method public final android.text.method.KeyListener getKeyListener();
/frameworks/base/api/
Dcurrent.txt51183 method public final android.text.method.KeyListener getKeyListener();
Dsystem-current.txt55091 method public final android.text.method.KeyListener getKeyListener();