Home
last modified time | relevance | path

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

12

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameNormalizerTest.java59 final String name1 = NameNormalizer.normalize("Helene"); in testDifferent()
60 final String name2 = NameNormalizer.normalize("Francesca"); in testDifferent()
65 final String name1 = NameNormalizer.normalize("Helene"); in testAccents()
66 final String name2 = NameNormalizer.normalize("H\u00e9l\u00e8ne"); in testAccents()
71 final String name1 = NameNormalizer.normalize("Helene"); in testMixedCase()
72 final String name2 = NameNormalizer.normalize("hEL\uFF25NE"); // FF25 = FULL WIDTH E in testMixedCase()
79 final String name1 = NameNormalizer.normalize("h-e?l \uFF1ee+\uFF03n=e"); in testNonLetters()
80 final String name2 = NameNormalizer.normalize("helene"); in testNonLetters()
/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()
384 mSelectedDay.normalize(true); in goTo()
397 long millis = mTempTime.normalize(true); in goTo()
442 millis = mFirstDayOfMonth.normalize(true); in goTo()
DMonthByWeekFragment.java104 mSelectedDay.normalize(true);
107 mFirstDayOfMonth.normalize(true);
109 mFirstVisibleDay.normalize(true);
419 mDesiredDay.normalize(true); in handleEvent()
457 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.java114 mSelectedDay.normalize(true); in updateTimeZones()
123 long millis = mSelectedDay.normalize(true); in setSelectedDay()
287 day.normalize(true); in setDayParameters()
/packages/apps/UnifiedEmail/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.java217 path = FilenameUtils.normalize(path); in freeSpaceWindows()
310 path = FilenameUtils.normalize(path); in freeSpaceUnix()
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java88 now = time.normalize(false); in setUp()
155 long start = time.normalize(false); in testGetAppWidgetModel_AllDayEventLater()
157 long end = time.normalize(false); in testGetAppWidgetModel_AllDayEventLater()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/
DNameDistanceTest.java70 byte[] s1 = Hex.decodeHex(NameNormalizer.normalize(name1)); in assertFloat()
71 byte[] s2 = Hex.decodeHex(NameNormalizer.normalize(name2)); in assertFloat()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java238 mSbName.append(NameNormalizer.normalize(name)); in appendNameInternal()
481 final String normalizedToken = NameNormalizer.normalize(token); in getDigitsQueryBuilder()
501 builder.append(NameNormalizer.normalize(token));
515 final String normalizedToken = NameNormalizer.normalize(token);
DNameNormalizer.java77 public static String normalize(String name) { in normalize() method in NameNormalizer
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DDownloadCompletionReceiver.java53 .normalize(); in getDestinationFile()
61 .normalize(); in getDestinationFile()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java700 return recycle.normalize(true); in convertAlldayUtcToLocal()
710 return recycle.normalize(true); in convertAlldayLocalToUTC()
730 return recycle.normalize(true); in getNextMidnight()
1240 weekTime.normalize(true); in getWeekNumberFromTime()
1248 weekTime.normalize(true); in getWeekNumberFromTime()
1251 weekTime.normalize(true); in getWeekNumberFromTime()
1460 now.normalize(false); in setTodayIcon()
DDayView.java201 mBaseDate.normalize(true);
945 return time.normalize(true /* ignore isDst */); in getSelectedTimeInMillis()
956 time.normalize(true /* ignore isDst */); in getSelectedTime()
968 time.normalize(true /* ignore isDst */); in getSelectedTimeForAccessibility()
1097 time.normalize(true /* ignore isDst */); in getSelectedDay()
1103 start.normalize(true); in updateTitle()
1108 end.normalize(true); in updateTitle()
1150 mBaseDate.normalize(true); in compareToVisibleTimeRange()
1156 mBaseDate.normalize(true); in compareToVisibleTimeRange()
1198 time.normalize(true /* ignore isDst */); in adjustToBeginningOfWeek()
[all …]
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java447 long midnightDeviceTz = time.normalize(true);
455 long midnightHomeTz = time.normalize(true);
531 if (time.normalize(true) != sLastUpdateTime) {
534 time2.normalize(true);
/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/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java2579 dtstart = time.normalize(false); in upgradeToVersion69()
2583 dtend = time.normalize(false); in upgradeToVersion69()
2588 dtstart2 = time.normalize(false); in upgradeToVersion69()
2594 dtend2 = time.normalize(false); in upgradeToVersion69()
2640 dtstart = time.normalize(false); in upgradeToVersion69()
2645 dtstart2 = time.normalize(false); in upgradeToVersion69()
2760 newTime.normalize(false); in upgradeToVersion62()
2768 newTime.normalize(false); in upgradeToVersion62()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexData.java129 final String normalized = Normalizer.normalize(nohyphen, Normalizer.Form.NFD); in normalizeString()
136 final String normalized = Normalizer.normalize(nohyphen, Normalizer.Form.NFKD); in normalizeJapaneseString()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DDatabaseHelperTest.java271 final String sql1 = normalize(c1.getString(4)); in assertUpgrade()
272 final String sql2 = normalize(c2.getString(4)); in assertUpgrade()
283 private static String normalize(String sql) { in normalize() method in DatabaseHelperTest
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfo.java218 info.name = normalize(cursor.getString(columnIndex)); in getCallerInfo()
356 private static String normalize(String s) { in normalize() method in CallerInfo
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java179 normalize(); in save()
228 public void normalize() { in normalize() method in Policy
/packages/services/Telephony/src/com/android/phone/
DDataUsagePreference.java77 return NetworkTemplate.normalize(mobileAll, in getNetworkTemplate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DBillingCyclePreferenceController.java63 NetworkTemplate template = NetworkTemplate.normalize(mobileAll, in displayPreference()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageUtils.java51 return NetworkTemplate.normalize(mobileAll, telephonyManager.getMergedSubscriberIds()); in getMobileNetworkTemplate()

12