Home
last modified time | relevance | path

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

123

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameNormalizerTest.java58 final String name1 = NameNormalizer.normalize("Helene"); in testDifferent()
59 final String name2 = NameNormalizer.normalize("Francesca"); in testDifferent()
64 final String name1 = NameNormalizer.normalize("Helene"); in testAccents()
65 final String name2 = NameNormalizer.normalize("H\u00e9l\u00e8ne"); in testAccents()
70 final String name1 = NameNormalizer.normalize("Helene"); in testMixedCase()
71 final String name2 = NameNormalizer.normalize("hEL\uFF25NE"); // FF25 = FULL WIDTH E in testMixedCase()
78 final String name1 = NameNormalizer.normalize("h-e?l \uFF1ee+\uFF03n=e"); in testNonLetters()
79 final String name2 = NameNormalizer.normalize("helene"); in testNonLetters()
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/
D_helpers.py76 def normalize(desc): function
79 docstring = normalize(textwrap.dedent(f.__doc__))
84 description = normalize(kwargs['description'])
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.kt123 val millisToMidnight: Long = midnight.normalize(true) - currentMillis in run()
152 mSelectedDay.normalize(true) in onAttach()
154 mFirstDayOfMonth.normalize(true) in onAttach()
156 mFirstVisibleDay.normalize(true) in onAttach()
363 mSelectedDay.normalize(true) in goTo()
375 var millis: Long = mTempTime.normalize(true) in goTo()
417 millis = mFirstDayOfMonth.normalize(true) in goTo()
DMonthByWeekFragment.kt79 mSelectedDay.normalize(true) in run()
82 mFirstDayOfMonth.normalize(true) in run()
84 mFirstVisibleDay.normalize(true) in run()
396 mDesiredDay.normalize(true) in handleEvent()
437 val newTime: Long = mSelectedDay.normalize(true) in setMonthDisplayed()
DSimpleWeekView.kt193 time.normalize(true) in setWeekParams()
221 time.normalize(true) in setWeekParams()
228 time.normalize(true) in setWeekParams()
303 time.normalize(true) in getDayFromLocation()
DMonthByWeekAdapter.kt81 mSelectedDay?.normalize(true) in updateTimeZones()
90 val millis: Long = mSelectedDay!!.normalize(true) in setSelectedDay()
257 day.normalize(true) in setDayParameters()
/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/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/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DDownloadCompletionReceiver.java53 .normalize(); in getDestinationFile()
61 .normalize(); in getDestinationFile()
/packages/apps/Calendar/tests/src/com/android/calendar/
DWeekNumberTest.java41 date.normalize(true /* ignore isDst */); in DateAndWeekNumber()
44 allDayDate.normalize(true /* ignore isDst */); in DateAndWeekNumber()
DFormatDateRangeTest.java57 date1.normalize(true /* ignore isDst */); in DateTest()
60 date2.normalize(true /* ignore isDst */); in DateTest()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java239 mSbName.append(NameNormalizer.normalize(name)); in appendNameInternal()
483 final String normalizedToken = NameNormalizer.normalize(token); in getDigitsQueryBuilder()
503 builder.append(NameNormalizer.normalize(token));
517 final String normalizedToken = NameNormalizer.normalize(token);
DNameNormalizer.java77 public static String normalize(String name) { in normalize() method in NameNormalizer
DContactLookupKey.java79 NameNormalizer.normalize(displayName)); in appendToLookupKey()
DNameLookupBuilder.java209 return NameNormalizer.normalize(name); in normalizeName()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DNormalizeUtf8.kt10 return Normalizer.normalize(input, Normalizer.Form.NFKC).lowercase(Locale.getDefault()) in normalizeForMatch()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkTemplateTest.kt46 import android.net.NetworkTemplate.normalize
643 normalize(buildTemplateMobileAll(TEST_IMSI1), mergedImsiList).also { in testNormalize()
651 normalize(templateCarrierImsi1, mergedImsiList).also { in testNormalize()
659 normalize(templateWifiKey1Imsi1, mergedImsiList).also { in testNormalize()
664 normalize(buildTemplateMobileWildcard(), mergedImsiList).also { in testNormalize()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.kt532 if (time.normalize(true) !== sLastUpdateTime) { in onLoadComplete()
535 time2.normalize(true) in onLoadComplete()
639 val midnightDeviceTz: Long = time.normalize(true) in getNextMidnightTimeMillis()
646 val midnightHomeTz: Long = time.normalize(true) in getNextMidnightTimeMillis()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.kt676 return recycle.normalize(true) in convertAlldayUtcToLocal()
687 return recycle.normalize(true) in convertAlldayLocalToUTC()
708 return recycle.normalize(true) in getNextMidnight()
1254 weekTime.normalize(true) in getWeekNumberFromTime()
1263 weekTime.normalize(true) in getWeekNumberFromTime()
1266 weekTime.normalize(true) in getWeekNumberFromTime()
1518 now.normalize(false) in setTodayIcon()
DDayView.kt132 mBaseDate?.normalize(true) in run()
595 return time.normalize(true /* ignore isDst */)
610 time.normalize(true /* ignore isDst */)
626 time.normalize(true /* ignore isDst */)
746 time.normalize(true /* ignore isDst */) in getSelectedDay()
752 start.normalize(true) in updateTitle()
757 end.normalize(true) in updateTitle()
797 mBaseDate?.normalize(true) in compareToVisibleTimeRange()
801 mBaseDate?.normalize(true) in compareToVisibleTimeRange()
839 time.normalize(true /* ignore isDst */) in adjustToBeginningOfWeek()
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexData.java140 final String normalized = Normalizer.normalize(nohyphen, Normalizer.Form.NFD); in normalizeString()
147 final String normalized = Normalizer.normalize(nohyphen, Normalizer.Form.NFKD); in normalizeJapaneseString()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java2579 dtstart = time.normalize(); in upgradeToVersion69()
2583 dtend = time.normalize(); in upgradeToVersion69()
2588 dtstart2 = time.normalize(); in upgradeToVersion69()
2594 dtend2 = time.normalize(); in upgradeToVersion69()
2640 dtstart = time.normalize(); in upgradeToVersion69()
2645 dtstart2 = time.normalize(); in upgradeToVersion69()
2760 newTime.normalize(); in upgradeToVersion62()
2768 newTime.normalize(); in upgradeToVersion62()
/packages/apps/Launcher3/src/com/android/launcher3/util/window/
DCachedDisplayInfo.java61 public CachedDisplayInfo normalize(WindowManagerProxy windowManagerProxy) { in normalize() method in CachedDisplayInfo
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DDeadKeyCombiner.java288 final String normalizedString = Normalizer.normalize(sb, Normalizer.Form.NFC); in processEvent()

123