Home
last modified time | relevance | path

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

12

/packages/services/Car/car-lib/src/android/car/input/
DCarInputHandlingService.java73 private final InputFilter[] mHandledKeys;
77 protected CarInputHandlingService(InputFilter[] handledKeys) { in CarInputHandlingService()
82 mHandledKeys = new InputFilter[handledKeys.length]; in CarInputHandlingService()
178 public static final class InputFilter implements Parcelable { class in CarInputHandlingService
182 public InputFilter(int keyCode, int targetDisplay) { in InputFilter() method in CarInputHandlingService.InputFilter
188 InputFilter(Parcel in) { in InputFilter() method in CarInputHandlingService.InputFilter
205 public InputFilter createFromParcel(Parcel in) {
206 return new InputFilter(in);
209 public InputFilter[] newArray(int size) {
210 return new InputFilter[size];
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DUtf8ByteLengthFilterTest.java21 import android.text.InputFilter;
36 InputFilter lengthFilter = new Utf8ByteLengthFilter(10); in filter_belowMaxBytes_returnsNull()
50 InputFilter lengthFilter = new Utf8ByteLengthFilter(10); in filter_maxBytes_returnsNull()
64 InputFilter lengthFilter = new Utf8ByteLengthFilter(10); in filter_aboveMaxBytes_returnsFilteredSource()
79 InputFilter lengthFilter = new Utf8ByteLengthFilter(10); in exerciseFilter()
80 InputFilter[] filters = {lengthFilter}; in exerciseFilter()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/fragment/
DFingerprintSettingsRenameDialog.kt23 import android.text.InputFilter in <lambda>()
71 private fun getFilters(): Array<InputFilter> { in <lambda>()
72 val filter: InputFilter = in <lambda>()
73 object : InputFilter { in <lambda>()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilterTest.java20 import android.text.InputFilter;
33 InputFilter lengthFilter = new Utf8ByteLengthFilter(10); in testFilter()
34 InputFilter[] filters = {lengthFilter}; in testFilter()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DPostalCodeFragment.java24 import android.text.InputFilter;
25 import android.text.InputFilter.AllCaps;
129 new InputFilter[] { in onGuidedActionFocused()
130 new InputFilter.LengthFilter(maxLength), new AllCaps() in onGuidedActionFocused()
/packages/services/Car/car-lib-module/api/
Dsystem-removed.txt23 ctor protected CarInputHandlingService(android.car.input.CarInputHandlingService.InputFilter[]);
30 public static final class CarInputHandlingService.InputFilter implements android.os.Parcelable {
31 ctor public CarInputHandlingService.InputFilter(int, int);
/packages/services/Car/car-lib/api/
Dtest-removed.txt23 ctor protected CarInputHandlingService(android.car.input.CarInputHandlingService.InputFilter[]);
30 public static final class CarInputHandlingService.InputFilter implements android.os.Parcelable {
31 ctor public CarInputHandlingService.InputFilter(int, int);
Dsystem-removed.txt23 ctor protected CarInputHandlingService(android.car.input.CarInputHandlingService.InputFilter[]);
30 public static final class CarInputHandlingService.InputFilter implements android.os.Parcelable {
31 ctor public CarInputHandlingService.InputFilter(int, int);
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DMessageComposerFragment.java22 import android.text.InputFilter;
73 customMessage.setFilters(new InputFilter[] {new InputFilter.LengthFilter(charLimit)}); in onCreateView()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRenameDialogFragment.java25 import android.text.InputFilter;
87 InputFilter[] inputFilters = new InputFilter[]{new Utf8ByteLengthFilter( in createAlertDialog()
DUtf8ByteLengthFilter.java19 import android.text.InputFilter;
41 class Utf8ByteLengthFilter implements InputFilter {
DBluetoothPairingDialogFragment.java25 import android.text.InputFilter;
26 import android.text.InputFilter.LengthFilter;
266 pairingView.setFilters(new InputFilter[]{ in createPinEntryView()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilter.java19 import android.text.InputFilter;
42 public class Utf8ByteLengthFilter implements InputFilter {
DBluetoothFindBroadcastsFragment.java34 import android.text.InputFilter;
492 final InputFilter[] filter = new InputFilter[] {mInputFilter}; in addTextWatcher()
528 private InputFilter mInputFilter = new InputFilter() {
DBluetoothPairingDialogFragment.java25 import android.text.InputFilter;
26 import android.text.InputFilter.LengthFilter;
291 pairingView.setFilters(new InputFilter[]{ in createPinEntryView()
DBluetoothNameDialogFragment.java25 import android.text.InputFilter;
120 mDeviceNameView.setFilters(new InputFilter[] { in createDialogView()
/packages/apps/Dialer/java/com/android/dialer/widget/
DMessageFragment.java23 import android.text.InputFilter;
92 customMessage.setFilters(new InputFilter[] {new InputFilter.LengthFilter(charLimit)}); in onCreateView()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java34 import android.text.InputFilter;
35 import android.text.InputFilter.LengthFilter;
158 new InputFilter[] {new LengthFilter(BLUETOOTH_OBEX_AUTHKEY_MAX_LENGTH)}); in createView()
/packages/apps/Dialer/java/com/android/contacts/common/dialog/
DCallSubjectDialog.java32 import android.text.InputFilter;
300 InputFilter[] filters = new InputFilter[1]; in onCreate()
301 filters[0] = new InputFilter.LengthFilter(mLimit); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/dialog/
DCallSubjectDialog.java32 import android.text.InputFilter;
298 InputFilter[] filters = new InputFilter[1]; in onCreate()
299 filters[0] = new InputFilter.LengthFilter(mLimit); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java26 import android.text.InputFilter;
27 import android.text.InputFilter.LengthFilter;
216 mComposeEditText.setFilters(new InputFilter[] { in onFinishInflate()
250 mComposeSubjectText.setFilters(new InputFilter[] { in onFinishInflate()
526 mComposeEditText.setFilters(new InputFilter[] { in updateOnSelfSubscriptionChange()
529 mComposeSubjectText.setFilters(new InputFilter[] { in updateOnSelfSubscriptionChange()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothPairingDialog.java30 import android.text.InputFilter;
31 import android.text.InputFilter.LengthFilter;
408 textInput.setFilters(new InputFilter[]{new LengthFilter(maxLength)}); in onCreateView()
/packages/apps/Stk/src/com/android/stk/
DStkInputActivity.java27 import android.text.InputFilter;
475 mTextIn.setFilters(new InputFilter[] {new InputFilter.LengthFilter(mStkInput.maxLen)});
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DVoicemailChangePinActivity.java33 import android.text.InputFilter;
34 import android.text.InputFilter.LengthFilter;
351 pinEntry.setFilters(new InputFilter[] {new LengthFilter(pinMaxLength)}); in onCreate()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintSettings.java44 import android.text.InputFilter;
1202 private static InputFilter[] getFilters() { in getFilters()
1203 InputFilter filter = new InputFilter() { in getFilters()
1218 return new InputFilter[]{filter}; in getFilters()

12