Home
last modified time | relevance | path

Searched refs:LengthFilter (Results 1 – 25 of 25) sorted by relevance

/aosp12/frameworks/base/core/java/android/text/
H A DInputFilter.java167 public static class LengthFilter implements InputFilter { class
171 public LengthFilter(int max) { in LengthFilter() method in InputFilter.LengthFilter
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapActivity.java49 import android.text.InputFilter.LengthFilter;
159 new LengthFilter(BLUETOOTH_OBEX_AUTHKEY_MAX_LENGTH) in createView()
/aosp12/frameworks/base/core/java/android/widget/
H A DTextInputTimePickerView.java151 new InputFilter.LengthFilter(maxCharLength)}); in setHourFormat()
153 new InputFilter.LengthFilter(maxCharLength)}); in setHourFormat()
H A DTextView.java414 private InputFilter.LengthFilter mSingleLineLengthFilter = null;
1682 mSingleLineLengthFilter = new InputFilter.LengthFilter(
1689 setFilters(new InputFilter[] { new InputFilter.LengthFilter(maxlength) });
10383 if (filter instanceof InputFilter.LengthFilter) return; in applySingleLine()
10387 mSingleLineLengthFilter = new InputFilter.LengthFilter( in applySingleLine()
11926 if (filter instanceof InputFilter.LengthFilter) { in onProvideStructure()
11927 maxLength = ((InputFilter.LengthFilter) filter).getMax(); in onProvideStructure()
12102 if (filter instanceof InputFilter.LengthFilter) { in onInitializeAccessibilityNodeInfoInternal()
12103 info.setMaxTextLength(((InputFilter.LengthFilter) filter).getMax()); in onInitializeAccessibilityNodeInfoInternal()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DComposeMessageView.java27 import android.text.InputFilter.LengthFilter;
217 new LengthFilter(MmsConfig.get(ParticipantData.DEFAULT_SELF_SUB_ID) in onFinishInflate()
251 new LengthFilter(MmsConfig.get(ParticipantData.DEFAULT_SELF_SUB_ID) in onFinishInflate()
527 new LengthFilter(MmsConfig.get(mBinding.getData().getSelfSubId()) in updateOnSelfSubscriptionChange()
530 new LengthFilter(MmsConfig.get(mBinding.getData().getSelfSubId()) in updateOnSelfSubscriptionChange()
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothPairingDialogFragment.java26 import android.text.InputFilter.LengthFilter;
278 new LengthFilter(maxLength)}); in createPinEntryView()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothPairingDialogFragment.java26 import android.text.InputFilter.LengthFilter;
267 new LengthFilter(maxLength)}); in createPinEntryView()
/aosp12/packages/apps/Dialer/java/com/android/dialer/callcomposer/
H A DMessageComposerFragment.java73 customMessage.setFilters(new InputFilter[] {new InputFilter.LengthFilter(charLimit)}); in onCreateView()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
H A DBluetoothPairingDialog.java29 import android.text.InputFilter.LengthFilter;
399 textInput.setFilters(new InputFilter[]{new LengthFilter(maxLength)}); in onCreateView()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
H A DPostalCodeFragment.java130 new InputFilter.LengthFilter(maxLength), new AllCaps() in onGuidedActionFocused()
/aosp12/packages/apps/Dialer/java/com/android/dialer/widget/
H A DMessageFragment.java92 customMessage.setFilters(new InputFilter[] {new InputFilter.LengthFilter(charLimit)}); in onCreateView()
/aosp12/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
H A DVoicemailChangePinActivity.java34 import android.text.InputFilter.LengthFilter;
351 pinEntry.setFilters(new InputFilter[] {new LengthFilter(pinMaxLength)}); in onCreate()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/assist/
H A DAssistStructureTest.java254 view.setFilters(new InputFilter[] { new InputFilter.LengthFilter(MAX_TEXT_LENGTH) }); in newSmallView()
/aosp12/packages/apps/Stk/src/com/android/stk/
H A DStkInputActivity.java467 mTextIn.setFilters(new InputFilter[] {new InputFilter.LengthFilter(mStkInput.maxLen)}); in configInputDisplay()
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/dialog/
H A DCallSubjectDialog.java301 filters[0] = new InputFilter.LengthFilter(mLimit); in onCreate()
/aosp12/packages/apps/Contacts/src/com/android/contacts/dialog/
H A DCallSubjectDialog.java298 filters[0] = new InputFilter.LengthFilter(mLimit); in onCreate()
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/p2p/
H A DWifiP2pSettings.java514 mDeviceNameText.setFilters(new InputFilter[] {new InputFilter.LengthFilter(30)}); in onCreateDialog()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogImpl.java713 row.header.setFilters(new InputFilter[] {new InputFilter.LengthFilter(13)}); in initRow()
/aosp12/frameworks/base/boot/
H A Dpreloaded-classes6924 android.text.InputFilter$LengthFilter
H A Dboot-image-profile.txt15197 HSPLandroid/text/InputFilter$LengthFilter;-><init>(I)V
15198 HSPLandroid/text/InputFilter$LengthFilter;->filter(Ljava/lang/CharSequence;IILandroid/text/Spanned;…
15199 HSPLandroid/text/InputFilter$LengthFilter;->getMax()I
20944 …nReceiveContentListener;]Landroid/text/InputFilter$LengthFilter;Landroid/text/InputFilter$LengthFi…
30539 Landroid/text/InputFilter$LengthFilter;
/aosp12/frameworks/base/config/
H A Dpreloaded-classes6946 android.text.InputFilter$LengthFilter
H A Dboot-image-profile.txt15246 HSPLandroid/text/InputFilter$LengthFilter;-><init>(I)V
15247 HSPLandroid/text/InputFilter$LengthFilter;->filter(Ljava/lang/CharSequence;IILandroid/text/Spanned;…
15248 HSPLandroid/text/InputFilter$LengthFilter;->getMax()I
20991 …nReceiveContentListener;]Landroid/text/InputFilter$LengthFilter;Landroid/text/InputFilter$LengthFi…
40203 Landroid/text/InputFilter$LengthFilter;
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt44129 public static class InputFilter.LengthFilter implements android.text.InputFilter {
44130 ctor public InputFilter.LengthFilter(int);
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt29630 public static class InputFilter.LengthFilter implements android.text.InputFilter {
29631 ctor public InputFilter.LengthFilter(int);