文本文件  |  493行  |  25.71 KB

package androidx.car.app {

  public class CarAlertDialog extends android.app.Dialog {
  }

  public static final class CarAlertDialog.Builder {
    ctor public CarAlertDialog.Builder(android.content.Context);
    method public androidx.car.app.CarAlertDialog create();
    method public androidx.car.app.CarAlertDialog.Builder setBody(int);
    method public androidx.car.app.CarAlertDialog.Builder setBody(java.lang.CharSequence);
    method public androidx.car.app.CarAlertDialog.Builder setCancelable(boolean);
    method public androidx.car.app.CarAlertDialog.Builder setNegativeButton(int, android.content.DialogInterface.OnClickListener);
    method public androidx.car.app.CarAlertDialog.Builder setNegativeButton(java.lang.CharSequence, android.content.DialogInterface.OnClickListener);
    method public androidx.car.app.CarAlertDialog.Builder setOnCancelListener(android.content.DialogInterface.OnCancelListener);
    method public androidx.car.app.CarAlertDialog.Builder setOnDismissListener(android.content.DialogInterface.OnDismissListener);
    method public androidx.car.app.CarAlertDialog.Builder setPositiveButton(int, android.content.DialogInterface.OnClickListener);
    method public androidx.car.app.CarAlertDialog.Builder setPositiveButton(java.lang.CharSequence, android.content.DialogInterface.OnClickListener);
    method public androidx.car.app.CarAlertDialog.Builder setTitle(int);
    method public androidx.car.app.CarAlertDialog.Builder setTitle(java.lang.CharSequence);
  }

  public class CarListDialog extends android.app.Dialog {
  }

  public static final class CarListDialog.Builder {
    ctor public CarListDialog.Builder(android.content.Context);
    method public androidx.car.app.CarListDialog create();
    method public androidx.car.app.CarListDialog.Builder setCancelable(boolean);
    method public androidx.car.app.CarListDialog.Builder setInitialPosition(int);
    method public androidx.car.app.CarListDialog.Builder setItems(java.lang.String[], android.content.DialogInterface.OnClickListener);
    method public androidx.car.app.CarListDialog.Builder setItems(androidx.car.app.CarListDialog.DialogSubSection[], android.content.DialogInterface.OnClickListener);
    method public androidx.car.app.CarListDialog.Builder setOnCancelListener(android.content.DialogInterface.OnCancelListener);
    method public androidx.car.app.CarListDialog.Builder setOnDismissListener(android.content.DialogInterface.OnDismissListener);
    method public androidx.car.app.CarListDialog.Builder setTitle(int);
    method public androidx.car.app.CarListDialog.Builder setTitle(java.lang.CharSequence);
  }

  public static class CarListDialog.DialogSubSection {
    ctor public CarListDialog.DialogSubSection(java.lang.String, java.lang.String[]);
    method public int getItemCount();
    method public java.lang.String[] getItems();
    method public java.lang.String getTitle();
  }

}

