Lines Matching defs:section
257 /** Adds a set of calls with the given types, all from the same number, in the old section. */
264 /** Adds a call with the given number and type to the old section of the call log. */
269 /** Adds a call with the given number and type to the new section of the call log. */
275 private void addCallLogEntry(String number, int type, int section) {
276 if (section != CallLogQuery.SECTION_NEW_ITEM
277 && section != CallLogQuery.SECTION_OLD_ITEM) {
278 throw new IllegalArgumentException("not an item section: " + section);
285 values[CallLogQuery.SECTION] = section;
289 /** Adds the old section header to the call log. */
294 /** Adds the new section header to the call log. */
300 private void addCallLogHeader(int section) {
301 if (section != CallLogQuery.SECTION_NEW_HEADER
302 && section != CallLogQuery.SECTION_OLD_HEADER) {
303 throw new IllegalArgumentException("not a header section: " + section);
308 values[CallLogQuery.SECTION] = section;