Searched refs:begin (Results 1 - 25 of 37) sorted by relevance

12

/packages/apps/Email/emailcommon/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/include/
H A Dsync.h31 // begin() ->
48 bool begin(const char * filename);
/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.java155 * @param begin Window start (ms).
160 protected void performInstanceExpansion(long begin, long end, String localTimezone, argument
331 dates = rp.expand(eventTime, recur, begin, end);
387 if ((dtendMillis < begin) || (dtstartMillis > end)) {
531 protected void expandInstanceRangeLocked(long begin, long end, String localTimezone) { argument
538 Log.v(TAG, "Expanding events between " + begin + " and " + end);
541 Cursor entries = getEntries(begin, end);
543 performInstanceExpansion(begin, end, localTimezone, entries);
557 * @param begin Window start (ms).
561 private Cursor getEntries(long begin, lon argument
888 computeTimezoneDependentFields(long begin, long end, Time local, ContentValues values) argument
[all...]
/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 DElementParallelTimeContainerImpl.java112 * Add ElementTime to list of active elements if the Time belongs to the begin-list,
126 Time begin = beginList.item(j);
127 if (begin.getResolved()) {
128 double resolvedOffset = begin.getResolvedOffset() * 1000.0;
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 DSmilPlayer.java92 // Set my begin at first
95 * Begin list only contain 1 begin time which has been resolved.
98 Time begin = myBeginList.item(0);
99 double beginOffset = begin.getResolvedOffset() + offset;
150 // Set my begin at first
153 * Begin list only contain 1 begin time which has been resolved.
156 Time begin = myBeginList.item(0);
157 double beginOffset = begin.getResolvedOffset() + offset;
217 Time begin = beginList.item(i);
218 if (begin
[all...]
H A DSmilDocumentImpl.java118 public void setBegin(TimeList begin) throws DOMException { argument
119 mSeqTimeContainer.setBegin(begin);
H A DSmilMediaElementImpl.java47 Log.v(TAG, "Dispatching 'begin' event to "
61 Log.v(TAG, "Dispatching 'begin' event to "
311 public void setBegin(TimeList begin) throws DOMException { argument
312 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/Calendar/src/com/android/calendar/event/
H A DEditEventActivity.java111 long begin = intent.getLongExtra(EXTRA_EVENT_BEGIN_TIME, -1);
117 if (begin != -1) {
119 info.startTime.set(begin);
/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/providers/ContactsProvider/src/com/android/providers/contacts/
H A DHanziToPinyin.java374 int begin = 0;
376 while (begin <= end) {
377 offset = (begin + end) / 2;
383 begin = offset + 1;
/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/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
2339 queryInstances(ContentResolver cr, String[] projection, long begin, long end, String selection, String[] selectionArgs, String orderBy) argument
2380 queryInstances(ContentResolver cr, String[] projection, long begin, long end, String searchQuery, String selection, String[] selectionArgs, String orderBy) argument
2403 queryInstances(long begin, long end) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DMtpDevice.java122 int begin = start;
126 for (int i = begin; i < end; i++) {
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertActivity.java185 private static ContentValues makeContentValues(long eventId, long begin, long end, argument
189 values.put(CalendarAlerts.BEGIN, begin);
302 long begin = mCursor.getLong(INDEX_BEGIN);
309 makeContentValues(eventId, begin, end, alarmTime, 0 /* minutes */);
/packages/apps/Mms/src/com/android/mms/model/
H A DMediaModelFactory.java215 // Set 'begin' property.
216 int begin = 0;
219 // We only support a single begin value.
221 begin = (int) (t.getResolvedOffset() * 1000);
223 media.setBegin(begin);
233 duration = (int) (t.getResolvedOffset() * 1000) - begin;
H A DMediaModel.java112 public void setBegin(int begin) { argument
113 mBegin = begin;
H A DSmilHelper.java356 int begin = media.getBegin();
357 if (begin != 0) {
358 sme.setAttribute("begin", String.valueOf(begin / 1000));
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaListView.java206 controller.sendEventRelatedEvent(this, EventType.VIEW_EVENT, event.id, event.begin,
239 mDeleteEventHelper.delete(event.begin, event.end, event.id, -1);
261 return event.begin;
295 t.set(event.begin);
346 if (event.id == id && event.begin == milliTime) {
H A DAgendaAdapter.java188 long begin = cursor.getLong(AgendaWindowAdapter.INDEX_BEGIN);
205 whenString = DateUtils.formatDateRange(context, mFormatter, begin, end, flags, tzString)
211 date.set(begin);
248 updateReminder(view, context, begin, cursor.getLong(AgendaWindowAdapter.INDEX_EVENT_ID));
263 public static void updateReminder(View view, Context context, long begin, long eventId) {
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
H A DEffectAction.java75 public void begin(FilterStack filterStack, EffectToolFactory factory) { method in class:EffectAction
142 * here when the action is about to begin.

Completed in 5010 milliseconds

12