Searched refs:DynamicDataObserver (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardFragment.java | 72 final ArrayMap<String, List<DynamicDataObserver>> mDashboardTilePrefKeys = new ArrayMap<>(); 75 private final List<DynamicDataObserver> mRegisteredObservers = new ArrayList<>(); 479 final Map<String, List<DynamicDataObserver>> remove = new ArrayMap(mDashboardTilePrefKeys); in refreshDashboardTiles() 501 final List<DynamicDataObserver> observers = in refreshDashboardTiles() 512 for (Map.Entry<String, List<DynamicDataObserver>> entry : remove.entrySet()) { in refreshDashboardTiles() 538 void registerDynamicDataObservers(List<DynamicDataObserver> observers) { in registerDynamicDataObservers() 547 DynamicDataObserver observer) { in registerDynamicDataObserver() 554 private void unregisterDynamicDataObservers(List<DynamicDataObserver> observers) { in unregisterDynamicDataObservers()
|
D | DashboardFeatureProviderImpl.java | 123 public List<DynamicDataObserver> bindPreferenceToTileAndGetObservers(FragmentActivity activity, in bindPreferenceToTileAndGetObservers() 134 final List<DynamicDataObserver> outObservers = new ArrayList<>(); in bindPreferenceToTileAndGetObservers() 135 DynamicDataObserver observer = bindTitleAndGetObserver(pref, tile); in bindPreferenceToTileAndGetObservers() 202 private DynamicDataObserver createDynamicDataObserver(String method, Uri uri, Preference pref) { in createDynamicDataObserver() 203 return new DynamicDataObserver() { in createDynamicDataObserver() 226 private DynamicDataObserver bindTitleAndGetObserver(Preference preference, Tile tile) { 255 private DynamicDataObserver bindSummaryAndGetObserver(Preference preference, Tile tile) { 284 private DynamicDataObserver bindSwitchAndGetObserver(Preference preference, Tile tile) {
|
D | DynamicDataObserver.java | 26 public abstract class DynamicDataObserver extends ContentObserver { class 28 protected DynamicDataObserver() { in DynamicDataObserver() method in DynamicDataObserver
|
D | DashboardFeatureProvider.java | 60 List<DynamicDataObserver> bindPreferenceToTileAndGetObservers(FragmentActivity activity, in bindPreferenceToTileAndGetObservers()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFragmentTest.java | 207 final DynamicDataObserver observer = new TestDynamicDataObserver(); in onStart_shouldRegisterDynamicDataObservers() 219 final DynamicDataObserver observer = new TestDynamicDataObserver(); in onStop_shouldUnregisterDynamicDataObservers() 468 private static class TestDynamicDataObserver extends DynamicDataObserver {
|
D | DashboardFeatureProviderImplTest.java | 177 final List<DynamicDataObserver> observers = mImpl.bindPreferenceToTileAndGetObservers( in bindPreference_shouldBindAllSwitchData() 302 final List<DynamicDataObserver> observers = mImpl.bindPreferenceToTileAndGetObservers( in bindPreference_hasSummaryUri_shouldLoadSummaryFromContentProviderAndHaveObserver() 318 final List<DynamicDataObserver> observers = mImpl.bindPreferenceToTileAndGetObservers( in bindPreference_hasTitleUri_shouldLoadFromContentProviderAndHaveObserver() 376 final List<DynamicDataObserver> observers = mImpl.bindPreferenceToTileAndGetObservers( in bindPreference_callbackOnChanged_shouldLoadFromContentProvider()
|