Searched defs:begin (Results 1 - 18 of 18) sorted by relevance

/packages/apps/Email/src/org/apache/james/mime4j/decoder/
H A DDecoderUtil.java170 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 Dsync.cpp35 bool Sync::begin(const char * filename) { function in class:ime_pinyin::Sync
H A Duserdict.cpp444 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 DCalendarAppWidgetServiceTest.java95 // allDay, begin, end, title, location, eventId
147 // allDay, begin, end, title, location, eventId
284 private Object[] getRow(int allDay, long begin, long end, String title, String location, argument
288 row[CalendarAppWidgetService.INDEX_BEGIN] = new Long(begin);
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DMetaData.java165 * @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 DCalendarInstancesHelper.java156 * @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 DCalendarProvider2.java306 public static final String SORT_CALENDAR_VIEW = "begin ASC, end DESC, title ASC";
784 long begin = time.normalize(true);
785 long end = begin + MINIMUM_EXPANSION_SPAN;
790 begin, end,
893 long begin;
896 begin = Long.valueOf(uri.getPathSegments().get(2));
898 throw new IllegalArgumentException("Cannot parse begin "
908 return handleInstanceQuery(qb, begin, end, projection, selection, selectionArgs,
914 begin = Long.valueOf(uri.getPathSegments().get(2));
916 throw new IllegalArgumentException("Cannot parse begin "
1281 handleEventDayQuery(SQLiteQueryBuilder qb, int begin, int end, String[] projection, String selection, String instancesTimezone, boolean isHomeTimezone) argument
1315 acquireInstanceRange(final long begin, final long end, final boolean useMinimumExpansionWindow, final boolean forceExpansion, final String instancesTimezone, final boolean isHomeTimezone) argument
1339 acquireInstanceRangeLocked(long begin, long end, boolean useMinimumExpansionWindow, boolean forceExpansion, String instancesTimezone, boolean isHomeTimezone) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DDeleteEventHelper.java203 * @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 DAlertUtils.java70 // of event ID, begin time, and alarm time. The value will be the fired time.
198 public static ContentValues makeContentValues(long eventId, long begin, long end, argument
202 values.put(CalendarAlerts.BEGIN, begin);
214 public static Intent buildEventViewIntent(Context c, long eventId, long begin, long end) { argument
220 i.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, begin);
/packages/apps/Mms/src/com/android/mms/dom/smil/
H A DElementTimeImpl.java71 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 DSmilDocumentImpl.java118 public void setBegin(TimeList begin) throws DOMException { argument
119 mSeqTimeContainer.setBegin(begin);
H A DSmilParElementImpl.java41 * 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 DSmilMediaElementImpl.java48 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 DElementTime.java29 * 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 DMediaModel.java97 public void setBegin(int begin) { argument
98 mBegin = begin;
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
H A DAlertServiceTest.java203 public Alert(long eventId, int alertStatus, int responseStatus, int allDay, long begin, argument
209 mBegin = begin;
221 int addAlertRow(long eventId, int alertStatus, int responseStatus, int allDay, long begin, argument
223 Alert a = new Alert(eventId, alertStatus, responseStatus, allDay, begin, end,
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaWindowAdapter.java293 long begin; field in class:AgendaWindowAdapter.EventInfo
623 event.begin = cursor.getLong(AgendaWindowAdapter.INDEX_BEGIN);
630 time.setJulianDay(Time.getJulianDay(event.begin, 0));
631 event.begin = time.toMillis(false /* use isDst */);
634 time.set(event.begin);
638 event.begin = time.toMillis(false /* use isDst */);
693 event.id, event.begin, event.end, 0,
1042 this, EventType.VIEW_EVENT, event.id, event.begin,
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarProvider2Test.java88 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...]

Completed in 339 milliseconds