Home
last modified time | relevance | path

Searched refs:charLimit (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/widget/
DMessageFragment.java52 private int charLimit; field in MessageFragment
57 args.putInt(CHAR_LIMIT_KEY, builder.charLimit); in newInstance()
86 charLimit = getArguments().getInt(CHAR_LIMIT_KEY, NO_CHAR_LIMIT); in onCreateView()
87 if (charLimit != NO_CHAR_LIMIT) { in onCreateView()
91 remainingChar.setText(Integer.toString(charLimit)); in onCreateView()
92 customMessage.setFilters(new InputFilter[] {new InputFilter.LengthFilter(charLimit)}); in onCreateView()
129 if (charLimit != NO_CHAR_LIMIT) { in afterTextChanged()
130 remainingChar.setText(Integer.toString(charLimit - s.length())); in afterTextChanged()
155 private int charLimit = NO_CHAR_LIMIT; field in MessageFragment.Builder
173 public Builder setCharLimit(int charLimit) { in setCharLimit() argument
[all …]
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DMessageComposerFragment.java42 private int charLimit; field in MessageComposerFragment
44 public static MessageComposerFragment newInstance(int charLimit) { in newInstance() argument
47 args.putInt(CHAR_LIMIT_KEY, charLimit); in newInstance()
61 charLimit = getArguments().getInt(CHAR_LIMIT_KEY, NO_CHAR_LIMIT); in onCreateView()
70 if (charLimit != NO_CHAR_LIMIT) { in onCreateView()
72 remainingChar.setText("" + charLimit); in onCreateView()
73 customMessage.setFilters(new InputFilter[] {new InputFilter.LengthFilter(charLimit)}); in onCreateView()
85 remainingChar.setText("" + (charLimit - editable.length())); in onCreateView()