package androidx.car.drawer {

  public class CarDrawerActivity extends androidx.appcompat.app.AppCompatActivity {
    ctor public CarDrawerActivity();
    method protected int getContentContainerId();
    method protected androidx.car.drawer.CarDrawerController getDrawerController();
    method protected deprecated androidx.car.drawer.CarDrawerAdapter getRootAdapter();
    method public void setMainContent(android.view.View);
    method public void setMainContent(int);
    method public void setToolbarAlwaysShow();
    method public void setToolbarCollapsible();
    method public void setToolbarElevation(float);
    method public void setToolbarElevationWithAnimation(float);
  }

  public abstract class CarDrawerAdapter extends androidx.recyclerview.widget.RecyclerView.Adapter implements androidx.car.drawer.DrawerItemClickListener androidx.car.widget.PagedListView.ItemCap {
    ctor protected CarDrawerAdapter(android.content.Context, boolean);
    method public void cleanup();
    method protected abstract int getActualItemCount();
    method public final int getItemCount();
    method public final int getItemViewType(int);
    method public final void onBindViewHolder(androidx.car.drawer.DrawerItemViewHolder, int);
    method public final androidx.car.drawer.DrawerItemViewHolder onCreateViewHolder(android.view.ViewGroup, int);
    method protected abstract void populateViewHolder(androidx.car.drawer.DrawerItemViewHolder, int);
    method public final void setMaxItems(int);
    method public final void setTitle(java.lang.CharSequence);
    method public void start();
    method public void stop();
    method protected boolean usesSmallLayout(int);
  }

  public class CarDrawerController {
    ctor public deprecated CarDrawerController(androidx.appcompat.widget.Toolbar, androidx.drawerlayout.widget.DrawerLayout, androidx.appcompat.app.ActionBarDrawerToggle);
    ctor public CarDrawerController(androidx.drawerlayout.widget.DrawerLayout, androidx.appcompat.app.ActionBarDrawerToggle);
    method public void addDrawerListener(androidx.drawerlayout.widget.DrawerLayout.DrawerListener);
    method public void closeDrawer();
    method public void onConfigurationChanged(android.content.res.Configuration);
    method public boolean onOptionsItemSelected(android.view.MenuItem);
    method public void openDrawer();
    method public final void pushAdapter(androidx.car.drawer.CarDrawerAdapter);
    method public void removeDrawerListener(androidx.drawerlayout.widget.DrawerLayout.DrawerListener);
    method public void scrollToPosition(int);
    method public void setRootAdapter(androidx.car.drawer.CarDrawerAdapter);
    method public void showLoadingProgressBar(boolean);
    method public void syncState();
  }

  public abstract interface DrawerItemClickListener {
    method public abstract void onItemClick(int);
  }

  public class DrawerItemViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder {
    method public android.widget.ImageView getEndIcon();
    method public android.widget.ImageView getIcon();
    method public android.widget.TextView getText();
    method public android.widget.TextView getTitle();
  }

}

package androidx.car.moderator {

  public class ContentRateLimiter {
    ctor public ContentRateLimiter(double, double, long);
    method public double getAvailablePermits();
    method public double getMaxStoredPermits();
    method public void setAcquiredPermitsRate(double);
    method public void setAvailablePermits(double);
    method public void setMaxStoredPermits(double);
    method public void setPermitFillDelay(long);
    method public void setUnlimitedMode(boolean);
    method public boolean tryAcquire();
    method public boolean tryAcquire(int);
  }

  public class SpeedBumpView extends android.widget.FrameLayout {
    ctor public SpeedBumpView(android.content.Context);
    ctor public SpeedBumpView(android.content.Context, android.util.AttributeSet);
    ctor public SpeedBumpView(android.content.Context, android.util.AttributeSet, int);
    ctor public SpeedBumpView(android.content.Context, android.util.AttributeSet, int, int);
    method public void onAttachedToWindow();
    method public void onDetachedFromWindow();
  }

}

package androidx.car.utils {

  public class ColumnCalculator {
    method public int getColumnWidth();
    method public int getGutterSize();
    method public static androidx.car.utils.ColumnCalculator getInstance(android.content.Context);
    method public int getNumOfColumns();
    method public int getNumOfGutters();
    method public int getSizeForColumnSpan(int);
  }

  public class ListItemBackgroundResolver {
    method public static void setBackground(android.view.View, int, int);
  }

}

