Home | History | Annotate | Download | only in api
      1 package androidx.car.app {
      2 
      3   public class CarAlertDialog extends android.app.Dialog {
      4   }
      5 
      6   public static final class CarAlertDialog.Builder {
      7     ctor public CarAlertDialog.Builder(android.content.Context);
      8     method public androidx.car.app.CarAlertDialog create();
      9     method public androidx.car.app.CarAlertDialog.Builder setBody(int);
     10     method public androidx.car.app.CarAlertDialog.Builder setBody(java.lang.CharSequence);
     11     method public androidx.car.app.CarAlertDialog.Builder setCancelable(boolean);
     12     method public androidx.car.app.CarAlertDialog.Builder setNegativeButton(int, android.content.DialogInterface.OnClickListener);
     13     method public androidx.car.app.CarAlertDialog.Builder setNegativeButton(java.lang.CharSequence, android.content.DialogInterface.OnClickListener);
     14     method public androidx.car.app.CarAlertDialog.Builder setOnCancelListener(android.content.DialogInterface.OnCancelListener);
     15     method public androidx.car.app.CarAlertDialog.Builder setOnDismissListener(android.content.DialogInterface.OnDismissListener);
     16     method public androidx.car.app.CarAlertDialog.Builder setPositiveButton(int, android.content.DialogInterface.OnClickListener);
     17     method public androidx.car.app.CarAlertDialog.Builder setPositiveButton(java.lang.CharSequence, android.content.DialogInterface.OnClickListener);
     18     method public androidx.car.app.CarAlertDialog.Builder setTitle(int);
     19     method public androidx.car.app.CarAlertDialog.Builder setTitle(java.lang.CharSequence);
     20   }
     21 
     22   public class CarListDialog extends android.app.Dialog {
     23   }
     24 
     25   public static final class CarListDialog.Builder {
     26     ctor public CarListDialog.Builder(android.content.Context);
     27     method public androidx.car.app.CarListDialog create();
     28     method public androidx.car.app.CarListDialog.Builder setCancelable(boolean);
     29     method public androidx.car.app.CarListDialog.Builder setInitialPosition(int);
     30     method public androidx.car.app.CarListDialog.Builder setItems(java.lang.String[], android.content.DialogInterface.OnClickListener);
     31     method public androidx.car.app.CarListDialog.Builder setItems(androidx.car.app.CarListDialog.DialogSubSection[], android.content.DialogInterface.OnClickListener);
     32     method public androidx.car.app.CarListDialog.Builder setOnCancelListener(android.content.DialogInterface.OnCancelListener);
     33     method public androidx.car.app.CarListDialog.Builder setOnDismissListener(android.content.DialogInterface.OnDismissListener);
     34     method public androidx.car.app.CarListDialog.Builder setTitle(int);
     35     method public androidx.car.app.CarListDialog.Builder setTitle(java.lang.CharSequence);
     36   }
     37 
     38   public static class CarListDialog.DialogSubSection {
     39     ctor public CarListDialog.DialogSubSection(java.lang.String, java.lang.String[]);
     40     method public int getItemCount();
     41     method public java.lang.String[] getItems();
     42     method public java.lang.String getTitle();
     43   }
     44 
     45 }
     46 
     47 package androidx.car.drawer {
     48 
     49   public class CarDrawerActivity extends androidx.appcompat.app.AppCompatActivity {
     50     ctor public CarDrawerActivity();
     51     method protected int getContentContainerId();
     52     method protected androidx.car.drawer.CarDrawerController getDrawerController();
     53     method protected deprecated androidx.car.drawer.CarDrawerAdapter getRootAdapter();
     54     method public void setMainContent(android.view.View);
     55     method public void setMainContent(int);
     56     method public void setToolbarAlwaysShow();
     57     method public void setToolbarCollapsible();
     58     method public void setToolbarElevation(float);
     59     method public void setToolbarElevationWithAnimation(float);
     60   }
     61 
     62   public abstract class CarDrawerAdapter extends androidx.recyclerview.widget.RecyclerView.Adapter implements androidx.car.drawer.DrawerItemClickListener androidx.car.widget.PagedListView.ItemCap {
     63     ctor protected CarDrawerAdapter(android.content.Context, boolean);
     64     method public void cleanup();
     65     method protected abstract int getActualItemCount();
     66     method public final int getItemCount();
     67     method public final int getItemViewType(int);
     68     method public final void onBindViewHolder(androidx.car.drawer.DrawerItemViewHolder, int);
     69     method public final androidx.car.drawer.DrawerItemViewHolder onCreateViewHolder(android.view.ViewGroup, int);
     70     method protected abstract void populateViewHolder(androidx.car.drawer.DrawerItemViewHolder, int);
     71     method public final void setMaxItems(int);
     72     method public final void setTitle(java.lang.CharSequence);
     73     method public void start();
     74     method public void stop();
     75     method protected boolean usesSmallLayout(int);
     76   }
     77 
     78   public class CarDrawerController {
     79     ctor public deprecated CarDrawerController(androidx.appcompat.widget.Toolbar, androidx.drawerlayout.widget.DrawerLayout, androidx.appcompat.app.ActionBarDrawerToggle);
     80     ctor public CarDrawerController(androidx.drawerlayout.widget.DrawerLayout, androidx.appcompat.app.ActionBarDrawerToggle);
     81     method public void addDrawerListener(androidx.drawerlayout.widget.DrawerLayout.DrawerListener);
     82     method public void closeDrawer();
     83     method public void onConfigurationChanged(android.content.res.Configuration);
     84     method public boolean onOptionsItemSelected(android.view.MenuItem);
     85     method public void openDrawer();
     86     method public final void pushAdapter(androidx.car.drawer.CarDrawerAdapter);
     87     method public void removeDrawerListener(androidx.drawerlayout.widget.DrawerLayout.DrawerListener);
     88     method public void scrollToPosition(int);
     89     method public void setRootAdapter(androidx.car.drawer.CarDrawerAdapter);
     90     method public void showLoadingProgressBar(boolean);
     91     method public void syncState();
     92   }
     93 
     94   public abstract interface DrawerItemClickListener {
     95     method public abstract void onItemClick(int);
     96   }
     97 
     98   public class DrawerItemViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder {
     99     method public android.widget.ImageView getEndIcon();
    100     method public android.widget.ImageView getIcon();
    101     method public android.widget.TextView getText();
    102     method public android.widget.TextView getTitle();
    103   }
    104 
    105 }
    106 
    107 package androidx.car.moderator {
    108 
    109   public class ContentRateLimiter {
    110     ctor public ContentRateLimiter(double, double, long);
    111     method public double getAvailablePermits();
    112     method public double getMaxStoredPermits();
    113     method public void setAcquiredPermitsRate(double);
    114     method public void setAvailablePermits(double);
    115     method public void setMaxStoredPermits(double);
    116     method public void setPermitFillDelay(long);
    117     method public void setUnlimitedMode(boolean);
    118     method public boolean tryAcquire();
    119     method public boolean tryAcquire(int);
    120   }
    121 
    122   public class SpeedBumpView extends android.widget.FrameLayout {
    123     ctor public SpeedBumpView(android.content.Context);
    124     ctor public SpeedBumpView(android.content.Context, android.util.AttributeSet);
    125     ctor public SpeedBumpView(android.content.Context, android.util.AttributeSet, int);
    126     ctor public SpeedBumpView(android.content.Context, android.util.AttributeSet, int, int);
    127     method public void onAttachedToWindow();
    128     method public void onDetachedFromWindow();
    129   }
    130 
    131 }
    132 
    133 package androidx.car.utils {
    134 
    135   public class ColumnCalculator {
    136     method public int getColumnWidth();
    137     method public int getGutterSize();
    138     method public static androidx.car.utils.ColumnCalculator getInstance(android.content.Context);
    139     method public int getNumOfColumns();
    140     method public int getNumOfGutters();
    141     method public int getSizeForColumnSpan(int);
    142   }
    143 
    144   public class ListItemBackgroundResolver {
    145     method public static void setBackground(android.view.View, int, int);
    146   }
    147 
    148 }
    149 
    150 package androidx.car.widget {
    151 
    152   public class ActionBar extends android.widget.RelativeLayout {
    153     ctor public ActionBar(android.content.Context);
    154     ctor public ActionBar(android.content.Context, android.util.AttributeSet);
    155     ctor public ActionBar(android.content.Context, android.util.AttributeSet, int);
    156     ctor public ActionBar(android.content.Context, android.util.AttributeSet, int, int);
    157     method public void setExpandCollapseView(android.view.View);
    158     method public void setView(android.view.View, int);
    159     method public void setViews(android.view.View[]);
    160     field public static final int SLOT_EXPAND_COLLAPSE = 3; // 0x3
    161     field public static final int SLOT_LEFT = 1; // 0x1
    162     field public static final int SLOT_MAIN = 0; // 0x0
    163     field public static final int SLOT_RIGHT = 2; // 0x2
    164   }
    165 
    166   public static abstract class ActionBar.SlotPosition implements java.lang.annotation.Annotation {
    167   }
    168 
    169   public class AlphaJumpBucketer {
    170     ctor public AlphaJumpBucketer();
    171     ctor public AlphaJumpBucketer(androidx.car.widget.AlphaJumpBucketer.Bucket[]);
    172     method public java.util.Collection<androidx.car.widget.IAlphaJumpAdapter.Bucket> createBuckets(java.lang.String[]);
    173     method public java.util.Collection<androidx.car.widget.IAlphaJumpAdapter.Bucket> createBuckets(java.lang.Iterable<java.lang.String>);
    174     method public java.util.Collection<androidx.car.widget.IAlphaJumpAdapter.Bucket> createBuckets(java.util.Iterator<java.lang.String>);
    175   }
    176 
    177   public static class AlphaJumpBucketer.Bucket implements androidx.car.widget.IAlphaJumpAdapter.Bucket {
    178     method public int getIndex();
    179     method public java.lang.CharSequence getLabel();
    180     method public boolean isEmpty();
    181   }
    182 
    183   public class AlphaJumpOverlayView extends androidx.gridlayout.widget.GridLayout {
    184     ctor public AlphaJumpOverlayView(android.content.Context);
    185   }
    186 
    187   public class ClickThroughToolbar extends androidx.appcompat.widget.Toolbar {
    188     ctor public ClickThroughToolbar(android.content.Context);
    189     ctor public ClickThroughToolbar(android.content.Context, android.util.AttributeSet);
    190     ctor public ClickThroughToolbar(android.content.Context, android.util.AttributeSet, int);
    191     method public void setClickPassThrough(boolean);
    192   }
    193 
    194   public final class ColumnCardView extends androidx.cardview.widget.CardView {
    195     ctor public ColumnCardView(android.content.Context);
    196     ctor public ColumnCardView(android.content.Context, android.util.AttributeSet);
    197     ctor public ColumnCardView(android.content.Context, android.util.AttributeSet, int);
    198     method public int getColumnSpan();
    199     method public void onMeasure(int, int);
    200     method public void setColumnSpan(int);
    201   }
    202 
    203   public abstract class DayNightStyle implements java.lang.annotation.Annotation {
    204     field public static final int ALWAYS_DARK = 3; // 0x3
    205     field public static final int ALWAYS_LIGHT = 2; // 0x2
    206     field public static final int AUTO = 0; // 0x0
    207     field public static final int AUTO_INVERSE = 1; // 0x1
    208     field public static final deprecated int FORCE_DAY = 5; // 0x5
    209     field public static final deprecated int FORCE_NIGHT = 4; // 0x4
    210   }
    211 
    212   public abstract interface IAlphaJumpAdapter {
    213     method public abstract java.util.Collection<androidx.car.widget.IAlphaJumpAdapter.Bucket> getAlphaJumpBuckets();
    214     method public abstract void onAlphaJumpEnter();
    215     method public abstract void onAlphaJumpLeave(androidx.car.widget.IAlphaJumpAdapter.Bucket);
    216   }
    217 
    218   public static abstract interface IAlphaJumpAdapter.Bucket {
    219     method public abstract int getIndex();
    220     method public abstract java.lang.CharSequence getLabel();
    221     method public abstract boolean isEmpty();
    222   }
    223 
    224   public abstract class ListItem<VH extends androidx.car.widget.ListItem.ViewHolder> {
    225     ctor public ListItem();
    226     method public final void addViewBinder(androidx.car.widget.ListItem.ViewBinder<VH>);
    227     method public final void addViewBinder(androidx.car.widget.ListItem.ViewBinder<VH>, androidx.car.widget.ListItem.ViewBinder<VH>);
    228     method public abstract int getViewType();
    229     method protected boolean isDirty();
    230     method protected void markClean();
    231     method protected void markDirty();
    232     method protected abstract void onBind(VH);
    233     method public boolean removeViewBinder(androidx.car.widget.ListItem.ViewBinder<VH>);
    234     method protected abstract void resolveDirtyState();
    235     method public void setHideDivider(boolean);
    236     method public boolean shouldHideDivider();
    237   }
    238 
    239   public static abstract interface ListItem.ViewBinder<VH> {
    240     method public abstract void bind(VH);
    241   }
    242 
    243   public static abstract class ListItem.ViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder {
    244     ctor public ListItem.ViewHolder(android.view.View);
    245     method public final void addCleanUp(androidx.car.widget.ListItem.ViewBinder<androidx.car.widget.ListItem.ViewHolder>);
    246     method public final void cleanUp();
    247     method protected abstract void complyWithUxRestrictions(android.car.drivingstate.CarUxRestrictions);
    248   }
    249 
    250   public class ListItemAdapter extends androidx.recyclerview.widget.RecyclerView.Adapter implements androidx.car.widget.PagedListView.DividerVisibilityManager androidx.car.widget.PagedListView.ItemCap {
    251     ctor public ListItemAdapter(android.content.Context, androidx.car.widget.ListItemProvider);
    252     ctor public ListItemAdapter(android.content.Context, androidx.car.widget.ListItemProvider, int);
    253     method public int getItemCount();
    254     method public void onBindViewHolder(androidx.car.widget.ListItem.ViewHolder, int);
    255     method public androidx.car.widget.ListItem.ViewHolder onCreateViewHolder(android.view.ViewGroup, int);
    256     method public void registerListItemViewType(int, int, java.util.function.Function<android.view.View, androidx.car.widget.ListItem.ViewHolder>);
    257     method public void setMaxItems(int);
    258     method public boolean shouldHideDivider(int);
    259     method public void start();
    260     method public void stop();
    261   }
    262 
    263   public static final class ListItemAdapter.BackgroundStyle {
    264     field public static final int CARD = 2; // 0x2
    265     field public static final int NONE = 1; // 0x1
    266     field public static final int PANEL = 3; // 0x3
    267     field public static final int SOLID = 0; // 0x0
    268   }
    269 
    270   public abstract class ListItemProvider {
    271     ctor public ListItemProvider();
    272     method public abstract androidx.car.widget.ListItem get(int);
    273     method public abstract int size();
    274   }
    275 
    276   public static class ListItemProvider.ListProvider extends androidx.car.widget.ListItemProvider {
    277     ctor public ListItemProvider.ListProvider(java.util.List<androidx.car.widget.ListItem>);
    278     method public androidx.car.widget.ListItem get(int);
    279     method public int size();
    280   }
    281 
    282   public class PagedListView extends android.widget.FrameLayout {
    283     ctor public PagedListView(android.content.Context);
    284     ctor public PagedListView(android.content.Context, android.util.AttributeSet);
    285     ctor public PagedListView(android.content.Context, android.util.AttributeSet, int);
    286     ctor public PagedListView(android.content.Context, android.util.AttributeSet, int, int);
    287     method public void addItemDecoration(androidx.recyclerview.widget.RecyclerView.ItemDecoration);
    288     method public void addOnItemTouchListener(androidx.recyclerview.widget.RecyclerView.OnItemTouchListener);
    289     method public androidx.recyclerview.widget.RecyclerView.Adapter<? extends androidx.recyclerview.widget.RecyclerView.ViewHolder> getAdapter();
    290     method public int getMaxPages();
    291     method public int getPage(int);
    292     method public androidx.recyclerview.widget.RecyclerView getRecyclerView();
    293     method public int getRowsPerPage();
    294     method public boolean isAtEnd();
    295     method public boolean isAtStart();
    296     method public void onLayout(boolean, int, int, int, int);
    297     method public void onRestoreInstanceState(android.os.Parcelable);
    298     method public android.os.Parcelable onSaveInstanceState();
    299     method public void pageDown();
    300     method public void pageUp();
    301     method public int positionOf(android.view.View);
    302     method public void removeItemDecoration(androidx.recyclerview.widget.RecyclerView.ItemDecoration);
    303     method public void removeOnItemTouchListener(androidx.recyclerview.widget.RecyclerView.OnItemTouchListener);
    304     method public void resetMaxPages();
    305     method public void resetScrollbarColor();
    306     method public void scrollToPosition(int);
    307     method public void setAdapter(androidx.recyclerview.widget.RecyclerView.Adapter<? extends androidx.recyclerview.widget.RecyclerView.ViewHolder>);
    308     method public void setDayNightStyle(int);
    309     method public void setDefaultMaxPages(int);
    310     method public void setDividerVisibilityManager(androidx.car.widget.PagedListView.DividerVisibilityManager);
    311     method public void setDownButtonIcon(android.graphics.drawable.Drawable);
    312     method public void setGutter(int);
    313     method public void setGutterSize(int);
    314     method public void setItemSpacing(int);
    315     method public void setListContentTopOffset(int);
    316     method public void setMaxPages(int);
    317     method public void setOnScrollListener(androidx.car.widget.PagedListView.OnScrollListener);
    318     method public void setScrollBarContainerWidth(int);
    319     method public void setScrollBarTopMargin(int);
    320     method public void setScrollbarColor(int);
    321     method public void setUpButtonIcon(android.graphics.drawable.Drawable);
    322     method public void snapToPosition(int);
    323     field public static final int DEFAULT_MAX_CLICKS = 6; // 0x6
    324     field public static final int UNLIMITED_PAGES = -1; // 0xffffffff
    325   }
    326 
    327   public static abstract interface PagedListView.DividerVisibilityManager {
    328     method public abstract boolean shouldHideDivider(int);
    329   }
    330 
    331   public static abstract class PagedListView.Gutter implements java.lang.annotation.Annotation {
    332     field public static final int BOTH = 3; // 0x3
    333     field public static final int END = 2; // 0x2
    334     field public static final int NONE = 0; // 0x0
    335     field public static final int START = 1; // 0x1
    336   }
    337 
    338   public static abstract interface PagedListView.ItemCap {
    339     method public abstract void setMaxItems(int);
    340     field public static final int UNLIMITED = -1; // 0xffffffff
    341   }
    342 
    343   public static abstract interface PagedListView.ItemPositionOffset {
    344     method public abstract void setPositionOffset(int);
    345   }
    346 
    347   public static abstract class PagedListView.OnScrollListener {
    348     ctor public PagedListView.OnScrollListener();
    349     method public void onReachBottom();
    350     method public void onScrollDownButtonClicked();
    351     method public void onScrollStateChanged(androidx.recyclerview.widget.RecyclerView, int);
    352     method public void onScrollUpButtonClicked();
    353     method public void onScrolled(androidx.recyclerview.widget.RecyclerView, int, int);
    354   }
    355 
    356   public class PagedScrollBarView extends android.view.ViewGroup {
    357     ctor public PagedScrollBarView(android.content.Context);
    358     ctor public PagedScrollBarView(android.content.Context, android.util.AttributeSet);
    359     ctor public PagedScrollBarView(android.content.Context, android.util.AttributeSet, int);
    360     ctor public PagedScrollBarView(android.content.Context, android.util.AttributeSet, int, int);
    361     method public boolean isDownEnabled();
    362     method public boolean isDownPressed();
    363     method public boolean isUpPressed();
    364     method public void onLayout(boolean, int, int, int, int);
    365     method public void resetThumbColor();
    366     method public void setDayNightStyle(int);
    367     method public void setDownButtonIcon(android.graphics.drawable.Drawable);
    368     method public void setDownEnabled(boolean);
    369     method public void setPaginationListener(androidx.car.widget.PagedScrollBarView.PaginationListener);
    370     method public void setParameters(int, int, int, boolean);
    371     method public void setThumbColor(int);
    372     method public void setUpButtonIcon(android.graphics.drawable.Drawable);
    373     method public void setUpEnabled(boolean);
    374   }
    375 
    376   public static abstract interface PagedScrollBarView.PaginationListener {
    377     method public abstract void onAlphaJump();
    378     method public abstract void onPaginate(int);
    379     field public static final int PAGE_DOWN = 1; // 0x1
    380     field public static final int PAGE_UP = 0; // 0x0
    381   }
    382 
    383   public final class PagedSmoothScroller extends androidx.recyclerview.widget.LinearSmoothScroller {
    384     ctor public PagedSmoothScroller(android.content.Context);
    385   }
    386 
    387   public class PagedSnapHelper extends androidx.recyclerview.widget.LinearSnapHelper {
    388     ctor public PagedSnapHelper(android.content.Context);
    389     method public void attachToRecyclerView(androidx.recyclerview.widget.RecyclerView);
    390     method public boolean isAtEnd(androidx.recyclerview.widget.RecyclerView.LayoutManager);
    391     method public boolean isAtStart(androidx.recyclerview.widget.RecyclerView.LayoutManager);
    392   }
    393 
    394   public class SeekbarListItem extends androidx.car.widget.ListItem {
    395     ctor public SeekbarListItem(android.content.Context);
    396     method public static androidx.car.widget.SeekbarListItem.ViewHolder createViewHolder(android.view.View);
    397     method public int getViewType();
    398     method protected void onBind(androidx.car.widget.SeekbarListItem.ViewHolder);
    399     method protected void resolveDirtyState();
    400     method public void setMax(int);
    401     method public void setOnSeekBarChangeListener(android.widget.SeekBar.OnSeekBarChangeListener);
    402     method public void setPrimaryActionEmptyIcon();
    403     method public void setPrimaryActionIcon(int);
    404     method public void setPrimaryActionIcon(android.graphics.drawable.Drawable);
    405     method public void setPrimaryActionIconListener(android.view.View.OnClickListener);
    406     method public void setProgress(int);
    407     method public void setSecondaryProgress(int);
    408     method public void setSupplementalEmptyIcon(boolean);
    409     method public void setSupplementalIcon(int, boolean);
    410     method public void setSupplementalIcon(android.graphics.drawable.Drawable, boolean);
    411     method public deprecated void setSupplementalIcon(android.graphics.drawable.Drawable, boolean, android.view.View.OnClickListener);
    412     method public void setSupplementalIconListener(android.view.View.OnClickListener);
    413     method public void setText(java.lang.String);
    414   }
    415 
    416   public static class SeekbarListItem.ViewHolder extends androidx.car.widget.ListItem.ViewHolder {
    417     ctor public SeekbarListItem.ViewHolder(android.view.View);
    418     method protected void complyWithUxRestrictions(android.car.drivingstate.CarUxRestrictions);
    419     method public android.widget.RelativeLayout getContainerLayout();
    420     method public android.widget.ImageView getPrimaryIcon();
    421     method public android.widget.SeekBar getSeekBar();
    422     method public android.widget.LinearLayout getSeekBarContainer();
    423     method public android.widget.ImageView getSupplementalIcon();
    424     method public android.view.View getSupplementalIconDivider();
    425     method public android.widget.TextView getText();
    426   }
    427 
    428   public class SubheaderListItem extends androidx.car.widget.ListItem {
    429     ctor public SubheaderListItem(android.content.Context, java.lang.String);
    430     method public static androidx.car.widget.SubheaderListItem.ViewHolder createViewHolder(android.view.View);
    431     method public int getViewType();
    432     method protected void onBind(androidx.car.widget.SubheaderListItem.ViewHolder);
    433     method protected void resolveDirtyState();
    434     method public void setText(java.lang.String);
    435     method public void setTextStartMarginType(int);
    436     field public static final int TEXT_START_MARGIN_TYPE_LARGE = 2; // 0x2
    437     field public static final int TEXT_START_MARGIN_TYPE_NONE = 0; // 0x0
    438     field public static final int TEXT_START_MARGIN_TYPE_SMALL = 1; // 0x1
    439   }
    440 
    441   public static abstract class SubheaderListItem.TextStartMarginType implements java.lang.annotation.Annotation {
    442   }
    443 
    444   public static class SubheaderListItem.ViewHolder extends androidx.car.widget.ListItem.ViewHolder {
    445     ctor public SubheaderListItem.ViewHolder(android.view.View);
    446     method protected void complyWithUxRestrictions(android.car.drivingstate.CarUxRestrictions);
    447     method public android.widget.TextView getText();
    448   }
    449 
    450   public class TextListItem extends androidx.car.widget.ListItem {
    451     ctor public TextListItem(android.content.Context);
    452     method public static androidx.car.widget.TextListItem.ViewHolder createViewHolder(android.view.View);
    453     method public int getViewType();
    454     method public void onBind(androidx.car.widget.TextListItem.ViewHolder);
    455     method protected void resolveDirtyState();
    456     method public void setAction(java.lang.String, boolean, android.view.View.OnClickListener);
    457     method public void setActions(java.lang.String, boolean, android.view.View.OnClickListener, java.lang.String, boolean, android.view.View.OnClickListener);
    458     method public void setBody(java.lang.String);
    459     method public void setBody(java.lang.String, boolean);
    460     method public void setOnClickListener(android.view.View.OnClickListener);
    461     method public void setPrimaryActionEmptyIcon();
    462     method public void setPrimaryActionIcon(int, boolean);
    463     method public void setPrimaryActionIcon(android.graphics.drawable.Drawable, boolean);
    464     method public void setPrimaryActionNoIcon();
    465     method public void setSupplementalIcon(int, boolean);
    466     method public void setSupplementalIcon(android.graphics.drawable.Drawable, boolean);
    467     method public void setSupplementalIcon(int, boolean, android.view.View.OnClickListener);
    468     method public void setSupplementalIcon(android.graphics.drawable.Drawable, boolean, android.view.View.OnClickListener);
    469     method public void setSwitch(boolean, boolean, android.widget.CompoundButton.OnCheckedChangeListener);
    470     method public void setSwitchState(boolean);
    471     method public void setTitle(java.lang.String);
    472   }
    473 
    474   public static class TextListItem.ViewHolder extends androidx.car.widget.ListItem.ViewHolder {
    475     ctor public TextListItem.ViewHolder(android.view.View);
    476     method protected void complyWithUxRestrictions(android.car.drivingstate.CarUxRestrictions);
    477     method public android.widget.Button getAction1();
    478     method public android.view.View getAction1Divider();
    479     method public android.widget.Button getAction2();
    480     method public android.view.View getAction2Divider();
    481     method public android.widget.TextView getBody();
    482     method public android.widget.RelativeLayout getContainerLayout();
    483     method public android.widget.ImageView getPrimaryIcon();
    484     method public android.widget.ImageView getSupplementalIcon();
    485     method public android.view.View getSupplementalIconDivider();
    486     method public android.widget.Switch getSwitch();
    487     method public android.view.View getSwitchDivider();
    488     method public android.widget.TextView getTitle();
    489   }
    490 
    491 }
    492 
    493