Searched refs:end (Results 1 - 25 of 298) sorted by path

1234567891011>>

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppLauncherActivity.java81 //Check if Bluetooth is available in the beginning instead of at the end
290 matchStr.substring(proto.end());
355 int end = 0;
358 out.append(text.substring(end, start));
359 end = match.end();
363 for (int i = 1, n = end - start; i < n; ++i) {
377 out.append(text.substring(end));
/packages/apps/Browser/src/com/android/browser/homepages/
H A DTemplate.java201 if (end_m.find(m.end())) {
202 start = m.end();
203 m.region(end_m.end(), template.length());
206 start = end_m.end();
210 start = m.end();
/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider2.java1605 int end = url.indexOf('&', index);
1606 if (end > 0) {
1608 .concat(url.substring(end + 1));
/packages/apps/Browser/src/com/android/browser/view/
H A DPieMenu.java351 private Path makeSlice(float start, float end, int outer, int inner, Point center) { argument
359 path.arcTo(bb, start, end - start, true);
360 path.arcTo(bbi, end, start - end);
/packages/apps/Calculator/src/com/android/calculator2/
H A DCalculatorExpressionBuilder.java37 public SpannableStringBuilder replace(int start, int end, CharSequence tb, int tbstart, argument
39 if (start != length() || end != length()) {
41 return super.replace(start, end, tb, tbstart, tbend);
91 return super.replace(start, end, appendExpr, 0, appendExpr.length());
/packages/apps/Calendar/src/com/android/calendar/
H A DAllInOneActivity.java663 long end = intent.getLongExtra(EXTRA_EVENT_END_TIME, -1);
665 if (end != -1) {
667 info.endTime.set(end);
1004 final long end;
1006 end = event.endTime.toMillis(false /* use isDst */);
1008 end = start;
1011 final String msg = Utils.formatDateRange(this, start, end, (int) event.extraLong);
H A DCalendarController.java160 // Event start and end times. All-day events are represented in:
336 * @param endMillis end time
356 * @param endMillis end time
398 * @param end end time
402 public void sendEvent(Object sender, long eventType, Time start, Time end, long eventId, argument
404 sendEvent(sender, eventType, start, end, start, eventId, viewType, EXTRA_GOTO_TIME, null,
411 public void sendEvent(Object sender, long eventType, Time start, Time end, long eventId, argument
413 sendEvent(sender, eventType, start, end, start, eventId, viewType, extraLong, query,
417 public void sendEvent(Object sender, long eventType, Time start, Time end, Tim argument
[all...]
H A DDayView.java1121 Time end = new Time(start);
1122 end.monthDay += mNumDays - 1;
1124 end.minute += 1;
1125 end.normalize(true);
1133 if (start.month != end.month) {
1138 mController.sendEvent(this, EventType.UPDATE_TITLE, start, end, null, -1, ViewType.CURRENT,
1165 // Compare end of range
1545 long end = selectedEvent.endMillis;
1547 mDeleteEventHelper.delete(begin, end, id, -1);
1632 Time end
1790 GotoBroadcaster(Time start, Time end) argument
[all...]
H A DDeleteEventHelper.java204 * @param end the end time of the event, in UTC milliseconds
209 public void delete(long begin, long end, long eventId, int which) { argument
214 mEndMillis = end;
218 public void delete(long begin, long end, long eventId, int which, Runnable callback) { argument
219 delete(begin, end, eventId, which);
252 * @param end the end time of the event, in UTC milliseconds
257 public void delete(long begin, long end, CalendarEventModel model, int which) { argument
260 mEndMillis = end;
[all...]
H A DUtils.java300 * @param endMillis the end time in UTC milliseconds
979 // Copy the event over so we can clip its start and end to our range
994 // If the end time is before the work day make sure it ends at least
999 // If the start and end are on the same day make sure they are at
1008 // extend the end to the first easy guarantee that it's
1014 // First try shifting the end but not past midnight
1028 // Now compare our current start time to the end time of the last
1151 int end = Math.min(event.endDay - firstJulianDay, numDays - 1);
1152 for (int i = Math.max(event.startDay - firstJulianDay, 0); i <= end; i++) {
1253 // The last day we want the end tim
2062 spanWillOverlap(Spannable spanText, URLSpan[] spanList, int start, int end) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaAdapter.java193 long end = cursor.getLong(AgendaWindowAdapter.INDEX_END);
209 whenString = DateUtils.formatDateRange(context, mFormatter, begin, end, flags, tzString)
H A DAgendaByDayAdapter.java381 endDay = Math.min(endDay, dayAdapterInfo.end);
387 // event, the end time is midnight
400 for (int currentDay = prevStartDay + 1; currentDay <= dayAdapterInfo.end;
528 // 4. No event id match , time is between event start and end
H A DAgendaListView.java185 long endTime = item.end;
235 mDeleteEventHelper.delete(agendaItem.begin, agendaItem.end, agendaItem.id, -1);
H A DAgendaWindowAdapter.java118 Instances.END_DAY, // 11 Julian end day
240 int end; field in class:AgendaWindowAdapter.QuerySpec
254 result = prime * result + end;
275 if (end != other.end || queryStartMillis != other.queryStartMillis
298 * The begin and end times of an AgendaItem should always be in local time, even if the event
303 long end; field in class:AgendaWindowAdapter.AgendaItem
313 int end; // end day of the cursor's coverage field in class:AgendaWindowAdapter.DayAdapterInfo
330 time.setJulianDay(end);
820 buildQueryUri(int start, int end, String searchQuery) argument
833 isInRange(int start, int end) argument
842 calculateQueryDuration(int start, int end) argument
857 queueQuery(int start, int end, Time goToTime, String searchQuery, int queryType, long id) argument
950 updateHeaderFooter(final int start, final int end) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertUtils.java202 public static ContentValues makeContentValues(long eventId, long begin, long end, argument
207 values.put(CalendarAlerts.END, end);
218 public static Intent buildEventViewIntent(Context c, long eventId, long begin, long end) { argument
225 i.putExtra(CalendarContract.EXTRA_EVENT_END_TIME, end);
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventActivity.java139 long end = intent.getLongExtra(EXTRA_EVENT_END_TIME, -1);
140 if (end != -1) {
145 info.endTime.set(end);
H A DEditEventFragment.java488 mEnd = mEventBundle.end;
735 // Do one more check to make sure this remains at the end of the list
829 long end = mModel.mEnd;
844 deleteHelper.delete(begin, end, mOriginalModel, which);
853 long end = mModel.mEnd;
864 t.set(end);
866 end = t.toMillis(true);
868 CalendarController.getInstance(mActivity).launchViewEvent(-1, start, end,
945 mEventBundle.end = mEvent.startTime.toMillis(true);
980 long end field in class:EditEventFragment.EventBundle
[all...]
H A DEditEventHelper.java363 // to end at the new start time.
367 // Update the current repeating event to end at the new start time. We
382 // We need to update the existing recurrence to end before the exception
615 * When we aren't given an explicit end time, we default to an hour after
618 * @return a default end time
687 * the original event to end before a new series starts. This creates an
695 * @param endTimeMillis The time before which the event must end (i.e. the start time of the
912 long end = model.mEnd;
917 if (end >= start) {
920 long days = (end
[all...]
H A DEditEventView.java246 // Cache the start and end millis so that we limit the number
260 // Also update the end time to keep the duration constant.
267 // The end time was changed.
272 // Move to the start time if the end time is before the start
277 // Call populateTimezone if we support end time zone as well
344 // Cache the start and end millis so that we limit the number
360 // Also update the end date to keep the duration constant.
372 // The end date was changed.
379 // Do not allow an event to have an end time before the start
385 // Call populateTimezone if we support end tim
[all...]
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthByWeekAdapter.java265 int end = start + v.mNumDays;
266 if (start < 0 || end > mEventDayList.size()) {
274 v.setEvents(mEventDayList.subList(start, end), mEvents);
H A DMonthByWeekFragment.java186 long end = mTempTime.toMillis(true);
191 ContentUris.appendId(builder, end);
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
H A DRecurrencePickerDialog.java125 * UNTIL and COUNT: How does the the event end?
133 int end; field in class:RecurrencePickerDialog.RecurrenceModel
185 return "Model [freq=" + freq + ", interval=" + interval + ", end=" + end + ", endDate="
204 dest.writeInt(end);
446 model.end = RecurrenceModel.END_BY_COUNT;
462 if (model.end == RecurrenceModel.END_BY_COUNT && model.endDate != null) {
466 model.end = RecurrenceModel.END_BY_DATE;
535 switch (model.end) {
543 throw new IllegalStateException("end
[all...]
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetModel.java86 long end; field in class:CalendarAppWidgetModel.EventInfo
127 result = prime * result + (int) (end ^ (end >>> 32));
153 if (end != other.end)
284 long end = cursor.getLong(CalendarAppWidgetService.INDEX_END);
299 end = Utils.convertAlldayUtcToLocal(recycle, end, tz);
304 + " end:" + end
354 populateEventInfo(long eventId, boolean allDay, long start, long end, int startDay, int endDay, String title, String location, int color, int selfStatus) argument
[all...]
H A DCalendarAppWidgetProvider.java206 static Intent getLaunchFillInIntent(Context context, long id, long start, long end, argument
225 fillInIntent.putExtra(EXTRA_EVENT_END_TIME, end);
H A DCalendarAppWidgetService.java251 if (!eventInfo.allDay && eventInfo.start <= now && now <= eventInfo.end) {
311 long end = eventInfo.end;
317 end = Utils.convertAlldayLocalToUTC(recycle, end, tz);
320 mContext, eventInfo.id, start, end, eventInfo.allDay);
366 * one day on each end so that we can catch all-day events. All-day
406 long end = now + SEARCH_DURATION + DateUtils.DAY_IN_MILLIS;
408 Uri uri = Uri.withAppendedPath(Instances.CONTENT_URI, Long.toString(begin) + "/" + end);
428 final long end;
[all...]

Completed in 379 milliseconds

1234567891011>>