Home
last modified time | relevance | path

Searched refs:normalize (Results 1 – 25 of 47) sorted by relevance

12

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameNormalizerTest.java36 final String name1 = NameNormalizer.normalize("Helene"); in testDifferent()
37 final String name2 = NameNormalizer.normalize("Francesca"); in testDifferent()
42 final String name1 = NameNormalizer.normalize("Helene"); in testAccents()
43 final String name2 = NameNormalizer.normalize("H\u00e9l\u00e8ne"); in testAccents()
48 final String name1 = NameNormalizer.normalize("Helene"); in testMixedCase()
49 final String name2 = NameNormalizer.normalize("hEL\uFF25NE"); // FF25 = FULL WIDTH E in testMixedCase()
56 final String name1 = NameNormalizer.normalize("h-e?l \uFF1ee+\uFF03n=e"); in testNonLetters()
57 final String name2 = NameNormalizer.normalize("helene"); in testNonLetters()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DUtils.java135 private static int normalize(int in) { in normalize() method in Utils.RingCharBuffer
145 mEnd = normalize(mEnd + 1); in push()
154 mEnd = normalize(mEnd - 1); in pop()
163 return mCharBuf[normalize(mEnd - n - 1)]; in getBackwardNthChar()
167 int index = normalize(mEnd - 2 - back); in getPreviousX()
176 int index = normalize(mEnd - 2 - back); in getPreviousY()
188 char c = mCharBuf[normalize(mEnd - 1 - i)]; in getLastWord()
194 char c = mCharBuf[normalize(mEnd - 1 - i)]; in getLastWord()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/
DNameDistanceTest.java71 byte[] s1 = Hex.decodeHex(NameNormalizer.normalize(name1)); in assertFloat()
72 byte[] s2 = Hex.decodeHex(NameNormalizer.normalize(name2)); in assertFloat()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java136 long millisToMidnight = midnight.normalize(true) - currentMillis;
171 mSelectedDay.normalize(true); in onAttach()
173 mFirstDayOfMonth.normalize(true); in onAttach()
175 mFirstVisibleDay.normalize(true); in onAttach()
387 mSelectedDay.normalize(true); in goTo()
400 long millis = mTempTime.normalize(true); in goTo()
445 millis = mFirstDayOfMonth.normalize(true); in goTo()
DMonthByWeekFragment.java99 mSelectedDay.normalize(true);
102 mFirstDayOfMonth.normalize(true);
104 mFirstVisibleDay.normalize(true);
412 mDesiredDay.normalize(true); in handleEvent()
450 long newTime = mSelectedDay.normalize(true); in setMonthDisplayed()
DSimpleWeekView.java270 time.normalize(true); in setWeekParams()
301 time.normalize(true); in setWeekParams()
307 time.normalize(true); in setWeekParams()
384 time.normalize(true); in getDayFromLocation()
DMonthByWeekAdapter.java108 mSelectedDay.normalize(true); in updateTimeZones()
117 long millis = mSelectedDay.normalize(true); in setSelectedDay()
288 day.normalize(true); in onDayTapped()
DMonthListView.java167 long timeInMillis = mTempTime.normalize(false); in doFling()
DSimpleWeeksAdapter.java167 long millis = mSelectedDay.normalize(true); in setSelectedDay()
/packages/apps/Email/src/org/apache/commons/io/
DFilenameUtils.java203 public static String normalize(String filename) { in normalize() method in FilenameUtils
399 return normalize(fullFilenameToAdd); in concat()
406 return normalize(fullFilenameToAdd); in concat()
410 return normalize(basePath + fullFilenameToAdd); in concat()
412 return normalize(basePath + '/' + fullFilenameToAdd); in concat()
985 filename1 = normalize(filename1); in equals()
986 filename2 = normalize(filename2); in equals()
DFileSystemUtils.java216 path = FilenameUtils.normalize(path); in freeSpaceWindows()
309 path = FilenameUtils.normalize(path); in freeSpaceUnix()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventView.java229 startMillis = startTime.normalize(true); in onTimeSet()
251 endMillis = endTime.normalize(true); in onTimeSet()
304 startMillis = startTime.normalize(true); in onDateSet()
310 endMillis = endTime.normalize(true); in onDateSet()
323 endMillis = endTime.normalize(true); in onDateSet()
772 mModel.mStart = mStartTime.normalize(true); in fillModelFromUI()
781 mEndTime.normalize(true) + DateUtils.DAY_IN_MILLIS; in fillModelFromUI()
1046 mStartTime.normalize(true); in setModel()
1051 mEndTime.normalize(true); in setModel()
1079 mEndTime.normalize(true); in setModel()
[all …]
DEditEventHelper.java727 untilTime.normalize(false); in updatePastEvents()
741 updateValues.put(Events.DTSTART, dtstart.normalize(true)); in updatePastEvents()
1191 startMillis = startTime.normalize(true); in getContentValuesFromModel()
1197 endMillis = endTime.normalize(true); in getContentValuesFromModel()
/packages/apps/Calendar/tests/src/com/android/calendar/
DWeekNumberTest.java42 date.normalize(true /* ignore isDst */); in DateAndWeekNumber()
45 allDayDate.normalize(true /* ignore isDst */); in DateAndWeekNumber()
DFormatDateRangeTest.java56 date1.normalize(true /* ignore isDst */); in DateTest()
59 date2.normalize(true /* ignore isDst */); in DateTest()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java230 mSbName.append(NameNormalizer.normalize(name)); in appendNameInternal()
465 final String normalizedToken = NameNormalizer.normalize(token); in getDigitsQueryBuilder()
485 builder.append(NameNormalizer.normalize(token));
499 final String normalizedToken = NameNormalizer.normalize(token);
DNameNormalizer.java48 public static String normalize(String name) { in normalize() method in NameNormalizer
DContactLookupKey.java81 NameNormalizer.normalize(displayName)); in appendToLookupKey()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaListView.java213 mTime.normalize(true); in goTo()
294 t.normalize(true); in getFirstVisibleTime()
297 return t.normalize(false); in getFirstVisibleTime()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java443 long midnightDeviceTz = time.normalize(true);
451 long midnightHomeTz = time.normalize(true);
527 if (time.normalize(true) != sLastUpdateTime) {
530 time2.normalize(true);
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java552 return recycle.normalize(true); in convertAlldayUtcToLocal()
562 return recycle.normalize(true); in convertAlldayLocalToUTC()
582 return recycle.normalize(true); in getNextMidnight()
1107 weekTime.normalize(true); in getWeekNumberFromTime()
1115 weekTime.normalize(true); in getWeekNumberFromTime()
1118 weekTime.normalize(true); in getWeekNumberFromTime()
1430 now.normalize(false); in setTodayIcon()
DDayView.java204 mBaseDate.normalize(true);
962 return time.normalize(true /* ignore isDst */); in getSelectedTimeInMillis()
973 time.normalize(true /* ignore isDst */); in getSelectedTime()
985 time.normalize(true /* ignore isDst */); in getSelectedTimeForAccessibility()
1113 time.normalize(true /* ignore isDst */); in getSelectedDay()
1119 start.normalize(true); in updateTitle()
1124 end.normalize(true); in updateTitle()
1166 mBaseDate.normalize(true); in compareToVisibleTimeRange()
1172 mBaseDate.normalize(true); in compareToVisibleTimeRange()
1214 time.normalize(true /* ignore isDst */); in adjustToBeginningOfWeek()
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java2520 dtstart = time.normalize(false); in upgradeToVersion69()
2524 dtend = time.normalize(false); in upgradeToVersion69()
2529 dtstart2 = time.normalize(false); in upgradeToVersion69()
2535 dtend2 = time.normalize(false); in upgradeToVersion69()
2581 dtstart = time.normalize(false); in upgradeToVersion69()
2586 dtstart2 = time.normalize(false); in upgradeToVersion69()
2701 newTime.normalize(false); in upgradeToVersion62()
2709 newTime.normalize(false); in upgradeToVersion62()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java166 normalize(); in save()
215 public void normalize() { in normalize() method in Policy
/packages/apps/Mms/src/com/android/mms/dom/
DNodeImpl.java166 public void normalize() { in normalize() method in NodeImpl

12