Home
last modified time | relevance | path

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

12

/packages/apps/Email/src/org/apache/james/mime4j/decoder/
DDecoderUtil.java170 int begin = body.indexOf("=?", previousEnd); in decodeEncodedWords() local
175 int endScan = begin + 2; in decodeEncodedWords()
176 if (begin != -1) { in decodeEncodedWords()
184 int end = begin == -1 ? -1 : body.indexOf("?=", endScan); in decodeEncodedWords()
194 String sep = body.substring(previousEnd, begin); in decodeEncodedWords()
196 String decoded = decodeEncodedWord(body, begin, end); in decodeEncodedWords()
199 sb.append(body.substring(begin, end)); in decodeEncodedWords()
213 private static String decodeEncodedWord(String body, int begin, int end) { in decodeEncodedWord() argument
214 int qm1 = body.indexOf('?', begin + 2); in decodeEncodedWord()
222 String mimeCharset = body.substring(begin + 2, qm1); in decodeEncodedWord()
[all …]
/packages/apps/Mms/src/com/android/mms/dom/smil/
DElementTimeImpl.java149 TimeList begin = getBegin(); in getEnd() local
150 for (int i = 0; i < begin.getLength(); i++) { in getEnd()
153 begin.item(i).getResolvedOffset() + duration + "s", in getEnd()
163 TimeList begin = getBegin(); in beginAndEndAreZero() local
165 if (begin.getLength() == 1 && end.getLength() == 1) { in beginAndEndAreZero()
166 Time beginTime = begin.item(0); in beginAndEndAreZero()
291 public void setBegin(TimeList begin) throws DOMException { in setBegin() argument
DElementParallelTimeContainerImpl.java126 Time begin = beginList.item(j); in getActiveChildrenAt() local
127 if (begin.getResolved()) { in getActiveChildrenAt()
128 double resolvedOffset = begin.getResolvedOffset() * 1000.0; in getActiveChildrenAt()
DSmilPlayer.java98 Time begin = myBeginList.item(0); in getParTimeline() local
99 double beginOffset = begin.getResolvedOffset() + offset; in getParTimeline()
156 Time begin = myBeginList.item(0); in getSeqTimeline() local
157 double beginOffset = begin.getResolvedOffset() + offset; in getSeqTimeline()
217 Time begin = beginList.item(i); in getTimeline() local
218 if (begin.getResolved()) { in getTimeline()
219 double beginOffset = begin.getResolvedOffset() + offset; in getTimeline()
DSmilParElementImpl.java186 public void setBegin(TimeList begin) throws DOMException { in setBegin() argument
187 mParTimeContainer.setBegin(begin); in setBegin()
DSmilDocumentImpl.java118 public void setBegin(TimeList begin) throws DOMException { in setBegin() argument
119 mSeqTimeContainer.setBegin(begin); in setBegin()
DSmilMediaElementImpl.java311 public void setBegin(TimeList begin) throws DOMException { in setBegin() argument
312 mElementTime.setBegin(begin); in setBegin()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DMetaData.java170 public void write(String timezone, long begin, long end, int startDay, int endDay) { in write() argument
174 writeLocked(timezone, begin, end); in write()
194 public void writeLocked(String timezone, long begin, long end) { in writeLocked() argument
198 values.put(CalendarMetaData.MIN_INSTANCE, begin); in writeLocked()
214 mFields.minInstance = begin; in writeLocked()
DCalendarInstancesHelper.java161 protected void performInstanceExpansion(long begin, long end, String localTimezone, in performInstanceExpansion() argument
332 dates = rp.expand(eventTime, recur, begin, end); in performInstanceExpansion()
388 if ((dtendMillis < begin) || (dtstartMillis > end)) { in performInstanceExpansion()
532 protected void expandInstanceRangeLocked(long begin, long end, String localTimezone) { in expandInstanceRangeLocked() argument
539 Log.v(TAG, "Expanding events between " + begin + " and " + end); in expandInstanceRangeLocked()
542 Cursor entries = getEntries(begin, end); in expandInstanceRangeLocked()
544 performInstanceExpansion(begin, end, localTimezone, entries); in expandInstanceRangeLocked()
562 private Cursor getEntries(long begin, long end) { in getEntries() argument
567 String beginString = String.valueOf(begin); in getEntries()
591 String.valueOf(begin - MAX_ASSUMED_DURATION), in getEntries()
[all …]
/packages/inputmethods/PinyinIME/jni/share/
Duserdict.cpp444 int32 begin = 0; in locate_first_in_offsets() local
451 while (begin <= end) { in locate_first_in_offsets()
452 middle = (begin + end) >> 1; in locate_first_in_offsets()
463 begin = middle + 1; in locate_first_in_offsets()
761 int32 begin = 0; in _get_lpis() local
767 while (begin <= end) { in _get_lpis()
768 middle = (begin + end) >> 1; in _get_lpis()
794 begin = middle + 1; in _get_lpis()
808 int32 begin = 0; in _get_lpis() local
814 while (begin <= end) { in _get_lpis()
[all …]
Dsync.cpp35 bool Sync::begin(const char * filename) { in begin() function in ime_pinyin::Sync
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertUtils.java160 public static ContentValues makeContentValues(long eventId, long begin, long end, in makeContentValues() argument
164 values.put(CalendarAlerts.BEGIN, begin); in makeContentValues()
176 public static Intent buildEventViewIntent(Context c, long eventId, long begin, long end) { in buildEventViewIntent() argument
182 i.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, begin); in buildEventViewIntent()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DHanziToPinyin.java374 int begin = 0; in getToken() local
376 while (begin <= end) { in getToken()
377 offset = (begin + end) / 2; in getToken()
383 begin = offset + 1; in getToken()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventActivity.java113 long begin = intent.getLongExtra(EXTRA_EVENT_BEGIN_TIME, -1); in getEventInfoFromIntent() local
122 if (begin != -1) { in getEventInfoFromIntent()
127 info.startTime.set(begin); in getEventInfoFromIntent()
/packages/apps/Calendar/src/com/android/calendar/
DDeleteEventHelper.java209 public void delete(long begin, long end, long eventId, int which) { in delete() argument
213 mStartMillis = begin; in delete()
218 public void delete(long begin, long end, long eventId, int which, Runnable callback) { in delete() argument
219 delete(begin, end, eventId, which); in delete()
257 public void delete(long begin, long end, CalendarEventModel model, int which) { in delete() argument
259 mStartMillis = begin; in delete()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java293 long begin; field in CalendarProvider2Test.DumpInstances
299 begin = time.toMillis(false /* use isDst */); in DumpInstances()
305 Cursor cursor = queryInstances(begin, end); in execute()
317 long begin; field in CalendarProvider2Test.QueryNumInstances
323 begin = time.toMillis(false /* use isDst */); in QueryNumInstances()
330 Cursor cursor = queryInstances(begin, end); in execute()
345 long begin; field in CalendarProvider2Test.VerifyAllInstances
351 begin = time.toMillis(false /* use isDst */); in VerifyAllInstances()
370 Cursor cursor = queryInstances(begin, end); in execute()
386 long begin = cursor.getLong(beginColumn); in execute() local
[all …]
/packages/apps/Mms/src/com/android/mms/model/
DMediaModelFactory.java172 int begin = 0; in getGenericMediaModel() local
177 begin = (int) (t.getResolvedOffset() * 1000); in getGenericMediaModel()
179 media.setBegin(begin); in getGenericMediaModel()
189 duration = (int) (t.getResolvedOffset() * 1000) - begin; in getGenericMediaModel()
DMediaModel.java96 public void setBegin(int begin) { in setBegin() argument
97 mBegin = begin; in setBegin()
DSmilHelper.java358 int begin = media.getBegin(); in createSmilDocument() local
359 if (begin != 0) { in createSmilDocument()
360 sme.setAttribute("begin", String.valueOf(begin / 1000)); in createSmilDocument()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaListView.java185 long startTime = event.begin; in onItemClick()
228 mDeleteEventHelper.delete(event.begin, event.end, event.id, -1); in deleteSelectedEvent()
250 return event.begin; in getSelectedTime()
284 t.set(event.begin); in getFirstVisibleTime()
335 if (event.id == id && event.begin == milliTime) { in isEventVisible()
DAgendaAdapter.java192 long begin = cursor.getLong(AgendaWindowAdapter.INDEX_BEGIN); in bindView() local
209 whenString = DateUtils.formatDateRange(context, mFormatter, begin, end, flags, tzString) in bindView()
215 date.set(begin); in bindView()
DAgendaWindowAdapter.java279 long begin; field in AgendaWindowAdapter.EventInfo
609 event.begin = cursor.getLong(AgendaWindowAdapter.INDEX_BEGIN); in buildEventInfoFromCursor()
616 time.setJulianDay(Time.getJulianDay(event.begin, 0)); in buildEventInfoFromCursor()
617 event.begin = time.toMillis(false /* use isDst */); in buildEventInfoFromCursor()
620 time.set(event.begin); in buildEventInfoFromCursor()
624 event.begin = time.toMillis(false /* use isDst */); in buildEventInfoFromCursor()
684 event.id, event.begin, event.end, 0, in refresh()
1032 this, EventType.VIEW_EVENT, event.id, event.begin, in onQueryComplete()
/packages/inputmethods/PinyinIME/jni/include/
Dsync.h48 bool begin(const char * filename);
/packages/apps/Mms/src/org/w3c/dom/smil/
DElementTime.java35 public void setBegin(TimeList begin) in setBegin() argument
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpDevice.java122 int begin = start; in getMediaItem() local
126 for (int i = begin; i < end; i++) { in getMediaItem()

12