Home
last modified time | relevance | path

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

12

/packages/services/Car/car-lib/src/android/car/input/
DCarInputHandlingService.java61 private final InputFilter[] mHandledKeys;
65 protected CarInputHandlingService(InputFilter[] handledKeys) { in CarInputHandlingService()
70 mHandledKeys = new InputFilter[handledKeys.length]; in CarInputHandlingService()
164 public static final class InputFilter implements Parcelable { class in CarInputHandlingService
168 public InputFilter(int keyCode, int targetDisplay) { in InputFilter() method in CarInputHandlingService.InputFilter
174 InputFilter(Parcel in) { in InputFilter() method in CarInputHandlingService.InputFilter
191 public InputFilter createFromParcel(Parcel in) {
192 return new InputFilter(in);
195 public InputFilter[] newArray(int size) {
196 return new InputFilter[size];
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DUtf8ByteLengthFilterTest.java21 import android.text.InputFilter;
37 InputFilter lengthFilter = new Utf8ByteLengthFilter(10); in filter_belowMaxBytes_returnsNull()
51 InputFilter lengthFilter = new Utf8ByteLengthFilter(10); in filter_maxBytes_returnsNull()
65 InputFilter lengthFilter = new Utf8ByteLengthFilter(10); in filter_aboveMaxBytes_returnsFilteredSource()
80 InputFilter lengthFilter = new Utf8ByteLengthFilter(10); in exerciseFilter()
81 InputFilter[] filters = {lengthFilter}; in exerciseFilter()
/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/service/src/com/android/car/
DCarInputService.java29 import android.car.input.CarInputHandlingService.InputFilter;
191 InputFilter[] handledKeys = (InputFilter[]) data.createTypedArray(
192 InputFilter.CREATOR);
305 synchronized void setHandledKeys(InputFilter[] handledKeys) { in setHandledKeys()
307 for (InputFilter handledKey : handledKeys) { in setHandledKeys()
/packages/apps/Settings/tests/unit/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilterTest.java21 import android.text.InputFilter;
32 InputFilter lengthFilter = new Utf8ByteLengthFilter(10); in testFilter()
33 InputFilter[] filters = {lengthFilter}; in testFilter()
/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/Dialer/java/com/android/dialer/widget/
DMessageFragment.java23 import android.text.InputFilter;
92 customMessage.setFilters(new InputFilter[] {new InputFilter.LengthFilter(charLimit)}); in onCreateView()
/packages/services/Car/car-default-input-service/src/android/car/input/service/
DDefaultInputService.java19 import android.car.input.CarInputHandlingService.InputFilter;
33 super(new InputFilter[0]); in DefaultInputService()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java46 import android.text.InputFilter;
47 import android.text.InputFilter.LengthFilter;
153 mKeyView.setFilters(new InputFilter[]{ in createView()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java38 import android.car.input.CarInputHandlingService.InputFilter;
134 new InputFilter(KeyEvent.KEYCODE_ENTER, InputHalService.DISPLAY_MAIN), in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents()
135 new InputFilter(KeyEvent.KEYCODE_ENTER, InputHalService.DISPLAY_INSTRUMENT_CLUSTER), in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents()
136 new InputFilter(KeyEvent.KEYCODE_MENU, InputHalService.DISPLAY_MAIN)); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents()
488 private ICarInputListener registerInputListener(InputFilter... handledKeys) { in registerInputListener()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DUtf8ByteLengthFilter.java19 import android.text.InputFilter;
41 class Utf8ByteLengthFilter implements InputFilter {
DBluetoothPairingDialogFragment.java25 import android.text.InputFilter;
26 import android.text.InputFilter.LengthFilter;
273 pairingView.setFilters(new InputFilter[]{ in createPinEntryView()
DBluetoothRenameDialogFragment.java25 import android.text.InputFilter;
118 mDeviceNameView.setFilters(new InputFilter[]{ in createDialogView()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilter.java19 import android.text.InputFilter;
42 public class Utf8ByteLengthFilter implements InputFilter {
DBluetoothPairingDialogFragment.java25 import android.text.InputFilter;
26 import android.text.InputFilter.LengthFilter;
277 pairingView.setFilters(new InputFilter[]{ in createPinEntryView()
DBluetoothNameDialogFragment.java25 import android.text.InputFilter;
120 mDeviceNameView.setFilters(new InputFilter[] { in createDialogView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DUtf8ByteLengthFilter.java19 import android.text.InputFilter;
42 public class Utf8ByteLengthFilter implements InputFilter {
DBluetoothPairingDialogFragment.java25 import android.text.InputFilter;
26 import android.text.InputFilter.LengthFilter;
277 pairingView.setFilters(new InputFilter[]{ in createPinEntryView()
DBluetoothNameDialogFragment.java25 import android.text.InputFilter;
120 mDeviceNameView.setFilters(new InputFilter[] { in createDialogView()
/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/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;
297 InputFilter[] filters = new InputFilter[1]; in onCreate()
298 filters[0] = new InputFilter.LengthFilter(mLimit); in onCreate()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/
DAlertDialogBuilder.java24 import android.text.InputFilter;
586 InputFilter[] inputFilters, int inputType) { in setEditBox()
619 InputFilter[] inputFilters) { in setEditBox()
/packages/apps/Stk/src/com/android/stk/
DStkInputActivity.java29 import android.text.InputFilter;
467 mTextIn.setFilters(new InputFilter[] {new InputFilter.LengthFilter(mStkInput.maxLen)});
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothPairingDialog.java29 import android.text.InputFilter;
30 import android.text.InputFilter.LengthFilter;
413 textInput.setFilters(new InputFilter[]{new LengthFilter(maxLength)}); in onCreateView()

12