Home
last modified time | relevance | path

Searched refs:ContextualCardRenderer (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DControllerRendererPool.java47 private final Set<ContextualCardRenderer> mRenderers;
78 Set<ContextualCardRenderer> getRenderers() { in getRenderers()
82 public ContextualCardRenderer getRendererByViewType(Context context, in getRendererByViewType()
84 final Class<? extends ContextualCardRenderer> clz = in getRendererByViewType()
89 private ContextualCardRenderer getRenderer(Context context, LifecycleOwner lifecycleOwner, in getRenderer()
90 @NonNull Class<? extends ContextualCardRenderer> clz) { in getRenderer()
91 for (ContextualCardRenderer renderer : mRenderers) { in getRenderer()
98 final ContextualCardRenderer renderer = createCardRenderer(context, lifecycleOwner, clz); in getRenderer()
117 private ContextualCardRenderer createCardRenderer(Context context, in createCardRenderer()
DContextualCardLookupTable.java48 final Class<? extends ContextualCardRenderer> mRendererClass;
52 Class<? extends ContextualCardRenderer> rendererClass) { in ControllerRendererMapping()
114 public static Class<? extends ContextualCardRenderer> getCardRendererClassByViewType( in getCardRendererClassByViewType()
DContextualCardsAdapter.java78 final ContextualCardRenderer renderer = mControllerRendererPool.getRendererByViewType( in onCreateViewHolder()
87 final ContextualCardRenderer renderer = mControllerRendererPool.getRendererByViewType( in onBindViewHolder()
DContextualCardRenderer.java27 public interface ContextualCardRenderer { interface
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DControllerRendererPool.java47 private final Set<ContextualCardRenderer> mRenderers;
78 Set<ContextualCardRenderer> getRenderers() { in getRenderers()
82 public ContextualCardRenderer getRendererByViewType(Context context, in getRendererByViewType()
84 final Class<? extends ContextualCardRenderer> clz = in getRendererByViewType()
89 private ContextualCardRenderer getRenderer(Context context, LifecycleOwner lifecycleOwner, in getRenderer()
90 @NonNull Class<? extends ContextualCardRenderer> clz) { in getRenderer()
91 for (ContextualCardRenderer renderer : mRenderers) { in getRenderer()
98 final ContextualCardRenderer renderer = createCardRenderer(context, lifecycleOwner, clz); in getRenderer()
117 private ContextualCardRenderer createCardRenderer(Context context, in createCardRenderer()
DContextualCardLookupTable.java48 final Class<? extends ContextualCardRenderer> mRendererClass;
52 Class<? extends ContextualCardRenderer> rendererClass) { in ControllerRendererMapping()
114 public static Class<? extends ContextualCardRenderer> getCardRendererClassByViewType( in getCardRendererClassByViewType()
DContextualCardsAdapter.java78 final ContextualCardRenderer renderer = mControllerRendererPool.getRendererByViewType( in onCreateViewHolder()
87 final ContextualCardRenderer renderer = mControllerRendererPool.getRendererByViewType( in onBindViewHolder()
DContextualCardRenderer.java27 public interface ContextualCardRenderer { interface
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionFooterContextualCardRenderer.java28 import com.android.settings.homepage.contextualcards.ContextualCardRenderer;
33 public class ConditionFooterContextualCardRenderer implements ContextualCardRenderer {
DConditionHeaderContextualCardRenderer.java31 import com.android.settings.homepage.contextualcards.ContextualCardRenderer;
36 public class ConditionHeaderContextualCardRenderer implements ContextualCardRenderer {
DConditionContextualCardRenderer.java32 import com.android.settings.homepage.contextualcards.ContextualCardRenderer;
40 public class ConditionContextualCardRenderer implements ContextualCardRenderer {
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardLookupTableTest.java88 ContextualCardController.class, ContextualCardRenderer.class in getCardRendererClassByViewType_hasDuplicateViewType_shouldThrowsIllegalStateException()
93 ContextualCardController.class, ContextualCardRenderer.class in getCardRendererClassByViewType_hasDuplicateViewType_shouldThrowsIllegalStateException()
DControllerRendererPoolTest.java101 final ContextualCardRenderer renderer = mPool.getRendererByViewType(mContext, in getRenderer_hasUnsupportedViewType_shouldReturnNullAndPoolIsEmpty()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DConditionFooterContextualCardRenderer.java28 import com.android.car.developeroptions.homepage.contextualcards.ContextualCardRenderer;
33 public class ConditionFooterContextualCardRenderer implements ContextualCardRenderer {
DConditionHeaderContextualCardRenderer.java31 import com.android.car.developeroptions.homepage.contextualcards.ContextualCardRenderer;
36 public class ConditionHeaderContextualCardRenderer implements ContextualCardRenderer {
DConditionContextualCardRenderer.java32 import com.android.car.developeroptions.homepage.contextualcards.ContextualCardRenderer;
40 public class ConditionContextualCardRenderer implements ContextualCardRenderer {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardRenderer.java29 import com.android.car.developeroptions.homepage.contextualcards.ContextualCardRenderer;
32 public class LegacySuggestionContextualCardRenderer implements ContextualCardRenderer {
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardRenderer.java30 import com.android.settings.homepage.contextualcards.ContextualCardRenderer;
33 public class LegacySuggestionContextualCardRenderer implements ContextualCardRenderer {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DSliceContextualCardRenderer.java42 import com.android.car.developeroptions.homepage.contextualcards.ContextualCardRenderer;
51 public class SliceContextualCardRenderer implements ContextualCardRenderer, LifecycleObserver {
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardRenderer.java44 import com.android.settings.homepage.contextualcards.ContextualCardRenderer;
53 public class SliceContextualCardRenderer implements ContextualCardRenderer, LifecycleObserver {