/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
H A D | DecoderUtil.java | 170 int begin = body.indexOf("=?", previousEnd);
175 int endScan = begin + 2;
176 if (begin != -1) {
184 int end = begin == -1 ? -1 : body.indexOf("?=", endScan);
194 String sep = body.substring(previousEnd, begin);
196 String decoded = decodeEncodedWord(body, begin, end);
199 sb.append(body.substring(begin, end));
213 private static String decodeEncodedWord(String body, int begin, int end) {
argument 214 int qm1 = body.indexOf('?', begin + 2);
222 String mimeCharset = body.substring(begin [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
H A D | sync.cpp | 35 bool Sync::begin(const char * filename) { function in class:ime_pinyin::Sync
|
H A D | userdict.cpp | 444 int32 begin = 0; local 451 while (begin <= end) { 452 middle = (begin + end) >> 1; 463 begin = middle + 1; 761 int32 begin = 0; 767 while (begin <= end) { 768 middle = (begin + end) >> 1; 794 begin = middle + 1; 808 int32 begin = 0; 814 while (begin < [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetServiceTest.java | 105 // allDay, begin, end, title, location, eventId 176 private Object[] getRow(int allDay, long begin, long end, String title, String location, argument 180 row[CalendarAppWidgetService.INDEX_BEGIN] = new Long(begin);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | MetaData.java | 165 * @param begin the start of the Instance expansion in UTC milliseconds 170 public void write(String timezone, long begin, long end, int startDay, int endDay) { argument 174 writeLocked(timezone, begin, end); 191 * @param begin the start of the Instance expansion in UTC milliseconds 194 public void writeLocked(String timezone, long begin, long end) { argument 198 values.put(CalendarMetaData.MIN_INSTANCE, begin); 214 mFields.minInstance = begin; 235 writeLocked(mFields.timezone, 0 /* begin */, 0 /* end */);
|
H A D | CalendarInstancesHelper.java | 156 * @param begin Window start (ms). 161 protected void performInstanceExpansion(long begin, long end, String localTimezone, argument 332 dates = rp.expand(eventTime, recur, begin, end); 388 if ((dtendMillis < begin) || (dtstartMillis > end)) { 532 protected void expandInstanceRangeLocked(long begin, long end, String localTimezone) { argument 539 Log.v(TAG, "Expanding events between " + begin + " and " + end); 542 Cursor entries = getEntries(begin, end); 544 performInstanceExpansion(begin, end, localTimezone, entries); 558 * @param begin Window start (ms). 562 private Cursor getEntries(long begin, lon argument 889 computeTimezoneDependentFields(long begin, long end, Time local, ContentValues values) argument [all...] |
H A D | CalendarProvider2.java | 314 public static final String SORT_CALENDAR_VIEW = "begin ASC, end DESC, title ASC"; 793 long begin = time.normalize(true); 794 long end = begin + MINIMUM_EXPANSION_SPAN; 799 begin, end, 923 long begin; 926 begin = Long.valueOf(uri.getPathSegments().get(2)); 928 throw new IllegalArgumentException("Cannot parse begin " 938 return handleInstanceQuery(qb, begin, end, projection, selection, selectionArgs, 944 begin = Long.valueOf(uri.getPathSegments().get(2)); 946 throw new IllegalArgumentException("Cannot parse begin " 1311 handleEventDayQuery(SQLiteQueryBuilder qb, int begin, int end, String[] projection, String selection, String instancesTimezone, boolean isHomeTimezone) argument 1345 acquireInstanceRange(final long begin, final long end, final boolean useMinimumExpansionWindow, final boolean forceExpansion, final String instancesTimezone, final boolean isHomeTimezone) argument 1369 acquireInstanceRangeLocked(long begin, long end, boolean useMinimumExpansionWindow, boolean forceExpansion, String instancesTimezone, boolean isHomeTimezone) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DeleteEventHelper.java | 203 * @param begin the begin time of the event, in UTC milliseconds 209 public void delete(long begin, long end, long eventId, int which) { argument 213 mStartMillis = begin; 218 public void delete(long begin, long end, long eventId, int which, Runnable callback) { argument 219 delete(begin, end, eventId, which); 251 * @param begin the begin time of the event, in UTC milliseconds 257 public void delete(long begin, long end, CalendarEventModel model, int which) { argument 259 mStartMillis = begin; [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | AlertUtils.java | 70 // of event ID, begin time, and alarm time. The value will be the fired time. 202 public static ContentValues makeContentValues(long eventId, long begin, long end, argument 206 values.put(CalendarAlerts.BEGIN, begin); 218 public static Intent buildEventViewIntent(Context c, long eventId, long begin, long end) { argument 224 i.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, begin);
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
H A D | AlarmSchedulerTest.java | 65 public EventInfo(long eventId, boolean allDay, long begin, int reminderMinutes) { argument 68 mBegin = begin; 78 void addEventInfo(long eventId, boolean allDay, long begin, int reminderMinutes) { argument 79 mEvents.add(new EventInfo(eventId, allDay, begin, reminderMinutes));
|
H A D | AlertServiceTest.java | 202 public Alert(long eventId, int alertStatus, int responseStatus, int allDay, long begin, argument 208 mBegin = begin; 220 int addAlertRow(long eventId, int alertStatus, int responseStatus, int allDay, long begin, argument 222 Alert a = new Alert(eventId, alertStatus, responseStatus, allDay, begin, end,
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
H A D | ElementTimeImpl.java | 71 String[] beginTimeStringList = mSmilElement.getAttribute("begin").split(";"); 95 * "For children of a sequence, the only legal value for begin is 96 * a (single) non-negative offset value. The default begin value is 0." 98 * "The default value of begin for children of a par is 0." 148 // Get begin 149 TimeList begin = getBegin(); 150 for (int i = 0; i < begin.getLength(); i++) { 152 // end = begin + dur 153 begin.item(i).getResolvedOffset() + duration + "s", 163 TimeList begin 291 setBegin(TimeList begin) argument [all...] |
H A D | SmilDocumentImpl.java | 118 public void setBegin(TimeList begin) throws DOMException { argument 119 mSeqTimeContainer.setBegin(begin);
|
H A D | SmilParElementImpl.java | 41 * For children of a sequence, the only legal value for begin is 104 * For children of a sequence, the only legal value for begin is 186 public void setBegin(TimeList begin) throws DOMException { argument 187 mParTimeContainer.setBegin(begin);
|
H A D | SmilMediaElementImpl.java | 48 Log.v(TAG, "Dispatching 'begin' event to " 62 Log.v(TAG, "Dispatching 'begin' event to " 312 public void setBegin(TimeList begin) throws DOMException { argument 313 mElementTime.setBegin(begin);
|
/packages/apps/Mms/src/org/w3c/dom/smil/ |
H A D | ElementTime.java | 29 * The desired value (as a list of times) of the begin instant of this 35 public void setBegin(TimeList begin) argument 109 * Causes this element to begin the local timeline (subject to sync
|
/packages/apps/Mms/src/com/android/mms/model/ |
H A D | MediaModel.java | 97 public void setBegin(int begin) { argument 98 mBegin = begin;
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/html/parser/ |
H A D | HtmlTree.java | 420 * Checks if a block can begin starting from a node position 953 private void addNode(HtmlDocument.Node n, int begin, int end) { argument 956 begins.add(begin);
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
H A D | HtmlTree.java | 453 * Checks if a block can begin starting from a node position 997 private void addNode(HtmlDocument.Node n, int begin, int end) { argument 999 begins.add(begin);
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
H A D | AgendaWindowAdapter.java | 298 * The begin and end times of an AgendaItem should always be in local time, even if the event 302 long begin; field in class:AgendaWindowAdapter.AgendaItem 632 agendaItem.begin = cursor.getLong(AgendaWindowAdapter.INDEX_BEGIN); 638 time.setJulianDay(Time.getJulianDay(agendaItem.begin, 0)); 639 agendaItem.begin = time.toMillis(false /* use isDst */); 642 time.set(agendaItem.begin); 646 agendaItem.begin = time.toMillis(false /* use isDst */); 668 startTime = Utils.convertAlldayLocalToUTC(null, item.begin, mTimeZone); 671 startTime = item.begin;
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
H A D | StringUtil.java | 3029 * <p>If {@code begin} or {@code end} are the low surrogate of a unicode 3040 * {@code end - begin}. 3043 * @param begin the beginning index, inclusive 3047 * @throws IndexOutOfBoundsException if the {@code begin} is negative, 3049 * {@code begin} is larger than {@code end} 3052 String str, int begin, int end) { 3053 return str.substring(unicodePreservingIndex(str, begin), 3062 * str, begin, str.length()) 3065 public static String unicodePreservingSubstring(String str, int begin) { argument 3066 return unicodePreservingSubstring(str, begin, st 3051 unicodePreservingSubstring( String str, int begin, int end) argument [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | StringUtil.java | 3030 * <p>If {@code begin} or {@code end} are the low surrogate of a unicode 3041 * {@code end - begin}. 3044 * @param begin the beginning index, inclusive 3048 * @throws IndexOutOfBoundsException if the {@code begin} is negative, 3050 * {@code begin} is larger than {@code end} 3053 String str, int begin, int end) { 3054 return str.substring(unicodePreservingIndex(str, begin), 3063 * str, begin, str.length()) 3066 public static String unicodePreservingSubstring(String str, int begin) { argument 3067 return unicodePreservingSubstring(str, begin, st 3052 unicodePreservingSubstring( String str, int begin, int end) argument [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | CalendarProvider2Test.java | 88 private static final String DEFAULT_SORT_ORDER = "begin ASC"; 295 long begin; field in class:CalendarProvider2Test.DumpInstances 301 begin = time.toMillis(false /* use isDst */); 307 Cursor cursor = queryInstances(begin, end); 319 long begin; field in class:CalendarProvider2Test.QueryNumInstances 325 begin = time.toMillis(false /* use isDst */); 332 Cursor cursor = queryInstances(begin, end); 347 long begin; field in class:CalendarProvider2Test.VerifyAllInstances 353 begin = time.toMillis(false /* use isDst */); 372 Cursor cursor = queryInstances(begin, en 434 long begin; field in class:CalendarProvider2Test.VerifyInstance 2619 queryInstances(ContentResolver cr, String[] projection, long begin, long end, String selection, String[] selectionArgs, String orderBy) argument 2660 queryInstances(ContentResolver cr, String[] projection, long begin, long end, String searchQuery, String selection, String[] selectionArgs, String orderBy) argument 2683 queryInstances(long begin, long end) argument [all...] |