Searched refs:charLimit (Results 1 – 2 of 2) sorted by relevance
52 private int charLimit; field in MessageFragment57 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.Builder173 public Builder setCharLimit(int charLimit) { in setCharLimit() argument[all …]
42 private int charLimit; field in MessageComposerFragment44 public static MessageComposerFragment newInstance(int charLimit) { in newInstance() argument47 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()