Searched refs:LoadingStatus (Results 1 – 7 of 7) sorted by relevance
29 @IntDef({LoadingStatus.LOADING, LoadingStatus.COMPLETE, LoadingStatus.EMPTY})30 @interface LoadingStatus { annotation66 @LoadingStatus75 return getLoadingStatus() == LoadingStatus.COMPLETE; in isComplete()84 return getLoadingStatus() == LoadingStatus.EMPTY; in isEmpty()91 void setLoadingStatus(@LoadingStatus int loadingStatus); in setLoadingStatus()106 setLoadingStatus(LoadingStatus.EMPTY); in updateLoadingStatus()108 setLoadingStatus(LoadingStatus.COMPLETE); in updateLoadingStatus()
37 import com.android.storagemanager.deletionhelper.DeletionType.LoadingStatus;231 mLoaded = loadingStatus != LoadingStatus.LOADING; in switchSpinnerToCheckboxOrDisablePreference()232 setEnabled(loadingStatus != LoadingStatus.EMPTY); in switchSpinnerToCheckboxOrDisablePreference()
55 mLoadingStatus = LoadingStatus.LOADING; in DownloadsDeletionType()119 public void setLoadingStatus(@LoadingStatus int loadingStatus) { in setLoadingStatus()
61 mLoadingStatus = LoadingStatus.LOADING; in AppDeletionType()218 public void setLoadingStatus(@LoadingStatus int loadingStatus) { in setLoadingStatus()
28 import com.android.storagemanager.deletionhelper.DeletionType.LoadingStatus;73 when(mDeletionType.getLoadingStatus()).thenReturn(LoadingStatus.COMPLETE); in testItemVisibilityAfterLoaded()89 when(mDeletionType.getLoadingStatus()).thenReturn(LoadingStatus.EMPTY); in loadCompleteUpdate_disablesWhenNothingToDelete()98 when(mDeletionType.getLoadingStatus()).thenReturn(LoadingStatus.COMPLETE); in loadCompleteUpdate_enabledWhenDeletableContentFound()
19 import com.android.storagemanager.deletionhelper.DeletionType.LoadingStatus;100 assertThat(mDeletion.getLoadingStatus()).isEqualTo(LoadingStatus.LOADING); in testLoadingState_initiallyIncomplete()
29 import com.android.storagemanager.deletionhelper.DeletionType.LoadingStatus;165 assertThat(mDeletion.getLoadingStatus()).isEqualTo(LoadingStatus.LOADING); in testLoadingState_initiallyIncomplete()