Lines Matching defs:this
5 * you may not use this file except in compliance with the License.
46 * In the future this may be inflated from XML defined by a data source.
67 * Set of {@link DataKind} supported by this source.
93 * Ensure that this {@link ContactsSource} has been inflated to the
109 * Invalidate any cache for this {@link ContactsSource}, removing all
114 this.mKinds.clear();
115 this.mMimeKinds.clear();
120 if (this.titleRes != -1 && this.summaryResPackageName != null) {
122 return pm.getText(this.summaryResPackageName, this.titleRes, null);
123 } else if (this.titleRes != -1) {
124 return context.getText(this.titleRes);
126 return this.accountType;
131 if (this.titleRes != -1 && this.summaryResPackageName != null) {
133 return pm.getDrawable(this.summaryResPackageName, this.iconRes, null);
134 } else if (this.titleRes != -1) {
135 return context.getResources().getDrawable(this.iconRes);
166 * this data source. If you may need a fallback {@link DataKind}, use
170 return this.mMimeKinds.get(mimeType);
174 * Add given {@link DataKind} to list of those provided by this source.
177 kind.resPackageName = this.resPackageName;
178 this.mKinds.add(kind);
179 this.mMimeKinds.put(kind.mimeType, kind);
186 * {@link Data} rows of this kind, including the possible {@link EditType}
200 * If this is true (default), the user can add and remove values.
215 * If {@link DataKind#isList} is false, this value is ignored.
228 this.mimeType = mimeType;
229 this.titleRes = titleRes;
230 this.iconRes = iconRes;
231 this.weight = weight;
232 this.editable = editable;
233 this.isList = true;
234 this.typeOverallMax = -1;
241 * rows a {@link Contacts} may have of this type, and details on how
254 this.rawValue = rawValue;
255 this.labelRes = labelRes;
256 this.specificMax = -1;
260 this.secondary = secondary;
261 return this;
265 this.specificMax = specificMax;
266 return this;
270 this.customColumn = customColumn;
271 return this;
292 * the column where this field is stored.
302 this.column = column;
303 this.titleRes = titleRes;
307 this(column, titleRes);
308 this.inputType = inputType;
312 this.optional = optional;
313 return this;