/frameworks/base/libs/hwui/ |
H A D | FrameMetricsReporter.h | 47 bool hasObservers() { return mObservers.size() > 0; } function in class:android::uirenderer::FrameMetricsReporter
|
/frameworks/support/lifecycle/livedata-core/src/test/java/androidx/lifecycle/ |
H A D | LiveDataTest.java | 122 assertThat(mLiveData.hasObservers(), is(true)); 127 assertThat(mLiveData.hasObservers(), is(false)); 137 assertThat(mLiveData.hasObservers(), is(true)); 148 assertThat(mLiveData.hasObservers(), is(true)); 154 assertThat(mLiveData.hasObservers(), is(true)); 160 assertThat(mLiveData.hasObservers(), is(false)); 170 assertThat(mLiveData.hasObservers(), is(true)); 179 assertThat(mLiveData.hasObservers(), is(true)); 190 assertThat(mLiveData.hasObservers(), is(false)); 217 assertThat(mLiveData.hasObservers(), i [all...] |
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
H A D | FragmentViewLifecycleTest.java | 231 mLiveData.hasObservers()); 261 mLiveData.hasObservers()); 270 mLiveData.hasObservers()); 278 mLiveData.hasObservers());
|
/frameworks/support/lifecycle/livedata/src/test/java/androidx/lifecycle/ |
H A D | MediatorLiveDataTest.java | 153 assertThat(mSource.hasObservers(), is(false)); 156 assertThat(mSource.hasObservers(), is(true)); 160 assertThat(mSource.hasObservers(), is(false));
|
H A D | TransformationsTest.java | 193 assertThat(first.hasObservers(), is(false));
|
/frameworks/support/lifecycle/reactivestreams/src/test/java/androidx/lifecycle/ |
H A D | LiveDataReactiveStreamsTest.java | 260 assertThat(liveData.hasObservers(), is(true)); 268 assertThat(liveData.hasObservers(), is(false));
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.h | 178 if (!mFrameMetricsReporter->hasObservers()) {
|
/frameworks/support/lifecycle/livedata-core/src/main/java/androidx/lifecycle/ |
H A D | LiveData.java | 325 * You can check if there are observers via {@link #hasObservers()}. 337 public boolean hasObservers() { method in class:LiveData
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | RecyclerViewBasicTest.java | 187 assertTrue("attached adapter should have observables", adapterOld.hasObservers()); 191 assertFalse("detached adapter should lose observable", adapterOld.hasObservers()); 192 assertTrue("new adapter should have observers", adapterNew.hasObservers()); 197 adapterNew.hasObservers());
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RecyclerView.java | 6370 if (hasObservers()) { 6495 public final boolean hasObservers() { method in class:RecyclerView.Adapter 6496 return mObservable.hasObservers(); 11031 public boolean hasObservers() { method in class:RecyclerView.AdapterDataObservable
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | RecyclerView.java | 6811 if (hasObservers()) { 6936 public final boolean hasObservers() { method in class:RecyclerView.Adapter 6937 return mObservable.hasObservers(); 11941 public boolean hasObservers() { method in class:RecyclerView.AdapterDataObservable
|