Home
last modified time | relevance | path

Searched refs:ContextualCardController (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DControllerRendererPool.java46 private final Set<ContextualCardController> mControllers;
54 public <T extends ContextualCardController> T getController(Context context, in getController()
56 final Class<? extends ContextualCardController> clz = in getController()
58 for (ContextualCardController controller : mControllers) { in getController()
65 final ContextualCardController controller = createCardController(context, clz); in getController()
73 Set<ContextualCardController> getControllers() { in getControllers()
105 private ContextualCardController createCardController(Context context, in createCardController()
106 Class<? extends ContextualCardController> clz) { in createCardController()
DContextualCardLookupTable.java46 final Class<? extends ContextualCardController> mControllerClass;
50 Class<? extends ContextualCardController> controllerClass, in ControllerRendererMapping()
101 public static Class<? extends ContextualCardController> getCardControllerClass( in getCardControllerClass()
DContextualCardController.java22 public interface ContextualCardController { interface
DContextualCardManager.java158 final ContextualCardController controller = mControllerRendererPool.getController(mContext, in setupController()
286 final ContextualCardController controller = getControllerRendererPool() in onWindowFocusChanged()
301 final ContextualCardController controller = getControllerRendererPool() in onWindowFocusChanged()
/packages/apps/Settings/tests/unit/src/com/android/settings/homepage/contextualcards/
DContextualCardLookupTableTest.java91 ContextualCardController.class, ContextualCardRenderer.class in getCardRendererClassByViewType_hasDuplicateViewType_shouldThrowsIllegalStateException()
96 ContextualCardController.class, ContextualCardRenderer.class in getCardRendererClassByViewType_hasDuplicateViewType_shouldThrowsIllegalStateException()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardRenderer.java29 import com.android.settings.homepage.contextualcards.ContextualCardController;
55 final ContextualCardController controller = mControllerRendererPool in bindView()
DLegacySuggestionContextualCardController.java30 import com.android.settings.homepage.contextualcards.ContextualCardController;
44 public class LegacySuggestionContextualCardController implements ContextualCardController,
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardController.java29 import com.android.settings.homepage.contextualcards.ContextualCardController;
41 public class SliceContextualCardController implements ContextualCardController {
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionContextualCardController.java25 import com.android.settings.homepage.contextualcards.ContextualCardController;
41 public class ConditionContextualCardController implements ContextualCardController,
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DControllerRendererPoolTest.java100 final ContextualCardController controller = mPool.getController(mContext, in getController_hasUnsupportedCardType_shouldReturnNullAndPoolIsEmpty()
DContextualCardManagerTest.java147 .map(ContextualCardController::getCardType) in constructor_hasSettingsCustomCards_shouldSetUpCustomControllers()