/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
D | DecoderUtil.java | 170 int begin = body.indexOf("=?", previousEnd); in decodeEncodedWords() local 175 if (begin == -1) { in decodeEncodedWords() 178 int qm1 = body.indexOf('?', begin + 2); in decodeEncodedWords() 192 String sep = body.substring(previousEnd, begin); in decodeEncodedWords() 194 String decoded = decodeEncodedWord(body, begin, end); in decodeEncodedWords() 197 sb.append(body.substring(begin, end)); in decodeEncodedWords() 217 public static String decodeEncodedWord(String body, int begin, int end) { in decodeEncodedWord() argument 219 int qm1 = body.indexOf('?', begin + 2); in decodeEncodedWord() 227 String mimeCharset = body.substring(begin + 2, qm1); in decodeEncodedWord() 235 + body.substring(begin, end) + "' doesn't have a " in decodeEncodedWord() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/selection/ |
D | SelectionProbe.java | 48 public void assertRangeSelected(int begin, int end) { in assertRangeSelected() argument 49 for (int i = begin; i <= end; i++) { in assertRangeSelected() 54 public void assertRangeNotSelected(int begin, int end) { in assertRangeNotSelected() argument 55 for (int i = begin; i <= end; i++) { in assertRangeNotSelected() 60 public void assertRangeSelection(int begin, int end) { in assertRangeSelection() argument 61 assertSelectionSize(end - begin + 1); in assertRangeSelection() 62 assertRangeSelected(begin, end); in assertRangeSelection()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/ |
D | SelectionManager.java | 488 void updateForRange(int begin, int end, boolean selected, @RangeType int type) { in updateForRange() argument 491 updateForRegularRange(begin, end, selected); in updateForRange() 494 updateForProvisionalRange(begin, end, selected); in updateForRange() 501 private void updateForRegularRange(int begin, int end, boolean selected) { in updateForRegularRange() argument 502 assert(end >= begin); in updateForRegularRange() 503 for (int i = begin; i <= end; i++) { in updateForRegularRange() 523 private void updateForProvisionalRange(int begin, int end, boolean selected) { in updateForProvisionalRange() argument 524 assert (end >= begin); in updateForProvisionalRange() 525 for (int i = begin; i <= end; i++) { in updateForProvisionalRange()
|
D | Range.java | 36 public Range(Range.RangeUpdater updater, int begin) { in Range() argument 37 if (DEBUG) Log.d(SelectionManager.TAG, "New Ranger created beginning @ " + begin); in Range() 39 mBegin = begin; in Range() 135 private void updateRange(int begin, int end, boolean selected, @RangeType int type) { in updateRange() argument 136 mUpdater.updateForRange(begin, end, selected, type); in updateRange() 150 void updateForRange(int begin, int end, boolean selected, @RangeType int type); in updateForRange() argument
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarInstancesHelper.java | 159 protected void performInstanceExpansion(long begin, long end, String localTimezone, in performInstanceExpansion() argument 330 dates = rp.expand(eventTime, recur, begin, end); in performInstanceExpansion() 386 if ((dtendMillis < begin) || (dtstartMillis > end)) { in performInstanceExpansion() 530 protected void expandInstanceRangeLocked(long begin, long end, String localTimezone) { in expandInstanceRangeLocked() argument 537 Log.v(TAG, "Expanding events between " + begin + " and " + end); in expandInstanceRangeLocked() 540 Cursor entries = getEntries(begin, end); in expandInstanceRangeLocked() 542 performInstanceExpansion(begin, end, localTimezone, entries); in expandInstanceRangeLocked() 560 private Cursor getEntries(long begin, long end) { in getEntries() argument 565 String beginString = String.valueOf(begin); in getEntries() 589 String.valueOf(begin - MAX_ASSUMED_DURATION), in getEntries() [all …]
|
D | MetaData.java | 170 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()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 303 long begin; field in CalendarProvider2Test.DumpInstances 309 begin = time.toMillis(false /* use isDst */); in DumpInstances() 315 Cursor cursor = queryInstances(begin, end); in execute() 327 long begin; field in CalendarProvider2Test.QueryNumInstances 333 begin = time.toMillis(false /* use isDst */); in QueryNumInstances() 340 Cursor cursor = queryInstances(begin, end); in execute() 355 long begin; field in CalendarProvider2Test.VerifyAllInstances 361 begin = time.toMillis(false /* use isDst */); in VerifyAllInstances() 380 Cursor cursor = queryInstances(begin, end); in execute() 396 long begin = cursor.getLong(beginColumn); in execute() local [all …]
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
D | MathUtil.java | 30 public static int lerp(int begin, int end, float percent) { in lerp() argument 31 return (int) (begin * (1 - percent) + end * percent); in lerp() 42 public static float lerp(float begin, float end, float percent) { in lerp() argument 43 return begin * (1 - percent) + end * percent; in lerp()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DeleteEventHelper.java | 209 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/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | misctest.cpp | 783 char* begin = ss.PutBegin(); in itoa_Writer_InsituStringStreamVerify() local 786 ss.PutEnd(begin); in itoa_Writer_InsituStringStreamVerify() 818 char* begin = ss.PutBegin(); in itoa_Writer_InsituStringStream() local 820 length += ss.PutEnd(begin); in itoa_Writer_InsituStringStream() 850 char* begin = ss.PutBegin(); in itoa64_Writer_InsituStringStreamVerify() local 853 ss.PutEnd(begin); in itoa64_Writer_InsituStringStreamVerify() 885 char* begin = ss.PutBegin(); in itoa64_Writer_InsituStringStream() local 887 length += ss.PutEnd(begin); in itoa64_Writer_InsituStringStream()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | biginteger.h | 224 void AppendDecimal64(const char* begin, const char* end) { in AppendDecimal64() argument 225 uint64_t u = ParseUint64(begin, end); in AppendDecimal64() 229 unsigned exp = static_cast<unsigned>(end - begin); in AppendDecimal64() 239 static uint64_t ParseUint64(const char* begin, const char* end) { in ParseUint64() argument 241 for (const char* p = begin; p != end; ++p) { in ParseUint64()
|
/packages/services/Car/vehicle_monitor_service/ |
D | ProcessMonitor.cpp | 110 std::partial_sort_copy(mProcInfoMap.begin(), in dumpTopProcesses() 112 topPids.begin(), in dumpTopProcesses() 115 for (auto it = topPids.begin(); it != topPids.end(); ++it) { in dumpTopProcesses() 176 for(auto it = pidSet.begin(); it != pidSet.end(); ++it) { in deleteOutdatedPids() 183 for(auto it = mProcInfoMap.begin(); it != mProcInfoMap.end(); ++it) { in populateExistingPids()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaListView.java | 184 long startTime = item.begin; in onItemClick() 235 mDeleteEventHelper.delete(agendaItem.begin, agendaItem.end, agendaItem.id, -1); in deleteSelectedEvent() 257 return item.begin; in getSelectedTime() 274 t.set(agendaItem.begin); in getFirstVisibleTime() 350 if (agendaItem.id == id && agendaItem.begin == milliTime) { in isAgendaItemVisible()
|
D | AgendaWindowAdapter.java | 302 long begin; field in AgendaWindowAdapter.AgendaItem 632 agendaItem.begin = cursor.getLong(AgendaWindowAdapter.INDEX_BEGIN); in buildAgendaItemFromCursor() 638 time.setJulianDay(Time.getJulianDay(agendaItem.begin, 0)); in buildAgendaItemFromCursor() 639 agendaItem.begin = time.toMillis(false /* use isDst */); in buildAgendaItemFromCursor() 642 time.set(agendaItem.begin); in buildAgendaItemFromCursor() 646 agendaItem.begin = time.toMillis(false /* use isDst */); in buildAgendaItemFromCursor() 668 startTime = Utils.convertAlldayLocalToUTC(null, item.begin, mTimeZone); in sendViewEvent() 671 startTime = item.begin; in sendViewEvent()
|
D | AgendaAdapter.java | 192 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()
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/utils/ |
D | phNxpConfig.cpp | 592 for (const_iterator it = begin (), itEnd = end (); it != itEnd; ++it) in find() 630 for (iterator it = begin (), itEnd = end (); it != itEnd; ++it) in clean() 652 …for (list<const CNxpNfcParam*>::iterator it = m_list.begin (), itEnd = m_list.end (); it != itEnd;… in add() 677 …for (list<const CNxpNfcParam*>::iterator it = m_list.begin (), itEnd = m_list.end (); it != itEnd;… in moveFromList() 697 for (iterator it = begin (), itEnd = end (); it != itEnd; ++it) in moveToList()
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | StringUtils.java | 44 public static String addCommas(String s, int begin, int end) { in addCommas() argument 48 int current = begin; in addCommas() 52 result.append(s, begin, current); in addCommas()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/ |
D | DotAnswerHint.java | 259 float begin, in createUniformScaleAnimator() argument 264 float scaleBegin = begin / original; in createUniformScaleAnimator() 278 View target, float begin, float end, long duration, long delay, Interpolator interpolator) { in createAlphaAnimator() argument 279 Animator alpha = ObjectAnimator.ofFloat(target, View.ALPHA, begin, end); in createAlphaAnimator()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | rapidjson.h | 619 size_t PutEnd(Ch* begin) { return static_cast<size_t>(dst_ - begin); } 622 Ch* Push(size_t count) { Ch* begin = dst_; dst_ += count; return begin; }
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlarmSchedulerTest.java | 65 public EventInfo(long eventId, boolean allDay, long begin, int reminderMinutes) { in EventInfo() argument 68 mBegin = begin; in EventInfo() 78 void addEventInfo(long eventId, boolean allDay, long begin, int reminderMinutes) { in addEventInfo() argument 79 mEvents.add(new EventInfo(eventId, allDay, begin, reminderMinutes)); in addEventInfo()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | int_array_view.h | 88 AK_FORCE_INLINE const int *begin() const { in begin() function 97 return std::find(begin(), end(), value) != end(); in contains() 133 return std::vector<int>(begin(), end()); in toVector()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertUtils.java | 202 public static ContentValues makeContentValues(long eventId, long begin, long end, 206 values.put(CalendarAlerts.BEGIN, begin); 218 public static Intent buildEventViewIntent(Context c, long eventId, long begin, long end) { 224 i.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, begin);
|
D | AlarmScheduler.java | 202 long begin = instancesCursor.getLong(INSTANCES_INDEX_BEGIN); in queryNextReminderAndSchedule() local 207 localStartTime = Utils.convertAlldayUtcToLocal(timeObj, begin, in queryNextReminderAndSchedule() 210 localStartTime = begin; in queryNextReminderAndSchedule()
|
/packages/apps/Nfc/nci/jni/ |
D | RouteDataSet.cpp | 145 for (it = mDefaultRouteDatabase.begin(); it != mDefaultRouteDatabase.end(); it++) in deleteDatabase() 149 for (it = mSecElemRouteDatabase.begin(); it != mSecElemRouteDatabase.end(); it++) in deleteDatabase() 520 for (Database::iterator iter = db->begin(); iter != db->end(); iter++) in printDiagnostic() 542 for (Database::iterator iter2 = db->begin(); iter2 != db->end(); iter2++) in printDiagnostic()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventActivity.java | 138 long begin = intent.getLongExtra(EXTRA_EVENT_BEGIN_TIME, -1); in getEventInfoFromIntent() local 147 if (begin != -1) { in getEventInfoFromIntent() 152 info.startTime.set(begin); in getEventInfoFromIntent()
|