Home
last modified time | relevance | path

Searched refs:emptyState (Results 1 – 4 of 4) sorted by relevance

/packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/
DMultiProfilePagerAdapter.java618 EmptyState emptyState = mEmptyStateProvider.getEmptyState(activeListAdapter); in shouldSkipRebuild() local
619 return emptyState != null && emptyState.shouldSkipDataRebuild(); in shouldSkipRebuild()
638 final EmptyState emptyState = mEmptyStateProvider.getEmptyState(listAdapter); in showEmptyResolverListEmptyState() local
640 if (emptyState == null) { in showEmptyResolverListEmptyState()
644 emptyState.onEmptyStateShown(); in showEmptyResolverListEmptyState()
648 if (emptyState.getButtonClickListener() != null) { in showEmptyResolverListEmptyState()
649 clickListener = v -> emptyState.getButtonClickListener().onClick(() -> { in showEmptyResolverListEmptyState()
656 showEmptyState(listAdapter, emptyState, clickListener); in showEmptyResolverListEmptyState()
661 EmptyState emptyState, in showEmptyState() argument
665 descriptor.mEmptyStateUi.showEmptyState(emptyState, buttonOnClick); in showEmptyState()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/
DEmptyStateUiHelper.java68 public void showEmptyState(EmptyState emptyState, View.OnClickListener buttonOnClick) { in showEmptyState() argument
72 String title = emptyState.getTitle(); in showEmptyState()
80 String subtitle = emptyState.getSubtitle(); in showEmptyState()
89 emptyState.useDefaultEmptyView() ? View.VISIBLE : View.GONE); in showEmptyState()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/emptystate/
DEmptyStateUiHelperTest.kt170 val emptyState = in testShowEmptyState_noOnClickHandler() constant
177 emptyStateUiHelper.showEmptyState(emptyState, null) in testShowEmptyState_noOnClickHandler()
200 val emptyState = in testShowEmptyState_withOnClickHandlerAndClickListener() constant
207 emptyStateUiHelper.showEmptyState(emptyState, onClickHandler) in testShowEmptyState_withOnClickHandlerAndClickListener()
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DEvsEnumeratorUnitTest.cpp163 DisplayState emptyState; in TEST_F() local
164 EXPECT_FALSE(mEnumerator->getDisplayState(&emptyState).isOk()); in TEST_F()