Home
last modified time | relevance | path

Searched refs:referenceTime (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java69 public String getLocalTime(long referenceTime) { in getLocalTime() argument
71 recycledTime.set(referenceTime); in getLocalTime()
76 recycledTime.set(referenceTime); in getLocalTime()
83 if (mLocalTimeCacheReferenceTime != referenceTime) { in getLocalTime()
84 mLocalTimeCacheReferenceTime = referenceTime; in getLocalTime()
110 public int getLocalHr(long referenceTime) { in getLocalHr() argument
112 recycledTime.set(referenceTime); in getLocalHr()
/frameworks/base/core/java/android/view/textclassifier/intent/
DLegacyClassificationIntentFactory.java59 @Nullable Instant referenceTime, in create() argument
84 actions = createForDatetime(context, type, referenceTime, parsedTime); in create()
205 Context context, String type, @Nullable Instant referenceTime, in createForDatetime() argument
207 if (referenceTime == null) { in createForDatetime()
209 referenceTime = Instant.now(); in createForDatetime()
213 final long millisUntilEvent = referenceTime.until(parsedTime, MILLIS); in createForDatetime()
DTemplateClassificationIntentFactory.java61 @Nullable Instant referenceTime, in create() argument
71 return mFallback.create(context, text, foreignText, referenceTime, classification); in create()
DClassificationIntentFactory.java39 @Nullable Instant referenceTime, in create() argument
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java190 final ZonedDateTime referenceTime = ZonedDateTime.ofInstant( in testParcelParcel() local
199 .setReferenceTime(referenceTime) in testParcelParcel()
214 assertEquals(referenceTime, result.getReferenceTime()); in testParcelParcel()
216 assertEquals(referenceTime, result.getReferenceTime()); in testParcelParcel()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassification.java564 ZonedDateTime referenceTime,
570 mReferenceTime = referenceTime;
715 public Builder setReferenceTime(@Nullable ZonedDateTime referenceTime) {
716 mReferenceTime = referenceTime;
765 final ZonedDateTime referenceTime = referenceTimeString == null
772 defaultLocales, referenceTime, extras);
DConversationActions.java146 @Nullable ZonedDateTime referenceTime, in Message() argument
150 mReferenceTime = referenceTime; in Message()
261 public Builder setReferenceTime(@Nullable ZonedDateTime referenceTime) { in setReferenceTime() argument
262 mReferenceTime = referenceTime; in setReferenceTime()
DActionsSuggestionsHelper.java88 long referenceTime = message.getReferenceTime() == null in toNativeMessages() local
96 message.getText().toString(), referenceTime, timeZone, in toNativeMessages()
DTextClassifierImpl.java642 String text, int start, int end, @Nullable Instant referenceTime) { in createClassificationResult() argument
667 referenceTime, in createClassificationResult()
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.cpp77 void updateModel(nsecs_t period, nsecs_t phase, nsecs_t referenceTime) { in updateModel() argument
82 if (mReferenceTime != referenceTime) { in updateModel()
87 mReferenceTime = referenceTime; in updateModel()