OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LengthFilter
(Results
1 - 25
of
42
) sorted by null
1
2
/cts/tests/tests/text/src/android/text/cts/
InputFilter_LengthFilterTest.java
24
import android.text.InputFilter.
LengthFilter
;
38
// Constructor to create a
LengthFilter
39
LengthFilter
lengthFilter
= new
LengthFilter
(10);
40
InputFilter[] filters = {
lengthFilter
};
42
assertEquals(10,
lengthFilter
.getMax());
66
CharSequence actualAfterFilter =
lengthFilter
.filter(beforeFilterSource, 0,
/frameworks/support/car/src/main/java/androidx/car/utils/
CarUxRestrictionsUtils.java
47
* <p>Adds/removes a {@link android.text.InputFilter.
LengthFilter
} that truncates the text
56
sStringLengthFilter = new InputFilter.
LengthFilter
(lengthLimit);
/frameworks/base/core/java/android/text/
InputFilter.java
166
public static class
LengthFilter
implements InputFilter {
169
public
LengthFilter
(int max) {
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
TextViewBindingAdapter.java
243
new InputFilter.
LengthFilter
(value)
249
if (filter instanceof InputFilter.
LengthFilter
) {
253
replace = ((InputFilter.
LengthFilter
) filter).getMax() != value;
256
filters[i] = new InputFilter.
LengthFilter
(value);
266
filters[filters.length - 1] = new InputFilter.
LengthFilter
(value);
/frameworks/base/core/java/android/widget/
TextInputTimePickerView.java
142
new InputFilter.
LengthFilter
(maxCharLength)});
144
new InputFilter.
LengthFilter
(maxCharLength)});
TextView.java
[
all
...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapActivity.java
46
import android.text.InputFilter.
LengthFilter
;
162
new
LengthFilter
(BLUETOOTH_OBEX_AUTHKEY_MAX_LENGTH)
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
TextViewBindingAdapterTest.java
216
if (filter instanceof InputFilter.
LengthFilter
) {
217
InputFilter.
LengthFilter
lengthFilter
= (InputFilter.
LengthFilter
) filter;
218
return
lengthFilter
.getMax();
/development/samples/ApiDemos/src/com/example/android/apis/content/
TextUndoActivity.java
72
mLengthLimitText.setFilters(new InputFilter[] { new InputFilter.
LengthFilter
(4) });
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
MessageComposerFragment.java
73
customMessage.setFilters(new InputFilter[] {new InputFilter.
LengthFilter
(charLimit)});
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
PostalCodeFragment.java
124
new InputFilter.
LengthFilter
(maxLength), new AllCaps()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
BluetoothPairingDialogFragment.java
27
import android.text.InputFilter.
LengthFilter
;
270
new
LengthFilter
(maxLength)});
/packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPairingDialogFragment.java
26
import android.text.InputFilter.
LengthFilter
;
277
new
LengthFilter
(maxLength)});
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
ComposeMessageView.java
27
import android.text.InputFilter.
LengthFilter
;
213
new
LengthFilter
(MmsConfig.get(ParticipantData.DEFAULT_SELF_SUB_ID)
247
new
LengthFilter
(MmsConfig.get(ParticipantData.DEFAULT_SELF_SUB_ID)
520
new
LengthFilter
(MmsConfig.get(mBinding.getData().getSelfSubId())
523
new
LengthFilter
(MmsConfig.get(mBinding.getData().getSelfSubId())
[
all
...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
BluetoothPairingDialog.java
31
import android.text.InputFilter.
LengthFilter
;
410
textInput.setFilters(new InputFilter[]{new
LengthFilter
(maxLength)});
/packages/apps/Dialer/java/com/android/dialer/widget/
MessageFragment.java
92
customMessage.setFilters(new InputFilter[] {new InputFilter.
LengthFilter
(charLimit)});
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
VoicemailChangePinActivity.java
34
import android.text.InputFilter.
LengthFilter
;
352
pinEntry.setFilters(new InputFilter[] {new
LengthFilter
(pinMaxLength)});
/packages/apps/Contacts/src/com/android/contacts/dialog/
CallSubjectDialog.java
298
filters[0] = new InputFilter.
LengthFilter
(mLimit);
/packages/apps/Dialer/java/com/android/contacts/common/dialog/
CallSubjectDialog.java
303
filters[0] = new InputFilter.
LengthFilter
(mLimit);
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
WifiP2pSettings.java
478
mDeviceNameText.setFilters(new InputFilter[] {new InputFilter.
LengthFilter
(30)});
/packages/apps/Stk/src/com/android/stk/
StkInputActivity.java
501
mTextIn.setFilters(new InputFilter[] {new InputFilter.
LengthFilter
(
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowTextViewTest.java
398
final InputFilter[] expectedFilters = new InputFilter[]{new InputFilter.
LengthFilter
(1)};
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
VolumeDialogImpl.java
382
row.header.setFilters(new InputFilter[] {new InputFilter.
LengthFilter
(13)});
[
all
...]
/cts/tests/tests/widget/src/android/widget/cts/
TextViewTest.java
[
all
...]
/frameworks/base/config/
preloaded-classes
[
all
...]
Completed in 1725 milliseconds
1
2