Searched refs:mCurrentAppList (Results 1 – 2 of 2) sorted by relevance
60 private MutableLiveData<List<LauncherItem>> mCurrentAppList; field in AppOrderControllerTest70 mCurrentAppList = spy(new MutableLiveData<>()); in setUp()73 mController = spy(new AppOrderController(mMockDataSource, mCurrentAppList, mDefaultOrder, in setUp()87 verify(mCurrentAppList, never()).postValue(any()); in maybePublishAppList_loadAppListFromPlatform_noPublishing()100 verify(mCurrentAppList, never()).postValue(any()); in maybePublishAppList_loadAppListFromFile_noPublishing()113 verify(mCurrentAppList, times(1)).postValue(any()); in maybePublishAppList_publishing_defaultOrder()135 verify(mCurrentAppList, times(1)).postValue(any()); in maybePublishAppList_publishing_customOrder()154 when(mCurrentAppList.getValue()).thenReturn(newAppList); in setAppPosition_postValue()160 verify(mCurrentAppList, times(1)).postValue(any()); in setAppPosition_postValue()167 verify(mCurrentAppList, times(2)).postValue(any()); in setAppPosition_postValue()[all …]
53 private final MutableLiveData<List<LauncherItem>> mCurrentAppList; field in AppOrderController74 mCurrentAppList = appList; in AppOrderController()85 return mCurrentAppList; in getAppOrderObservable()169 mCurrentAppList.postValue(customOrder); in maybePublishAppList()171 mCurrentAppList.postValue(mDefaultOrder); in maybePublishAppList()193 List<LauncherItem> currentItems = mCurrentAppList.getValue(); in handleAppListChange()207 List<LauncherItem> current = mCurrentAppList.getValue(); in setAppPosition()213 mCurrentAppList.postValue(current); in setAppPosition()224 List<LauncherItem> launcherList = mCurrentAppList.getValue(); in updateMirroringItem()262 mCurrentAppList.postValue(launcherListCopy); in updateMirroringItem()