Home
last modified time | relevance | path

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

12

/packages/apps/Email/emailcommon/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.java160 protected void performInstanceExpansion(long begin, long end, String localTimezone, in performInstanceExpansion() argument
331 dates = rp.expand(eventTime, recur, begin, end); in performInstanceExpansion()
387 if ((dtendMillis < begin) || (dtstartMillis > end)) { in performInstanceExpansion()
531 protected void expandInstanceRangeLocked(long begin, long end, String localTimezone) { in expandInstanceRangeLocked() argument
538 Log.v(TAG, "Expanding events between " + begin + " and " + end); in expandInstanceRangeLocked()
541 Cursor entries = getEntries(begin, end); in expandInstanceRangeLocked()
543 performInstanceExpansion(begin, end, localTimezone, entries); in expandInstanceRangeLocked()
561 private Cursor getEntries(long begin, long end) { in getEntries() argument
566 String beginString = String.valueOf(begin); in getEntries()
590 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/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.java111 long begin = intent.getLongExtra(EXTRA_EVENT_BEGIN_TIME, -1); in getEventInfoFromIntent() local
117 if (begin != -1) { in getEventInfoFromIntent()
119 info.startTime.set(begin); in getEventInfoFromIntent()
/packages/apps/Calendar/src/com/android/calendar/
DDeleteEventHelper.java197 public void delete(long begin, long end, long eventId, int which) { in delete() argument
201 mStartMillis = begin; in delete()
206 public void delete(long begin, long end, long eventId, int which, Runnable callback) { in delete() argument
207 delete(begin, end, eventId, which); in delete()
245 public void delete(long begin, long end, CalendarEventModel model, int which) { in delete() argument
247 mStartMillis = begin; in delete()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java296 long begin; field in CalendarProvider2Test.DumpInstances
302 begin = time.toMillis(false /* use isDst */); in DumpInstances()
308 Cursor cursor = queryInstances(begin, end); in execute()
320 long begin; field in CalendarProvider2Test.QueryNumInstances
326 begin = time.toMillis(false /* use isDst */); in QueryNumInstances()
333 Cursor cursor = queryInstances(begin, end); in execute()
348 long begin; field in CalendarProvider2Test.VerifyAllInstances
354 begin = time.toMillis(false /* use isDst */); in VerifyAllInstances()
373 Cursor cursor = queryInstances(begin, end); in execute()
389 long begin = cursor.getLong(beginColumn); in execute() local
[all …]
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaListView.java225 controller.sendEventRelatedEvent(this, EventType.VIEW_EVENT, event.id, event.begin, in onItemClick()
257 mDeleteEventHelper.delete(event.begin, event.end, event.id, -1); in deleteSelectedEvent()
297 return event.begin; in getSelectedTime()
317 t.set(event.begin); in getFirstVisibleTime()
361 if (event.id == id && event.begin == milliTime) { in isEventVisible()
DAgendaAdapter.java188 long begin = cursor.getLong(AgendaWindowAdapter.INDEX_BEGIN); in bindView() local
205 whenString = DateUtils.formatDateRange(context, mFormatter, begin, end, flags, tzString) in bindView()
211 date.set(begin); in bindView()
DAgendaWindowAdapter.java267 long begin; field in AgendaWindowAdapter.EventInfo
565 event.begin = cursor.getLong(AgendaWindowAdapter.INDEX_BEGIN); in buildEventInfoFromCursor()
572 time.setJulianDay(Time.getJulianDay(event.begin, 0)); in buildEventInfoFromCursor()
573 event.begin = time.toMillis(false /* use isDst */); in buildEventInfoFromCursor()
576 time.set(event.begin); in buildEventInfoFromCursor()
580 event.begin = time.toMillis(false /* use isDst */); in buildEventInfoFromCursor()
922 EventType.VIEW_EVENT, event.id, event.begin, event.end, 0, 0, -1); in onQueryComplete()
/packages/inputmethods/PinyinIME/jni/include/
Dsync.h48 bool begin(const char * filename);
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertActivity.java185 private static ContentValues makeContentValues(long eventId, long begin, long end, in makeContentValues() argument
189 values.put(CalendarAlerts.BEGIN, begin); in makeContentValues()
302 long begin = mCursor.getLong(INDEX_BEGIN); in onClick() local
309 makeContentValues(eventId, begin, end, alarmTime, 0 /* minutes */); in onClick()
/packages/apps/Mms/src/com/android/mms/model/
DMediaModelFactory.java216 int begin = 0; in getGenericMediaModel() local
221 begin = (int) (t.getResolvedOffset() * 1000); in getGenericMediaModel()
223 media.setBegin(begin); in getGenericMediaModel()
233 duration = (int) (t.getResolvedOffset() * 1000) - begin; in getGenericMediaModel()
DMediaModel.java112 public void setBegin(int begin) { in setBegin() argument
113 mBegin = begin; in setBegin()
DSmilHelper.java356 int begin = media.getBegin(); in createSmilDocument() local
357 if (begin != 0) { in createSmilDocument()
358 sme.setAttribute("begin", String.valueOf(begin / 1000)); in createSmilDocument()
/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