Home
last modified time | relevance | path

Searched refs:newest (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/lifecycle/runtime/src/main/java/androidx/lifecycle/
DLifecycleRegistry.java147 State newestObserverState = mObserverMap.newest().getValue().mState; in isSynced()
330 Entry<LifecycleObserver, ObserverWithState> newest = mObserverMap.newest(); in sync() local
331 if (!mNewEventOccurred && newest != null in sync()
332 && mState.compareTo(newest.getValue().mState) > 0) { in sync()
/frameworks/support/app-toolkit/common/src/test/java/androidx/collection/
DSafeIterableMapTest.java461 assertThat(map.newest(), nullValue()); in testNewest()
463 assertThat(map.newest().getKey(), is(1)); in testNewest()
465 assertThat(map.newest().getKey(), is(2)); in testNewest()
469 assertThat(map.newest(), nullValue()); in testNewest()
/frameworks/support/app-toolkit/common/src/main/java/androidx/arch/core/internal/
DSafeIterableMap.java174 public Map.Entry<K, V> newest() { in newest() method in SafeIterableMap