HomeSort by relevance Sort by last modified time
    Searched refs:FormField (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/components/autofill/core/browser/
form_field_unittest.cc 20 EXPECT_TRUE(FormField::Match(&field, base::string16(),
21 FormField::MATCH_LABEL));
25 EXPECT_TRUE(FormField::Match(&field, base::string16(),
26 FormField::MATCH_LABEL));
30 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^$"),
31 FormField::MATCH_LABEL));
35 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^$"),
36 FormField::MATCH_LABEL));
40 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("a"),
41 FormField::MATCH_LABEL))
    [all...]
email_field.h 14 class EmailField : public FormField {
16 static FormField* Parse(AutofillScanner* scanner);
19 // FormField:
form_field.cc 37 void FormField::ParseFormFields(const std::vector<AutofillField*>& fields,
68 bool FormField::ParseField(AutofillScanner* scanner,
75 bool FormField::ParseFieldSpecifics(AutofillScanner* scanner,
91 bool FormField::ParseEmptyLabel(AutofillScanner* scanner,
100 bool FormField::AddClassification(const AutofillField* field,
111 bool FormField::MatchAndAdvance(AutofillScanner* scanner,
116 if (FormField::Match(field, pattern, match_type)) {
127 bool FormField::Match(const AutofillField* field,
130 if ((match_type & FormField::MATCH_LABEL) &&
135 if ((match_type & FormField::MATCH_NAME) &
    [all...]
form_field.h 23 class FormField {
25 virtual ~FormField() {}
56 FormField() {}
94 typedef FormField* ParseFunction(AutofillScanner* scanner);
123 DISALLOW_COPY_AND_ASSIGN(FormField);
credit_card_field.h 21 class CreditCardField : public FormField {
24 static FormField* Parse(AutofillScanner* scanner);
27 // FormField:
name_field.h 20 class NameField : public FormField {
22 static FormField* Parse(AutofillScanner* scanner);
27 // FormField:
phone_field.h 24 class PhoneField : public FormField {
28 static FormField* Parse(AutofillScanner* scanner);
31 // FormField:
email_field.cc 15 FormField* EmailField::Parse(AutofillScanner* scanner) {
address_field.h 22 class AddressField : public FormField {
24 static FormField* Parse(AutofillScanner* scanner);
27 // FormField:
address_field.cc 24 FormField* AddressField::Parse(AutofillScanner* scanner) {
name_field.cc 27 // FormField:
46 // FormField:
62 FormField* NameField::Parse(AutofillScanner* scanner) {
  /external/smack/src/org/jivesoftware/smackx/packet/
DataForm.java 25 import org.jivesoftware.smackx.FormField;
45 private final List<FormField> fields = new ArrayList<FormField>();
120 public Iterator<FormField> getFields() {
122 return Collections.unmodifiableList(new ArrayList<FormField>(fields)).iterator();
169 public void addField(FormField field) {
207 for (FormField f : fields) {
234 for (Iterator<FormField> i = getFields(); i.hasNext();) {
235 FormField field = i.next();
250 private List<FormField> fields = new ArrayList<FormField>()
    [all...]
  /external/smack/src/org/jivesoftware/smackx/
Form.java 115 public void addField(FormField field) {
134 FormField field = getField(variable);
138 if (!FormField.TYPE_TEXT_MULTI.equals(field.getType())
139 && !FormField.TYPE_TEXT_PRIVATE.equals(field.getType())
140 && !FormField.TYPE_TEXT_SINGLE.equals(field.getType())
141 && !FormField.TYPE_JID_SINGLE.equals(field.getType())
142 && !FormField.TYPE_HIDDEN.equals(field.getType())) {
160 FormField field = getField(variable);
164 if (!FormField.TYPE_TEXT_MULTI.equals(field.getType())
165 && !FormField.TYPE_TEXT_PRIVATE.equals(field.getType()
    [all...]
FormField.java 37 public class FormField {
59 * Creates a new FormField with the variable name that uniquely identifies the field
64 public FormField(String variable) {
69 * Creates a new FormField of type FIXED. The fields of type FIXED do not define a variable
72 public FormField() {
73 this.type = FormField.TYPE_FIXED;
308 if (!(obj instanceof FormField))
311 FormField other = (FormField) obj;
322 * Represents the available option of a given FormField
    [all...]
ReportedData.java 73 FormField field = (FormField)fields.next();
81 FormField field;
83 field = (FormField) fields.next();
  /external/smack/src/org/jivesoftware/smackx/pubsub/
ConfigureForm.java 21 import org.jivesoftware.smackx.FormField;
93 addField(ConfigureNodeFields.access_model, FormField.TYPE_LIST_SINGLE);
116 addField(ConfigureNodeFields.body_xslt, FormField.TYPE_TEXT_SINGLE);
137 addField(ConfigureNodeFields.children, FormField.TYPE_TEXT_MULTI);
163 addField(ConfigureNodeFields.children_association_policy, FormField.TYPE_LIST_SINGLE);
190 addField(ConfigureNodeFields.children_association_whitelist, FormField.TYPE_JID_MULTI);
211 addField(ConfigureNodeFields.children_max, FormField.TYPE_TEXT_SINGLE);
232 addField(ConfigureNodeFields.collection, FormField.TYPE_TEXT_SINGLE);
257 addField(ConfigureNodeFields.dataform_xslt, FormField.TYPE_TEXT_SINGLE);
278 addField(ConfigureNodeFields.deliver_payloads, FormField.TYPE_BOOLEAN);
    [all...]
SubscribeForm.java 26 import org.jivesoftware.smackx.FormField;
73 addField(SubscribeOptionFields.deliver, FormField.TYPE_BOOLEAN);
94 addField(SubscribeOptionFields.deliver, FormField.TYPE_BOOLEAN);
115 addField(SubscribeOptionFields.digest_frequency, FormField.TYPE_TEXT_SINGLE);
146 addField(SubscribeOptionFields.expire, FormField.TYPE_TEXT_SINGLE);
169 addField(SubscribeOptionFields.include_body, FormField.TYPE_BOOLEAN);
206 addField(SubscribeOptionFields.show_values, FormField.TYPE_LIST_MULTI);
218 FormField formField = getField(field.getFieldName());
220 return formField.getValues().next();
    [all...]
  /external/smack/src/org/jivesoftware/smackx/provider/
DataFormProvider.java 25 import org.jivesoftware.smackx.FormField;
77 private FormField parseField(XmlPullParser parser) throws Exception {
79 FormField formField = new FormField(parser.getAttributeValue("", "var"));
80 formField.setLabel(parser.getAttributeValue("", "label"));
81 formField.setType(parser.getAttributeValue("", "type"));
86 formField.setDescription(parser.nextText());
89 formField.addValue(parser.nextText());
92 formField.setRequired(true)
    [all...]
  /external/smack/src/org/jivesoftware/smackx/muc/
RoomInfo.java 24 import org.jivesoftware.smackx.FormField;
92 FormField descField = form.getField("muc#roominfo_description");
95 FormField subjField = form.getField("muc#roominfo_subject");
98 FormField occCountField = form.getField("muc#roominfo_occupants");
  /external/smack/src/org/jivesoftware/smackx/filetransfer/
FileTransferNegotiator.java 42 import org.jivesoftware.smackx.FormField;
262 FormField streamMethodField = getStreamMethodField(si
294 private FormField getStreamMethodField(DataForm form) {
295 FormField field = null;
296 for (Iterator<FormField> it = form.getFields(); it.hasNext();) {
306 private StreamNegotiator getNegotiator(final FormField field)
311 for (Iterator<FormField.Option> it = field.getOptions(); it.hasNext();) {
327 //if (isByteStream && isIBB && field.getType().equals(FormField.TYPE_LIST_MULTI)) {
441 private StreamNegotiator getOutgoingNegotiator(final FormField field)
476 FormField field = new FormField(STREAM_DATA_FIELD_NAME);
    [all...]
StreamNegotiator.java 31 import org.jivesoftware.smackx.FormField;
66 FormField field = new FormField(
  /external/smack/src/org/jivesoftware/smackx/search/
SimpleUserSearch.java 21 import org.jivesoftware.smackx.FormField;
69 Iterator<FormField> fields = form.getFields();
71 FormField field = fields.next();
82 private static String getSingleValue(FormField formField) {
83 Iterator<String> values = formField.getValues();
UserSearch.java 28 import org.jivesoftware.smackx.FormField;
219 FormField field = new FormField(name);
235 field.setType(FormField.TYPE_TEXT_SINGLE);
  /external/smack/src/org/jivesoftware/smackx/entitycaps/
EntityCapsManager.java 40 import org.jivesoftware.smackx.FormField;
536 List<FormField> foundFormTypes = new LinkedList<FormField>();
541 for (Iterator<FormField> it = df.getFields(); it.hasNext();) {
542 FormField f = it.next();
544 for (FormField fft : foundFormTypes) {
624 SortedSet<FormField> fs = new TreeSet<FormField>(new Comparator<FormField>() {
625 public int compare(FormField f1, FormField f2)
    [all...]
  /external/smack/src/org/jivesoftware/smackx/workgroup/user/
Workgroup.java 33 import org.jivesoftware.smackx.FormField;
395 FormField field = new FormField(escapedName);
396 field.setType(FormField.TYPE_TEXT_SINGLE);
    [all...]

Completed in 252 milliseconds

1 2