1package androidx.leanback.app { 2 3 public final class BackgroundManager { 4 method public void attach(android.view.Window); 5 method public void attachToView(android.view.View); 6 method public void clearDrawable(); 7 method public int getColor(); 8 method public deprecated android.graphics.drawable.Drawable getDefaultDimLayer(); 9 method public deprecated android.graphics.drawable.Drawable getDimLayer(); 10 method public android.graphics.drawable.Drawable getDrawable(); 11 method public static androidx.leanback.app.BackgroundManager getInstance(android.app.Activity); 12 method public boolean isAttached(); 13 method public boolean isAutoReleaseOnStop(); 14 method public void release(); 15 method public void setAutoReleaseOnStop(boolean); 16 method public void setBitmap(android.graphics.Bitmap); 17 method public void setColor(int); 18 method public deprecated void setDimLayer(android.graphics.drawable.Drawable); 19 method public void setDrawable(android.graphics.drawable.Drawable); 20 method public void setThemeDrawableResourceId(int); 21 } 22 23 public deprecated class BaseFragment extends androidx.leanback.app.BrandedFragment { 24 method protected java.lang.Object createEntranceTransition(); 25 method public final androidx.leanback.app.ProgressBarManager getProgressBarManager(); 26 method protected void onEntranceTransitionEnd(); 27 method protected void onEntranceTransitionPrepare(); 28 method protected void onEntranceTransitionStart(); 29 method public void prepareEntranceTransition(); 30 method protected void runEntranceTransition(java.lang.Object); 31 method public void startEntranceTransition(); 32 } 33 34 public class BaseSupportFragment extends androidx.leanback.app.BrandedSupportFragment { 35 method protected java.lang.Object createEntranceTransition(); 36 method public final androidx.leanback.app.ProgressBarManager getProgressBarManager(); 37 method protected void onEntranceTransitionEnd(); 38 method protected void onEntranceTransitionPrepare(); 39 method protected void onEntranceTransitionStart(); 40 method public void prepareEntranceTransition(); 41 method protected void runEntranceTransition(java.lang.Object); 42 method public void startEntranceTransition(); 43 } 44 45 public deprecated class BrandedFragment extends android.app.Fragment { 46 ctor public BrandedFragment(); 47 method public android.graphics.drawable.Drawable getBadgeDrawable(); 48 method public int getSearchAffordanceColor(); 49 method public androidx.leanback.widget.SearchOrbView.Colors getSearchAffordanceColors(); 50 method public java.lang.CharSequence getTitle(); 51 method public android.view.View getTitleView(); 52 method public androidx.leanback.widget.TitleViewAdapter getTitleViewAdapter(); 53 method public void installTitleView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 54 method public final boolean isShowingTitle(); 55 method public android.view.View onInflateTitleView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 56 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 57 method public void setOnSearchClickedListener(android.view.View.OnClickListener); 58 method public void setSearchAffordanceColor(int); 59 method public void setSearchAffordanceColors(androidx.leanback.widget.SearchOrbView.Colors); 60 method public void setTitle(java.lang.CharSequence); 61 method public void setTitleView(android.view.View); 62 method public void showTitle(boolean); 63 method public void showTitle(int); 64 } 65 66 public class BrandedSupportFragment extends androidx.fragment.app.Fragment { 67 ctor public BrandedSupportFragment(); 68 method public android.graphics.drawable.Drawable getBadgeDrawable(); 69 method public int getSearchAffordanceColor(); 70 method public androidx.leanback.widget.SearchOrbView.Colors getSearchAffordanceColors(); 71 method public java.lang.CharSequence getTitle(); 72 method public android.view.View getTitleView(); 73 method public androidx.leanback.widget.TitleViewAdapter getTitleViewAdapter(); 74 method public void installTitleView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 75 method public final boolean isShowingTitle(); 76 method public android.view.View onInflateTitleView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 77 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 78 method public void setOnSearchClickedListener(android.view.View.OnClickListener); 79 method public void setSearchAffordanceColor(int); 80 method public void setSearchAffordanceColors(androidx.leanback.widget.SearchOrbView.Colors); 81 method public void setTitle(java.lang.CharSequence); 82 method public void setTitleView(android.view.View); 83 method public void showTitle(boolean); 84 method public void showTitle(int); 85 } 86 87 public deprecated class BrowseFragment extends androidx.leanback.app.BaseFragment { 88 ctor public BrowseFragment(); 89 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, int); 90 method public void enableMainFragmentScaling(boolean); 91 method public deprecated void enableRowScaling(boolean); 92 method public androidx.leanback.widget.ObjectAdapter getAdapter(); 93 method public int getBrandColor(); 94 method public androidx.leanback.app.HeadersFragment getHeadersFragment(); 95 method public int getHeadersState(); 96 method public android.app.Fragment getMainFragment(); 97 method public final androidx.leanback.app.BrowseFragment.MainFragmentAdapterRegistry getMainFragmentRegistry(); 98 method public androidx.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 99 method public androidx.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 100 method public androidx.leanback.app.RowsFragment getRowsFragment(); 101 method public int getSelectedPosition(); 102 method public androidx.leanback.widget.RowPresenter.ViewHolder getSelectedRowViewHolder(); 103 method public final boolean isHeadersTransitionOnBackEnabled(); 104 method public boolean isInHeadersTransition(); 105 method public boolean isShowingHeaders(); 106 method public androidx.leanback.app.HeadersFragment onCreateHeadersFragment(); 107 method public void setAdapter(androidx.leanback.widget.ObjectAdapter); 108 method public void setBrandColor(int); 109 method public void setBrowseTransitionListener(androidx.leanback.app.BrowseFragment.BrowseTransitionListener); 110 method public void setHeaderPresenterSelector(androidx.leanback.widget.PresenterSelector); 111 method public void setHeadersState(int); 112 method public final void setHeadersTransitionOnBackEnabled(boolean); 113 method public void setOnItemViewClickedListener(androidx.leanback.widget.OnItemViewClickedListener); 114 method public void setOnItemViewSelectedListener(androidx.leanback.widget.OnItemViewSelectedListener); 115 method public void setSelectedPosition(int); 116 method public void setSelectedPosition(int, boolean); 117 method public void setSelectedPosition(int, boolean, androidx.leanback.widget.Presenter.ViewHolderTask); 118 method public void startHeadersTransition(boolean); 119 field public static final int HEADERS_DISABLED = 3; // 0x3 120 field public static final int HEADERS_ENABLED = 1; // 0x1 121 field public static final int HEADERS_HIDDEN = 2; // 0x2 122 } 123 124 public static deprecated class BrowseFragment.BrowseTransitionListener { 125 ctor public BrowseFragment.BrowseTransitionListener(); 126 method public void onHeadersTransitionStart(boolean); 127 method public void onHeadersTransitionStop(boolean); 128 } 129 130 public static abstract deprecated class BrowseFragment.FragmentFactory<T extends android.app.Fragment> { 131 ctor public BrowseFragment.FragmentFactory(); 132 method public abstract T createFragment(java.lang.Object); 133 } 134 135 public static abstract deprecated interface BrowseFragment.FragmentHost { 136 method public abstract void notifyDataReady(androidx.leanback.app.BrowseFragment.MainFragmentAdapter); 137 method public abstract void notifyViewCreated(androidx.leanback.app.BrowseFragment.MainFragmentAdapter); 138 method public abstract void showTitleView(boolean); 139 } 140 141 public static deprecated class BrowseFragment.ListRowFragmentFactory extends androidx.leanback.app.BrowseFragment.FragmentFactory { 142 ctor public BrowseFragment.ListRowFragmentFactory(); 143 method public androidx.leanback.app.RowsFragment createFragment(java.lang.Object); 144 } 145 146 public static deprecated class BrowseFragment.MainFragmentAdapter<T extends android.app.Fragment> { 147 ctor public BrowseFragment.MainFragmentAdapter(T); 148 method public final T getFragment(); 149 method public final androidx.leanback.app.BrowseFragment.FragmentHost getFragmentHost(); 150 method public boolean isScalingEnabled(); 151 method public boolean isScrolling(); 152 method public void onTransitionEnd(); 153 method public boolean onTransitionPrepare(); 154 method public void onTransitionStart(); 155 method public void setAlignment(int); 156 method public void setEntranceTransitionState(boolean); 157 method public void setExpand(boolean); 158 method public void setScalingEnabled(boolean); 159 } 160 161 public static abstract deprecated interface BrowseFragment.MainFragmentAdapterProvider { 162 method public abstract androidx.leanback.app.BrowseFragment.MainFragmentAdapter getMainFragmentAdapter(); 163 } 164 165 public static final deprecated class BrowseFragment.MainFragmentAdapterRegistry { 166 ctor public BrowseFragment.MainFragmentAdapterRegistry(); 167 method public android.app.Fragment createFragment(java.lang.Object); 168 method public void registerFragment(java.lang.Class, androidx.leanback.app.BrowseFragment.FragmentFactory); 169 } 170 171 public static deprecated class BrowseFragment.MainFragmentRowsAdapter<T extends android.app.Fragment> { 172 ctor public BrowseFragment.MainFragmentRowsAdapter(T); 173 method public androidx.leanback.widget.RowPresenter.ViewHolder findRowViewHolderByPosition(int); 174 method public final T getFragment(); 175 method public int getSelectedPosition(); 176 method public void setAdapter(androidx.leanback.widget.ObjectAdapter); 177 method public void setOnItemViewClickedListener(androidx.leanback.widget.OnItemViewClickedListener); 178 method public void setOnItemViewSelectedListener(androidx.leanback.widget.OnItemViewSelectedListener); 179 method public void setSelectedPosition(int, boolean, androidx.leanback.widget.Presenter.ViewHolderTask); 180 method public void setSelectedPosition(int, boolean); 181 } 182 183 public static abstract deprecated interface BrowseFragment.MainFragmentRowsAdapterProvider { 184 method public abstract androidx.leanback.app.BrowseFragment.MainFragmentRowsAdapter getMainFragmentRowsAdapter(); 185 } 186 187 public class BrowseSupportFragment extends androidx.leanback.app.BaseSupportFragment { 188 ctor public BrowseSupportFragment(); 189 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, int); 190 method public void enableMainFragmentScaling(boolean); 191 method public deprecated void enableRowScaling(boolean); 192 method public androidx.leanback.widget.ObjectAdapter getAdapter(); 193 method public int getBrandColor(); 194 method public int getHeadersState(); 195 method public androidx.leanback.app.HeadersSupportFragment getHeadersSupportFragment(); 196 method public androidx.fragment.app.Fragment getMainFragment(); 197 method public final androidx.leanback.app.BrowseSupportFragment.MainFragmentAdapterRegistry getMainFragmentRegistry(); 198 method public androidx.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 199 method public androidx.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 200 method public androidx.leanback.app.RowsSupportFragment getRowsSupportFragment(); 201 method public int getSelectedPosition(); 202 method public androidx.leanback.widget.RowPresenter.ViewHolder getSelectedRowViewHolder(); 203 method public final boolean isHeadersTransitionOnBackEnabled(); 204 method public boolean isInHeadersTransition(); 205 method public boolean isShowingHeaders(); 206 method public androidx.leanback.app.HeadersSupportFragment onCreateHeadersSupportFragment(); 207 method public void setAdapter(androidx.leanback.widget.ObjectAdapter); 208 method public void setBrandColor(int); 209 method public void setBrowseTransitionListener(androidx.leanback.app.BrowseSupportFragment.BrowseTransitionListener); 210 method public void setHeaderPresenterSelector(androidx.leanback.widget.PresenterSelector); 211 method public void setHeadersState(int); 212 method public final void setHeadersTransitionOnBackEnabled(boolean); 213 method public void setOnItemViewClickedListener(androidx.leanback.widget.OnItemViewClickedListener); 214 method public void setOnItemViewSelectedListener(androidx.leanback.widget.OnItemViewSelectedListener); 215 method public void setSelectedPosition(int); 216 method public void setSelectedPosition(int, boolean); 217 method public void setSelectedPosition(int, boolean, androidx.leanback.widget.Presenter.ViewHolderTask); 218 method public void startHeadersTransition(boolean); 219 field public static final int HEADERS_DISABLED = 3; // 0x3 220 field public static final int HEADERS_ENABLED = 1; // 0x1 221 field public static final int HEADERS_HIDDEN = 2; // 0x2 222 } 223 224 public static class BrowseSupportFragment.BrowseTransitionListener { 225 ctor public BrowseSupportFragment.BrowseTransitionListener(); 226 method public void onHeadersTransitionStart(boolean); 227 method public void onHeadersTransitionStop(boolean); 228 } 229 230 public static abstract class BrowseSupportFragment.FragmentFactory<T extends androidx.fragment.app.Fragment> { 231 ctor public BrowseSupportFragment.FragmentFactory(); 232 method public abstract T createFragment(java.lang.Object); 233 } 234 235 public static abstract interface BrowseSupportFragment.FragmentHost { 236 method public abstract void notifyDataReady(androidx.leanback.app.BrowseSupportFragment.MainFragmentAdapter); 237 method public abstract void notifyViewCreated(androidx.leanback.app.BrowseSupportFragment.MainFragmentAdapter); 238 method public abstract void showTitleView(boolean); 239 } 240 241 public static class BrowseSupportFragment.ListRowFragmentFactory extends androidx.leanback.app.BrowseSupportFragment.FragmentFactory { 242 ctor public BrowseSupportFragment.ListRowFragmentFactory(); 243 method public androidx.leanback.app.RowsSupportFragment createFragment(java.lang.Object); 244 } 245 246 public static class BrowseSupportFragment.MainFragmentAdapter<T extends androidx.fragment.app.Fragment> { 247 ctor public BrowseSupportFragment.MainFragmentAdapter(T); 248 method public final T getFragment(); 249 method public final androidx.leanback.app.BrowseSupportFragment.FragmentHost getFragmentHost(); 250 method public boolean isScalingEnabled(); 251 method public boolean isScrolling(); 252 method public void onTransitionEnd(); 253 method public boolean onTransitionPrepare(); 254 method public void onTransitionStart(); 255 method public void setAlignment(int); 256 method public void setEntranceTransitionState(boolean); 257 method public void setExpand(boolean); 258 method public void setScalingEnabled(boolean); 259 } 260 261 public static abstract interface BrowseSupportFragment.MainFragmentAdapterProvider { 262 method public abstract androidx.leanback.app.BrowseSupportFragment.MainFragmentAdapter getMainFragmentAdapter(); 263 } 264 265 public static final class BrowseSupportFragment.MainFragmentAdapterRegistry { 266 ctor public BrowseSupportFragment.MainFragmentAdapterRegistry(); 267 method public androidx.fragment.app.Fragment createFragment(java.lang.Object); 268 method public void registerFragment(java.lang.Class, androidx.leanback.app.BrowseSupportFragment.FragmentFactory); 269 } 270 271 public static class BrowseSupportFragment.MainFragmentRowsAdapter<T extends androidx.fragment.app.Fragment> { 272 ctor public BrowseSupportFragment.MainFragmentRowsAdapter(T); 273 method public androidx.leanback.widget.RowPresenter.ViewHolder findRowViewHolderByPosition(int); 274 method public final T getFragment(); 275 method public int getSelectedPosition(); 276 method public void setAdapter(androidx.leanback.widget.ObjectAdapter); 277 method public void setOnItemViewClickedListener(androidx.leanback.widget.OnItemViewClickedListener); 278 method public void setOnItemViewSelectedListener(androidx.leanback.widget.OnItemViewSelectedListener); 279 method public void setSelectedPosition(int, boolean, androidx.leanback.widget.Presenter.ViewHolderTask); 280 method public void setSelectedPosition(int, boolean); 281 } 282 283 public static abstract interface BrowseSupportFragment.MainFragmentRowsAdapterProvider { 284 method public abstract androidx.leanback.app.BrowseSupportFragment.MainFragmentRowsAdapter getMainFragmentRowsAdapter(); 285 } 286 287 public deprecated class DetailsFragment extends androidx.leanback.app.BaseFragment { 288 ctor public DetailsFragment(); 289 method public androidx.leanback.widget.ObjectAdapter getAdapter(); 290 method public androidx.leanback.widget.BaseOnItemViewClickedListener getOnItemViewClickedListener(); 291 method public androidx.leanback.widget.DetailsParallax getParallax(); 292 method public androidx.leanback.app.RowsFragment getRowsFragment(); 293 method protected deprecated android.view.View inflateTitle(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 294 method protected void onSetDetailsOverviewRowStatus(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter, androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, int, int); 295 method protected void onSetRowStatus(androidx.leanback.widget.RowPresenter, androidx.leanback.widget.RowPresenter.ViewHolder, int, int, int); 296 method public void setAdapter(androidx.leanback.widget.ObjectAdapter); 297 method public void setOnItemViewClickedListener(androidx.leanback.widget.BaseOnItemViewClickedListener); 298 method public void setOnItemViewSelectedListener(androidx.leanback.widget.BaseOnItemViewSelectedListener); 299 method public void setSelectedPosition(int); 300 method public void setSelectedPosition(int, boolean); 301 method protected void setupDetailsOverviewRowPresenter(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter); 302 method protected void setupPresenter(androidx.leanback.widget.Presenter); 303 } 304 305 public deprecated class DetailsFragmentBackgroundController { 306 ctor public DetailsFragmentBackgroundController(androidx.leanback.app.DetailsFragment); 307 method public boolean canNavigateToVideoFragment(); 308 method public void enableParallax(); 309 method public void enableParallax(android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, androidx.leanback.widget.ParallaxTarget.PropertyValuesHolderTarget); 310 method public final android.app.Fragment findOrCreateVideoFragment(); 311 method public final android.graphics.drawable.Drawable getBottomDrawable(); 312 method public final android.graphics.Bitmap getCoverBitmap(); 313 method public final android.graphics.drawable.Drawable getCoverDrawable(); 314 method public final int getParallaxDrawableMaxOffset(); 315 method public final androidx.leanback.media.PlaybackGlue getPlaybackGlue(); 316 method public final int getSolidColor(); 317 method public androidx.leanback.media.PlaybackGlueHost onCreateGlueHost(); 318 method public android.app.Fragment onCreateVideoFragment(); 319 method public final void setCoverBitmap(android.graphics.Bitmap); 320 method public final void setParallaxDrawableMaxOffset(int); 321 method public final void setSolidColor(int); 322 method public void setupVideoPlayback(androidx.leanback.media.PlaybackGlue); 323 method public final void switchToRows(); 324 method public final void switchToVideo(); 325 } 326 327 public class DetailsSupportFragment extends androidx.leanback.app.BaseSupportFragment { 328 ctor public DetailsSupportFragment(); 329 method public androidx.leanback.widget.ObjectAdapter getAdapter(); 330 method public androidx.leanback.widget.BaseOnItemViewClickedListener getOnItemViewClickedListener(); 331 method public androidx.leanback.widget.DetailsParallax getParallax(); 332 method public androidx.leanback.app.RowsSupportFragment getRowsSupportFragment(); 333 method protected deprecated android.view.View inflateTitle(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 334 method protected void onSetDetailsOverviewRowStatus(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter, androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, int, int); 335 method protected void onSetRowStatus(androidx.leanback.widget.RowPresenter, androidx.leanback.widget.RowPresenter.ViewHolder, int, int, int); 336 method public void setAdapter(androidx.leanback.widget.ObjectAdapter); 337 method public void setOnItemViewClickedListener(androidx.leanback.widget.BaseOnItemViewClickedListener); 338 method public void setOnItemViewSelectedListener(androidx.leanback.widget.BaseOnItemViewSelectedListener); 339 method public void setSelectedPosition(int); 340 method public void setSelectedPosition(int, boolean); 341 method protected void setupDetailsOverviewRowPresenter(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter); 342 method protected void setupPresenter(androidx.leanback.widget.Presenter); 343 } 344 345 public class DetailsSupportFragmentBackgroundController { 346 ctor public DetailsSupportFragmentBackgroundController(androidx.leanback.app.DetailsSupportFragment); 347 method public boolean canNavigateToVideoSupportFragment(); 348 method public void enableParallax(); 349 method public void enableParallax(android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, androidx.leanback.widget.ParallaxTarget.PropertyValuesHolderTarget); 350 method public final androidx.fragment.app.Fragment findOrCreateVideoSupportFragment(); 351 method public final android.graphics.drawable.Drawable getBottomDrawable(); 352 method public final android.graphics.Bitmap getCoverBitmap(); 353 method public final android.graphics.drawable.Drawable getCoverDrawable(); 354 method public final int getParallaxDrawableMaxOffset(); 355 method public final androidx.leanback.media.PlaybackGlue getPlaybackGlue(); 356 method public final int getSolidColor(); 357 method public androidx.leanback.media.PlaybackGlueHost onCreateGlueHost(); 358 method public androidx.fragment.app.Fragment onCreateVideoSupportFragment(); 359 method public final void setCoverBitmap(android.graphics.Bitmap); 360 method public final void setParallaxDrawableMaxOffset(int); 361 method public final void setSolidColor(int); 362 method public void setupVideoPlayback(androidx.leanback.media.PlaybackGlue); 363 method public final void switchToRows(); 364 method public final void switchToVideo(); 365 } 366 367 public deprecated class ErrorFragment extends androidx.leanback.app.BrandedFragment { 368 ctor public ErrorFragment(); 369 method public android.graphics.drawable.Drawable getBackgroundDrawable(); 370 method public android.view.View.OnClickListener getButtonClickListener(); 371 method public java.lang.String getButtonText(); 372 method public android.graphics.drawable.Drawable getImageDrawable(); 373 method public java.lang.CharSequence getMessage(); 374 method public boolean isBackgroundTranslucent(); 375 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 376 method public void setButtonClickListener(android.view.View.OnClickListener); 377 method public void setButtonText(java.lang.String); 378 method public void setDefaultBackground(boolean); 379 method public void setImageDrawable(android.graphics.drawable.Drawable); 380 method public void setMessage(java.lang.CharSequence); 381 } 382 383 public class ErrorSupportFragment extends androidx.leanback.app.BrandedSupportFragment { 384 ctor public ErrorSupportFragment(); 385 method public android.graphics.drawable.Drawable getBackgroundDrawable(); 386 method public android.view.View.OnClickListener getButtonClickListener(); 387 method public java.lang.String getButtonText(); 388 method public android.graphics.drawable.Drawable getImageDrawable(); 389 method public java.lang.CharSequence getMessage(); 390 method public boolean isBackgroundTranslucent(); 391 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 392 method public void setButtonClickListener(android.view.View.OnClickListener); 393 method public void setButtonText(java.lang.String); 394 method public void setDefaultBackground(boolean); 395 method public void setImageDrawable(android.graphics.drawable.Drawable); 396 method public void setMessage(java.lang.CharSequence); 397 } 398 399 public deprecated class GuidedStepFragment extends android.app.Fragment { 400 ctor public GuidedStepFragment(); 401 method public static int add(android.app.FragmentManager, androidx.leanback.app.GuidedStepFragment); 402 method public static int add(android.app.FragmentManager, androidx.leanback.app.GuidedStepFragment, int); 403 method public static int addAsRoot(android.app.Activity, androidx.leanback.app.GuidedStepFragment, int); 404 method public void collapseAction(boolean); 405 method public void collapseSubActions(); 406 method public void expandAction(androidx.leanback.widget.GuidedAction, boolean); 407 method public void expandSubActions(androidx.leanback.widget.GuidedAction); 408 method public androidx.leanback.widget.GuidedAction findActionById(long); 409 method public int findActionPositionById(long); 410 method public androidx.leanback.widget.GuidedAction findButtonActionById(long); 411 method public int findButtonActionPositionById(long); 412 method public void finishGuidedStepFragments(); 413 method public android.view.View getActionItemView(int); 414 method public java.util.List<androidx.leanback.widget.GuidedAction> getActions(); 415 method public android.view.View getButtonActionItemView(int); 416 method public java.util.List<androidx.leanback.widget.GuidedAction> getButtonActions(); 417 method public static androidx.leanback.app.GuidedStepFragment getCurrentGuidedStepFragment(android.app.FragmentManager); 418 method public androidx.leanback.widget.GuidanceStylist getGuidanceStylist(); 419 method public androidx.leanback.widget.GuidedActionsStylist getGuidedActionsStylist(); 420 method public androidx.leanback.widget.GuidedActionsStylist getGuidedButtonActionsStylist(); 421 method public int getSelectedActionPosition(); 422 method public int getSelectedButtonActionPosition(); 423 method public int getUiStyle(); 424 method public boolean isExpanded(); 425 method public boolean isFocusOutEndAllowed(); 426 method public boolean isFocusOutStartAllowed(); 427 method public boolean isSubActionsExpanded(); 428 method public void notifyActionChanged(int); 429 method public void notifyButtonActionChanged(int); 430 method protected void onAddSharedElementTransition(android.app.FragmentTransaction, androidx.leanback.app.GuidedStepFragment); 431 method public void onCreateActions(java.util.List<androidx.leanback.widget.GuidedAction>, android.os.Bundle); 432 method public androidx.leanback.widget.GuidedActionsStylist onCreateActionsStylist(); 433 method public android.view.View onCreateBackgroundView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 434 method public void onCreateButtonActions(java.util.List<androidx.leanback.widget.GuidedAction>, android.os.Bundle); 435 method public androidx.leanback.widget.GuidedActionsStylist onCreateButtonActionsStylist(); 436 method public androidx.leanback.widget.GuidanceStylist.Guidance onCreateGuidance(android.os.Bundle); 437 method public androidx.leanback.widget.GuidanceStylist onCreateGuidanceStylist(); 438 method public void onGuidedActionClicked(androidx.leanback.widget.GuidedAction); 439 method public void onGuidedActionEditCanceled(androidx.leanback.widget.GuidedAction); 440 method public deprecated void onGuidedActionEdited(androidx.leanback.widget.GuidedAction); 441 method public long onGuidedActionEditedAndProceed(androidx.leanback.widget.GuidedAction); 442 method public void onGuidedActionFocused(androidx.leanback.widget.GuidedAction); 443 method protected void onProvideFragmentTransitions(); 444 method public int onProvideTheme(); 445 method public boolean onSubGuidedActionClicked(androidx.leanback.widget.GuidedAction); 446 method public void openInEditMode(androidx.leanback.widget.GuidedAction); 447 method public void popBackStackToGuidedStepFragment(java.lang.Class, int); 448 method public void setActions(java.util.List<androidx.leanback.widget.GuidedAction>); 449 method public void setActionsDiffCallback(androidx.leanback.widget.DiffCallback<androidx.leanback.widget.GuidedAction>); 450 method public void setButtonActions(java.util.List<androidx.leanback.widget.GuidedAction>); 451 method public void setSelectedActionPosition(int); 452 method public void setSelectedButtonActionPosition(int); 453 method public void setUiStyle(int); 454 field public static final java.lang.String EXTRA_UI_STYLE = "uiStyle"; 455 field public static final int UI_STYLE_ACTIVITY_ROOT = 2; // 0x2 456 field public static final deprecated int UI_STYLE_DEFAULT = 0; // 0x0 457 field public static final int UI_STYLE_ENTRANCE = 1; // 0x1 458 field public static final int UI_STYLE_REPLACE = 0; // 0x0 459 } 460 461 public class GuidedStepSupportFragment extends androidx.fragment.app.Fragment { 462 ctor public GuidedStepSupportFragment(); 463 method public static int add(androidx.fragment.app.FragmentManager, androidx.leanback.app.GuidedStepSupportFragment); 464 method public static int add(androidx.fragment.app.FragmentManager, androidx.leanback.app.GuidedStepSupportFragment, int); 465 method public static int addAsRoot(androidx.fragment.app.FragmentActivity, androidx.leanback.app.GuidedStepSupportFragment, int); 466 method public void collapseAction(boolean); 467 method public void collapseSubActions(); 468 method public void expandAction(androidx.leanback.widget.GuidedAction, boolean); 469 method public void expandSubActions(androidx.leanback.widget.GuidedAction); 470 method public androidx.leanback.widget.GuidedAction findActionById(long); 471 method public int findActionPositionById(long); 472 method public androidx.leanback.widget.GuidedAction findButtonActionById(long); 473 method public int findButtonActionPositionById(long); 474 method public void finishGuidedStepSupportFragments(); 475 method public android.view.View getActionItemView(int); 476 method public java.util.List<androidx.leanback.widget.GuidedAction> getActions(); 477 method public android.view.View getButtonActionItemView(int); 478 method public java.util.List<androidx.leanback.widget.GuidedAction> getButtonActions(); 479 method public static androidx.leanback.app.GuidedStepSupportFragment getCurrentGuidedStepSupportFragment(androidx.fragment.app.FragmentManager); 480 method public androidx.leanback.widget.GuidanceStylist getGuidanceStylist(); 481 method public androidx.leanback.widget.GuidedActionsStylist getGuidedActionsStylist(); 482 method public androidx.leanback.widget.GuidedActionsStylist getGuidedButtonActionsStylist(); 483 method public int getSelectedActionPosition(); 484 method public int getSelectedButtonActionPosition(); 485 method public int getUiStyle(); 486 method public boolean isExpanded(); 487 method public boolean isFocusOutEndAllowed(); 488 method public boolean isFocusOutStartAllowed(); 489 method public boolean isSubActionsExpanded(); 490 method public void notifyActionChanged(int); 491 method public void notifyButtonActionChanged(int); 492 method protected void onAddSharedElementTransition(androidx.fragment.app.FragmentTransaction, androidx.leanback.app.GuidedStepSupportFragment); 493 method public void onCreateActions(java.util.List<androidx.leanback.widget.GuidedAction>, android.os.Bundle); 494 method public androidx.leanback.widget.GuidedActionsStylist onCreateActionsStylist(); 495 method public android.view.View onCreateBackgroundView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 496 method public void onCreateButtonActions(java.util.List<androidx.leanback.widget.GuidedAction>, android.os.Bundle); 497 method public androidx.leanback.widget.GuidedActionsStylist onCreateButtonActionsStylist(); 498 method public androidx.leanback.widget.GuidanceStylist.Guidance onCreateGuidance(android.os.Bundle); 499 method public androidx.leanback.widget.GuidanceStylist onCreateGuidanceStylist(); 500 method public void onGuidedActionClicked(androidx.leanback.widget.GuidedAction); 501 method public void onGuidedActionEditCanceled(androidx.leanback.widget.GuidedAction); 502 method public deprecated void onGuidedActionEdited(androidx.leanback.widget.GuidedAction); 503 method public long onGuidedActionEditedAndProceed(androidx.leanback.widget.GuidedAction); 504 method public void onGuidedActionFocused(androidx.leanback.widget.GuidedAction); 505 method protected void onProvideFragmentTransitions(); 506 method public int onProvideTheme(); 507 method public boolean onSubGuidedActionClicked(androidx.leanback.widget.GuidedAction); 508 method public void openInEditMode(androidx.leanback.widget.GuidedAction); 509 method public void popBackStackToGuidedStepSupportFragment(java.lang.Class, int); 510 method public void setActions(java.util.List<androidx.leanback.widget.GuidedAction>); 511 method public void setActionsDiffCallback(androidx.leanback.widget.DiffCallback<androidx.leanback.widget.GuidedAction>); 512 method public void setButtonActions(java.util.List<androidx.leanback.widget.GuidedAction>); 513 method public void setSelectedActionPosition(int); 514 method public void setSelectedButtonActionPosition(int); 515 method public void setUiStyle(int); 516 field public static final java.lang.String EXTRA_UI_STYLE = "uiStyle"; 517 field public static final int UI_STYLE_ACTIVITY_ROOT = 2; // 0x2 518 field public static final deprecated int UI_STYLE_DEFAULT = 0; // 0x0 519 field public static final int UI_STYLE_ENTRANCE = 1; // 0x1 520 field public static final int UI_STYLE_REPLACE = 0; // 0x0 521 } 522 523 public deprecated class HeadersFragment extends android.app.Fragment { 524 ctor public HeadersFragment(); 525 method public boolean isScrolling(); 526 method public void onTransitionEnd(); 527 method public void onTransitionStart(); 528 method public void setOnHeaderClickedListener(androidx.leanback.app.HeadersFragment.OnHeaderClickedListener); 529 method public void setOnHeaderViewSelectedListener(androidx.leanback.app.HeadersFragment.OnHeaderViewSelectedListener); 530 } 531 532 public static abstract deprecated interface HeadersFragment.OnHeaderClickedListener { 533 method public abstract void onHeaderClicked(androidx.leanback.widget.RowHeaderPresenter.ViewHolder, androidx.leanback.widget.Row); 534 } 535 536 public static abstract deprecated interface HeadersFragment.OnHeaderViewSelectedListener { 537 method public abstract void onHeaderSelected(androidx.leanback.widget.RowHeaderPresenter.ViewHolder, androidx.leanback.widget.Row); 538 } 539 540 public class HeadersSupportFragment extends androidx.fragment.app.Fragment { 541 ctor public HeadersSupportFragment(); 542 method public boolean isScrolling(); 543 method public void onTransitionEnd(); 544 method public void onTransitionStart(); 545 method public void setOnHeaderClickedListener(androidx.leanback.app.HeadersSupportFragment.OnHeaderClickedListener); 546 method public void setOnHeaderViewSelectedListener(androidx.leanback.app.HeadersSupportFragment.OnHeaderViewSelectedListener); 547 } 548 549 public static abstract interface HeadersSupportFragment.OnHeaderClickedListener { 550 method public abstract void onHeaderClicked(androidx.leanback.widget.RowHeaderPresenter.ViewHolder, androidx.leanback.widget.Row); 551 } 552 553 public static abstract interface HeadersSupportFragment.OnHeaderViewSelectedListener { 554 method public abstract void onHeaderSelected(androidx.leanback.widget.RowHeaderPresenter.ViewHolder, androidx.leanback.widget.Row); 555 } 556 557 public abstract deprecated class OnboardingFragment extends android.app.Fragment { 558 ctor public OnboardingFragment(); 559 method public final int getArrowBackgroundColor(); 560 method public final int getArrowColor(); 561 method protected final int getCurrentPageIndex(); 562 method public final int getDescriptionViewTextColor(); 563 method public final int getDotBackgroundColor(); 564 method public final int getIconResourceId(); 565 method public final int getLogoResourceId(); 566 method protected abstract int getPageCount(); 567 method protected abstract java.lang.CharSequence getPageDescription(int); 568 method protected abstract java.lang.CharSequence getPageTitle(int); 569 method public final java.lang.CharSequence getStartButtonText(); 570 method public final int getTitleViewTextColor(); 571 method protected final boolean isLogoAnimationFinished(); 572 method protected void moveToNextPage(); 573 method protected void moveToPreviousPage(); 574 method protected abstract android.view.View onCreateBackgroundView(android.view.LayoutInflater, android.view.ViewGroup); 575 method protected abstract android.view.View onCreateContentView(android.view.LayoutInflater, android.view.ViewGroup); 576 method protected android.animation.Animator onCreateDescriptionAnimator(); 577 method protected android.animation.Animator onCreateEnterAnimation(); 578 method protected abstract android.view.View onCreateForegroundView(android.view.LayoutInflater, android.view.ViewGroup); 579 method protected android.animation.Animator onCreateLogoAnimation(); 580 method protected android.animation.Animator onCreateTitleAnimator(); 581 method protected void onFinishFragment(); 582 method protected void onLogoAnimationFinished(); 583 method protected void onPageChanged(int, int); 584 method public int onProvideTheme(); 585 method public void setArrowBackgroundColor(int); 586 method public void setArrowColor(int); 587 method public void setDescriptionViewTextColor(int); 588 method public void setDotBackgroundColor(int); 589 method public final void setIconResouceId(int); 590 method public final void setLogoResourceId(int); 591 method public void setStartButtonText(java.lang.CharSequence); 592 method public void setTitleViewTextColor(int); 593 method protected final void startEnterAnimation(boolean); 594 } 595 596 public abstract class OnboardingSupportFragment extends androidx.fragment.app.Fragment { 597 ctor public OnboardingSupportFragment(); 598 method public final int getArrowBackgroundColor(); 599 method public final int getArrowColor(); 600 method protected final int getCurrentPageIndex(); 601 method public final int getDescriptionViewTextColor(); 602 method public final int getDotBackgroundColor(); 603 method public final int getIconResourceId(); 604 method public final int getLogoResourceId(); 605 method protected abstract int getPageCount(); 606 method protected abstract java.lang.CharSequence getPageDescription(int); 607 method protected abstract java.lang.CharSequence getPageTitle(int); 608 method public final java.lang.CharSequence getStartButtonText(); 609 method public final int getTitleViewTextColor(); 610 method protected final boolean isLogoAnimationFinished(); 611 method protected void moveToNextPage(); 612 method protected void moveToPreviousPage(); 613 method protected abstract android.view.View onCreateBackgroundView(android.view.LayoutInflater, android.view.ViewGroup); 614 method protected abstract android.view.View onCreateContentView(android.view.LayoutInflater, android.view.ViewGroup); 615 method protected android.animation.Animator onCreateDescriptionAnimator(); 616 method protected android.animation.Animator onCreateEnterAnimation(); 617 method protected abstract android.view.View onCreateForegroundView(android.view.LayoutInflater, android.view.ViewGroup); 618 method protected android.animation.Animator onCreateLogoAnimation(); 619 method protected android.animation.Animator onCreateTitleAnimator(); 620 method protected void onFinishFragment(); 621 method protected void onLogoAnimationFinished(); 622 method protected void onPageChanged(int, int); 623 method public int onProvideTheme(); 624 method public void setArrowBackgroundColor(int); 625 method public void setArrowColor(int); 626 method public void setDescriptionViewTextColor(int); 627 method public void setDotBackgroundColor(int); 628 method public final void setIconResouceId(int); 629 method public final void setLogoResourceId(int); 630 method public void setStartButtonText(java.lang.CharSequence); 631 method public void setTitleViewTextColor(int); 632 method protected final void startEnterAnimation(boolean); 633 } 634 635 public deprecated class PlaybackFragment extends android.app.Fragment { 636 ctor public PlaybackFragment(); 637 method public deprecated void fadeOut(); 638 method public androidx.leanback.widget.ObjectAdapter getAdapter(); 639 method public int getBackgroundType(); 640 method public androidx.leanback.app.ProgressBarManager getProgressBarManager(); 641 method public void hideControlsOverlay(boolean); 642 method public boolean isControlsOverlayAutoHideEnabled(); 643 method public boolean isControlsOverlayVisible(); 644 method public deprecated boolean isFadingEnabled(); 645 method public void notifyPlaybackRowChanged(); 646 method protected void onBufferingStateChanged(boolean); 647 method protected void onError(int, java.lang.CharSequence); 648 method protected void onVideoSizeChanged(int, int); 649 method public void setAdapter(androidx.leanback.widget.ObjectAdapter); 650 method public void setBackgroundType(int); 651 method public void setControlsOverlayAutoHideEnabled(boolean); 652 method public deprecated void setFadingEnabled(boolean); 653 method public void setHostCallback(androidx.leanback.media.PlaybackGlueHost.HostCallback); 654 method public void setOnItemViewClickedListener(androidx.leanback.widget.BaseOnItemViewClickedListener); 655 method public void setOnItemViewSelectedListener(androidx.leanback.widget.BaseOnItemViewSelectedListener); 656 method public final void setOnKeyInterceptListener(android.view.View.OnKeyListener); 657 method public void setOnPlaybackItemViewClickedListener(androidx.leanback.widget.BaseOnItemViewClickedListener); 658 method public void setPlaybackRow(androidx.leanback.widget.Row); 659 method public void setPlaybackRowPresenter(androidx.leanback.widget.PlaybackRowPresenter); 660 method public void setPlaybackSeekUiClient(androidx.leanback.widget.PlaybackSeekUi.Client); 661 method public void setSelectedPosition(int); 662 method public void setSelectedPosition(int, boolean); 663 method public void showControlsOverlay(boolean); 664 method public void tickle(); 665 field public static final int BG_DARK = 1; // 0x1 666 field public static final int BG_LIGHT = 2; // 0x2 667 field public static final int BG_NONE = 0; // 0x0 668 } 669 670 public deprecated class PlaybackFragmentGlueHost extends androidx.leanback.media.PlaybackGlueHost implements androidx.leanback.widget.PlaybackSeekUi { 671 ctor public PlaybackFragmentGlueHost(androidx.leanback.app.PlaybackFragment); 672 method public void fadeOut(); 673 method public void setPlaybackSeekUiClient(androidx.leanback.widget.PlaybackSeekUi.Client); 674 } 675 676 public class PlaybackSupportFragment extends androidx.fragment.app.Fragment { 677 ctor public PlaybackSupportFragment(); 678 method public deprecated void fadeOut(); 679 method public androidx.leanback.widget.ObjectAdapter getAdapter(); 680 method public int getBackgroundType(); 681 method public androidx.leanback.app.ProgressBarManager getProgressBarManager(); 682 method public void hideControlsOverlay(boolean); 683 method public boolean isControlsOverlayAutoHideEnabled(); 684 method public boolean isControlsOverlayVisible(); 685 method public deprecated boolean isFadingEnabled(); 686 method public void notifyPlaybackRowChanged(); 687 method protected void onBufferingStateChanged(boolean); 688 method protected void onError(int, java.lang.CharSequence); 689 method protected void onVideoSizeChanged(int, int); 690 method public void setAdapter(androidx.leanback.widget.ObjectAdapter); 691 method public void setBackgroundType(int); 692 method public void setControlsOverlayAutoHideEnabled(boolean); 693 method public deprecated void setFadingEnabled(boolean); 694 method public void setHostCallback(androidx.leanback.media.PlaybackGlueHost.HostCallback); 695 method public void setOnItemViewClickedListener(androidx.leanback.widget.BaseOnItemViewClickedListener); 696 method public void setOnItemViewSelectedListener(androidx.leanback.widget.BaseOnItemViewSelectedListener); 697 method public final void setOnKeyInterceptListener(android.view.View.OnKeyListener); 698 method public void setOnPlaybackItemViewClickedListener(androidx.leanback.widget.BaseOnItemViewClickedListener); 699 method public void setPlaybackRow(androidx.leanback.widget.Row); 700 method public void setPlaybackRowPresenter(androidx.leanback.widget.PlaybackRowPresenter); 701 method public void setPlaybackSeekUiClient(androidx.leanback.widget.PlaybackSeekUi.Client); 702 method public void setSelectedPosition(int); 703 method public void setSelectedPosition(int, boolean); 704 method public void showControlsOverlay(boolean); 705 method public void tickle(); 706 field public static final int BG_DARK = 1; // 0x1 707 field public static final int BG_LIGHT = 2; // 0x2 708 field public static final int BG_NONE = 0; // 0x0 709 } 710 711 public class PlaybackSupportFragmentGlueHost extends androidx.leanback.media.PlaybackGlueHost implements androidx.leanback.widget.PlaybackSeekUi { 712 ctor public PlaybackSupportFragmentGlueHost(androidx.leanback.app.PlaybackSupportFragment); 713 method public void fadeOut(); 714 method public void setPlaybackSeekUiClient(androidx.leanback.widget.PlaybackSeekUi.Client); 715 } 716 717 public final class ProgressBarManager { 718 ctor public ProgressBarManager(); 719 method public void disableProgressBar(); 720 method public void enableProgressBar(); 721 method public long getInitialDelay(); 722 method public void hide(); 723 method public void setInitialDelay(long); 724 method public void setProgressBarView(android.view.View); 725 method public void setRootView(android.view.ViewGroup); 726 method public void show(); 727 } 728 729 public deprecated class RowsFragment extends android.app.Fragment implements androidx.leanback.app.BrowseFragment.MainFragmentAdapterProvider androidx.leanback.app.BrowseFragment.MainFragmentRowsAdapterProvider { 730 ctor public RowsFragment(); 731 method public deprecated void enableRowScaling(boolean); 732 method protected androidx.leanback.widget.VerticalGridView findGridViewFromRoot(android.view.View); 733 method public androidx.leanback.widget.RowPresenter.ViewHolder findRowViewHolderByPosition(int); 734 method public androidx.leanback.app.BrowseFragment.MainFragmentAdapter getMainFragmentAdapter(); 735 method public androidx.leanback.app.BrowseFragment.MainFragmentRowsAdapter getMainFragmentRowsAdapter(); 736 method public androidx.leanback.widget.BaseOnItemViewClickedListener getOnItemViewClickedListener(); 737 method public androidx.leanback.widget.BaseOnItemViewSelectedListener getOnItemViewSelectedListener(); 738 method public androidx.leanback.widget.RowPresenter.ViewHolder getRowViewHolder(int); 739 method public boolean isScrolling(); 740 method public void onTransitionEnd(); 741 method public boolean onTransitionPrepare(); 742 method public void setAlignment(int); 743 method public void setEntranceTransitionState(boolean); 744 method public void setExpand(boolean); 745 method public void setOnItemViewClickedListener(androidx.leanback.widget.BaseOnItemViewClickedListener); 746 method public void setOnItemViewSelectedListener(androidx.leanback.widget.BaseOnItemViewSelectedListener); 747 method public void setSelectedPosition(int, boolean, androidx.leanback.widget.Presenter.ViewHolderTask); 748 } 749 750 public static class RowsFragment.MainFragmentAdapter extends androidx.leanback.app.BrowseFragment.MainFragmentAdapter { 751 ctor public RowsFragment.MainFragmentAdapter(androidx.leanback.app.RowsFragment); 752 } 753 754 public static deprecated class RowsFragment.MainFragmentRowsAdapter extends androidx.leanback.app.BrowseFragment.MainFragmentRowsAdapter { 755 ctor public RowsFragment.MainFragmentRowsAdapter(androidx.leanback.app.RowsFragment); 756 } 757 758 public class RowsSupportFragment extends androidx.fragment.app.Fragment implements androidx.leanback.app.BrowseSupportFragment.MainFragmentAdapterProvider androidx.leanback.app.BrowseSupportFragment.MainFragmentRowsAdapterProvider { 759 ctor public RowsSupportFragment(); 760 method public deprecated void enableRowScaling(boolean); 761 method protected androidx.leanback.widget.VerticalGridView findGridViewFromRoot(android.view.View); 762 method public androidx.leanback.widget.RowPresenter.ViewHolder findRowViewHolderByPosition(int); 763 method public androidx.leanback.app.BrowseSupportFragment.MainFragmentAdapter getMainFragmentAdapter(); 764 method public androidx.leanback.app.BrowseSupportFragment.MainFragmentRowsAdapter getMainFragmentRowsAdapter(); 765 method public androidx.leanback.widget.BaseOnItemViewClickedListener getOnItemViewClickedListener(); 766 method public androidx.leanback.widget.BaseOnItemViewSelectedListener getOnItemViewSelectedListener(); 767 method public androidx.leanback.widget.RowPresenter.ViewHolder getRowViewHolder(int); 768 method public boolean isScrolling(); 769 method public void onTransitionEnd(); 770 method public boolean onTransitionPrepare(); 771 method public void setAlignment(int); 772 method public void setEntranceTransitionState(boolean); 773 method public void setExpand(boolean); 774 method public void setOnItemViewClickedListener(androidx.leanback.widget.BaseOnItemViewClickedListener); 775 method public void setOnItemViewSelectedListener(androidx.leanback.widget.BaseOnItemViewSelectedListener); 776 method public void setSelectedPosition(int, boolean, androidx.leanback.widget.Presenter.ViewHolderTask); 777 } 778 779 public static class RowsSupportFragment.MainFragmentAdapter extends androidx.leanback.app.BrowseSupportFragment.MainFragmentAdapter { 780 ctor public RowsSupportFragment.MainFragmentAdapter(androidx.leanback.app.RowsSupportFragment); 781 } 782 783 public static class RowsSupportFragment.MainFragmentRowsAdapter extends androidx.leanback.app.BrowseSupportFragment.MainFragmentRowsAdapter { 784 ctor public RowsSupportFragment.MainFragmentRowsAdapter(androidx.leanback.app.RowsSupportFragment); 785 } 786 787 public deprecated class SearchFragment extends android.app.Fragment { 788 ctor public SearchFragment(); 789 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String); 790 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, java.lang.String); 791 method public void displayCompletions(java.util.List<java.lang.String>); 792 method public void displayCompletions(android.view.inputmethod.CompletionInfo[]); 793 method public android.graphics.drawable.Drawable getBadgeDrawable(); 794 method public android.content.Intent getRecognizerIntent(); 795 method public androidx.leanback.app.RowsFragment getRowsFragment(); 796 method public java.lang.String getTitle(); 797 method public static androidx.leanback.app.SearchFragment newInstance(java.lang.String); 798 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 799 method public void setOnItemViewClickedListener(androidx.leanback.widget.OnItemViewClickedListener); 800 method public void setOnItemViewSelectedListener(androidx.leanback.widget.OnItemViewSelectedListener); 801 method public void setSearchAffordanceColors(androidx.leanback.widget.SearchOrbView.Colors); 802 method public void setSearchAffordanceColorsInListening(androidx.leanback.widget.SearchOrbView.Colors); 803 method public void setSearchQuery(java.lang.String, boolean); 804 method public void setSearchQuery(android.content.Intent, boolean); 805 method public void setSearchResultProvider(androidx.leanback.app.SearchFragment.SearchResultProvider); 806 method public deprecated void setSpeechRecognitionCallback(androidx.leanback.widget.SpeechRecognitionCallback); 807 method public void setTitle(java.lang.String); 808 method public void startRecognition(); 809 } 810 811 public static abstract interface SearchFragment.SearchResultProvider { 812 method public abstract androidx.leanback.widget.ObjectAdapter getResultsAdapter(); 813 method public abstract boolean onQueryTextChange(java.lang.String); 814 method public abstract boolean onQueryTextSubmit(java.lang.String); 815 } 816 817 public class SearchSupportFragment extends androidx.fragment.app.Fragment { 818 ctor public SearchSupportFragment(); 819 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String); 820 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, java.lang.String); 821 method public void displayCompletions(java.util.List<java.lang.String>); 822 method public void displayCompletions(android.view.inputmethod.CompletionInfo[]); 823 method public android.graphics.drawable.Drawable getBadgeDrawable(); 824 method public android.content.Intent getRecognizerIntent(); 825 method public androidx.leanback.app.RowsSupportFragment getRowsSupportFragment(); 826 method public java.lang.String getTitle(); 827 method public static androidx.leanback.app.SearchSupportFragment newInstance(java.lang.String); 828 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 829 method public void setOnItemViewClickedListener(androidx.leanback.widget.OnItemViewClickedListener); 830 method public void setOnItemViewSelectedListener(androidx.leanback.widget.OnItemViewSelectedListener); 831 method public void setSearchAffordanceColors(androidx.leanback.widget.SearchOrbView.Colors); 832 method public void setSearchAffordanceColorsInListening(androidx.leanback.widget.SearchOrbView.Colors); 833 method public void setSearchQuery(java.lang.String, boolean); 834 method public void setSearchQuery(android.content.Intent, boolean); 835 method public void setSearchResultProvider(androidx.leanback.app.SearchSupportFragment.SearchResultProvider); 836 method public deprecated void setSpeechRecognitionCallback(androidx.leanback.widget.SpeechRecognitionCallback); 837 method public void setTitle(java.lang.String); 838 method public void startRecognition(); 839 } 840 841 public static abstract interface SearchSupportFragment.SearchResultProvider { 842 method public abstract androidx.leanback.widget.ObjectAdapter getResultsAdapter(); 843 method public abstract boolean onQueryTextChange(java.lang.String); 844 method public abstract boolean onQueryTextSubmit(java.lang.String); 845 } 846 847 public deprecated class VerticalGridFragment extends androidx.leanback.app.BaseFragment { 848 ctor public VerticalGridFragment(); 849 method public androidx.leanback.widget.ObjectAdapter getAdapter(); 850 method public androidx.leanback.widget.VerticalGridPresenter getGridPresenter(); 851 method public androidx.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 852 method public void setAdapter(androidx.leanback.widget.ObjectAdapter); 853 method public void setGridPresenter(androidx.leanback.widget.VerticalGridPresenter); 854 method public void setOnItemViewClickedListener(androidx.leanback.widget.OnItemViewClickedListener); 855 method public void setOnItemViewSelectedListener(androidx.leanback.widget.OnItemViewSelectedListener); 856 method public void setSelectedPosition(int); 857 } 858 859 public class VerticalGridSupportFragment extends androidx.leanback.app.BaseSupportFragment { 860 ctor public VerticalGridSupportFragment(); 861 method public androidx.leanback.widget.ObjectAdapter getAdapter(); 862 method public androidx.leanback.widget.VerticalGridPresenter getGridPresenter(); 863 method public androidx.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 864 method public void setAdapter(androidx.leanback.widget.ObjectAdapter); 865 method public void setGridPresenter(androidx.leanback.widget.VerticalGridPresenter); 866 method public void setOnItemViewClickedListener(androidx.leanback.widget.OnItemViewClickedListener); 867 method public void setOnItemViewSelectedListener(androidx.leanback.widget.OnItemViewSelectedListener); 868 method public void setSelectedPosition(int); 869 } 870 871 public deprecated class VideoFragment extends androidx.leanback.app.PlaybackFragment { 872 ctor public VideoFragment(); 873 method public android.view.SurfaceView getSurfaceView(); 874 method public void setSurfaceHolderCallback(android.view.SurfaceHolder.Callback); 875 } 876 877 public deprecated class VideoFragmentGlueHost extends androidx.leanback.app.PlaybackFragmentGlueHost implements androidx.leanback.media.SurfaceHolderGlueHost { 878 ctor public VideoFragmentGlueHost(androidx.leanback.app.VideoFragment); 879 method public void setSurfaceHolderCallback(android.view.SurfaceHolder.Callback); 880 } 881 882 public class VideoSupportFragment extends androidx.leanback.app.PlaybackSupportFragment { 883 ctor public VideoSupportFragment(); 884 method public android.view.SurfaceView getSurfaceView(); 885 method public void setSurfaceHolderCallback(android.view.SurfaceHolder.Callback); 886 } 887 888 public class VideoSupportFragmentGlueHost extends androidx.leanback.app.PlaybackSupportFragmentGlueHost implements androidx.leanback.media.SurfaceHolderGlueHost { 889 ctor public VideoSupportFragmentGlueHost(androidx.leanback.app.VideoSupportFragment); 890 method public void setSurfaceHolderCallback(android.view.SurfaceHolder.Callback); 891 } 892 893} 894 895package androidx.leanback.database { 896 897 public abstract class CursorMapper { 898 ctor public CursorMapper(); 899 method protected abstract java.lang.Object bind(android.database.Cursor); 900 method protected abstract void bindColumns(android.database.Cursor); 901 method public java.lang.Object convert(android.database.Cursor); 902 } 903 904} 905 906package androidx.leanback.graphics { 907 908 public class BoundsRule { 909 ctor public BoundsRule(); 910 ctor public BoundsRule(androidx.leanback.graphics.BoundsRule); 911 method public void calculateBounds(android.graphics.Rect, android.graphics.Rect); 912 field public androidx.leanback.graphics.BoundsRule.ValueRule bottom; 913 field public androidx.leanback.graphics.BoundsRule.ValueRule left; 914 field public androidx.leanback.graphics.BoundsRule.ValueRule right; 915 field public androidx.leanback.graphics.BoundsRule.ValueRule top; 916 } 917 918 public static final class BoundsRule.ValueRule { 919 method public static androidx.leanback.graphics.BoundsRule.ValueRule absoluteValue(int); 920 method public int getAbsoluteValue(); 921 method public float getFraction(); 922 method public static androidx.leanback.graphics.BoundsRule.ValueRule inheritFromParent(float); 923 method public static androidx.leanback.graphics.BoundsRule.ValueRule inheritFromParentWithOffset(float, int); 924 method public void setAbsoluteValue(int); 925 method public void setFraction(float); 926 } 927 928 public final class ColorFilterCache { 929 method public static androidx.leanback.graphics.ColorFilterCache getColorFilterCache(int); 930 method public android.graphics.ColorFilter getFilterForLevel(float); 931 } 932 933 public final class ColorFilterDimmer { 934 method public void applyFilterToView(android.view.View); 935 method public static androidx.leanback.graphics.ColorFilterDimmer create(androidx.leanback.graphics.ColorFilterCache, float, float); 936 method public static androidx.leanback.graphics.ColorFilterDimmer createDefault(android.content.Context); 937 method public android.graphics.ColorFilter getColorFilter(); 938 method public android.graphics.Paint getPaint(); 939 method public void setActiveLevel(float); 940 } 941 942 public final class ColorOverlayDimmer { 943 method public int applyToColor(int); 944 method public static androidx.leanback.graphics.ColorOverlayDimmer createColorOverlayDimmer(int, float, float); 945 method public static androidx.leanback.graphics.ColorOverlayDimmer createDefault(android.content.Context); 946 method public void drawColorOverlay(android.graphics.Canvas, android.view.View, boolean); 947 method public int getAlpha(); 948 method public float getAlphaFloat(); 949 method public android.graphics.Paint getPaint(); 950 method public boolean needsDraw(); 951 method public void setActiveLevel(float); 952 } 953 954 public class CompositeDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback { 955 ctor public CompositeDrawable(); 956 method public void addChildDrawable(android.graphics.drawable.Drawable); 957 method public void draw(android.graphics.Canvas); 958 method public androidx.leanback.graphics.CompositeDrawable.ChildDrawable getChildAt(int); 959 method public int getChildCount(); 960 method public android.graphics.drawable.Drawable getDrawable(int); 961 method public int getOpacity(); 962 method public void invalidateDrawable(android.graphics.drawable.Drawable); 963 method public void removeChild(int); 964 method public void removeDrawable(android.graphics.drawable.Drawable); 965 method public void scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, long); 966 method public void setAlpha(int); 967 method public void setChildDrawableAt(int, android.graphics.drawable.Drawable); 968 method public void setColorFilter(android.graphics.ColorFilter); 969 method public void unscheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable); 970 } 971 972 public static final class CompositeDrawable.ChildDrawable { 973 ctor public CompositeDrawable.ChildDrawable(android.graphics.drawable.Drawable, androidx.leanback.graphics.CompositeDrawable); 974 method public androidx.leanback.graphics.BoundsRule getBoundsRule(); 975 method public android.graphics.drawable.Drawable getDrawable(); 976 method public void recomputeBounds(); 977 field public static final android.util.Property<androidx.leanback.graphics.CompositeDrawable.ChildDrawable, java.lang.Integer> BOTTOM_ABSOLUTE; 978 field public static final android.util.Property<androidx.leanback.graphics.CompositeDrawable.ChildDrawable, java.lang.Float> BOTTOM_FRACTION; 979 field public static final android.util.Property<androidx.leanback.graphics.CompositeDrawable.ChildDrawable, java.lang.Integer> LEFT_ABSOLUTE; 980 field public static final android.util.Property<androidx.leanback.graphics.CompositeDrawable.ChildDrawable, java.lang.Float> LEFT_FRACTION; 981 field public static final android.util.Property<androidx.leanback.graphics.CompositeDrawable.ChildDrawable, java.lang.Integer> RIGHT_ABSOLUTE; 982 field public static final android.util.Property<androidx.leanback.graphics.CompositeDrawable.ChildDrawable, java.lang.Float> RIGHT_FRACTION; 983 field public static final android.util.Property<androidx.leanback.graphics.CompositeDrawable.ChildDrawable, java.lang.Integer> TOP_ABSOLUTE; 984 field public static final android.util.Property<androidx.leanback.graphics.CompositeDrawable.ChildDrawable, java.lang.Float> TOP_FRACTION; 985 } 986 987 public class FitWidthBitmapDrawable extends android.graphics.drawable.Drawable { 988 ctor public FitWidthBitmapDrawable(); 989 method public void draw(android.graphics.Canvas); 990 method public android.graphics.Bitmap getBitmap(); 991 method public int getOpacity(); 992 method public android.graphics.Rect getSource(); 993 method public int getVerticalOffset(); 994 method public void setAlpha(int); 995 method public void setBitmap(android.graphics.Bitmap); 996 method public void setColorFilter(android.graphics.ColorFilter); 997 method public void setSource(android.graphics.Rect); 998 method public void setVerticalOffset(int); 999 field public static final android.util.Property<androidx.leanback.graphics.FitWidthBitmapDrawable, java.lang.Integer> PROPERTY_VERTICAL_OFFSET; 1000 } 1001 1002} 1003 1004package androidx.leanback.media { 1005 1006 public class MediaControllerAdapter extends androidx.leanback.media.PlayerAdapter { 1007 ctor public MediaControllerAdapter(android.support.v4.media.session.MediaControllerCompat); 1008 method public android.graphics.drawable.Drawable getMediaArt(android.content.Context); 1009 method public android.support.v4.media.session.MediaControllerCompat getMediaController(); 1010 method public java.lang.CharSequence getMediaSubtitle(); 1011 method public java.lang.CharSequence getMediaTitle(); 1012 method public void pause(); 1013 method public void play(); 1014 } 1015 1016 public abstract deprecated class MediaControllerGlue extends androidx.leanback.media.PlaybackControlGlue { 1017 ctor public MediaControllerGlue(android.content.Context, int[], int[]); 1018 method public void attachToMediaController(android.support.v4.media.session.MediaControllerCompat); 1019 method public void detach(); 1020 method public int getCurrentPosition(); 1021 method public int getCurrentSpeedId(); 1022 method public android.graphics.drawable.Drawable getMediaArt(); 1023 method public final android.support.v4.media.session.MediaControllerCompat getMediaController(); 1024 method public int getMediaDuration(); 1025 method public java.lang.CharSequence getMediaSubtitle(); 1026 method public java.lang.CharSequence getMediaTitle(); 1027 method public long getSupportedActions(); 1028 method public boolean hasValidMedia(); 1029 method public boolean isMediaPlaying(); 1030 } 1031 1032 public class MediaPlayerAdapter extends androidx.leanback.media.PlayerAdapter { 1033 ctor public MediaPlayerAdapter(android.content.Context); 1034 method protected boolean onError(int, int); 1035 method protected boolean onInfo(int, int); 1036 method protected void onSeekComplete(); 1037 method public void pause(); 1038 method public void play(); 1039 method public void release(); 1040 method public void reset(); 1041 method public boolean setDataSource(android.net.Uri); 1042 } 1043 1044 public class PlaybackBannerControlGlue<T extends androidx.leanback.media.PlayerAdapter> extends androidx.leanback.media.PlaybackBaseControlGlue { 1045 ctor public PlaybackBannerControlGlue(android.content.Context, int[], T); 1046 ctor public PlaybackBannerControlGlue(android.content.Context, int[], int[], T); 1047 method public int[] getFastForwardSpeeds(); 1048 method public int[] getRewindSpeeds(); 1049 method public void onActionClicked(androidx.leanback.widget.Action); 1050 method protected androidx.leanback.widget.PlaybackRowPresenter onCreateRowPresenter(); 1051 method public boolean onKey(android.view.View, int, android.view.KeyEvent); 1052 field public static final int ACTION_CUSTOM_LEFT_FIRST = 1; // 0x1 1053 field public static final int ACTION_CUSTOM_RIGHT_FIRST = 4096; // 0x1000 1054 field public static final int ACTION_FAST_FORWARD = 128; // 0x80 1055 field public static final int ACTION_PLAY_PAUSE = 64; // 0x40 1056 field public static final int ACTION_REWIND = 32; // 0x20 1057 field public static final int ACTION_SKIP_TO_NEXT = 256; // 0x100 1058 field public static final int ACTION_SKIP_TO_PREVIOUS = 16; // 0x10 1059 field public static final int PLAYBACK_SPEED_FAST_L0 = 10; // 0xa 1060 field public static final int PLAYBACK_SPEED_FAST_L1 = 11; // 0xb 1061 field public static final int PLAYBACK_SPEED_FAST_L2 = 12; // 0xc 1062 field public static final int PLAYBACK_SPEED_FAST_L3 = 13; // 0xd 1063 field public static final int PLAYBACK_SPEED_FAST_L4 = 14; // 0xe 1064 field public static final int PLAYBACK_SPEED_INVALID = -1; // 0xffffffff 1065 field public static final int PLAYBACK_SPEED_NORMAL = 1; // 0x1 1066 field public static final int PLAYBACK_SPEED_PAUSED = 0; // 0x0 1067 } 1068 1069 public abstract class PlaybackBaseControlGlue<T extends androidx.leanback.media.PlayerAdapter> extends androidx.leanback.media.PlaybackGlue implements androidx.leanback.widget.OnActionClickedListener android.view.View.OnKeyListener { 1070 ctor public PlaybackBaseControlGlue(android.content.Context, T); 1071 method public android.graphics.drawable.Drawable getArt(); 1072 method public final long getBufferedPosition(); 1073 method public androidx.leanback.widget.PlaybackControlsRow getControlsRow(); 1074 method public long getCurrentPosition(); 1075 method public final long getDuration(); 1076 method public androidx.leanback.widget.PlaybackRowPresenter getPlaybackRowPresenter(); 1077 method public final T getPlayerAdapter(); 1078 method public java.lang.CharSequence getSubtitle(); 1079 method public long getSupportedActions(); 1080 method public java.lang.CharSequence getTitle(); 1081 method public boolean isControlsOverlayAutoHideEnabled(); 1082 method public final boolean isPlaying(); 1083 method public final boolean isPrepared(); 1084 method protected static void notifyItemChanged(androidx.leanback.widget.ArrayObjectAdapter, java.lang.Object); 1085 method protected void onCreatePrimaryActions(androidx.leanback.widget.ArrayObjectAdapter); 1086 method protected abstract androidx.leanback.widget.PlaybackRowPresenter onCreateRowPresenter(); 1087 method protected void onCreateSecondaryActions(androidx.leanback.widget.ArrayObjectAdapter); 1088 method protected void onMetadataChanged(); 1089 method protected void onPlayCompleted(); 1090 method protected void onPlayStateChanged(); 1091 method protected void onPreparedStateChanged(); 1092 method protected void onUpdateBufferedProgress(); 1093 method protected void onUpdateDuration(); 1094 method protected void onUpdateProgress(); 1095 method public final void seekTo(long); 1096 method public void setArt(android.graphics.drawable.Drawable); 1097 method public void setControlsOverlayAutoHideEnabled(boolean); 1098 method public void setControlsRow(androidx.leanback.widget.PlaybackControlsRow); 1099 method public void setPlaybackRowPresenter(androidx.leanback.widget.PlaybackRowPresenter); 1100 method public void setSubtitle(java.lang.CharSequence); 1101 method public void setTitle(java.lang.CharSequence); 1102 field public static final int ACTION_CUSTOM_LEFT_FIRST = 1; // 0x1 1103 field public static final int ACTION_CUSTOM_RIGHT_FIRST = 4096; // 0x1000 1104 field public static final int ACTION_FAST_FORWARD = 128; // 0x80 1105 field public static final int ACTION_PLAY_PAUSE = 64; // 0x40 1106 field public static final int ACTION_REPEAT = 512; // 0x200 1107 field public static final int ACTION_REWIND = 32; // 0x20 1108 field public static final int ACTION_SHUFFLE = 1024; // 0x400 1109 field public static final int ACTION_SKIP_TO_NEXT = 256; // 0x100 1110 field public static final int ACTION_SKIP_TO_PREVIOUS = 16; // 0x10 1111 } 1112 1113 public abstract class PlaybackControlGlue extends androidx.leanback.media.PlaybackGlue implements androidx.leanback.widget.OnActionClickedListener android.view.View.OnKeyListener { 1114 ctor public PlaybackControlGlue(android.content.Context, int[]); 1115 ctor public PlaybackControlGlue(android.content.Context, int[], int[]); 1116 method public void enableProgressUpdating(boolean); 1117 method public androidx.leanback.widget.PlaybackControlsRow getControlsRow(); 1118 method public deprecated androidx.leanback.widget.PlaybackControlsRowPresenter getControlsRowPresenter(); 1119 method public abstract int getCurrentPosition(); 1120 method public abstract int getCurrentSpeedId(); 1121 method public int[] getFastForwardSpeeds(); 1122 method public abstract android.graphics.drawable.Drawable getMediaArt(); 1123 method public abstract int getMediaDuration(); 1124 method public abstract java.lang.CharSequence getMediaSubtitle(); 1125 method public abstract java.lang.CharSequence getMediaTitle(); 1126 method public androidx.leanback.widget.PlaybackRowPresenter getPlaybackRowPresenter(); 1127 method public int[] getRewindSpeeds(); 1128 method public abstract long getSupportedActions(); 1129 method public int getUpdatePeriod(); 1130 method public abstract boolean hasValidMedia(); 1131 method public boolean isFadingEnabled(); 1132 method public abstract boolean isMediaPlaying(); 1133 method public void onActionClicked(androidx.leanback.widget.Action); 1134 method protected void onCreateControlsRowAndPresenter(); 1135 method protected void onCreatePrimaryActions(androidx.leanback.widget.SparseArrayObjectAdapter); 1136 method protected void onCreateSecondaryActions(androidx.leanback.widget.ArrayObjectAdapter); 1137 method public boolean onKey(android.view.View, int, android.view.KeyEvent); 1138 method protected void onMetadataChanged(); 1139 method protected void onStateChanged(); 1140 method public void play(int); 1141 method public final void play(); 1142 method public void setControlsRow(androidx.leanback.widget.PlaybackControlsRow); 1143 method public deprecated void setControlsRowPresenter(androidx.leanback.widget.PlaybackControlsRowPresenter); 1144 method public void setFadingEnabled(boolean); 1145 method public void setPlaybackRowPresenter(androidx.leanback.widget.PlaybackRowPresenter); 1146 method public void updateProgress(); 1147 field public static final int ACTION_CUSTOM_LEFT_FIRST = 1; // 0x1 1148 field public static final int ACTION_CUSTOM_RIGHT_FIRST = 4096; // 0x1000 1149 field public static final int ACTION_FAST_FORWARD = 128; // 0x80 1150 field public static final int ACTION_PLAY_PAUSE = 64; // 0x40 1151 field public static final int ACTION_REWIND = 32; // 0x20 1152 field public static final int ACTION_SKIP_TO_NEXT = 256; // 0x100 1153 field public static final int ACTION_SKIP_TO_PREVIOUS = 16; // 0x10 1154 field public static final int PLAYBACK_SPEED_FAST_L0 = 10; // 0xa 1155 field public static final int PLAYBACK_SPEED_FAST_L1 = 11; // 0xb 1156 field public static final int PLAYBACK_SPEED_FAST_L2 = 12; // 0xc 1157 field public static final int PLAYBACK_SPEED_FAST_L3 = 13; // 0xd 1158 field public static final int PLAYBACK_SPEED_FAST_L4 = 14; // 0xe 1159 field public static final int PLAYBACK_SPEED_INVALID = -1; // 0xffffffff 1160 field public static final int PLAYBACK_SPEED_NORMAL = 1; // 0x1 1161 field public static final int PLAYBACK_SPEED_PAUSED = 0; // 0x0 1162 } 1163 1164 public abstract class PlaybackGlue { 1165 ctor public PlaybackGlue(android.content.Context); 1166 method public void addPlayerCallback(androidx.leanback.media.PlaybackGlue.PlayerCallback); 1167 method public android.content.Context getContext(); 1168 method public androidx.leanback.media.PlaybackGlueHost getHost(); 1169 method protected java.util.List<androidx.leanback.media.PlaybackGlue.PlayerCallback> getPlayerCallbacks(); 1170 method public boolean isPlaying(); 1171 method public boolean isPrepared(); 1172 method public void next(); 1173 method protected void onAttachedToHost(androidx.leanback.media.PlaybackGlueHost); 1174 method protected void onDetachedFromHost(); 1175 method protected void onHostPause(); 1176 method protected void onHostResume(); 1177 method protected void onHostStart(); 1178 method protected void onHostStop(); 1179 method public void pause(); 1180 method public void play(); 1181 method public void playWhenPrepared(); 1182 method public void previous(); 1183 method public void removePlayerCallback(androidx.leanback.media.PlaybackGlue.PlayerCallback); 1184 method public final void setHost(androidx.leanback.media.PlaybackGlueHost); 1185 } 1186 1187 public static abstract class PlaybackGlue.PlayerCallback { 1188 ctor public PlaybackGlue.PlayerCallback(); 1189 method public void onPlayCompleted(androidx.leanback.media.PlaybackGlue); 1190 method public void onPlayStateChanged(androidx.leanback.media.PlaybackGlue); 1191 method public void onPreparedStateChanged(androidx.leanback.media.PlaybackGlue); 1192 } 1193 1194 public abstract class PlaybackGlueHost { 1195 ctor public PlaybackGlueHost(); 1196 method public deprecated void fadeOut(); 1197 method public androidx.leanback.media.PlaybackGlueHost.PlayerCallback getPlayerCallback(); 1198 method public void hideControlsOverlay(boolean); 1199 method public boolean isControlsOverlayAutoHideEnabled(); 1200 method public boolean isControlsOverlayVisible(); 1201 method public void notifyPlaybackRowChanged(); 1202 method public void setControlsOverlayAutoHideEnabled(boolean); 1203 method public deprecated void setFadingEnabled(boolean); 1204 method public void setHostCallback(androidx.leanback.media.PlaybackGlueHost.HostCallback); 1205 method public void setOnActionClickedListener(androidx.leanback.widget.OnActionClickedListener); 1206 method public void setOnKeyInterceptListener(android.view.View.OnKeyListener); 1207 method public void setPlaybackRow(androidx.leanback.widget.Row); 1208 method public void setPlaybackRowPresenter(androidx.leanback.widget.PlaybackRowPresenter); 1209 method public void showControlsOverlay(boolean); 1210 } 1211 1212 public static abstract class PlaybackGlueHost.HostCallback { 1213 ctor public PlaybackGlueHost.HostCallback(); 1214 method public void onHostDestroy(); 1215 method public void onHostPause(); 1216 method public void onHostResume(); 1217 method public void onHostStart(); 1218 method public void onHostStop(); 1219 } 1220 1221 public static class PlaybackGlueHost.PlayerCallback { 1222 ctor public PlaybackGlueHost.PlayerCallback(); 1223 method public void onBufferingStateChanged(boolean); 1224 method public void onError(int, java.lang.CharSequence); 1225 method public void onVideoSizeChanged(int, int); 1226 } 1227 1228 public class PlaybackTransportControlGlue<T extends androidx.leanback.media.PlayerAdapter> extends androidx.leanback.media.PlaybackBaseControlGlue { 1229 ctor public PlaybackTransportControlGlue(android.content.Context, T); 1230 method public final androidx.leanback.widget.PlaybackSeekDataProvider getSeekProvider(); 1231 method public final boolean isSeekEnabled(); 1232 method public void onActionClicked(androidx.leanback.widget.Action); 1233 method protected androidx.leanback.widget.PlaybackRowPresenter onCreateRowPresenter(); 1234 method public boolean onKey(android.view.View, int, android.view.KeyEvent); 1235 method public final void setSeekEnabled(boolean); 1236 method public final void setSeekProvider(androidx.leanback.widget.PlaybackSeekDataProvider); 1237 } 1238 1239 public abstract class PlayerAdapter { 1240 ctor public PlayerAdapter(); 1241 method public void fastForward(); 1242 method public long getBufferedPosition(); 1243 method public final androidx.leanback.media.PlayerAdapter.Callback getCallback(); 1244 method public long getCurrentPosition(); 1245 method public long getDuration(); 1246 method public long getSupportedActions(); 1247 method public boolean isPlaying(); 1248 method public boolean isPrepared(); 1249 method public void next(); 1250 method public void onAttachedToHost(androidx.leanback.media.PlaybackGlueHost); 1251 method public void onDetachedFromHost(); 1252 method public abstract void pause(); 1253 method public abstract void play(); 1254 method public void previous(); 1255 method public void rewind(); 1256 method public void seekTo(long); 1257 method public final void setCallback(androidx.leanback.media.PlayerAdapter.Callback); 1258 method public void setProgressUpdatingEnabled(boolean); 1259 method public void setRepeatAction(int); 1260 method public void setShuffleAction(int); 1261 } 1262 1263 public static class PlayerAdapter.Callback { 1264 ctor public PlayerAdapter.Callback(); 1265 method public void onBufferedPositionChanged(androidx.leanback.media.PlayerAdapter); 1266 method public void onBufferingStateChanged(androidx.leanback.media.PlayerAdapter, boolean); 1267 method public void onCurrentPositionChanged(androidx.leanback.media.PlayerAdapter); 1268 method public void onDurationChanged(androidx.leanback.media.PlayerAdapter); 1269 method public void onError(androidx.leanback.media.PlayerAdapter, int, java.lang.String); 1270 method public void onMetadataChanged(androidx.leanback.media.PlayerAdapter); 1271 method public void onPlayCompleted(androidx.leanback.media.PlayerAdapter); 1272 method public void onPlayStateChanged(androidx.leanback.media.PlayerAdapter); 1273 method public void onPreparedStateChanged(androidx.leanback.media.PlayerAdapter); 1274 method public void onVideoSizeChanged(androidx.leanback.media.PlayerAdapter, int, int); 1275 } 1276 1277 public abstract interface SurfaceHolderGlueHost { 1278 method public abstract void setSurfaceHolderCallback(android.view.SurfaceHolder.Callback); 1279 } 1280 1281} 1282 1283package androidx.leanback.system { 1284 1285 public class Settings { 1286 method public boolean getBoolean(java.lang.String); 1287 method public static androidx.leanback.system.Settings getInstance(android.content.Context); 1288 method public void setBoolean(java.lang.String, boolean); 1289 field public static final java.lang.String OUTLINE_CLIPPING_DISABLED = "OUTLINE_CLIPPING_DISABLED"; 1290 field public static final java.lang.String PREFER_STATIC_SHADOWS = "PREFER_STATIC_SHADOWS"; 1291 } 1292 1293} 1294 1295package androidx.leanback.widget { 1296 1297 public abstract class AbstractDetailsDescriptionPresenter extends androidx.leanback.widget.Presenter { 1298 ctor public AbstractDetailsDescriptionPresenter(); 1299 method protected abstract void onBindDescription(androidx.leanback.widget.AbstractDetailsDescriptionPresenter.ViewHolder, java.lang.Object); 1300 method public final void onBindViewHolder(androidx.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1301 method public final androidx.leanback.widget.AbstractDetailsDescriptionPresenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1302 method public void onUnbindViewHolder(androidx.leanback.widget.Presenter.ViewHolder); 1303 } 1304 1305 public static class AbstractDetailsDescriptionPresenter.ViewHolder extends androidx.leanback.widget.Presenter.ViewHolder { 1306 ctor public AbstractDetailsDescriptionPresenter.ViewHolder(android.view.View); 1307 method public android.widget.TextView getBody(); 1308 method public android.widget.TextView getSubtitle(); 1309 method public android.widget.TextView getTitle(); 1310 } 1311 1312 public abstract class AbstractMediaItemPresenter extends androidx.leanback.widget.RowPresenter { 1313 ctor public AbstractMediaItemPresenter(); 1314 ctor public AbstractMediaItemPresenter(int); 1315 method protected androidx.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1316 method public androidx.leanback.widget.Presenter getActionPresenter(); 1317 method protected int getMediaPlayState(java.lang.Object); 1318 method public int getThemeId(); 1319 method public boolean hasMediaRowSeparator(); 1320 method protected abstract void onBindMediaDetails(androidx.leanback.widget.AbstractMediaItemPresenter.ViewHolder, java.lang.Object); 1321 method public void onBindMediaPlayState(androidx.leanback.widget.AbstractMediaItemPresenter.ViewHolder); 1322 method protected void onBindRowActions(androidx.leanback.widget.AbstractMediaItemPresenter.ViewHolder); 1323 method protected void onUnbindMediaDetails(androidx.leanback.widget.AbstractMediaItemPresenter.ViewHolder); 1324 method public void onUnbindMediaPlayState(androidx.leanback.widget.AbstractMediaItemPresenter.ViewHolder); 1325 method public void setActionPresenter(androidx.leanback.widget.Presenter); 1326 method public void setBackgroundColor(int); 1327 method public void setHasMediaRowSeparator(boolean); 1328 method public void setThemeId(int); 1329 field public static final int PLAY_STATE_INITIAL = 0; // 0x0 1330 field public static final int PLAY_STATE_PAUSED = 1; // 0x1 1331 field public static final int PLAY_STATE_PLAYING = 2; // 0x2 1332 } 1333 1334 public static class AbstractMediaItemPresenter.ViewHolder extends androidx.leanback.widget.RowPresenter.ViewHolder { 1335 ctor public AbstractMediaItemPresenter.ViewHolder(android.view.View); 1336 method public android.view.ViewGroup getMediaItemActionsContainer(); 1337 method public android.view.View getMediaItemDetailsView(); 1338 method public android.widget.TextView getMediaItemDurationView(); 1339 method public android.widget.TextView getMediaItemNameView(); 1340 method public android.widget.TextView getMediaItemNumberView(); 1341 method public android.widget.ViewFlipper getMediaItemNumberViewFlipper(); 1342 method public android.view.View getMediaItemPausedView(); 1343 method public android.view.View getMediaItemPlayingView(); 1344 method public androidx.leanback.widget.MultiActionsProvider.MultiAction[] getMediaItemRowActions(); 1345 method public android.view.View getMediaItemRowSeparator(); 1346 method public android.view.View getSelectorView(); 1347 method public void notifyActionChanged(androidx.leanback.widget.MultiActionsProvider.MultiAction); 1348 method public void notifyDetailsChanged(); 1349 method public void notifyPlayStateChanged(); 1350 method public void onBindRowActions(); 1351 method public void setSelectedMediaItemNumberView(int); 1352 } 1353 1354 public abstract class AbstractMediaListHeaderPresenter extends androidx.leanback.widget.RowPresenter { 1355 ctor public AbstractMediaListHeaderPresenter(android.content.Context, int); 1356 ctor public AbstractMediaListHeaderPresenter(); 1357 method protected androidx.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1358 method protected abstract void onBindMediaListHeaderViewHolder(androidx.leanback.widget.AbstractMediaListHeaderPresenter.ViewHolder, java.lang.Object); 1359 method public void setBackgroundColor(int); 1360 } 1361 1362 public static class AbstractMediaListHeaderPresenter.ViewHolder extends androidx.leanback.widget.RowPresenter.ViewHolder { 1363 ctor public AbstractMediaListHeaderPresenter.ViewHolder(android.view.View); 1364 method public android.widget.TextView getHeaderView(); 1365 } 1366 1367 public class Action { 1368 ctor public Action(long); 1369 ctor public Action(long, java.lang.CharSequence); 1370 ctor public Action(long, java.lang.CharSequence, java.lang.CharSequence); 1371 ctor public Action(long, java.lang.CharSequence, java.lang.CharSequence, android.graphics.drawable.Drawable); 1372 method public final void addKeyCode(int); 1373 method public final android.graphics.drawable.Drawable getIcon(); 1374 method public final long getId(); 1375 method public final java.lang.CharSequence getLabel1(); 1376 method public final java.lang.CharSequence getLabel2(); 1377 method public final void removeKeyCode(int); 1378 method public final boolean respondsToKeyCode(int); 1379 method public final void setIcon(android.graphics.drawable.Drawable); 1380 method public final void setId(long); 1381 method public final void setLabel1(java.lang.CharSequence); 1382 method public final void setLabel2(java.lang.CharSequence); 1383 field public static final long NO_ID = -1L; // 0xffffffffffffffffL 1384 } 1385 1386 public class ArrayObjectAdapter extends androidx.leanback.widget.ObjectAdapter { 1387 ctor public ArrayObjectAdapter(androidx.leanback.widget.PresenterSelector); 1388 ctor public ArrayObjectAdapter(androidx.leanback.widget.Presenter); 1389 ctor public ArrayObjectAdapter(); 1390 method public void add(java.lang.Object); 1391 method public void add(int, java.lang.Object); 1392 method public void addAll(int, java.util.Collection); 1393 method public void clear(); 1394 method public java.lang.Object get(int); 1395 method public int indexOf(java.lang.Object); 1396 method public void move(int, int); 1397 method public void notifyArrayItemRangeChanged(int, int); 1398 method public boolean remove(java.lang.Object); 1399 method public int removeItems(int, int); 1400 method public void replace(int, java.lang.Object); 1401 method public void setItems(java.util.List, androidx.leanback.widget.DiffCallback); 1402 method public int size(); 1403 method public <E> java.util.List<E> unmodifiableList(); 1404 } 1405 1406 public class BaseCardView extends android.widget.FrameLayout { 1407 ctor public BaseCardView(android.content.Context); 1408 ctor public BaseCardView(android.content.Context, android.util.AttributeSet); 1409 ctor public BaseCardView(android.content.Context, android.util.AttributeSet, int); 1410 method protected androidx.leanback.widget.BaseCardView.LayoutParams generateDefaultLayoutParams(); 1411 method public androidx.leanback.widget.BaseCardView.LayoutParams generateLayoutParams(android.util.AttributeSet); 1412 method protected androidx.leanback.widget.BaseCardView.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams); 1413 method public int getCardType(); 1414 method public deprecated int getExtraVisibility(); 1415 method public int getInfoVisibility(); 1416 method public boolean isSelectedAnimationDelayed(); 1417 method public void setCardType(int); 1418 method public deprecated void setExtraVisibility(int); 1419 method public void setInfoVisibility(int); 1420 method public void setSelectedAnimationDelayed(boolean); 1421 field public static final int CARD_REGION_VISIBLE_ACTIVATED = 1; // 0x1 1422 field public static final int CARD_REGION_VISIBLE_ALWAYS = 0; // 0x0 1423 field public static final int CARD_REGION_VISIBLE_SELECTED = 2; // 0x2 1424 field public static final int CARD_TYPE_INFO_OVER = 1; // 0x1 1425 field public static final int CARD_TYPE_INFO_UNDER = 2; // 0x2 1426 field public static final int CARD_TYPE_INFO_UNDER_WITH_EXTRA = 3; // 0x3 1427 field public static final int CARD_TYPE_MAIN_ONLY = 0; // 0x0 1428 } 1429 1430 public static class BaseCardView.LayoutParams extends android.widget.FrameLayout.LayoutParams { 1431 ctor public BaseCardView.LayoutParams(android.content.Context, android.util.AttributeSet); 1432 ctor public BaseCardView.LayoutParams(int, int); 1433 ctor public BaseCardView.LayoutParams(android.view.ViewGroup.LayoutParams); 1434 ctor public BaseCardView.LayoutParams(androidx.leanback.widget.BaseCardView.LayoutParams); 1435 field public static final int VIEW_TYPE_EXTRA = 2; // 0x2 1436 field public static final int VIEW_TYPE_INFO = 1; // 0x1 1437 field public static final int VIEW_TYPE_MAIN = 0; // 0x0 1438 field public int viewType; 1439 } 1440 1441 public abstract class BaseGridView extends androidx.recyclerview.widget.RecyclerView { 1442 method public void addOnChildViewHolderSelectedListener(androidx.leanback.widget.OnChildViewHolderSelectedListener); 1443 method public void animateIn(); 1444 method public void animateOut(); 1445 method public int getChildDrawingOrder(int, int); 1446 method public deprecated int getHorizontalMargin(); 1447 method public int getHorizontalSpacing(); 1448 method public int getInitialPrefetchItemCount(); 1449 method public int getItemAlignmentOffset(); 1450 method public float getItemAlignmentOffsetPercent(); 1451 method public int getItemAlignmentViewId(); 1452 method public androidx.leanback.widget.BaseGridView.OnUnhandledKeyListener getOnUnhandledKeyListener(); 1453 method public final int getSaveChildrenLimitNumber(); 1454 method public final int getSaveChildrenPolicy(); 1455 method public int getSelectedPosition(); 1456 method public deprecated int getVerticalMargin(); 1457 method public int getVerticalSpacing(); 1458 method public void getViewSelectedOffsets(android.view.View, int[]); 1459 method public int getWindowAlignment(); 1460 method public int getWindowAlignmentOffset(); 1461 method public float getWindowAlignmentOffsetPercent(); 1462 method public boolean hasPreviousViewInSameRow(int); 1463 method public boolean isChildLayoutAnimated(); 1464 method public boolean isFocusDrawingOrderEnabled(); 1465 method public final boolean isFocusSearchDisabled(); 1466 method public boolean isItemAlignmentOffsetWithPadding(); 1467 method public boolean isScrollEnabled(); 1468 method public boolean isWindowAlignmentPreferKeyLineOverHighEdge(); 1469 method public boolean isWindowAlignmentPreferKeyLineOverLowEdge(); 1470 method public boolean onRequestFocusInDescendants(int, android.graphics.Rect); 1471 method public void removeOnChildViewHolderSelectedListener(androidx.leanback.widget.OnChildViewHolderSelectedListener); 1472 method public void setAnimateChildLayout(boolean); 1473 method public void setChildrenVisibility(int); 1474 method public void setFocusDrawingOrderEnabled(boolean); 1475 method public final void setFocusSearchDisabled(boolean); 1476 method public void setGravity(int); 1477 method public void setHasOverlappingRendering(boolean); 1478 method public deprecated void setHorizontalMargin(int); 1479 method public void setHorizontalSpacing(int); 1480 method public void setInitialPrefetchItemCount(int); 1481 method public void setItemAlignmentOffset(int); 1482 method public void setItemAlignmentOffsetPercent(float); 1483 method public void setItemAlignmentOffsetWithPadding(boolean); 1484 method public void setItemAlignmentViewId(int); 1485 method public deprecated void setItemMargin(int); 1486 method public void setItemSpacing(int); 1487 method public void setLayoutEnabled(boolean); 1488 method public void setOnChildLaidOutListener(androidx.leanback.widget.OnChildLaidOutListener); 1489 method public void setOnChildSelectedListener(androidx.leanback.widget.OnChildSelectedListener); 1490 method public void setOnChildViewHolderSelectedListener(androidx.leanback.widget.OnChildViewHolderSelectedListener); 1491 method public void setOnKeyInterceptListener(androidx.leanback.widget.BaseGridView.OnKeyInterceptListener); 1492 method public void setOnMotionInterceptListener(androidx.leanback.widget.BaseGridView.OnMotionInterceptListener); 1493 method public void setOnTouchInterceptListener(androidx.leanback.widget.BaseGridView.OnTouchInterceptListener); 1494 method public void setOnUnhandledKeyListener(androidx.leanback.widget.BaseGridView.OnUnhandledKeyListener); 1495 method public void setPruneChild(boolean); 1496 method public final void setSaveChildrenLimitNumber(int); 1497 method public final void setSaveChildrenPolicy(int); 1498 method public void setScrollEnabled(boolean); 1499 method public void setSelectedPosition(int); 1500 method public void setSelectedPosition(int, int); 1501 method public void setSelectedPosition(int, androidx.leanback.widget.ViewHolderTask); 1502 method public void setSelectedPositionSmooth(int); 1503 method public void setSelectedPositionSmooth(int, androidx.leanback.widget.ViewHolderTask); 1504 method public deprecated void setVerticalMargin(int); 1505 method public void setVerticalSpacing(int); 1506 method public void setWindowAlignment(int); 1507 method public void setWindowAlignmentOffset(int); 1508 method public void setWindowAlignmentOffsetPercent(float); 1509 method public void setWindowAlignmentPreferKeyLineOverHighEdge(boolean); 1510 method public void setWindowAlignmentPreferKeyLineOverLowEdge(boolean); 1511 field public static final float ITEM_ALIGN_OFFSET_PERCENT_DISABLED = -1.0f; 1512 field public static final int SAVE_ALL_CHILD = 3; // 0x3 1513 field public static final int SAVE_LIMITED_CHILD = 2; // 0x2 1514 field public static final int SAVE_NO_CHILD = 0; // 0x0 1515 field public static final int SAVE_ON_SCREEN_CHILD = 1; // 0x1 1516 field public static final int WINDOW_ALIGN_BOTH_EDGE = 3; // 0x3 1517 field public static final int WINDOW_ALIGN_HIGH_EDGE = 2; // 0x2 1518 field public static final int WINDOW_ALIGN_LOW_EDGE = 1; // 0x1 1519 field public static final int WINDOW_ALIGN_NO_EDGE = 0; // 0x0 1520 field public static final float WINDOW_ALIGN_OFFSET_PERCENT_DISABLED = -1.0f; 1521 } 1522 1523 public static abstract interface BaseGridView.OnKeyInterceptListener { 1524 method public abstract boolean onInterceptKeyEvent(android.view.KeyEvent); 1525 } 1526 1527 public static abstract interface BaseGridView.OnMotionInterceptListener { 1528 method public abstract boolean onInterceptMotionEvent(android.view.MotionEvent); 1529 } 1530 1531 public static abstract interface BaseGridView.OnTouchInterceptListener { 1532 method public abstract boolean onInterceptTouchEvent(android.view.MotionEvent); 1533 } 1534 1535 public static abstract interface BaseGridView.OnUnhandledKeyListener { 1536 method public abstract boolean onUnhandledKey(android.view.KeyEvent); 1537 } 1538 1539 public abstract interface BaseOnItemViewClickedListener<T> { 1540 method public abstract void onItemClicked(androidx.leanback.widget.Presenter.ViewHolder, java.lang.Object, androidx.leanback.widget.RowPresenter.ViewHolder, T); 1541 } 1542 1543 public abstract interface BaseOnItemViewSelectedListener<T> { 1544 method public abstract void onItemSelected(androidx.leanback.widget.Presenter.ViewHolder, java.lang.Object, androidx.leanback.widget.RowPresenter.ViewHolder, T); 1545 } 1546 1547 public class BrowseFrameLayout extends android.widget.FrameLayout { 1548 ctor public BrowseFrameLayout(android.content.Context); 1549 ctor public BrowseFrameLayout(android.content.Context, android.util.AttributeSet); 1550 ctor public BrowseFrameLayout(android.content.Context, android.util.AttributeSet, int); 1551 method public androidx.leanback.widget.BrowseFrameLayout.OnChildFocusListener getOnChildFocusListener(); 1552 method public androidx.leanback.widget.BrowseFrameLayout.OnFocusSearchListener getOnFocusSearchListener(); 1553 method public void setOnChildFocusListener(androidx.leanback.widget.BrowseFrameLayout.OnChildFocusListener); 1554 method public void setOnDispatchKeyListener(android.view.View.OnKeyListener); 1555 method public void setOnFocusSearchListener(androidx.leanback.widget.BrowseFrameLayout.OnFocusSearchListener); 1556 } 1557 1558 public static abstract interface BrowseFrameLayout.OnChildFocusListener { 1559 method public abstract void onRequestChildFocus(android.view.View, android.view.View); 1560 method public abstract boolean onRequestFocusInDescendants(int, android.graphics.Rect); 1561 } 1562 1563 public static abstract interface BrowseFrameLayout.OnFocusSearchListener { 1564 method public abstract android.view.View onFocusSearch(android.view.View, int); 1565 } 1566 1567 public final class ClassPresenterSelector extends androidx.leanback.widget.PresenterSelector { 1568 ctor public ClassPresenterSelector(); 1569 method public androidx.leanback.widget.ClassPresenterSelector addClassPresenter(java.lang.Class<?>, androidx.leanback.widget.Presenter); 1570 method public androidx.leanback.widget.ClassPresenterSelector addClassPresenterSelector(java.lang.Class<?>, androidx.leanback.widget.PresenterSelector); 1571 method public androidx.leanback.widget.Presenter getPresenter(java.lang.Object); 1572 } 1573 1574 public class ControlButtonPresenterSelector extends androidx.leanback.widget.PresenterSelector { 1575 ctor public ControlButtonPresenterSelector(); 1576 method public androidx.leanback.widget.Presenter getPresenter(java.lang.Object); 1577 method public androidx.leanback.widget.Presenter getPrimaryPresenter(); 1578 method public androidx.leanback.widget.Presenter getSecondaryPresenter(); 1579 } 1580 1581 public class CursorObjectAdapter extends androidx.leanback.widget.ObjectAdapter { 1582 ctor public CursorObjectAdapter(androidx.leanback.widget.PresenterSelector); 1583 ctor public CursorObjectAdapter(androidx.leanback.widget.Presenter); 1584 ctor public CursorObjectAdapter(); 1585 method public void changeCursor(android.database.Cursor); 1586 method public void close(); 1587 method public java.lang.Object get(int); 1588 method public final android.database.Cursor getCursor(); 1589 method public final androidx.leanback.database.CursorMapper getMapper(); 1590 method protected final void invalidateCache(int); 1591 method protected final void invalidateCache(int, int); 1592 method public boolean isClosed(); 1593 method protected void onCursorChanged(); 1594 method protected void onMapperChanged(); 1595 method public final void setMapper(androidx.leanback.database.CursorMapper); 1596 method public int size(); 1597 method public android.database.Cursor swapCursor(android.database.Cursor); 1598 } 1599 1600 public class DetailsOverviewLogoPresenter extends androidx.leanback.widget.Presenter { 1601 ctor public DetailsOverviewLogoPresenter(); 1602 method public boolean isBoundToImage(androidx.leanback.widget.DetailsOverviewLogoPresenter.ViewHolder, androidx.leanback.widget.DetailsOverviewRow); 1603 method public void onBindViewHolder(androidx.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1604 method public android.view.View onCreateView(android.view.ViewGroup); 1605 method public androidx.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1606 method public void onUnbindViewHolder(androidx.leanback.widget.Presenter.ViewHolder); 1607 method public void setContext(androidx.leanback.widget.DetailsOverviewLogoPresenter.ViewHolder, androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter); 1608 } 1609 1610 public static class DetailsOverviewLogoPresenter.ViewHolder extends androidx.leanback.widget.Presenter.ViewHolder { 1611 ctor public DetailsOverviewLogoPresenter.ViewHolder(android.view.View); 1612 method public androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter getParentPresenter(); 1613 method public androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder getParentViewHolder(); 1614 method public boolean isSizeFromDrawableIntrinsic(); 1615 method public void setSizeFromDrawableIntrinsic(boolean); 1616 field protected androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter mParentPresenter; 1617 field protected androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder mParentViewHolder; 1618 } 1619 1620 public class DetailsOverviewRow extends androidx.leanback.widget.Row { 1621 ctor public DetailsOverviewRow(java.lang.Object); 1622 method public final deprecated void addAction(androidx.leanback.widget.Action); 1623 method public final deprecated void addAction(int, androidx.leanback.widget.Action); 1624 method public androidx.leanback.widget.Action getActionForKeyCode(int); 1625 method public final deprecated java.util.List<androidx.leanback.widget.Action> getActions(); 1626 method public final androidx.leanback.widget.ObjectAdapter getActionsAdapter(); 1627 method public final android.graphics.drawable.Drawable getImageDrawable(); 1628 method public final java.lang.Object getItem(); 1629 method public boolean isImageScaleUpAllowed(); 1630 method public final deprecated boolean removeAction(androidx.leanback.widget.Action); 1631 method public final void setActionsAdapter(androidx.leanback.widget.ObjectAdapter); 1632 method public final void setImageBitmap(android.content.Context, android.graphics.Bitmap); 1633 method public final void setImageDrawable(android.graphics.drawable.Drawable); 1634 method public void setImageScaleUpAllowed(boolean); 1635 method public final void setItem(java.lang.Object); 1636 } 1637 1638 public static class DetailsOverviewRow.Listener { 1639 ctor public DetailsOverviewRow.Listener(); 1640 method public void onActionsAdapterChanged(androidx.leanback.widget.DetailsOverviewRow); 1641 method public void onImageDrawableChanged(androidx.leanback.widget.DetailsOverviewRow); 1642 method public void onItemChanged(androidx.leanback.widget.DetailsOverviewRow); 1643 } 1644 1645 public deprecated class DetailsOverviewRowPresenter extends androidx.leanback.widget.RowPresenter { 1646 ctor public DetailsOverviewRowPresenter(androidx.leanback.widget.Presenter); 1647 method protected androidx.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1648 method public int getBackgroundColor(); 1649 method public androidx.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 1650 method public boolean isStyleLarge(); 1651 method public final boolean isUsingDefaultSelectEffect(); 1652 method public void setBackgroundColor(int); 1653 method public void setOnActionClickedListener(androidx.leanback.widget.OnActionClickedListener); 1654 method public final void setSharedElementEnterTransition(android.app.Activity, java.lang.String, long); 1655 method public final void setSharedElementEnterTransition(android.app.Activity, java.lang.String); 1656 method public void setStyleLarge(boolean); 1657 } 1658 1659 public final class DetailsOverviewRowPresenter.ViewHolder extends androidx.leanback.widget.RowPresenter.ViewHolder { 1660 ctor public DetailsOverviewRowPresenter.ViewHolder(android.view.View, androidx.leanback.widget.Presenter); 1661 field public final androidx.leanback.widget.Presenter.ViewHolder mDetailsDescriptionViewHolder; 1662 } 1663 1664 public class DetailsParallax extends androidx.leanback.widget.RecyclerViewParallax { 1665 ctor public DetailsParallax(); 1666 method public androidx.leanback.widget.Parallax.IntProperty getOverviewRowBottom(); 1667 method public androidx.leanback.widget.Parallax.IntProperty getOverviewRowTop(); 1668 } 1669 1670 public abstract class DiffCallback<Value> { 1671 ctor public DiffCallback(); 1672 method public abstract boolean areContentsTheSame(Value, Value); 1673 method public abstract boolean areItemsTheSame(Value, Value); 1674 method public java.lang.Object getChangePayload(Value, Value); 1675 } 1676 1677 public class DividerPresenter extends androidx.leanback.widget.Presenter { 1678 ctor public DividerPresenter(); 1679 method public void onBindViewHolder(androidx.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1680 method public androidx.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1681 method public void onUnbindViewHolder(androidx.leanback.widget.Presenter.ViewHolder); 1682 } 1683 1684 public class DividerRow extends androidx.leanback.widget.Row { 1685 ctor public DividerRow(); 1686 method public final boolean isRenderedAsRowView(); 1687 } 1688 1689 public abstract interface FacetProvider { 1690 method public abstract java.lang.Object getFacet(java.lang.Class<?>); 1691 } 1692 1693 public abstract interface FacetProviderAdapter { 1694 method public abstract androidx.leanback.widget.FacetProvider getFacetProvider(int); 1695 } 1696 1697 public abstract interface FocusHighlight { 1698 field public static final int ZOOM_FACTOR_LARGE = 3; // 0x3 1699 field public static final int ZOOM_FACTOR_MEDIUM = 2; // 0x2 1700 field public static final int ZOOM_FACTOR_NONE = 0; // 0x0 1701 field public static final int ZOOM_FACTOR_SMALL = 1; // 0x1 1702 field public static final int ZOOM_FACTOR_XSMALL = 4; // 0x4 1703 } 1704 1705 public class FocusHighlightHelper { 1706 ctor public deprecated FocusHighlightHelper(); 1707 method public static void setupBrowseItemFocusHighlight(androidx.leanback.widget.ItemBridgeAdapter, int, boolean); 1708 method public static deprecated void setupHeaderItemFocusHighlight(androidx.leanback.widget.VerticalGridView); 1709 method public static deprecated void setupHeaderItemFocusHighlight(androidx.leanback.widget.VerticalGridView, boolean); 1710 method public static void setupHeaderItemFocusHighlight(androidx.leanback.widget.ItemBridgeAdapter); 1711 method public static void setupHeaderItemFocusHighlight(androidx.leanback.widget.ItemBridgeAdapter, boolean); 1712 } 1713 1714 public abstract interface FragmentAnimationProvider { 1715 method public abstract void onImeAppearing(java.util.List<android.animation.Animator>); 1716 method public abstract void onImeDisappearing(java.util.List<android.animation.Animator>); 1717 } 1718 1719 public class FullWidthDetailsOverviewRowPresenter extends androidx.leanback.widget.RowPresenter { 1720 ctor public FullWidthDetailsOverviewRowPresenter(androidx.leanback.widget.Presenter); 1721 ctor public FullWidthDetailsOverviewRowPresenter(androidx.leanback.widget.Presenter, androidx.leanback.widget.DetailsOverviewLogoPresenter); 1722 method protected androidx.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1723 method public final int getActionsBackgroundColor(); 1724 method public final int getAlignmentMode(); 1725 method public final int getBackgroundColor(); 1726 method public final int getInitialState(); 1727 method protected int getLayoutResourceId(); 1728 method public androidx.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 1729 method public final boolean isParticipatingEntranceTransition(); 1730 method public final boolean isUsingDefaultSelectEffect(); 1731 method public final void notifyOnBindLogo(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder); 1732 method protected void onLayoutLogo(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, boolean); 1733 method protected void onLayoutOverviewFrame(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, boolean); 1734 method protected void onStateChanged(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int); 1735 method public final void setActionsBackgroundColor(int); 1736 method public final void setAlignmentMode(int); 1737 method public final void setBackgroundColor(int); 1738 method public final void setInitialState(int); 1739 method public final void setListener(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.Listener); 1740 method public void setOnActionClickedListener(androidx.leanback.widget.OnActionClickedListener); 1741 method public final void setParticipatingEntranceTransition(boolean); 1742 method public final void setState(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int); 1743 field public static final int ALIGN_MODE_MIDDLE = 1; // 0x1 1744 field public static final int ALIGN_MODE_START = 0; // 0x0 1745 field public static final int STATE_FULL = 1; // 0x1 1746 field public static final int STATE_HALF = 0; // 0x0 1747 field public static final int STATE_SMALL = 2; // 0x2 1748 field protected int mInitialState; 1749 } 1750 1751 public static abstract class FullWidthDetailsOverviewRowPresenter.Listener { 1752 ctor public FullWidthDetailsOverviewRowPresenter.Listener(); 1753 method public void onBindLogo(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder); 1754 } 1755 1756 public class FullWidthDetailsOverviewRowPresenter.ViewHolder extends androidx.leanback.widget.RowPresenter.ViewHolder { 1757 ctor public FullWidthDetailsOverviewRowPresenter.ViewHolder(android.view.View, androidx.leanback.widget.Presenter, androidx.leanback.widget.DetailsOverviewLogoPresenter); 1758 method protected androidx.leanback.widget.DetailsOverviewRow.Listener createRowListener(); 1759 method public final android.view.ViewGroup getActionsRow(); 1760 method public final android.view.ViewGroup getDetailsDescriptionFrame(); 1761 method public final androidx.leanback.widget.Presenter.ViewHolder getDetailsDescriptionViewHolder(); 1762 method public final androidx.leanback.widget.DetailsOverviewLogoPresenter.ViewHolder getLogoViewHolder(); 1763 method public final android.view.ViewGroup getOverviewView(); 1764 method public final int getState(); 1765 field protected final androidx.leanback.widget.DetailsOverviewRow.Listener mRowListener; 1766 } 1767 1768 public class FullWidthDetailsOverviewRowPresenter.ViewHolder.DetailsOverviewRowListener extends androidx.leanback.widget.DetailsOverviewRow.Listener { 1769 ctor public FullWidthDetailsOverviewRowPresenter.ViewHolder.DetailsOverviewRowListener(); 1770 } 1771 1772 public class FullWidthDetailsOverviewSharedElementHelper extends androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.Listener { 1773 ctor public FullWidthDetailsOverviewSharedElementHelper(); 1774 method public boolean getAutoStartSharedElementTransition(); 1775 method public void setAutoStartSharedElementTransition(boolean); 1776 method public void setSharedElementEnterTransition(android.app.Activity, java.lang.String); 1777 method public void setSharedElementEnterTransition(android.app.Activity, java.lang.String, long); 1778 method public void startPostponedEnterTransition(); 1779 } 1780 1781 public class GuidanceStylist implements androidx.leanback.widget.FragmentAnimationProvider { 1782 ctor public GuidanceStylist(); 1783 method public android.widget.TextView getBreadcrumbView(); 1784 method public android.widget.TextView getDescriptionView(); 1785 method public android.widget.ImageView getIconView(); 1786 method public android.widget.TextView getTitleView(); 1787 method public android.view.View onCreateView(android.view.LayoutInflater, android.view.ViewGroup, androidx.leanback.widget.GuidanceStylist.Guidance); 1788 method public void onDestroyView(); 1789 method public void onImeAppearing(java.util.List<android.animation.Animator>); 1790 method public void onImeDisappearing(java.util.List<android.animation.Animator>); 1791 method public int onProvideLayoutId(); 1792 } 1793 1794 public static class GuidanceStylist.Guidance { 1795 ctor public GuidanceStylist.Guidance(java.lang.String, java.lang.String, java.lang.String, android.graphics.drawable.Drawable); 1796 method public java.lang.String getBreadcrumb(); 1797 method public java.lang.String getDescription(); 1798 method public android.graphics.drawable.Drawable getIconDrawable(); 1799 method public java.lang.String getTitle(); 1800 } 1801 1802 public class GuidedAction extends androidx.leanback.widget.Action { 1803 ctor protected GuidedAction(); 1804 method public java.lang.String[] getAutofillHints(); 1805 method public int getCheckSetId(); 1806 method public java.lang.CharSequence getDescription(); 1807 method public int getDescriptionEditInputType(); 1808 method public int getDescriptionInputType(); 1809 method public java.lang.CharSequence getEditDescription(); 1810 method public int getEditInputType(); 1811 method public java.lang.CharSequence getEditTitle(); 1812 method public int getInputType(); 1813 method public android.content.Intent getIntent(); 1814 method public java.util.List<androidx.leanback.widget.GuidedAction> getSubActions(); 1815 method public java.lang.CharSequence getTitle(); 1816 method public boolean hasEditableActivatorView(); 1817 method public boolean hasMultilineDescription(); 1818 method public boolean hasNext(); 1819 method public boolean hasSubActions(); 1820 method public boolean hasTextEditable(); 1821 method public boolean infoOnly(); 1822 method public final boolean isAutoSaveRestoreEnabled(); 1823 method public boolean isChecked(); 1824 method public boolean isDescriptionEditable(); 1825 method public boolean isEditTitleUsed(); 1826 method public boolean isEditable(); 1827 method public boolean isEnabled(); 1828 method public boolean isFocusable(); 1829 method public void onRestoreInstanceState(android.os.Bundle, java.lang.String); 1830 method public void onSaveInstanceState(android.os.Bundle, java.lang.String); 1831 method public void setChecked(boolean); 1832 method public void setDescription(java.lang.CharSequence); 1833 method public void setEditDescription(java.lang.CharSequence); 1834 method public void setEditTitle(java.lang.CharSequence); 1835 method public void setEnabled(boolean); 1836 method public void setFocusable(boolean); 1837 method public void setIntent(android.content.Intent); 1838 method public void setSubActions(java.util.List<androidx.leanback.widget.GuidedAction>); 1839 method public void setTitle(java.lang.CharSequence); 1840 field public static final long ACTION_ID_CANCEL = -5L; // 0xfffffffffffffffbL 1841 field public static final long ACTION_ID_CONTINUE = -7L; // 0xfffffffffffffff9L 1842 field public static final long ACTION_ID_CURRENT = -3L; // 0xfffffffffffffffdL 1843 field public static final long ACTION_ID_FINISH = -6L; // 0xfffffffffffffffaL 1844 field public static final long ACTION_ID_NEXT = -2L; // 0xfffffffffffffffeL 1845 field public static final long ACTION_ID_NO = -9L; // 0xfffffffffffffff7L 1846 field public static final long ACTION_ID_OK = -4L; // 0xfffffffffffffffcL 1847 field public static final long ACTION_ID_YES = -8L; // 0xfffffffffffffff8L 1848 field public static final int CHECKBOX_CHECK_SET_ID = -1; // 0xffffffff 1849 field public static final int DEFAULT_CHECK_SET_ID = 1; // 0x1 1850 field public static final int NO_CHECK_SET = 0; // 0x0 1851 } 1852 1853 public static class GuidedAction.Builder extends androidx.leanback.widget.GuidedAction.BuilderBase { 1854 ctor public deprecated GuidedAction.Builder(); 1855 ctor public GuidedAction.Builder(android.content.Context); 1856 method public androidx.leanback.widget.GuidedAction build(); 1857 } 1858 1859 public static abstract class GuidedAction.BuilderBase<B extends androidx.leanback.widget.GuidedAction.BuilderBase> { 1860 ctor public GuidedAction.BuilderBase(android.content.Context); 1861 method protected final void applyValues(androidx.leanback.widget.GuidedAction); 1862 method public B autoSaveRestoreEnabled(boolean); 1863 method public B autofillHints(java.lang.String...); 1864 method public B checkSetId(int); 1865 method public B checked(boolean); 1866 method public B clickAction(long); 1867 method public B description(java.lang.CharSequence); 1868 method public B description(int); 1869 method public B descriptionEditInputType(int); 1870 method public B descriptionEditable(boolean); 1871 method public B descriptionInputType(int); 1872 method public B editDescription(java.lang.CharSequence); 1873 method public B editDescription(int); 1874 method public B editInputType(int); 1875 method public B editTitle(java.lang.CharSequence); 1876 method public B editTitle(int); 1877 method public B editable(boolean); 1878 method public B enabled(boolean); 1879 method public B focusable(boolean); 1880 method public android.content.Context getContext(); 1881 method public B hasEditableActivatorView(boolean); 1882 method public B hasNext(boolean); 1883 method public B icon(android.graphics.drawable.Drawable); 1884 method public B icon(int); 1885 method public deprecated B iconResourceId(int, android.content.Context); 1886 method public B id(long); 1887 method public B infoOnly(boolean); 1888 method public B inputType(int); 1889 method public B intent(android.content.Intent); 1890 method public B multilineDescription(boolean); 1891 method public B subActions(java.util.List<androidx.leanback.widget.GuidedAction>); 1892 method public B title(java.lang.CharSequence); 1893 method public B title(int); 1894 } 1895 1896 public abstract interface GuidedActionAutofillSupport { 1897 method public abstract void setOnAutofillListener(androidx.leanback.widget.GuidedActionAutofillSupport.OnAutofillListener); 1898 } 1899 1900 public static abstract interface GuidedActionAutofillSupport.OnAutofillListener { 1901 method public abstract void onAutofill(android.view.View); 1902 } 1903 1904 public class GuidedActionDiffCallback extends androidx.leanback.widget.DiffCallback { 1905 ctor public GuidedActionDiffCallback(); 1906 method public boolean areContentsTheSame(androidx.leanback.widget.GuidedAction, androidx.leanback.widget.GuidedAction); 1907 method public boolean areItemsTheSame(androidx.leanback.widget.GuidedAction, androidx.leanback.widget.GuidedAction); 1908 method public static androidx.leanback.widget.GuidedActionDiffCallback getInstance(); 1909 } 1910 1911 public class GuidedActionEditText extends android.widget.EditText implements androidx.leanback.widget.GuidedActionAutofillSupport androidx.leanback.widget.ImeKeyMonitor { 1912 ctor public GuidedActionEditText(android.content.Context); 1913 ctor public GuidedActionEditText(android.content.Context, android.util.AttributeSet); 1914 ctor public GuidedActionEditText(android.content.Context, android.util.AttributeSet, int); 1915 method public void setImeKeyListener(androidx.leanback.widget.ImeKeyMonitor.ImeKeyListener); 1916 method public void setOnAutofillListener(androidx.leanback.widget.GuidedActionAutofillSupport.OnAutofillListener); 1917 } 1918 1919 public class GuidedActionsStylist implements androidx.leanback.widget.FragmentAnimationProvider { 1920 ctor public GuidedActionsStylist(); 1921 method public void collapseAction(boolean); 1922 method public void expandAction(androidx.leanback.widget.GuidedAction, boolean); 1923 method public androidx.leanback.widget.VerticalGridView getActionsGridView(); 1924 method public androidx.leanback.widget.GuidedAction getExpandedAction(); 1925 method public int getItemViewType(androidx.leanback.widget.GuidedAction); 1926 method public androidx.leanback.widget.VerticalGridView getSubActionsGridView(); 1927 method public final boolean isBackKeyToCollapseActivatorView(); 1928 method public final boolean isBackKeyToCollapseSubActions(); 1929 method public boolean isButtonActions(); 1930 method public boolean isExpandTransitionSupported(); 1931 method public boolean isExpanded(); 1932 method public boolean isInExpandTransition(); 1933 method public boolean isSubActionsExpanded(); 1934 method public void onAnimateItemChecked(androidx.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 1935 method public void onAnimateItemFocused(androidx.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 1936 method public void onAnimateItemPressed(androidx.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 1937 method public void onAnimateItemPressedCancelled(androidx.leanback.widget.GuidedActionsStylist.ViewHolder); 1938 method public void onBindActivatorView(androidx.leanback.widget.GuidedActionsStylist.ViewHolder, androidx.leanback.widget.GuidedAction); 1939 method public void onBindCheckMarkView(androidx.leanback.widget.GuidedActionsStylist.ViewHolder, androidx.leanback.widget.GuidedAction); 1940 method public void onBindChevronView(androidx.leanback.widget.GuidedActionsStylist.ViewHolder, androidx.leanback.widget.GuidedAction); 1941 method public void onBindViewHolder(androidx.leanback.widget.GuidedActionsStylist.ViewHolder, androidx.leanback.widget.GuidedAction); 1942 method public android.view.View onCreateView(android.view.LayoutInflater, android.view.ViewGroup); 1943 method public androidx.leanback.widget.GuidedActionsStylist.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1944 method public androidx.leanback.widget.GuidedActionsStylist.ViewHolder onCreateViewHolder(android.view.ViewGroup, int); 1945 method public void onDestroyView(); 1946 method protected deprecated void onEditingModeChange(androidx.leanback.widget.GuidedActionsStylist.ViewHolder, androidx.leanback.widget.GuidedAction, boolean); 1947 method protected void onEditingModeChange(androidx.leanback.widget.GuidedActionsStylist.ViewHolder, boolean, boolean); 1948 method public void onImeAppearing(java.util.List<android.animation.Animator>); 1949 method public void onImeDisappearing(java.util.List<android.animation.Animator>); 1950 method public int onProvideItemLayoutId(); 1951 method public int onProvideItemLayoutId(int); 1952 method public int onProvideLayoutId(); 1953 method public boolean onUpdateActivatorView(androidx.leanback.widget.GuidedActionsStylist.ViewHolder, androidx.leanback.widget.GuidedAction); 1954 method public void onUpdateExpandedViewHolder(androidx.leanback.widget.GuidedActionsStylist.ViewHolder); 1955 method public void openInEditMode(androidx.leanback.widget.GuidedAction); 1956 method public void setAsButtonActions(); 1957 method public final void setBackKeyToCollapseActivatorView(boolean); 1958 method public final void setBackKeyToCollapseSubActions(boolean); 1959 method public deprecated void setEditingMode(androidx.leanback.widget.GuidedActionsStylist.ViewHolder, androidx.leanback.widget.GuidedAction, boolean); 1960 method public deprecated void setExpandedViewHolder(androidx.leanback.widget.GuidedActionsStylist.ViewHolder); 1961 method protected void setupImeOptions(androidx.leanback.widget.GuidedActionsStylist.ViewHolder, androidx.leanback.widget.GuidedAction); 1962 method public deprecated void startExpandedTransition(androidx.leanback.widget.GuidedActionsStylist.ViewHolder); 1963 field public static final int VIEW_TYPE_DATE_PICKER = 1; // 0x1 1964 field public static final int VIEW_TYPE_DEFAULT = 0; // 0x0 1965 } 1966 1967 public static class GuidedActionsStylist.ViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder implements androidx.leanback.widget.FacetProvider { 1968 ctor public GuidedActionsStylist.ViewHolder(android.view.View); 1969 ctor public GuidedActionsStylist.ViewHolder(android.view.View, boolean); 1970 method public androidx.leanback.widget.GuidedAction getAction(); 1971 method public android.widget.ImageView getCheckmarkView(); 1972 method public android.widget.ImageView getChevronView(); 1973 method public android.view.View getContentView(); 1974 method public android.widget.TextView getDescriptionView(); 1975 method public android.widget.EditText getEditableDescriptionView(); 1976 method public android.widget.EditText getEditableTitleView(); 1977 method public android.view.View getEditingView(); 1978 method public java.lang.Object getFacet(java.lang.Class<?>); 1979 method public android.widget.ImageView getIconView(); 1980 method public android.widget.TextView getTitleView(); 1981 method public boolean isInEditing(); 1982 method public boolean isInEditingActivatorView(); 1983 method public boolean isInEditingDescription(); 1984 method public boolean isInEditingText(); 1985 method public boolean isInEditingTitle(); 1986 method public boolean isSubAction(); 1987 } 1988 1989 public class GuidedDatePickerAction extends androidx.leanback.widget.GuidedAction { 1990 ctor public GuidedDatePickerAction(); 1991 method public long getDate(); 1992 method public java.lang.String getDatePickerFormat(); 1993 method public long getMaxDate(); 1994 method public long getMinDate(); 1995 method public void setDate(long); 1996 } 1997 1998 public static final class GuidedDatePickerAction.Builder extends androidx.leanback.widget.GuidedDatePickerAction.BuilderBase { 1999 ctor public GuidedDatePickerAction.Builder(android.content.Context); 2000 method public androidx.leanback.widget.GuidedDatePickerAction build(); 2001 } 2002 2003 public static abstract class GuidedDatePickerAction.BuilderBase<B extends androidx.leanback.widget.GuidedDatePickerAction.BuilderBase> extends androidx.leanback.widget.GuidedAction.BuilderBase { 2004 ctor public GuidedDatePickerAction.BuilderBase(android.content.Context); 2005 method protected final void applyDatePickerValues(androidx.leanback.widget.GuidedDatePickerAction); 2006 method public B date(long); 2007 method public B datePickerFormat(java.lang.String); 2008 method public B maxDate(long); 2009 method public B minDate(long); 2010 } 2011 2012 public class HeaderItem { 2013 ctor public HeaderItem(long, java.lang.String); 2014 ctor public HeaderItem(java.lang.String); 2015 method public java.lang.CharSequence getContentDescription(); 2016 method public java.lang.CharSequence getDescription(); 2017 method public final long getId(); 2018 method public final java.lang.String getName(); 2019 method public void setContentDescription(java.lang.CharSequence); 2020 method public void setDescription(java.lang.CharSequence); 2021 } 2022 2023 public class HorizontalGridView extends androidx.leanback.widget.BaseGridView { 2024 ctor public HorizontalGridView(android.content.Context); 2025 ctor public HorizontalGridView(android.content.Context, android.util.AttributeSet); 2026 ctor public HorizontalGridView(android.content.Context, android.util.AttributeSet, int); 2027 method public final boolean getFadingLeftEdge(); 2028 method public final int getFadingLeftEdgeLength(); 2029 method public final int getFadingLeftEdgeOffset(); 2030 method public final boolean getFadingRightEdge(); 2031 method public final int getFadingRightEdgeLength(); 2032 method public final int getFadingRightEdgeOffset(); 2033 method protected void initAttributes(android.content.Context, android.util.AttributeSet); 2034 method public final void setFadingLeftEdge(boolean); 2035 method public final void setFadingLeftEdgeLength(int); 2036 method public final void setFadingLeftEdgeOffset(int); 2037 method public final void setFadingRightEdge(boolean); 2038 method public final void setFadingRightEdgeLength(int); 2039 method public final void setFadingRightEdgeOffset(int); 2040 method public void setNumRows(int); 2041 method public void setRowHeight(int); 2042 } 2043 2044 public final class HorizontalHoverCardSwitcher extends androidx.leanback.widget.PresenterSwitcher { 2045 ctor public HorizontalHoverCardSwitcher(); 2046 method protected void insertView(android.view.View); 2047 method public void select(androidx.leanback.widget.HorizontalGridView, android.view.View, java.lang.Object); 2048 } 2049 2050 public class ImageCardView extends androidx.leanback.widget.BaseCardView { 2051 ctor public deprecated ImageCardView(android.content.Context, int); 2052 ctor public ImageCardView(android.content.Context, android.util.AttributeSet, int); 2053 ctor public ImageCardView(android.content.Context); 2054 ctor public ImageCardView(android.content.Context, android.util.AttributeSet); 2055 method public android.graphics.drawable.Drawable getBadgeImage(); 2056 method public java.lang.CharSequence getContentText(); 2057 method public android.graphics.drawable.Drawable getInfoAreaBackground(); 2058 method public android.graphics.drawable.Drawable getMainImage(); 2059 method public final android.widget.ImageView getMainImageView(); 2060 method public java.lang.CharSequence getTitleText(); 2061 method public void setBadgeImage(android.graphics.drawable.Drawable); 2062 method public void setContentText(java.lang.CharSequence); 2063 method public void setInfoAreaBackground(android.graphics.drawable.Drawable); 2064 method public void setInfoAreaBackgroundColor(int); 2065 method public void setMainImage(android.graphics.drawable.Drawable); 2066 method public void setMainImage(android.graphics.drawable.Drawable, boolean); 2067 method public void setMainImageAdjustViewBounds(boolean); 2068 method public void setMainImageDimensions(int, int); 2069 method public void setMainImageScaleType(android.widget.ImageView.ScaleType); 2070 method public void setTitleText(java.lang.CharSequence); 2071 field public static final int CARD_TYPE_FLAG_CONTENT = 2; // 0x2 2072 field public static final int CARD_TYPE_FLAG_ICON_LEFT = 8; // 0x8 2073 field public static final int CARD_TYPE_FLAG_ICON_RIGHT = 4; // 0x4 2074 field public static final int CARD_TYPE_FLAG_IMAGE_ONLY = 0; // 0x0 2075 field public static final int CARD_TYPE_FLAG_TITLE = 1; // 0x1 2076 } 2077 2078 public abstract interface ImeKeyMonitor { 2079 method public abstract void setImeKeyListener(androidx.leanback.widget.ImeKeyMonitor.ImeKeyListener); 2080 } 2081 2082 public static abstract interface ImeKeyMonitor.ImeKeyListener { 2083 method public abstract boolean onKeyPreIme(android.widget.EditText, int, android.view.KeyEvent); 2084 } 2085 2086 public final class ItemAlignmentFacet { 2087 ctor public ItemAlignmentFacet(); 2088 method public androidx.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignmentDefs(); 2089 method public boolean isMultiAlignment(); 2090 method public void setAlignmentDefs(androidx.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[]); 2091 field public static final float ITEM_ALIGN_OFFSET_PERCENT_DISABLED = -1.0f; 2092 } 2093 2094 public static class ItemAlignmentFacet.ItemAlignmentDef { 2095 ctor public ItemAlignmentFacet.ItemAlignmentDef(); 2096 method public final int getItemAlignmentFocusViewId(); 2097 method public final int getItemAlignmentOffset(); 2098 method public final float getItemAlignmentOffsetPercent(); 2099 method public final int getItemAlignmentViewId(); 2100 method public boolean isAlignedToTextViewBaseLine(); 2101 method public final boolean isItemAlignmentOffsetWithPadding(); 2102 method public final void setAlignedToTextViewBaseline(boolean); 2103 method public final void setItemAlignmentFocusViewId(int); 2104 method public final void setItemAlignmentOffset(int); 2105 method public final void setItemAlignmentOffsetPercent(float); 2106 method public final void setItemAlignmentOffsetWithPadding(boolean); 2107 method public final void setItemAlignmentViewId(int); 2108 } 2109 2110 public class ItemBridgeAdapter extends androidx.recyclerview.widget.RecyclerView.Adapter implements androidx.leanback.widget.FacetProviderAdapter { 2111 ctor public ItemBridgeAdapter(androidx.leanback.widget.ObjectAdapter, androidx.leanback.widget.PresenterSelector); 2112 ctor public ItemBridgeAdapter(androidx.leanback.widget.ObjectAdapter); 2113 ctor public ItemBridgeAdapter(); 2114 method public void clear(); 2115 method public androidx.leanback.widget.FacetProvider getFacetProvider(int); 2116 method public int getItemCount(); 2117 method public java.util.ArrayList<androidx.leanback.widget.Presenter> getPresenterMapper(); 2118 method public androidx.leanback.widget.ItemBridgeAdapter.Wrapper getWrapper(); 2119 method protected void onAddPresenter(androidx.leanback.widget.Presenter, int); 2120 method protected void onAttachedToWindow(androidx.leanback.widget.ItemBridgeAdapter.ViewHolder); 2121 method protected void onBind(androidx.leanback.widget.ItemBridgeAdapter.ViewHolder); 2122 method public final void onBindViewHolder(androidx.recyclerview.widget.RecyclerView.ViewHolder, int); 2123 method public final void onBindViewHolder(androidx.recyclerview.widget.RecyclerView.ViewHolder, int, java.util.List); 2124 method protected void onCreate(androidx.leanback.widget.ItemBridgeAdapter.ViewHolder); 2125 method public final androidx.recyclerview.widget.RecyclerView.ViewHolder onCreateViewHolder(android.view.ViewGroup, int); 2126 method protected void onDetachedFromWindow(androidx.leanback.widget.ItemBridgeAdapter.ViewHolder); 2127 method public final boolean onFailedToRecycleView(androidx.recyclerview.widget.RecyclerView.ViewHolder); 2128 method protected void onUnbind(androidx.leanback.widget.ItemBridgeAdapter.ViewHolder); 2129 method public final void onViewAttachedToWindow(androidx.recyclerview.widget.RecyclerView.ViewHolder); 2130 method public final void onViewDetachedFromWindow(androidx.recyclerview.widget.RecyclerView.ViewHolder); 2131 method public final void onViewRecycled(androidx.recyclerview.widget.RecyclerView.ViewHolder); 2132 method public void setAdapter(androidx.leanback.widget.ObjectAdapter); 2133 method public void setAdapterListener(androidx.leanback.widget.ItemBridgeAdapter.AdapterListener); 2134 method public void setPresenter(androidx.leanback.widget.PresenterSelector); 2135 method public void setPresenterMapper(java.util.ArrayList<androidx.leanback.widget.Presenter>); 2136 method public void setWrapper(androidx.leanback.widget.ItemBridgeAdapter.Wrapper); 2137 } 2138 2139 public static class ItemBridgeAdapter.AdapterListener { 2140 ctor public ItemBridgeAdapter.AdapterListener(); 2141 method public void onAddPresenter(androidx.leanback.widget.Presenter, int); 2142 method public void onAttachedToWindow(androidx.leanback.widget.ItemBridgeAdapter.ViewHolder); 2143 method public void onBind(androidx.leanback.widget.ItemBridgeAdapter.ViewHolder); 2144 method public void onBind(androidx.leanback.widget.ItemBridgeAdapter.ViewHolder, java.util.List); 2145 method public void onCreate(androidx.leanback.widget.ItemBridgeAdapter.ViewHolder); 2146 method public void onDetachedFromWindow(androidx.leanback.widget.ItemBridgeAdapter.ViewHolder); 2147 method public void onUnbind(androidx.leanback.widget.ItemBridgeAdapter.ViewHolder); 2148 } 2149 2150 public class ItemBridgeAdapter.ViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder implements androidx.leanback.widget.FacetProvider { 2151 method public final java.lang.Object getExtraObject(); 2152 method public java.lang.Object getFacet(java.lang.Class<?>); 2153 method public final java.lang.Object getItem(); 2154 method public final androidx.leanback.widget.Presenter getPresenter(); 2155 method public final androidx.leanback.widget.Presenter.ViewHolder getViewHolder(); 2156 method public void setExtraObject(java.lang.Object); 2157 } 2158 2159 public static abstract class ItemBridgeAdapter.Wrapper { 2160 ctor public ItemBridgeAdapter.Wrapper(); 2161 method public abstract android.view.View createWrapper(android.view.View); 2162 method public abstract void wrap(android.view.View, android.view.View); 2163 } 2164 2165 public class ItemBridgeAdapterShadowOverlayWrapper extends androidx.leanback.widget.ItemBridgeAdapter.Wrapper { 2166 ctor public ItemBridgeAdapterShadowOverlayWrapper(androidx.leanback.widget.ShadowOverlayHelper); 2167 method public android.view.View createWrapper(android.view.View); 2168 method public void wrap(android.view.View, android.view.View); 2169 } 2170 2171 public class ListRow extends androidx.leanback.widget.Row { 2172 ctor public ListRow(androidx.leanback.widget.HeaderItem, androidx.leanback.widget.ObjectAdapter); 2173 ctor public ListRow(long, androidx.leanback.widget.HeaderItem, androidx.leanback.widget.ObjectAdapter); 2174 ctor public ListRow(androidx.leanback.widget.ObjectAdapter); 2175 method public final androidx.leanback.widget.ObjectAdapter getAdapter(); 2176 method public java.lang.CharSequence getContentDescription(); 2177 method public void setContentDescription(java.lang.CharSequence); 2178 } 2179 2180 public final class ListRowHoverCardView extends android.widget.LinearLayout { 2181 ctor public ListRowHoverCardView(android.content.Context); 2182 ctor public ListRowHoverCardView(android.content.Context, android.util.AttributeSet); 2183 ctor public ListRowHoverCardView(android.content.Context, android.util.AttributeSet, int); 2184 method public java.lang.CharSequence getDescription(); 2185 method public java.lang.CharSequence getTitle(); 2186 method public void setDescription(java.lang.CharSequence); 2187 method public void setTitle(java.lang.CharSequence); 2188 } 2189 2190 public class ListRowPresenter extends androidx.leanback.widget.RowPresenter { 2191 ctor public ListRowPresenter(); 2192 ctor public ListRowPresenter(int); 2193 ctor public ListRowPresenter(int, boolean); 2194 method protected void applySelectLevelToChild(androidx.leanback.widget.ListRowPresenter.ViewHolder, android.view.View); 2195 method public final boolean areChildRoundedCornersEnabled(); 2196 method protected androidx.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 2197 method protected androidx.leanback.widget.ShadowOverlayHelper.Options createShadowOverlayOptions(); 2198 method public final void enableChildRoundedCorners(boolean); 2199 method public int getExpandedRowHeight(); 2200 method public final int getFocusZoomFactor(); 2201 method public final androidx.leanback.widget.PresenterSelector getHoverCardPresenterSelector(); 2202 method public int getRecycledPoolSize(androidx.leanback.widget.Presenter); 2203 method public int getRowHeight(); 2204 method public final boolean getShadowEnabled(); 2205 method public final deprecated int getZoomFactor(); 2206 method public final boolean isFocusDimmerUsed(); 2207 method public final boolean isKeepChildForeground(); 2208 method public boolean isUsingDefaultListSelectEffect(); 2209 method public final boolean isUsingDefaultSelectEffect(); 2210 method public boolean isUsingDefaultShadow(); 2211 method public boolean isUsingOutlineClipping(android.content.Context); 2212 method public boolean isUsingZOrder(android.content.Context); 2213 method public void setExpandedRowHeight(int); 2214 method public final void setHoverCardPresenterSelector(androidx.leanback.widget.PresenterSelector); 2215 method public final void setKeepChildForeground(boolean); 2216 method public void setNumRows(int); 2217 method public void setRecycledPoolSize(androidx.leanback.widget.Presenter, int); 2218 method public void setRowHeight(int); 2219 method public final void setShadowEnabled(boolean); 2220 } 2221 2222 public static class ListRowPresenter.SelectItemViewHolderTask extends androidx.leanback.widget.Presenter.ViewHolderTask { 2223 ctor public ListRowPresenter.SelectItemViewHolderTask(int); 2224 method public int getItemPosition(); 2225 method public androidx.leanback.widget.Presenter.ViewHolderTask getItemTask(); 2226 method public boolean isSmoothScroll(); 2227 method public void setItemPosition(int); 2228 method public void setItemTask(androidx.leanback.widget.Presenter.ViewHolderTask); 2229 method public void setSmoothScroll(boolean); 2230 } 2231 2232 public static class ListRowPresenter.ViewHolder extends androidx.leanback.widget.RowPresenter.ViewHolder { 2233 ctor public ListRowPresenter.ViewHolder(android.view.View, androidx.leanback.widget.HorizontalGridView, androidx.leanback.widget.ListRowPresenter); 2234 method public final androidx.leanback.widget.ItemBridgeAdapter getBridgeAdapter(); 2235 method public final androidx.leanback.widget.HorizontalGridView getGridView(); 2236 method public androidx.leanback.widget.Presenter.ViewHolder getItemViewHolder(int); 2237 method public final androidx.leanback.widget.ListRowPresenter getListRowPresenter(); 2238 method public int getSelectedPosition(); 2239 } 2240 2241 public final class ListRowView extends android.widget.LinearLayout { 2242 ctor public ListRowView(android.content.Context); 2243 ctor public ListRowView(android.content.Context, android.util.AttributeSet); 2244 ctor public ListRowView(android.content.Context, android.util.AttributeSet, int); 2245 method public androidx.leanback.widget.HorizontalGridView getGridView(); 2246 } 2247 2248 public abstract interface MultiActionsProvider { 2249 method public abstract androidx.leanback.widget.MultiActionsProvider.MultiAction[] getActions(); 2250 } 2251 2252 public static class MultiActionsProvider.MultiAction { 2253 ctor public MultiActionsProvider.MultiAction(long); 2254 method public android.graphics.drawable.Drawable getCurrentDrawable(); 2255 method public android.graphics.drawable.Drawable[] getDrawables(); 2256 method public long getId(); 2257 method public int getIndex(); 2258 method public void incrementIndex(); 2259 method public void setDrawables(android.graphics.drawable.Drawable[]); 2260 method public void setIndex(int); 2261 } 2262 2263 public abstract class ObjectAdapter { 2264 ctor public ObjectAdapter(androidx.leanback.widget.PresenterSelector); 2265 ctor public ObjectAdapter(androidx.leanback.widget.Presenter); 2266 ctor public ObjectAdapter(); 2267 method public abstract java.lang.Object get(int); 2268 method public long getId(int); 2269 method public final androidx.leanback.widget.Presenter getPresenter(java.lang.Object); 2270 method public final androidx.leanback.widget.PresenterSelector getPresenterSelector(); 2271 method public final boolean hasStableIds(); 2272 method public boolean isImmediateNotifySupported(); 2273 method protected final void notifyChanged(); 2274 method protected final void notifyItemMoved(int, int); 2275 method public final void notifyItemRangeChanged(int, int); 2276 method public final void notifyItemRangeChanged(int, int, java.lang.Object); 2277 method protected final void notifyItemRangeInserted(int, int); 2278 method protected final void notifyItemRangeRemoved(int, int); 2279 method protected void onHasStableIdsChanged(); 2280 method protected void onPresenterSelectorChanged(); 2281 method public final void registerObserver(androidx.leanback.widget.ObjectAdapter.DataObserver); 2282 method public final void setHasStableIds(boolean); 2283 method public final void setPresenterSelector(androidx.leanback.widget.PresenterSelector); 2284 method public abstract int size(); 2285 method public final void unregisterAllObservers(); 2286 method public final void unregisterObserver(androidx.leanback.widget.ObjectAdapter.DataObserver); 2287 field public static final int NO_ID = -1; // 0xffffffff 2288 } 2289 2290 public static abstract class ObjectAdapter.DataObserver { 2291 ctor public ObjectAdapter.DataObserver(); 2292 method public void onChanged(); 2293 method public void onItemMoved(int, int); 2294 method public void onItemRangeChanged(int, int); 2295 method public void onItemRangeChanged(int, int, java.lang.Object); 2296 method public void onItemRangeInserted(int, int); 2297 method public void onItemRangeRemoved(int, int); 2298 } 2299 2300 public abstract interface OnActionClickedListener { 2301 method public abstract void onActionClicked(androidx.leanback.widget.Action); 2302 } 2303 2304 public abstract interface OnChildLaidOutListener { 2305 method public abstract void onChildLaidOut(android.view.ViewGroup, android.view.View, int, long); 2306 } 2307 2308 public abstract deprecated interface OnChildSelectedListener { 2309 method public abstract void onChildSelected(android.view.ViewGroup, android.view.View, int, long); 2310 } 2311 2312 public abstract class OnChildViewHolderSelectedListener { 2313 ctor public OnChildViewHolderSelectedListener(); 2314 method public void onChildViewHolderSelected(androidx.recyclerview.widget.RecyclerView, androidx.recyclerview.widget.RecyclerView.ViewHolder, int, int); 2315 method public void onChildViewHolderSelectedAndPositioned(androidx.recyclerview.widget.RecyclerView, androidx.recyclerview.widget.RecyclerView.ViewHolder, int, int); 2316 } 2317 2318 public abstract interface OnItemViewClickedListener implements androidx.leanback.widget.BaseOnItemViewClickedListener { 2319 } 2320 2321 public abstract interface OnItemViewSelectedListener implements androidx.leanback.widget.BaseOnItemViewSelectedListener { 2322 } 2323 2324 public class PageRow extends androidx.leanback.widget.Row { 2325 ctor public PageRow(androidx.leanback.widget.HeaderItem); 2326 method public final boolean isRenderedAsRowView(); 2327 } 2328 2329 public abstract class Parallax<PropertyT extends android.util.Property> { 2330 ctor public Parallax(); 2331 method public androidx.leanback.widget.ParallaxEffect addEffect(androidx.leanback.widget.Parallax.PropertyMarkerValue...); 2332 method public final PropertyT addProperty(java.lang.String); 2333 method public abstract PropertyT createProperty(java.lang.String, int); 2334 method public java.util.List<androidx.leanback.widget.ParallaxEffect> getEffects(); 2335 method public abstract float getMaxValue(); 2336 method public final java.util.List<PropertyT> getProperties(); 2337 method public void removeAllEffects(); 2338 method public void removeEffect(androidx.leanback.widget.ParallaxEffect); 2339 method public void updateValues(); 2340 } 2341 2342 public static class Parallax.FloatProperty extends android.util.Property { 2343 ctor public Parallax.FloatProperty(java.lang.String, int); 2344 method public final androidx.leanback.widget.Parallax.PropertyMarkerValue at(float, float); 2345 method public final androidx.leanback.widget.Parallax.PropertyMarkerValue atAbsolute(float); 2346 method public final androidx.leanback.widget.Parallax.PropertyMarkerValue atFraction(float); 2347 method public final androidx.leanback.widget.Parallax.PropertyMarkerValue atMax(); 2348 method public final androidx.leanback.widget.Parallax.PropertyMarkerValue atMin(); 2349 method public final java.lang.Float get(androidx.leanback.widget.Parallax); 2350 method public final int getIndex(); 2351 method public final float getValue(androidx.leanback.widget.Parallax); 2352 method public final void set(androidx.leanback.widget.Parallax, java.lang.Float); 2353 method public final void setValue(androidx.leanback.widget.Parallax, float); 2354 field public static final float UNKNOWN_AFTER = 3.4028235E38f; 2355 field public static final float UNKNOWN_BEFORE = -3.4028235E38f; 2356 } 2357 2358 public static class Parallax.IntProperty extends android.util.Property { 2359 ctor public Parallax.IntProperty(java.lang.String, int); 2360 method public final androidx.leanback.widget.Parallax.PropertyMarkerValue at(int, float); 2361 method public final androidx.leanback.widget.Parallax.PropertyMarkerValue atAbsolute(int); 2362 method public final androidx.leanback.widget.Parallax.PropertyMarkerValue atFraction(float); 2363 method public final androidx.leanback.widget.Parallax.PropertyMarkerValue atMax(); 2364 method public final androidx.leanback.widget.Parallax.PropertyMarkerValue atMin(); 2365 method public final java.lang.Integer get(androidx.leanback.widget.Parallax); 2366 method public final int getIndex(); 2367 method public final int getValue(androidx.leanback.widget.Parallax); 2368 method public final void set(androidx.leanback.widget.Parallax, java.lang.Integer); 2369 method public final void setValue(androidx.leanback.widget.Parallax, int); 2370 field public static final int UNKNOWN_AFTER = 2147483647; // 0x7fffffff 2371 field public static final int UNKNOWN_BEFORE = -2147483648; // 0x80000000 2372 } 2373 2374 public static class Parallax.PropertyMarkerValue<PropertyT> { 2375 ctor public Parallax.PropertyMarkerValue(PropertyT); 2376 method public PropertyT getProperty(); 2377 } 2378 2379 public abstract class ParallaxEffect { 2380 method public final void addTarget(androidx.leanback.widget.ParallaxTarget); 2381 method public final java.util.List<androidx.leanback.widget.Parallax.PropertyMarkerValue> getPropertyRanges(); 2382 method public final java.util.List<androidx.leanback.widget.ParallaxTarget> getTargets(); 2383 method public final void performMapping(androidx.leanback.widget.Parallax); 2384 method public final void removeTarget(androidx.leanback.widget.ParallaxTarget); 2385 method public final void setPropertyRanges(androidx.leanback.widget.Parallax.PropertyMarkerValue...); 2386 method public final androidx.leanback.widget.ParallaxEffect target(androidx.leanback.widget.ParallaxTarget); 2387 method public final androidx.leanback.widget.ParallaxEffect target(java.lang.Object, android.animation.PropertyValuesHolder); 2388 method public final <T, V extends java.lang.Number> androidx.leanback.widget.ParallaxEffect target(T, android.util.Property<T, V>); 2389 } 2390 2391 public abstract class ParallaxTarget { 2392 ctor public ParallaxTarget(); 2393 method public void directUpdate(java.lang.Number); 2394 method public boolean isDirectMapping(); 2395 method public void update(float); 2396 } 2397 2398 public static final class ParallaxTarget.DirectPropertyTarget<T, V extends java.lang.Number> extends androidx.leanback.widget.ParallaxTarget { 2399 ctor public ParallaxTarget.DirectPropertyTarget(java.lang.Object, android.util.Property<T, V>); 2400 } 2401 2402 public static final class ParallaxTarget.PropertyValuesHolderTarget extends androidx.leanback.widget.ParallaxTarget { 2403 ctor public ParallaxTarget.PropertyValuesHolderTarget(java.lang.Object, android.animation.PropertyValuesHolder); 2404 } 2405 2406 public class PlaybackControlsRow extends androidx.leanback.widget.Row { 2407 ctor public PlaybackControlsRow(java.lang.Object); 2408 ctor public PlaybackControlsRow(); 2409 method public androidx.leanback.widget.Action getActionForKeyCode(int); 2410 method public androidx.leanback.widget.Action getActionForKeyCode(androidx.leanback.widget.ObjectAdapter, int); 2411 method public long getBufferedPosition(); 2412 method public deprecated int getBufferedProgress(); 2413 method public deprecated long getBufferedProgressLong(); 2414 method public long getCurrentPosition(); 2415 method public deprecated int getCurrentTime(); 2416 method public deprecated long getCurrentTimeLong(); 2417 method public long getDuration(); 2418 method public final android.graphics.drawable.Drawable getImageDrawable(); 2419 method public final java.lang.Object getItem(); 2420 method public final androidx.leanback.widget.ObjectAdapter getPrimaryActionsAdapter(); 2421 method public final androidx.leanback.widget.ObjectAdapter getSecondaryActionsAdapter(); 2422 method public deprecated int getTotalTime(); 2423 method public deprecated long getTotalTimeLong(); 2424 method public void setBufferedPosition(long); 2425 method public deprecated void setBufferedProgress(int); 2426 method public deprecated void setBufferedProgressLong(long); 2427 method public void setCurrentPosition(long); 2428 method public deprecated void setCurrentTime(int); 2429 method public deprecated void setCurrentTimeLong(long); 2430 method public void setDuration(long); 2431 method public final void setImageBitmap(android.content.Context, android.graphics.Bitmap); 2432 method public final void setImageDrawable(android.graphics.drawable.Drawable); 2433 method public void setOnPlaybackProgressChangedListener(androidx.leanback.widget.PlaybackControlsRow.OnPlaybackProgressCallback); 2434 method public final void setPrimaryActionsAdapter(androidx.leanback.widget.ObjectAdapter); 2435 method public final void setSecondaryActionsAdapter(androidx.leanback.widget.ObjectAdapter); 2436 method public deprecated void setTotalTime(int); 2437 method public deprecated void setTotalTimeLong(long); 2438 } 2439 2440 public static class PlaybackControlsRow.ClosedCaptioningAction extends androidx.leanback.widget.PlaybackControlsRow.MultiAction { 2441 ctor public PlaybackControlsRow.ClosedCaptioningAction(android.content.Context); 2442 ctor public PlaybackControlsRow.ClosedCaptioningAction(android.content.Context, int); 2443 field public static final int INDEX_OFF = 0; // 0x0 2444 field public static final int INDEX_ON = 1; // 0x1 2445 field public static final deprecated int OFF = 0; // 0x0 2446 field public static final deprecated int ON = 1; // 0x1 2447 } 2448 2449 public static class PlaybackControlsRow.FastForwardAction extends androidx.leanback.widget.PlaybackControlsRow.MultiAction { 2450 ctor public PlaybackControlsRow.FastForwardAction(android.content.Context); 2451 ctor public PlaybackControlsRow.FastForwardAction(android.content.Context, int); 2452 } 2453 2454 public static class PlaybackControlsRow.HighQualityAction extends androidx.leanback.widget.PlaybackControlsRow.MultiAction { 2455 ctor public PlaybackControlsRow.HighQualityAction(android.content.Context); 2456 ctor public PlaybackControlsRow.HighQualityAction(android.content.Context, int); 2457 field public static final int INDEX_OFF = 0; // 0x0 2458 field public static final int INDEX_ON = 1; // 0x1 2459 field public static final deprecated int OFF = 0; // 0x0 2460 field public static final deprecated int ON = 1; // 0x1 2461 } 2462 2463 public static class PlaybackControlsRow.MoreActions extends androidx.leanback.widget.Action { 2464 ctor public PlaybackControlsRow.MoreActions(android.content.Context); 2465 } 2466 2467 public static abstract class PlaybackControlsRow.MultiAction extends androidx.leanback.widget.Action { 2468 ctor public PlaybackControlsRow.MultiAction(int); 2469 method public int getActionCount(); 2470 method public android.graphics.drawable.Drawable getDrawable(int); 2471 method public int getIndex(); 2472 method public java.lang.String getLabel(int); 2473 method public java.lang.String getSecondaryLabel(int); 2474 method public void nextIndex(); 2475 method public void setDrawables(android.graphics.drawable.Drawable[]); 2476 method public void setIndex(int); 2477 method public void setLabels(java.lang.String[]); 2478 method public void setSecondaryLabels(java.lang.String[]); 2479 } 2480 2481 public static class PlaybackControlsRow.OnPlaybackProgressCallback { 2482 ctor public PlaybackControlsRow.OnPlaybackProgressCallback(); 2483 method public void onBufferedPositionChanged(androidx.leanback.widget.PlaybackControlsRow, long); 2484 method public void onCurrentPositionChanged(androidx.leanback.widget.PlaybackControlsRow, long); 2485 method public void onDurationChanged(androidx.leanback.widget.PlaybackControlsRow, long); 2486 } 2487 2488 public static class PlaybackControlsRow.PictureInPictureAction extends androidx.leanback.widget.Action { 2489 ctor public PlaybackControlsRow.PictureInPictureAction(android.content.Context); 2490 } 2491 2492 public static class PlaybackControlsRow.PlayPauseAction extends androidx.leanback.widget.PlaybackControlsRow.MultiAction { 2493 ctor public PlaybackControlsRow.PlayPauseAction(android.content.Context); 2494 field public static final int INDEX_PAUSE = 1; // 0x1 2495 field public static final int INDEX_PLAY = 0; // 0x0 2496 field public static final deprecated int PAUSE = 1; // 0x1 2497 field public static final deprecated int PLAY = 0; // 0x0 2498 } 2499 2500 public static class PlaybackControlsRow.RepeatAction extends androidx.leanback.widget.PlaybackControlsRow.MultiAction { 2501 ctor public PlaybackControlsRow.RepeatAction(android.content.Context); 2502 ctor public PlaybackControlsRow.RepeatAction(android.content.Context, int); 2503 ctor public PlaybackControlsRow.RepeatAction(android.content.Context, int, int); 2504 field public static final deprecated int ALL = 1; // 0x1 2505 field public static final int INDEX_ALL = 1; // 0x1 2506 field public static final int INDEX_NONE = 0; // 0x0 2507 field public static final int INDEX_ONE = 2; // 0x2 2508 field public static final deprecated int NONE = 0; // 0x0 2509 field public static final deprecated int ONE = 2; // 0x2 2510 } 2511 2512 public static class PlaybackControlsRow.RewindAction extends androidx.leanback.widget.PlaybackControlsRow.MultiAction { 2513 ctor public PlaybackControlsRow.RewindAction(android.content.Context); 2514 ctor public PlaybackControlsRow.RewindAction(android.content.Context, int); 2515 } 2516 2517 public static class PlaybackControlsRow.ShuffleAction extends androidx.leanback.widget.PlaybackControlsRow.MultiAction { 2518 ctor public PlaybackControlsRow.ShuffleAction(android.content.Context); 2519 ctor public PlaybackControlsRow.ShuffleAction(android.content.Context, int); 2520 field public static final int INDEX_OFF = 0; // 0x0 2521 field public static final int INDEX_ON = 1; // 0x1 2522 field public static final deprecated int OFF = 0; // 0x0 2523 field public static final deprecated int ON = 1; // 0x1 2524 } 2525 2526 public static class PlaybackControlsRow.SkipNextAction extends androidx.leanback.widget.Action { 2527 ctor public PlaybackControlsRow.SkipNextAction(android.content.Context); 2528 } 2529 2530 public static class PlaybackControlsRow.SkipPreviousAction extends androidx.leanback.widget.Action { 2531 ctor public PlaybackControlsRow.SkipPreviousAction(android.content.Context); 2532 } 2533 2534 public static abstract class PlaybackControlsRow.ThumbsAction extends androidx.leanback.widget.PlaybackControlsRow.MultiAction { 2535 ctor public PlaybackControlsRow.ThumbsAction(int, android.content.Context, int, int); 2536 field public static final int INDEX_OUTLINE = 1; // 0x1 2537 field public static final int INDEX_SOLID = 0; // 0x0 2538 field public static final deprecated int OUTLINE = 1; // 0x1 2539 field public static final deprecated int SOLID = 0; // 0x0 2540 } 2541 2542 public static class PlaybackControlsRow.ThumbsDownAction extends androidx.leanback.widget.PlaybackControlsRow.ThumbsAction { 2543 ctor public PlaybackControlsRow.ThumbsDownAction(android.content.Context); 2544 } 2545 2546 public static class PlaybackControlsRow.ThumbsUpAction extends androidx.leanback.widget.PlaybackControlsRow.ThumbsAction { 2547 ctor public PlaybackControlsRow.ThumbsUpAction(android.content.Context); 2548 } 2549 2550 public class PlaybackControlsRowPresenter extends androidx.leanback.widget.PlaybackRowPresenter { 2551 ctor public PlaybackControlsRowPresenter(androidx.leanback.widget.Presenter); 2552 ctor public PlaybackControlsRowPresenter(); 2553 method public boolean areSecondaryActionsHidden(); 2554 method protected androidx.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 2555 method public int getBackgroundColor(); 2556 method public androidx.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 2557 method public int getProgressColor(); 2558 method public void setBackgroundColor(int); 2559 method public void setOnActionClickedListener(androidx.leanback.widget.OnActionClickedListener); 2560 method public void setProgressColor(int); 2561 method public void setSecondaryActionsHidden(boolean); 2562 method public void showBottomSpace(androidx.leanback.widget.PlaybackControlsRowPresenter.ViewHolder, boolean); 2563 method public void showPrimaryActions(androidx.leanback.widget.PlaybackControlsRowPresenter.ViewHolder); 2564 } 2565 2566 public class PlaybackControlsRowPresenter.ViewHolder extends androidx.leanback.widget.PlaybackRowPresenter.ViewHolder { 2567 field public final androidx.leanback.widget.Presenter.ViewHolder mDescriptionViewHolder; 2568 } 2569 2570 public abstract class PlaybackRowPresenter extends androidx.leanback.widget.RowPresenter { 2571 ctor public PlaybackRowPresenter(); 2572 method public void onReappear(androidx.leanback.widget.RowPresenter.ViewHolder); 2573 } 2574 2575 public static class PlaybackRowPresenter.ViewHolder extends androidx.leanback.widget.RowPresenter.ViewHolder { 2576 ctor public PlaybackRowPresenter.ViewHolder(android.view.View); 2577 } 2578 2579 public class PlaybackSeekDataProvider { 2580 ctor public PlaybackSeekDataProvider(); 2581 method public long[] getSeekPositions(); 2582 method public void getThumbnail(int, androidx.leanback.widget.PlaybackSeekDataProvider.ResultCallback); 2583 method public void reset(); 2584 } 2585 2586 public static class PlaybackSeekDataProvider.ResultCallback { 2587 ctor public PlaybackSeekDataProvider.ResultCallback(); 2588 method public void onThumbnailLoaded(android.graphics.Bitmap, int); 2589 } 2590 2591 public abstract interface PlaybackSeekUi { 2592 method public abstract void setPlaybackSeekUiClient(androidx.leanback.widget.PlaybackSeekUi.Client); 2593 } 2594 2595 public static class PlaybackSeekUi.Client { 2596 ctor public PlaybackSeekUi.Client(); 2597 method public androidx.leanback.widget.PlaybackSeekDataProvider getPlaybackSeekDataProvider(); 2598 method public boolean isSeekEnabled(); 2599 method public void onSeekFinished(boolean); 2600 method public void onSeekPositionChanged(long); 2601 method public void onSeekStarted(); 2602 } 2603 2604 public class PlaybackTransportRowPresenter extends androidx.leanback.widget.PlaybackRowPresenter { 2605 ctor public PlaybackTransportRowPresenter(); 2606 method protected androidx.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 2607 method public float getDefaultSeekIncrement(); 2608 method public androidx.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 2609 method public int getProgressColor(); 2610 method protected void onProgressBarClicked(androidx.leanback.widget.PlaybackTransportRowPresenter.ViewHolder); 2611 method public void setDefaultSeekIncrement(float); 2612 method public void setDescriptionPresenter(androidx.leanback.widget.Presenter); 2613 method public void setOnActionClickedListener(androidx.leanback.widget.OnActionClickedListener); 2614 method public void setProgressColor(int); 2615 } 2616 2617 public class PlaybackTransportRowPresenter.ViewHolder extends androidx.leanback.widget.PlaybackRowPresenter.ViewHolder implements androidx.leanback.widget.PlaybackSeekUi { 2618 ctor public PlaybackTransportRowPresenter.ViewHolder(android.view.View, androidx.leanback.widget.Presenter); 2619 method public final android.widget.TextView getCurrentPositionView(); 2620 method public final androidx.leanback.widget.Presenter.ViewHolder getDescriptionViewHolder(); 2621 method public final android.widget.TextView getDurationView(); 2622 method protected void onSetCurrentPositionLabel(long); 2623 method protected void onSetDurationLabel(long); 2624 method public void setPlaybackSeekUiClient(androidx.leanback.widget.PlaybackSeekUi.Client); 2625 } 2626 2627 public abstract class Presenter implements androidx.leanback.widget.FacetProvider { 2628 ctor public Presenter(); 2629 method protected static void cancelAnimationsRecursive(android.view.View); 2630 method public final java.lang.Object getFacet(java.lang.Class<?>); 2631 method public abstract void onBindViewHolder(androidx.leanback.widget.Presenter.ViewHolder, java.lang.Object); 2632 method public void onBindViewHolder(androidx.leanback.widget.Presenter.ViewHolder, java.lang.Object, java.util.List<java.lang.Object>); 2633 method public abstract androidx.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 2634 method public abstract void onUnbindViewHolder(androidx.leanback.widget.Presenter.ViewHolder); 2635 method public void onViewAttachedToWindow(androidx.leanback.widget.Presenter.ViewHolder); 2636 method public void onViewDetachedFromWindow(androidx.leanback.widget.Presenter.ViewHolder); 2637 method public final void setFacet(java.lang.Class<?>, java.lang.Object); 2638 method public void setOnClickListener(androidx.leanback.widget.Presenter.ViewHolder, android.view.View.OnClickListener); 2639 } 2640 2641 public static class Presenter.ViewHolder implements androidx.leanback.widget.FacetProvider { 2642 ctor public Presenter.ViewHolder(android.view.View); 2643 method public final java.lang.Object getFacet(java.lang.Class<?>); 2644 method public final void setFacet(java.lang.Class<?>, java.lang.Object); 2645 field public final android.view.View view; 2646 } 2647 2648 public static abstract class Presenter.ViewHolderTask { 2649 ctor public Presenter.ViewHolderTask(); 2650 method public void run(androidx.leanback.widget.Presenter.ViewHolder); 2651 } 2652 2653 public abstract class PresenterSelector { 2654 ctor public PresenterSelector(); 2655 method public abstract androidx.leanback.widget.Presenter getPresenter(java.lang.Object); 2656 method public androidx.leanback.widget.Presenter[] getPresenters(); 2657 } 2658 2659 public abstract class PresenterSwitcher { 2660 ctor public PresenterSwitcher(); 2661 method public void clear(); 2662 method public final android.view.ViewGroup getParentViewGroup(); 2663 method public void init(android.view.ViewGroup, androidx.leanback.widget.PresenterSelector); 2664 method protected abstract void insertView(android.view.View); 2665 method protected void onViewSelected(android.view.View); 2666 method public void select(java.lang.Object); 2667 method protected void showView(android.view.View, boolean); 2668 method public void unselect(); 2669 } 2670 2671 public class RecyclerViewParallax extends androidx.leanback.widget.Parallax { 2672 ctor public RecyclerViewParallax(); 2673 method public androidx.leanback.widget.RecyclerViewParallax.ChildPositionProperty createProperty(java.lang.String, int); 2674 method public float getMaxValue(); 2675 method public androidx.recyclerview.widget.RecyclerView getRecyclerView(); 2676 method public void setRecyclerView(androidx.recyclerview.widget.RecyclerView); 2677 } 2678 2679 public static final class RecyclerViewParallax.ChildPositionProperty extends androidx.leanback.widget.Parallax.IntProperty { 2680 method public androidx.leanback.widget.RecyclerViewParallax.ChildPositionProperty adapterPosition(int); 2681 method public androidx.leanback.widget.RecyclerViewParallax.ChildPositionProperty fraction(float); 2682 method public int getAdapterPosition(); 2683 method public float getFraction(); 2684 method public int getOffset(); 2685 method public int getViewId(); 2686 method public androidx.leanback.widget.RecyclerViewParallax.ChildPositionProperty offset(int); 2687 method public androidx.leanback.widget.RecyclerViewParallax.ChildPositionProperty viewId(int); 2688 } 2689 2690 public class Row { 2691 ctor public Row(long, androidx.leanback.widget.HeaderItem); 2692 ctor public Row(androidx.leanback.widget.HeaderItem); 2693 ctor public Row(); 2694 method public final androidx.leanback.widget.HeaderItem getHeaderItem(); 2695 method public final long getId(); 2696 method public boolean isRenderedAsRowView(); 2697 method public final void setHeaderItem(androidx.leanback.widget.HeaderItem); 2698 method public final void setId(long); 2699 } 2700 2701 public class RowHeaderPresenter extends androidx.leanback.widget.Presenter { 2702 ctor public RowHeaderPresenter(); 2703 method protected static float getFontDescent(android.widget.TextView, android.graphics.Paint); 2704 method public int getSpaceUnderBaseline(androidx.leanback.widget.RowHeaderPresenter.ViewHolder); 2705 method public boolean isNullItemVisibilityGone(); 2706 method public void onBindViewHolder(androidx.leanback.widget.Presenter.ViewHolder, java.lang.Object); 2707 method public androidx.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 2708 method protected void onSelectLevelChanged(androidx.leanback.widget.RowHeaderPresenter.ViewHolder); 2709 method public void onUnbindViewHolder(androidx.leanback.widget.Presenter.ViewHolder); 2710 method public void setNullItemVisibilityGone(boolean); 2711 method public final void setSelectLevel(androidx.leanback.widget.RowHeaderPresenter.ViewHolder, float); 2712 } 2713 2714 public static class RowHeaderPresenter.ViewHolder extends androidx.leanback.widget.Presenter.ViewHolder { 2715 ctor public RowHeaderPresenter.ViewHolder(android.view.View); 2716 method public final float getSelectLevel(); 2717 } 2718 2719 public final class RowHeaderView extends android.widget.TextView { 2720 ctor public RowHeaderView(android.content.Context); 2721 ctor public RowHeaderView(android.content.Context, android.util.AttributeSet); 2722 ctor public RowHeaderView(android.content.Context, android.util.AttributeSet, int); 2723 } 2724 2725 public abstract class RowPresenter extends androidx.leanback.widget.Presenter { 2726 ctor public RowPresenter(); 2727 method protected abstract androidx.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 2728 method protected void dispatchItemSelectedListener(androidx.leanback.widget.RowPresenter.ViewHolder, boolean); 2729 method public void freeze(androidx.leanback.widget.RowPresenter.ViewHolder, boolean); 2730 method public final androidx.leanback.widget.RowHeaderPresenter getHeaderPresenter(); 2731 method public final androidx.leanback.widget.RowPresenter.ViewHolder getRowViewHolder(androidx.leanback.widget.Presenter.ViewHolder); 2732 method public final boolean getSelectEffectEnabled(); 2733 method public final float getSelectLevel(androidx.leanback.widget.Presenter.ViewHolder); 2734 method public final int getSyncActivatePolicy(); 2735 method protected void initializeRowViewHolder(androidx.leanback.widget.RowPresenter.ViewHolder); 2736 method protected boolean isClippingChildren(); 2737 method public boolean isUsingDefaultSelectEffect(); 2738 method protected void onBindRowViewHolder(androidx.leanback.widget.RowPresenter.ViewHolder, java.lang.Object); 2739 method public final void onBindViewHolder(androidx.leanback.widget.Presenter.ViewHolder, java.lang.Object); 2740 method public final androidx.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 2741 method protected void onRowViewAttachedToWindow(androidx.leanback.widget.RowPresenter.ViewHolder); 2742 method protected void onRowViewDetachedFromWindow(androidx.leanback.widget.RowPresenter.ViewHolder); 2743 method protected void onRowViewExpanded(androidx.leanback.widget.RowPresenter.ViewHolder, boolean); 2744 method protected void onRowViewSelected(androidx.leanback.widget.RowPresenter.ViewHolder, boolean); 2745 method protected void onSelectLevelChanged(androidx.leanback.widget.RowPresenter.ViewHolder); 2746 method protected void onUnbindRowViewHolder(androidx.leanback.widget.RowPresenter.ViewHolder); 2747 method public final void onUnbindViewHolder(androidx.leanback.widget.Presenter.ViewHolder); 2748 method public final void onViewAttachedToWindow(androidx.leanback.widget.Presenter.ViewHolder); 2749 method public final void onViewDetachedFromWindow(androidx.leanback.widget.Presenter.ViewHolder); 2750 method public void setEntranceTransitionState(androidx.leanback.widget.RowPresenter.ViewHolder, boolean); 2751 method public final void setHeaderPresenter(androidx.leanback.widget.RowHeaderPresenter); 2752 method public final void setRowViewExpanded(androidx.leanback.widget.Presenter.ViewHolder, boolean); 2753 method public final void setRowViewSelected(androidx.leanback.widget.Presenter.ViewHolder, boolean); 2754 method public final void setSelectEffectEnabled(boolean); 2755 method public final void setSelectLevel(androidx.leanback.widget.Presenter.ViewHolder, float); 2756 method public final void setSyncActivatePolicy(int); 2757 field public static final int SYNC_ACTIVATED_CUSTOM = 0; // 0x0 2758 field public static final int SYNC_ACTIVATED_TO_EXPANDED = 1; // 0x1 2759 field public static final int SYNC_ACTIVATED_TO_EXPANDED_AND_SELECTED = 3; // 0x3 2760 field public static final int SYNC_ACTIVATED_TO_SELECTED = 2; // 0x2 2761 } 2762 2763 public static class RowPresenter.ViewHolder extends androidx.leanback.widget.Presenter.ViewHolder { 2764 ctor public RowPresenter.ViewHolder(android.view.View); 2765 method public final androidx.leanback.widget.RowHeaderPresenter.ViewHolder getHeaderViewHolder(); 2766 method public final androidx.leanback.widget.BaseOnItemViewClickedListener getOnItemViewClickedListener(); 2767 method public final androidx.leanback.widget.BaseOnItemViewSelectedListener getOnItemViewSelectedListener(); 2768 method public android.view.View.OnKeyListener getOnKeyListener(); 2769 method public final androidx.leanback.widget.Row getRow(); 2770 method public final java.lang.Object getRowObject(); 2771 method public final float getSelectLevel(); 2772 method public java.lang.Object getSelectedItem(); 2773 method public androidx.leanback.widget.Presenter.ViewHolder getSelectedItemViewHolder(); 2774 method public final boolean isExpanded(); 2775 method public final boolean isSelected(); 2776 method public final void setActivated(boolean); 2777 method public final void setOnItemViewClickedListener(androidx.leanback.widget.BaseOnItemViewClickedListener); 2778 method public final void setOnItemViewSelectedListener(androidx.leanback.widget.BaseOnItemViewSelectedListener); 2779 method public void setOnKeyListener(android.view.View.OnKeyListener); 2780 method public final void syncActivatedStatus(android.view.View); 2781 field protected final androidx.leanback.graphics.ColorOverlayDimmer mColorDimmer; 2782 } 2783 2784 public class SearchBar extends android.widget.RelativeLayout { 2785 ctor public SearchBar(android.content.Context); 2786 ctor public SearchBar(android.content.Context, android.util.AttributeSet); 2787 ctor public SearchBar(android.content.Context, android.util.AttributeSet, int); 2788 method public void displayCompletions(java.util.List<java.lang.String>); 2789 method public void displayCompletions(android.view.inputmethod.CompletionInfo[]); 2790 method public android.graphics.drawable.Drawable getBadgeDrawable(); 2791 method public java.lang.CharSequence getHint(); 2792 method public java.lang.String getTitle(); 2793 method public boolean isRecognizing(); 2794 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 2795 method public void setPermissionListener(androidx.leanback.widget.SearchBar.SearchBarPermissionListener); 2796 method public void setSearchAffordanceColors(androidx.leanback.widget.SearchOrbView.Colors); 2797 method public void setSearchAffordanceColorsInListening(androidx.leanback.widget.SearchOrbView.Colors); 2798 method public void setSearchBarListener(androidx.leanback.widget.SearchBar.SearchBarListener); 2799 method public void setSearchQuery(java.lang.String); 2800 method public deprecated void setSpeechRecognitionCallback(androidx.leanback.widget.SpeechRecognitionCallback); 2801 method public void setSpeechRecognizer(android.speech.SpeechRecognizer); 2802 method public void setTitle(java.lang.String); 2803 method public void startRecognition(); 2804 method public void stopRecognition(); 2805 } 2806 2807 public static abstract interface SearchBar.SearchBarListener { 2808 method public abstract void onKeyboardDismiss(java.lang.String); 2809 method public abstract void onSearchQueryChange(java.lang.String); 2810 method public abstract void onSearchQuerySubmit(java.lang.String); 2811 } 2812 2813 public static abstract interface SearchBar.SearchBarPermissionListener { 2814 method public abstract void requestAudioPermission(); 2815 } 2816 2817 public class SearchEditText extends android.widget.EditText { 2818 ctor public SearchEditText(android.content.Context); 2819 ctor public SearchEditText(android.content.Context, android.util.AttributeSet); 2820 ctor public SearchEditText(android.content.Context, android.util.AttributeSet, int); 2821 method public void setOnKeyboardDismissListener(androidx.leanback.widget.SearchEditText.OnKeyboardDismissListener); 2822 } 2823 2824 public static abstract interface SearchEditText.OnKeyboardDismissListener { 2825 method public abstract void onKeyboardDismiss(); 2826 } 2827 2828 public class SearchOrbView extends android.widget.FrameLayout implements android.view.View.OnClickListener { 2829 ctor public SearchOrbView(android.content.Context); 2830 ctor public SearchOrbView(android.content.Context, android.util.AttributeSet); 2831 ctor public SearchOrbView(android.content.Context, android.util.AttributeSet, int); 2832 method public void enableOrbColorAnimation(boolean); 2833 method public int getOrbColor(); 2834 method public androidx.leanback.widget.SearchOrbView.Colors getOrbColors(); 2835 method public android.graphics.drawable.Drawable getOrbIcon(); 2836 method public void onClick(android.view.View); 2837 method public void setOnOrbClickedListener(android.view.View.OnClickListener); 2838 method public void setOrbColor(int); 2839 method public deprecated void setOrbColor(int, int); 2840 method public void setOrbColors(androidx.leanback.widget.SearchOrbView.Colors); 2841 method public void setOrbIcon(android.graphics.drawable.Drawable); 2842 } 2843 2844 public static class SearchOrbView.Colors { 2845 ctor public SearchOrbView.Colors(int); 2846 ctor public SearchOrbView.Colors(int, int); 2847 ctor public SearchOrbView.Colors(int, int, int); 2848 method public static int getBrightColor(int); 2849 field public int brightColor; 2850 field public int color; 2851 field public int iconColor; 2852 } 2853 2854 public class SectionRow extends androidx.leanback.widget.Row { 2855 ctor public SectionRow(androidx.leanback.widget.HeaderItem); 2856 ctor public SectionRow(long, java.lang.String); 2857 ctor public SectionRow(java.lang.String); 2858 method public final boolean isRenderedAsRowView(); 2859 } 2860 2861 public class ShadowOverlayContainer extends android.widget.FrameLayout { 2862 ctor public ShadowOverlayContainer(android.content.Context); 2863 ctor public ShadowOverlayContainer(android.content.Context, android.util.AttributeSet); 2864 ctor public ShadowOverlayContainer(android.content.Context, android.util.AttributeSet, int); 2865 method public int getShadowType(); 2866 method public android.view.View getWrappedView(); 2867 method public deprecated void initialize(boolean, boolean); 2868 method public deprecated void initialize(boolean, boolean, boolean); 2869 method public static void prepareParentForShadow(android.view.ViewGroup); 2870 method public void setOverlayColor(int); 2871 method public void setShadowFocusLevel(float); 2872 method public static boolean supportsDynamicShadow(); 2873 method public static boolean supportsShadow(); 2874 method public void useDynamicShadow(); 2875 method public void useDynamicShadow(float, float); 2876 method public void useStaticShadow(); 2877 method public void wrap(android.view.View); 2878 field public static final int SHADOW_DYNAMIC = 3; // 0x3 2879 field public static final int SHADOW_NONE = 1; // 0x1 2880 field public static final int SHADOW_STATIC = 2; // 0x2 2881 } 2882 2883 public final class ShadowOverlayHelper { 2884 method public androidx.leanback.widget.ShadowOverlayContainer createShadowOverlayContainer(android.content.Context); 2885 method public int getShadowType(); 2886 method public boolean needsOverlay(); 2887 method public boolean needsRoundedCorner(); 2888 method public boolean needsWrapper(); 2889 method public void onViewCreated(android.view.View); 2890 method public void prepareParentForShadow(android.view.ViewGroup); 2891 method public static void setNoneWrapperOverlayColor(android.view.View, int); 2892 method public static void setNoneWrapperShadowFocusLevel(android.view.View, float); 2893 method public void setOverlayColor(android.view.View, int); 2894 method public void setShadowFocusLevel(android.view.View, float); 2895 method public static boolean supportsDynamicShadow(); 2896 method public static boolean supportsForeground(); 2897 method public static boolean supportsRoundedCorner(); 2898 method public static boolean supportsShadow(); 2899 field public static final int SHADOW_DYNAMIC = 3; // 0x3 2900 field public static final int SHADOW_NONE = 1; // 0x1 2901 field public static final int SHADOW_STATIC = 2; // 0x2 2902 } 2903 2904 public static final class ShadowOverlayHelper.Builder { 2905 ctor public ShadowOverlayHelper.Builder(); 2906 method public androidx.leanback.widget.ShadowOverlayHelper build(android.content.Context); 2907 method public androidx.leanback.widget.ShadowOverlayHelper.Builder keepForegroundDrawable(boolean); 2908 method public androidx.leanback.widget.ShadowOverlayHelper.Builder needsOverlay(boolean); 2909 method public androidx.leanback.widget.ShadowOverlayHelper.Builder needsRoundedCorner(boolean); 2910 method public androidx.leanback.widget.ShadowOverlayHelper.Builder needsShadow(boolean); 2911 method public androidx.leanback.widget.ShadowOverlayHelper.Builder options(androidx.leanback.widget.ShadowOverlayHelper.Options); 2912 method public androidx.leanback.widget.ShadowOverlayHelper.Builder preferZOrder(boolean); 2913 } 2914 2915 public static final class ShadowOverlayHelper.Options { 2916 ctor public ShadowOverlayHelper.Options(); 2917 method public androidx.leanback.widget.ShadowOverlayHelper.Options dynamicShadowZ(float, float); 2918 method public float getDynamicShadowFocusedZ(); 2919 method public float getDynamicShadowUnfocusedZ(); 2920 method public int getRoundedCornerRadius(); 2921 method public androidx.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int); 2922 field public static final androidx.leanback.widget.ShadowOverlayHelper.Options DEFAULT; 2923 } 2924 2925 public final class SinglePresenterSelector extends androidx.leanback.widget.PresenterSelector { 2926 ctor public SinglePresenterSelector(androidx.leanback.widget.Presenter); 2927 method public androidx.leanback.widget.Presenter getPresenter(java.lang.Object); 2928 } 2929 2930 public class SparseArrayObjectAdapter extends androidx.leanback.widget.ObjectAdapter { 2931 ctor public SparseArrayObjectAdapter(androidx.leanback.widget.PresenterSelector); 2932 ctor public SparseArrayObjectAdapter(androidx.leanback.widget.Presenter); 2933 ctor public SparseArrayObjectAdapter(); 2934 method public void clear(int); 2935 method public void clear(); 2936 method public java.lang.Object get(int); 2937 method public int indexOf(java.lang.Object); 2938 method public int indexOf(int); 2939 method public java.lang.Object lookup(int); 2940 method public void notifyArrayItemRangeChanged(int, int); 2941 method public void set(int, java.lang.Object); 2942 method public int size(); 2943 } 2944 2945 public class SpeechOrbView extends androidx.leanback.widget.SearchOrbView { 2946 ctor public SpeechOrbView(android.content.Context); 2947 ctor public SpeechOrbView(android.content.Context, android.util.AttributeSet); 2948 ctor public SpeechOrbView(android.content.Context, android.util.AttributeSet, int); 2949 method public void setListeningOrbColors(androidx.leanback.widget.SearchOrbView.Colors); 2950 method public void setNotListeningOrbColors(androidx.leanback.widget.SearchOrbView.Colors); 2951 method public void setSoundLevel(int); 2952 method public void showListening(); 2953 method public void showNotListening(); 2954 } 2955 2956 public abstract deprecated interface SpeechRecognitionCallback { 2957 method public abstract void recognizeSpeech(); 2958 } 2959 2960 public class TitleHelper { 2961 ctor public TitleHelper(android.view.ViewGroup, android.view.View); 2962 method public androidx.leanback.widget.BrowseFrameLayout.OnFocusSearchListener getOnFocusSearchListener(); 2963 method public android.view.ViewGroup getSceneRoot(); 2964 method public android.view.View getTitleView(); 2965 method public void showTitle(boolean); 2966 } 2967 2968 public class TitleView extends android.widget.FrameLayout implements androidx.leanback.widget.TitleViewAdapter.Provider { 2969 ctor public TitleView(android.content.Context); 2970 ctor public TitleView(android.content.Context, android.util.AttributeSet); 2971 ctor public TitleView(android.content.Context, android.util.AttributeSet, int); 2972 method public void enableAnimation(boolean); 2973 method public android.graphics.drawable.Drawable getBadgeDrawable(); 2974 method public androidx.leanback.widget.SearchOrbView.Colors getSearchAffordanceColors(); 2975 method public android.view.View getSearchAffordanceView(); 2976 method public java.lang.CharSequence getTitle(); 2977 method public androidx.leanback.widget.TitleViewAdapter getTitleViewAdapter(); 2978 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 2979 method public void setOnSearchClickedListener(android.view.View.OnClickListener); 2980 method public void setSearchAffordanceColors(androidx.leanback.widget.SearchOrbView.Colors); 2981 method public void setTitle(java.lang.CharSequence); 2982 method public void updateComponentsVisibility(int); 2983 } 2984 2985 public abstract class TitleViewAdapter { 2986 ctor public TitleViewAdapter(); 2987 method public android.graphics.drawable.Drawable getBadgeDrawable(); 2988 method public androidx.leanback.widget.SearchOrbView.Colors getSearchAffordanceColors(); 2989 method public abstract android.view.View getSearchAffordanceView(); 2990 method public java.lang.CharSequence getTitle(); 2991 method public void setAnimationEnabled(boolean); 2992 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 2993 method public void setOnSearchClickedListener(android.view.View.OnClickListener); 2994 method public void setSearchAffordanceColors(androidx.leanback.widget.SearchOrbView.Colors); 2995 method public void setTitle(java.lang.CharSequence); 2996 method public void updateComponentsVisibility(int); 2997 field public static final int BRANDING_VIEW_VISIBLE = 2; // 0x2 2998 field public static final int FULL_VIEW_VISIBLE = 6; // 0x6 2999 field public static final int SEARCH_VIEW_VISIBLE = 4; // 0x4 3000 } 3001 3002 public static abstract interface TitleViewAdapter.Provider { 3003 method public abstract androidx.leanback.widget.TitleViewAdapter getTitleViewAdapter(); 3004 } 3005 3006 public class VerticalGridPresenter extends androidx.leanback.widget.Presenter { 3007 ctor public VerticalGridPresenter(); 3008 ctor public VerticalGridPresenter(int); 3009 ctor public VerticalGridPresenter(int, boolean); 3010 method public final boolean areChildRoundedCornersEnabled(); 3011 method protected androidx.leanback.widget.VerticalGridPresenter.ViewHolder createGridViewHolder(android.view.ViewGroup); 3012 method protected androidx.leanback.widget.ShadowOverlayHelper.Options createShadowOverlayOptions(); 3013 method public final void enableChildRoundedCorners(boolean); 3014 method public final int getFocusZoomFactor(); 3015 method public final boolean getKeepChildForeground(); 3016 method public int getNumberOfColumns(); 3017 method public final androidx.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 3018 method public final androidx.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 3019 method public final boolean getShadowEnabled(); 3020 method protected void initializeGridViewHolder(androidx.leanback.widget.VerticalGridPresenter.ViewHolder); 3021 method public final boolean isFocusDimmerUsed(); 3022 method public boolean isUsingDefaultShadow(); 3023 method public boolean isUsingZOrder(android.content.Context); 3024 method public void onBindViewHolder(androidx.leanback.widget.Presenter.ViewHolder, java.lang.Object); 3025 method public final androidx.leanback.widget.VerticalGridPresenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 3026 method public void onUnbindViewHolder(androidx.leanback.widget.Presenter.ViewHolder); 3027 method public void setEntranceTransitionState(androidx.leanback.widget.VerticalGridPresenter.ViewHolder, boolean); 3028 method public final void setKeepChildForeground(boolean); 3029 method public void setNumberOfColumns(int); 3030 method public final void setOnItemViewClickedListener(androidx.leanback.widget.OnItemViewClickedListener); 3031 method public final void setOnItemViewSelectedListener(androidx.leanback.widget.OnItemViewSelectedListener); 3032 method public final void setShadowEnabled(boolean); 3033 } 3034 3035 public static class VerticalGridPresenter.ViewHolder extends androidx.leanback.widget.Presenter.ViewHolder { 3036 ctor public VerticalGridPresenter.ViewHolder(androidx.leanback.widget.VerticalGridView); 3037 method public androidx.leanback.widget.VerticalGridView getGridView(); 3038 } 3039 3040 public class VerticalGridView extends androidx.leanback.widget.BaseGridView { 3041 ctor public VerticalGridView(android.content.Context); 3042 ctor public VerticalGridView(android.content.Context, android.util.AttributeSet); 3043 ctor public VerticalGridView(android.content.Context, android.util.AttributeSet, int); 3044 method protected void initAttributes(android.content.Context, android.util.AttributeSet); 3045 method public void setColumnWidth(int); 3046 method public void setNumColumns(int); 3047 } 3048 3049 public abstract interface ViewHolderTask { 3050 method public abstract void run(androidx.recyclerview.widget.RecyclerView.ViewHolder); 3051 } 3052 3053} 3054 3055package androidx.leanback.widget.picker { 3056 3057 public class Picker extends android.widget.FrameLayout { 3058 ctor public Picker(android.content.Context, android.util.AttributeSet, int); 3059 method public void addOnValueChangedListener(androidx.leanback.widget.picker.Picker.PickerValueListener); 3060 method public float getActivatedVisibleItemCount(); 3061 method public androidx.leanback.widget.picker.PickerColumn getColumnAt(int); 3062 method public int getColumnsCount(); 3063 method protected int getPickerItemHeightPixels(); 3064 method public final int getPickerItemLayoutId(); 3065 method public final int getPickerItemTextViewId(); 3066 method public int getSelectedColumn(); 3067 method public final deprecated java.lang.CharSequence getSeparator(); 3068 method public final java.util.List<java.lang.CharSequence> getSeparators(); 3069 method public float getVisibleItemCount(); 3070 method public void onColumnValueChanged(int, int); 3071 method public void removeOnValueChangedListener(androidx.leanback.widget.picker.Picker.PickerValueListener); 3072 method public void setActivatedVisibleItemCount(float); 3073 method public void setColumnAt(int, androidx.leanback.widget.picker.PickerColumn); 3074 method public void setColumnValue(int, int, boolean); 3075 method public void setColumns(java.util.List<androidx.leanback.widget.picker.PickerColumn>); 3076 method public final void setPickerItemTextViewId(int); 3077 method public void setSelectedColumn(int); 3078 method public final void setSeparator(java.lang.CharSequence); 3079 method public final void setSeparators(java.util.List<java.lang.CharSequence>); 3080 method public void setVisibleItemCount(float); 3081 } 3082 3083 public static abstract interface Picker.PickerValueListener { 3084 method public abstract void onValueChanged(androidx.leanback.widget.picker.Picker, int); 3085 } 3086 3087 public class PickerColumn { 3088 ctor public PickerColumn(); 3089 method public int getCount(); 3090 method public int getCurrentValue(); 3091 method public java.lang.CharSequence getLabelFor(int); 3092 method public java.lang.String getLabelFormat(); 3093 method public int getMaxValue(); 3094 method public int getMinValue(); 3095 method public java.lang.CharSequence[] getStaticLabels(); 3096 method public void setCurrentValue(int); 3097 method public void setLabelFormat(java.lang.String); 3098 method public void setMaxValue(int); 3099 method public void setMinValue(int); 3100 method public void setStaticLabels(java.lang.CharSequence[]); 3101 } 3102 3103 public class TimePicker extends androidx.leanback.widget.picker.Picker { 3104 ctor public TimePicker(android.content.Context, android.util.AttributeSet); 3105 ctor public TimePicker(android.content.Context, android.util.AttributeSet, int); 3106 method public int getHour(); 3107 method public int getMinute(); 3108 method public boolean is24Hour(); 3109 method public boolean isPm(); 3110 method public void setHour(int); 3111 method public void setIs24Hour(boolean); 3112 method public void setMinute(int); 3113 } 3114 3115} 3116 3117