package androidx.car.widget {

  public class ActionBar extends android.widget.RelativeLayout {
    ctor public ActionBar(android.content.Context);
    ctor public ActionBar(android.content.Context, android.util.AttributeSet);
    ctor public ActionBar(android.content.Context, android.util.AttributeSet, int);
    ctor public ActionBar(android.content.Context, android.util.AttributeSet, int, int);
    method public void setExpandCollapseView(android.view.View);
    method public void setView(android.view.View, int);
    method public void setViews(android.view.View[]);
    field public static final int SLOT_EXPAND_COLLAPSE = 3; // 0x3
    field public static final int SLOT_LEFT = 1; // 0x1
    field public static final int SLOT_MAIN = 0; // 0x0
    field public static final int SLOT_RIGHT = 2; // 0x2
  }

  public static abstract class ActionBar.SlotPosition implements java.lang.annotation.Annotation {
  }

  public class AlphaJumpBucketer {
    ctor public AlphaJumpBucketer();
    ctor public AlphaJumpBucketer(androidx.car.widget.AlphaJumpBucketer.Bucket[]);
    method public java.util.Collection<androidx.car.widget.IAlphaJumpAdapter.Bucket> createBuckets(java.lang.String[]);
    method public java.util.Collection<androidx.car.widget.IAlphaJumpAdapter.Bucket> createBuckets(java.lang.Iterable<java.lang.String>);
    method public java.util.Collection<androidx.car.widget.IAlphaJumpAdapter.Bucket> createBuckets(java.util.Iterator<java.lang.String>);
  }

  public static class AlphaJumpBucketer.Bucket implements androidx.car.widget.IAlphaJumpAdapter.Bucket {
    method public int getIndex();
    method public java.lang.CharSequence getLabel();
    method public boolean isEmpty();
  }

  public class AlphaJumpOverlayView extends androidx.gridlayout.widget.GridLayout {
    ctor public AlphaJumpOverlayView(android.content.Context);
  }

  public class ClickThroughToolbar extends androidx.appcompat.widget.Toolbar {
    ctor public ClickThroughToolbar(android.content.Context);
    ctor public ClickThroughToolbar(android.content.Context, android.util.AttributeSet);
    ctor public ClickThroughToolbar(android.content.Context, android.util.AttributeSet, int);
    method public void setClickPassThrough(boolean);
  }

  public final class ColumnCardView extends androidx.cardview.widget.CardView {
    ctor public ColumnCardView(android.content.Context);
    ctor public ColumnCardView(android.content.Context, android.util.AttributeSet);
    ctor public ColumnCardView(android.content.Context, android.util.AttributeSet, int);
    method public int getColumnSpan();
    method public void onMeasure(int, int);
    method public void setColumnSpan(int);
  }

  public abstract class DayNightStyle implements java.lang.annotation.Annotation {
    field public static final int ALWAYS_DARK = 3; // 0x3
    field public static final int ALWAYS_LIGHT = 2; // 0x2
    field public static final int AUTO = 0; // 0x0
    field public static final int AUTO_INVERSE = 1; // 0x1
    field public static final deprecated int FORCE_DAY = 5; // 0x5
    field public static final deprecated int FORCE_NIGHT = 4; // 0x4
  }

  public abstract interface IAlphaJumpAdapter {
    method public abstract java.util.Collection<androidx.car.widget.IAlphaJumpAdapter.Bucket> getAlphaJumpBuckets();
    method public abstract void onAlphaJumpEnter();
    method public abstract void onAlphaJumpLeave(androidx.car.widget.IAlphaJumpAdapter.Bucket);
  }

  public static abstract interface IAlphaJumpAdapter.Bucket {
    method public abstract int getIndex();
    method public abstract java.lang.CharSequence getLabel();
    method public abstract boolean isEmpty();
  }

  public abstract class ListItem<VH extends androidx.car.widget.ListItem.ViewHolder> {
    ctor public ListItem();
    method public final void addViewBinder(androidx.car.widget.ListItem.ViewBinder<VH>);
    method public final void addViewBinder(androidx.car.widget.ListItem.ViewBinder<VH>, androidx.car.widget.ListItem.ViewBinder<VH>);
    method public abstract int getViewType();
    method protected boolean isDirty();
    method protected void markClean();
    method protected void markDirty();
    method protected abstract void onBind(VH);
    method public boolean removeViewBinder(androidx.car.widget.ListItem.ViewBinder<VH>);
    method protected abstract void resolveDirtyState();
    method public void setHideDivider(boolean);
    method public boolean shouldHideDivider();
  }

  public static abstract interface ListItem.ViewBinder<VH> {
    method public abstract void bind(VH);
  }

  public static abstract class ListItem.ViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder {
    ctor public ListItem.ViewHolder(android.view.View);
    method public final void addCleanUp(androidx.car.widget.ListItem.ViewBinder<androidx.car.widget.ListItem.ViewHolder>);
    method public final void cleanUp();
    method protected abstract void complyWithUxRestrictions(android.car.drivingstate.CarUxRestrictions);
  }

  public class ListItemAdapter extends androidx.recyclerview.widget.RecyclerView.Adapter implements androidx.car.widget.PagedListView.DividerVisibilityManager androidx.car.widget.PagedListView.ItemCap {
    ctor public ListItemAdapter(android.content.Context, androidx.car.widget.ListItemProvider);
    ctor public ListItemAdapter(android.content.Context, androidx.car.widget.ListItemProvider, int);
    method public int getItemCount();
    method public void onBindViewHolder(androidx.car.widget.ListItem.ViewHolder, int);
    method public androidx.car.widget.ListItem.ViewHolder onCreateViewHolder(android.view.ViewGroup, int);
    method public void registerListItemViewType(int, int, java.util.function.Function<android.view.View, androidx.car.widget.ListItem.ViewHolder>);
    method public void setMaxItems(int);
    method public boolean shouldHideDivider(int);
    method public void start();
    method public void stop();
  }

  public static final class ListItemAdapter.BackgroundStyle {
    field public static final int CARD = 2; // 0x2
    field public static final int NONE = 1; // 0x1
    field public static final int PANEL = 3; // 0x3
    field public static final int SOLID = 0; // 0x0
  }

  public abstract class ListItemProvider {
    ctor public ListItemProvider();
    method public abstract androidx.car.widget.ListItem get(int);
    method public abstract int size();
  }

  public static class ListItemProvider.ListProvider extends androidx.car.widget.ListItemProvider {
    ctor public ListItemProvider.ListProvider(java.util.List<androidx.car.widget.ListItem>);
    method public androidx.car.widget.ListItem get(int);
    method public int size();
  }

  public class PagedListView extends android.widget.FrameLayout {
    ctor public PagedListView(android.content.Context);
    ctor public PagedListView(android.content.Context, android.util.AttributeSet);
    ctor public PagedListView(android.content.Context, android.util.AttributeSet, int);
    ctor public PagedListView(android.content.Context, android.util.AttributeSet, int, int);
    method public void addItemDecoration(androidx.recyclerview.widget.RecyclerView.ItemDecoration);
    method public void addOnItemTouchListener(androidx.recyclerview.widget.RecyclerView.OnItemTouchListener);
    method public androidx.recyclerview.widget.RecyclerView.Adapter<? extends androidx.recyclerview.widget.RecyclerView.ViewHolder> getAdapter();
    method public int getMaxPages();
    method public int getPage(int);
    method public androidx.recyclerview.widget.RecyclerView getRecyclerView();
    method public int getRowsPerPage();
    method public boolean isAtEnd();
    method public boolean isAtStart();
    method public void onLayout(boolean, int, int, int, int);
    method public void onRestoreInstanceState(android.os.Parcelable);
    method public android.os.Parcelable onSaveInstanceState();
    method public void pageDown();
    method public void pageUp();
    method public int positionOf(android.view.View);
    method public void removeItemDecoration(androidx.recyclerview.widget.RecyclerView.ItemDecoration);
    method public void removeOnItemTouchListener(androidx.recyclerview.widget.RecyclerView.OnItemTouchListener);
    method public void resetMaxPages();
    method public void resetScrollbarColor();
    method public void scrollToPosition(int);
    method public void setAdapter(androidx.recyclerview.widget.RecyclerView.Adapter<? extends androidx.recyclerview.widget.RecyclerView.ViewHolder>);
    method public void setDayNightStyle(int);
    method public void setDefaultMaxPages(int);
    method public void setDividerVisibilityManager(androidx.car.widget.PagedListView.DividerVisibilityManager);
    method public void setDownButtonIcon(android.graphics.drawable.Drawable);
    method public void setGutter(int);
    method public void setGutterSize(int);
    method public void setItemSpacing(int);
    method public void setListContentTopOffset(int);
    method public void setMaxPages(int);
    method public void setOnScrollListener(androidx.car.widget.PagedListView.OnScrollListener);
    method public void setScrollBarContainerWidth(int);
    method public void setScrollBarTopMargin(int);
    method public void setScrollbarColor(int);
    method public void setUpButtonIcon(android.graphics.drawable.Drawable);
    method public void snapToPosition(int);
    field public static final int DEFAULT_MAX_CLICKS = 6; // 0x6
    field public static final int UNLIMITED_PAGES = -1; // 0xffffffff
  }

  public static abstract interface PagedListView.DividerVisibilityManager {
    method public abstract boolean shouldHideDivider(int);
  }

  public static abstract class PagedListView.Gutter implements java.lang.annotation.Annotation {
    field public static final int BOTH = 3; // 0x3
    field public static final int END = 2; // 0x2
    field public static final int NONE = 0; // 0x0
    field public static final int START = 1; // 0x1
  }

  public static abstract interface PagedListView.ItemCap {
    method public abstract void setMaxItems(int);
    field public static final int UNLIMITED = -1; // 0xffffffff
  }

  public static abstract interface PagedListView.ItemPositionOffset {
    method public abstract void setPositionOffset(int);
  }

  public static abstract class PagedListView.OnScrollListener {
    ctor public PagedListView.OnScrollListener();
    method public void onReachBottom();
    method public void onScrollDownButtonClicked();
    method public void onScrollStateChanged(androidx.recyclerview.widget.RecyclerView, int);
    method public void onScrollUpButtonClicked();
    method public void onScrolled(androidx.recyclerview.widget.RecyclerView, int, int);
  }

  public class PagedScrollBarView extends android.view.ViewGroup {
    ctor public PagedScrollBarView(android.content.Context);
    ctor public PagedScrollBarView(android.content.Context, android.util.AttributeSet);
    ctor public PagedScrollBarView(android.content.Context, android.util.AttributeSet, int);
    ctor public PagedScrollBarView(android.content.Context, android.util.AttributeSet, int, int);
    method public boolean isDownEnabled();
    method public boolean isDownPressed();
    method public boolean isUpPressed();
    method public void onLayout(boolean, int, int, int, int);
    method public void resetThumbColor();
    method public void setDayNightStyle(int);
    method public void setDownButtonIcon(android.graphics.drawable.Drawable);
    method public void setDownEnabled(boolean);
    method public void setPaginationListener(androidx.car.widget.PagedScrollBarView.PaginationListener);
    method public void setParameters(int, int, int, boolean);
    method public void setThumbColor(int);
    method public void setUpButtonIcon(android.graphics.drawable.Drawable);
    method public void setUpEnabled(boolean);
  }

  public static abstract interface PagedScrollBarView.PaginationListener {
    method public abstract void onAlphaJump();
    method public abstract void onPaginate(int);
    field public static final int PAGE_DOWN = 1; // 0x1
    field public static final int PAGE_UP = 0; // 0x0
  }

  public final class PagedSmoothScroller extends androidx.recyclerview.widget.LinearSmoothScroller {
    ctor public PagedSmoothScroller(android.content.Context);
  }

  public class PagedSnapHelper extends androidx.recyclerview.widget.LinearSnapHelper {
    ctor public PagedSnapHelper(android.content.Context);
    method public void attachToRecyclerView(androidx.recyclerview.widget.RecyclerView);
    method public boolean isAtEnd(androidx.recyclerview.widget.RecyclerView.LayoutManager);
    method public boolean isAtStart(androidx.recyclerview.widget.RecyclerView.LayoutManager);
  }

  public class SeekbarListItem extends androidx.car.widget.ListItem {
    ctor public SeekbarListItem(android.content.Context);
    method public static androidx.car.widget.SeekbarListItem.ViewHolder createViewHolder(android.view.View);
    method public int getViewType();
    method protected void onBind(androidx.car.widget.SeekbarListItem.ViewHolder);
    method protected void resolveDirtyState();
    method public void setMax(int);
    method public void setOnSeekBarChangeListener(android.widget.SeekBar.OnSeekBarChangeListener);
    method public void setPrimaryActionEmptyIcon();
    method public void setPrimaryActionIcon(int);
    method public void setPrimaryActionIcon(android.graphics.drawable.Drawable);
    method public void setPrimaryActionIconListener(android.view.View.OnClickListener);
    method public void setProgress(int);
    method public void setSecondaryProgress(int);
    method public void setSupplementalEmptyIcon(boolean);
    method public void setSupplementalIcon(int, boolean);
    method public void setSupplementalIcon(android.graphics.drawable.Drawable, boolean);
    method public deprecated void setSupplementalIcon(android.graphics.drawable.Drawable, boolean, android.view.View.OnClickListener);
    method public void setSupplementalIconListener(android.view.View.OnClickListener);
    method public void setText(java.lang.String);
  }

  public static class SeekbarListItem.ViewHolder extends androidx.car.widget.ListItem.ViewHolder {
    ctor public SeekbarListItem.ViewHolder(android.view.View);
    method protected void complyWithUxRestrictions(android.car.drivingstate.CarUxRestrictions);
    method public android.widget.RelativeLayout getContainerLayout();
    method public android.widget.ImageView getPrimaryIcon();
    method public android.widget.SeekBar getSeekBar();
    method public android.widget.LinearLayout getSeekBarContainer();
    method public android.widget.ImageView getSupplementalIcon();
    method public android.view.View getSupplementalIconDivider();
    method public android.widget.TextView getText();
  }

  public class SubheaderListItem extends androidx.car.widget.ListItem {
    ctor public SubheaderListItem(android.content.Context, java.lang.String);
    method public static androidx.car.widget.SubheaderListItem.ViewHolder createViewHolder(android.view.View);
    method public int getViewType();
    method protected void onBind(androidx.car.widget.SubheaderListItem.ViewHolder);
    method protected void resolveDirtyState();
    method public void setText(java.lang.String);
    method public void setTextStartMarginType(int);
    field public static final int TEXT_START_MARGIN_TYPE_LARGE = 2; // 0x2
    field public static final int TEXT_START_MARGIN_TYPE_NONE = 0; // 0x0
    field public static final int TEXT_START_MARGIN_TYPE_SMALL = 1; // 0x1
  }

  public static abstract class SubheaderListItem.TextStartMarginType implements java.lang.annotation.Annotation {
  }

  public static class SubheaderListItem.ViewHolder extends androidx.car.widget.ListItem.ViewHolder {
    ctor public SubheaderListItem.ViewHolder(android.view.View);
    method protected void complyWithUxRestrictions(android.car.drivingstate.CarUxRestrictions);
    method public android.widget.TextView getText();
  }

  public class TextListItem extends androidx.car.widget.ListItem {
    ctor public TextListItem(android.content.Context);
    method public static androidx.car.widget.TextListItem.ViewHolder createViewHolder(android.view.View);
    method public int getViewType();
    method public void onBind(androidx.car.widget.TextListItem.ViewHolder);
    method protected void resolveDirtyState();
    method public void setAction(java.lang.String, boolean, android.view.View.OnClickListener);
    method public void setActions(java.lang.String, boolean, android.view.View.OnClickListener, java.lang.String, boolean, android.view.View.OnClickListener);
    method public void setBody(java.lang.String);
    method public void setBody(java.lang.String, boolean);
    method public void setOnClickListener(android.view.View.OnClickListener);
    method public void setPrimaryActionEmptyIcon();
    method public void setPrimaryActionIcon(int, boolean);
    method public void setPrimaryActionIcon(android.graphics.drawable.Drawable, boolean);
    method public void setPrimaryActionNoIcon();
    method public void setSupplementalIcon(int, boolean);
    method public void setSupplementalIcon(android.graphics.drawable.Drawable, boolean);
    method public void setSupplementalIcon(int, boolean, android.view.View.OnClickListener);
    method public void setSupplementalIcon(android.graphics.drawable.Drawable, boolean, android.view.View.OnClickListener);
    method public void setSwitch(boolean, boolean, android.widget.CompoundButton.OnCheckedChangeListener);
    method public void setSwitchState(boolean);
    method public void setTitle(java.lang.String);
  }

  public static class TextListItem.ViewHolder extends androidx.car.widget.ListItem.ViewHolder {
    ctor public TextListItem.ViewHolder(android.view.View);
    method protected void complyWithUxRestrictions(android.car.drivingstate.CarUxRestrictions);
    method public android.widget.Button getAction1();
    method public android.view.View getAction1Divider();
    method public android.widget.Button getAction2();
    method public android.view.View getAction2Divider();
    method public android.widget.TextView getBody();
    method public android.widget.RelativeLayout getContainerLayout();
    method public android.widget.ImageView getPrimaryIcon();
    method public android.widget.ImageView getSupplementalIcon();
    method public android.view.View getSupplementalIconDivider();
    method public android.widget.Switch getSwitch();
    method public android.view.View getSwitchDivider();
    method public android.widget.TextView getTitle();
  }

}