1package android.support.v17.leanback.app { 2 3 public final class BackgroundManager { 4 method public void attach(android.view.Window); 5 method public final int getColor(); 6 method public android.graphics.drawable.Drawable getDefaultDimLayer(); 7 method public android.graphics.drawable.Drawable getDimLayer(); 8 method public android.graphics.drawable.Drawable getDrawable(); 9 method public static android.support.v17.leanback.app.BackgroundManager getInstance(android.app.Activity); 10 method public boolean isAttached(); 11 method public void release(); 12 method public void setBitmap(android.graphics.Bitmap); 13 method public void setColor(int); 14 method public void setDimLayer(android.graphics.drawable.Drawable); 15 method public void setDrawable(android.graphics.drawable.Drawable); 16 method public void setThemeDrawableResourceId(int); 17 } 18 19 abstract class BaseRowFragment extends android.app.Fragment { 20 method public final android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 21 method public final android.support.v17.leanback.widget.PresenterSelector getPresenterSelector(); 22 method public int getSelectedPosition(); 23 method public void onTransitionEnd(); 24 method public boolean onTransitionPrepare(); 25 method public void onTransitionStart(); 26 method public final void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 27 method public void setAlignment(int); 28 method public final void setPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 29 method public void setSelectedPosition(int); 30 method public void setSelectedPosition(int, boolean); 31 } 32 33 abstract class BaseRowSupportFragment extends android.support.v4.app.Fragment { 34 method public final android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 35 method public final android.support.v17.leanback.widget.PresenterSelector getPresenterSelector(); 36 method public int getSelectedPosition(); 37 method public void onTransitionEnd(); 38 method public boolean onTransitionPrepare(); 39 method public void onTransitionStart(); 40 method public final void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 41 method public void setAlignment(int); 42 method public final void setPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 43 method public void setSelectedPosition(int); 44 method public void setSelectedPosition(int, boolean); 45 } 46 47 public class BrandedFragment extends android.app.Fragment { 48 ctor public BrandedFragment(); 49 method public android.graphics.drawable.Drawable getBadgeDrawable(); 50 method public int getSearchAffordanceColor(); 51 method public android.support.v17.leanback.widget.SearchOrbView.Colors getSearchAffordanceColors(); 52 method public java.lang.CharSequence getTitle(); 53 method public android.view.View getTitleView(); 54 method public android.support.v17.leanback.widget.TitleViewAdapter getTitleViewAdapter(); 55 method public void installTitleView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 56 method public final boolean isShowingTitle(); 57 method public android.view.View onInflateTitleView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 58 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 59 method public void setOnSearchClickedListener(android.view.View.OnClickListener); 60 method public void setSearchAffordanceColor(int); 61 method public void setSearchAffordanceColors(android.support.v17.leanback.widget.SearchOrbView.Colors); 62 method public void setTitle(java.lang.CharSequence); 63 method public void setTitleView(android.view.View); 64 method public void showTitle(boolean); 65 method public void showTitle(int); 66 } 67 68 public class BrandedSupportFragment extends android.support.v4.app.Fragment { 69 ctor public BrandedSupportFragment(); 70 method public android.graphics.drawable.Drawable getBadgeDrawable(); 71 method public int getSearchAffordanceColor(); 72 method public android.support.v17.leanback.widget.SearchOrbView.Colors getSearchAffordanceColors(); 73 method public java.lang.CharSequence getTitle(); 74 method public android.view.View getTitleView(); 75 method public android.support.v17.leanback.widget.TitleViewAdapter getTitleViewAdapter(); 76 method public void installTitleView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 77 method public final boolean isShowingTitle(); 78 method public android.view.View onInflateTitleView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 79 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 80 method public void setOnSearchClickedListener(android.view.View.OnClickListener); 81 method public void setSearchAffordanceColor(int); 82 method public void setSearchAffordanceColors(android.support.v17.leanback.widget.SearchOrbView.Colors); 83 method public void setTitle(java.lang.CharSequence); 84 method public void setTitleView(android.view.View); 85 method public void showTitle(boolean); 86 method public void showTitle(int); 87 } 88 89 public class BrowseFragment extends android.support.v17.leanback.app.BrandedFragment { 90 ctor public BrowseFragment(); 91 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, int); 92 method protected java.lang.Object createEntranceTransition(); 93 method public void enableMainFragmentScaling(boolean); 94 method public deprecated void enableRowScaling(boolean); 95 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 96 method public int getBrandColor(); 97 method public android.support.v17.leanback.app.HeadersFragment getHeadersFragment(); 98 method public int getHeadersState(); 99 method public final android.support.v17.leanback.app.BrowseFragment.MainFragmentAdapterRegistry getMainFragmentRegistry(); 100 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 101 method public android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 102 method public android.support.v17.leanback.app.RowsFragment getRowsFragment(); 103 method public int getSelectedPosition(); 104 method public final boolean isHeadersTransitionOnBackEnabled(); 105 method public boolean isInHeadersTransition(); 106 method public boolean isShowingHeaders(); 107 method protected void onEntranceTransitionEnd(); 108 method protected void onEntranceTransitionPrepare(); 109 method protected void onEntranceTransitionStart(); 110 method protected void runEntranceTransition(java.lang.Object); 111 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 112 method public void setBrandColor(int); 113 method public void setBrowseTransitionListener(android.support.v17.leanback.app.BrowseFragment.BrowseTransitionListener); 114 method public void setHeaderPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 115 method public void setHeadersState(int); 116 method public final void setHeadersTransitionOnBackEnabled(boolean); 117 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 118 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 119 method public void setSelectedPosition(int); 120 method public void setSelectedPosition(int, boolean); 121 method public void setSelectedPosition(int, boolean, android.support.v17.leanback.widget.Presenter.ViewHolderTask); 122 method public void startHeadersTransition(boolean); 123 field public static final int HEADERS_DISABLED = 3; // 0x3 124 field public static final int HEADERS_ENABLED = 1; // 0x1 125 field public static final int HEADERS_HIDDEN = 2; // 0x2 126 } 127 128 public static class BrowseFragment.BrowseTransitionListener { 129 ctor public BrowseFragment.BrowseTransitionListener(); 130 method public void onHeadersTransitionStart(boolean); 131 method public void onHeadersTransitionStop(boolean); 132 } 133 134 public static abstract class BrowseFragment.FragmentFactory { 135 ctor public BrowseFragment.FragmentFactory(); 136 method public abstract T createFragment(java.lang.Object); 137 } 138 139 public static abstract interface BrowseFragment.FragmentHost { 140 method public abstract void notifyDataReady(android.support.v17.leanback.app.BrowseFragment.MainFragmentAdapter); 141 method public abstract void notifyViewCreated(android.support.v17.leanback.app.BrowseFragment.MainFragmentAdapter); 142 method public abstract void showTitleView(boolean); 143 } 144 145 public static class BrowseFragment.ListRowFragmentFactory extends android.support.v17.leanback.app.BrowseFragment.FragmentFactory { 146 ctor public BrowseFragment.ListRowFragmentFactory(); 147 method public android.support.v17.leanback.app.RowsFragment createFragment(java.lang.Object); 148 } 149 150 public static class BrowseFragment.MainFragmentAdapter { 151 ctor public BrowseFragment.MainFragmentAdapter(T); 152 method public final T getFragment(); 153 method public final android.support.v17.leanback.app.BrowseFragment.FragmentHost getFragmentHost(); 154 method public boolean isScalingEnabled(); 155 method public boolean isScrolling(); 156 method public void onTransitionEnd(); 157 method public boolean onTransitionPrepare(); 158 method public void onTransitionStart(); 159 method public void setAlignment(int); 160 method public void setEntranceTransitionState(boolean); 161 method public void setExpand(boolean); 162 method public void setScalingEnabled(boolean); 163 } 164 165 public static abstract interface BrowseFragment.MainFragmentAdapterProvider { 166 method public abstract android.support.v17.leanback.app.BrowseFragment.MainFragmentAdapter getMainFragmentAdapter(); 167 } 168 169 public static final class BrowseFragment.MainFragmentAdapterRegistry { 170 ctor public BrowseFragment.MainFragmentAdapterRegistry(); 171 method public android.app.Fragment createFragment(java.lang.Object); 172 method public void registerFragment(java.lang.Class, android.support.v17.leanback.app.BrowseFragment.FragmentFactory); 173 } 174 175 public static class BrowseFragment.MainFragmentRowsAdapter { 176 ctor public BrowseFragment.MainFragmentRowsAdapter(T); 177 method public final T getFragment(); 178 method public int getSelectedPosition(); 179 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 180 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 181 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 182 method public void setSelectedPosition(int, boolean, android.support.v17.leanback.widget.Presenter.ViewHolderTask); 183 method public void setSelectedPosition(int, boolean); 184 } 185 186 public static abstract interface BrowseFragment.MainFragmentRowsAdapterProvider { 187 method public abstract android.support.v17.leanback.app.BrowseFragment.MainFragmentRowsAdapter getMainFragmentRowsAdapter(); 188 } 189 190 public class BrowseSupportFragment extends android.support.v17.leanback.app.BrandedSupportFragment { 191 ctor public BrowseSupportFragment(); 192 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, int); 193 method protected java.lang.Object createEntranceTransition(); 194 method public void enableMainFragmentScaling(boolean); 195 method public deprecated void enableRowScaling(boolean); 196 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 197 method public int getBrandColor(); 198 method public int getHeadersState(); 199 method public android.support.v17.leanback.app.HeadersSupportFragment getHeadersSupportFragment(); 200 method public final android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentAdapterRegistry getMainFragmentRegistry(); 201 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 202 method public android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 203 method public android.support.v17.leanback.app.RowsSupportFragment getRowsSupportFragment(); 204 method public int getSelectedPosition(); 205 method public final boolean isHeadersTransitionOnBackEnabled(); 206 method public boolean isInHeadersTransition(); 207 method public boolean isShowingHeaders(); 208 method protected void onEntranceTransitionEnd(); 209 method protected void onEntranceTransitionPrepare(); 210 method protected void onEntranceTransitionStart(); 211 method protected void runEntranceTransition(java.lang.Object); 212 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 213 method public void setBrandColor(int); 214 method public void setBrowseTransitionListener(android.support.v17.leanback.app.BrowseSupportFragment.BrowseTransitionListener); 215 method public void setHeaderPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 216 method public void setHeadersState(int); 217 method public final void setHeadersTransitionOnBackEnabled(boolean); 218 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 219 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 220 method public void setSelectedPosition(int); 221 method public void setSelectedPosition(int, boolean); 222 method public void setSelectedPosition(int, boolean, android.support.v17.leanback.widget.Presenter.ViewHolderTask); 223 method public void startHeadersTransition(boolean); 224 field public static final int HEADERS_DISABLED = 3; // 0x3 225 field public static final int HEADERS_ENABLED = 1; // 0x1 226 field public static final int HEADERS_HIDDEN = 2; // 0x2 227 } 228 229 public static class BrowseSupportFragment.BrowseTransitionListener { 230 ctor public BrowseSupportFragment.BrowseTransitionListener(); 231 method public void onHeadersTransitionStart(boolean); 232 method public void onHeadersTransitionStop(boolean); 233 } 234 235 public static abstract class BrowseSupportFragment.FragmentFactory { 236 ctor public BrowseSupportFragment.FragmentFactory(); 237 method public abstract T createFragment(java.lang.Object); 238 } 239 240 public static abstract interface BrowseSupportFragment.FragmentHost { 241 method public abstract void notifyDataReady(android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentAdapter); 242 method public abstract void notifyViewCreated(android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentAdapter); 243 method public abstract void showTitleView(boolean); 244 } 245 246 public static class BrowseSupportFragment.ListRowFragmentFactory extends android.support.v17.leanback.app.BrowseSupportFragment.FragmentFactory { 247 ctor public BrowseSupportFragment.ListRowFragmentFactory(); 248 method public android.support.v17.leanback.app.RowsSupportFragment createFragment(java.lang.Object); 249 } 250 251 public static class BrowseSupportFragment.MainFragmentAdapter { 252 ctor public BrowseSupportFragment.MainFragmentAdapter(T); 253 method public final T getFragment(); 254 method public final android.support.v17.leanback.app.BrowseSupportFragment.FragmentHost getFragmentHost(); 255 method public boolean isScalingEnabled(); 256 method public boolean isScrolling(); 257 method public void onTransitionEnd(); 258 method public boolean onTransitionPrepare(); 259 method public void onTransitionStart(); 260 method public void setAlignment(int); 261 method public void setEntranceTransitionState(boolean); 262 method public void setExpand(boolean); 263 method public void setScalingEnabled(boolean); 264 } 265 266 public static abstract interface BrowseSupportFragment.MainFragmentAdapterProvider { 267 method public abstract android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentAdapter getMainFragmentAdapter(); 268 } 269 270 public static final class BrowseSupportFragment.MainFragmentAdapterRegistry { 271 ctor public BrowseSupportFragment.MainFragmentAdapterRegistry(); 272 method public android.support.v4.app.Fragment createFragment(java.lang.Object); 273 method public void registerFragment(java.lang.Class, android.support.v17.leanback.app.BrowseSupportFragment.FragmentFactory); 274 } 275 276 public static class BrowseSupportFragment.MainFragmentRowsAdapter { 277 ctor public BrowseSupportFragment.MainFragmentRowsAdapter(T); 278 method public final T getFragment(); 279 method public int getSelectedPosition(); 280 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 281 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 282 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 283 method public void setSelectedPosition(int, boolean, android.support.v17.leanback.widget.Presenter.ViewHolderTask); 284 method public void setSelectedPosition(int, boolean); 285 } 286 287 public static abstract interface BrowseSupportFragment.MainFragmentRowsAdapterProvider { 288 method public abstract android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentRowsAdapter getMainFragmentRowsAdapter(); 289 } 290 291 public class DetailsFragment extends android.support.v17.leanback.app.BrandedFragment { 292 ctor public DetailsFragment(); 293 method protected java.lang.Object createEntranceTransition(); 294 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 295 method public android.support.v17.leanback.widget.BaseOnItemViewClickedListener getOnItemViewClickedListener(); 296 method public android.support.v17.leanback.app.RowsFragment getRowsFragment(); 297 method protected deprecated android.view.View inflateTitle(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 298 method protected void onEntranceTransitionEnd(); 299 method protected void onEntranceTransitionPrepare(); 300 method protected void onEntranceTransitionStart(); 301 method protected void onSetDetailsOverviewRowStatus(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter, android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, int, int); 302 method protected void onSetRowStatus(android.support.v17.leanback.widget.RowPresenter, android.support.v17.leanback.widget.RowPresenter.ViewHolder, int, int, int); 303 method protected void runEntranceTransition(java.lang.Object); 304 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 305 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.BaseOnItemViewClickedListener); 306 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.BaseOnItemViewSelectedListener); 307 method public void setSelectedPosition(int); 308 method public void setSelectedPosition(int, boolean); 309 method protected void setupDetailsOverviewRowPresenter(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter); 310 method protected void setupPresenter(android.support.v17.leanback.widget.Presenter); 311 } 312 313 public class DetailsSupportFragment extends android.support.v17.leanback.app.BrandedSupportFragment { 314 ctor public DetailsSupportFragment(); 315 method protected java.lang.Object createEntranceTransition(); 316 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 317 method public android.support.v17.leanback.widget.BaseOnItemViewClickedListener getOnItemViewClickedListener(); 318 method public android.support.v17.leanback.app.RowsSupportFragment getRowsSupportFragment(); 319 method protected deprecated android.view.View inflateTitle(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 320 method protected void onEntranceTransitionEnd(); 321 method protected void onEntranceTransitionPrepare(); 322 method protected void onEntranceTransitionStart(); 323 method protected void onSetDetailsOverviewRowStatus(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter, android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, int, int); 324 method protected void onSetRowStatus(android.support.v17.leanback.widget.RowPresenter, android.support.v17.leanback.widget.RowPresenter.ViewHolder, int, int, int); 325 method protected void runEntranceTransition(java.lang.Object); 326 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 327 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.BaseOnItemViewClickedListener); 328 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.BaseOnItemViewSelectedListener); 329 method public void setSelectedPosition(int); 330 method public void setSelectedPosition(int, boolean); 331 method protected void setupDetailsOverviewRowPresenter(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter); 332 method protected void setupPresenter(android.support.v17.leanback.widget.Presenter); 333 } 334 335 public class ErrorFragment extends android.support.v17.leanback.app.BrandedFragment { 336 ctor public ErrorFragment(); 337 method public android.graphics.drawable.Drawable getBackgroundDrawable(); 338 method public android.view.View.OnClickListener getButtonClickListener(); 339 method public java.lang.String getButtonText(); 340 method public android.graphics.drawable.Drawable getImageDrawable(); 341 method public java.lang.CharSequence getMessage(); 342 method public boolean isBackgroundTranslucent(); 343 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 344 method public void setButtonClickListener(android.view.View.OnClickListener); 345 method public void setButtonText(java.lang.String); 346 method public void setDefaultBackground(boolean); 347 method public void setImageDrawable(android.graphics.drawable.Drawable); 348 method public void setMessage(java.lang.CharSequence); 349 } 350 351 public class ErrorSupportFragment extends android.support.v17.leanback.app.BrandedSupportFragment { 352 ctor public ErrorSupportFragment(); 353 method public android.graphics.drawable.Drawable getBackgroundDrawable(); 354 method public android.view.View.OnClickListener getButtonClickListener(); 355 method public java.lang.String getButtonText(); 356 method public android.graphics.drawable.Drawable getImageDrawable(); 357 method public java.lang.CharSequence getMessage(); 358 method public boolean isBackgroundTranslucent(); 359 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 360 method public void setButtonClickListener(android.view.View.OnClickListener); 361 method public void setButtonText(java.lang.String); 362 method public void setDefaultBackground(boolean); 363 method public void setImageDrawable(android.graphics.drawable.Drawable); 364 method public void setMessage(java.lang.CharSequence); 365 } 366 367 public class GuidedStepFragment extends android.app.Fragment { 368 ctor public GuidedStepFragment(); 369 method public static int add(android.app.FragmentManager, android.support.v17.leanback.app.GuidedStepFragment); 370 method public static int add(android.app.FragmentManager, android.support.v17.leanback.app.GuidedStepFragment, int); 371 method public static int addAsRoot(android.app.Activity, android.support.v17.leanback.app.GuidedStepFragment, int); 372 method public void collapseSubActions(); 373 method public void expandSubActions(android.support.v17.leanback.widget.GuidedAction); 374 method public android.support.v17.leanback.widget.GuidedAction findActionById(long); 375 method public int findActionPositionById(long); 376 method public android.support.v17.leanback.widget.GuidedAction findButtonActionById(long); 377 method public int findButtonActionPositionById(long); 378 method public void finishGuidedStepFragments(); 379 method public android.view.View getActionItemView(int); 380 method public java.util.List<android.support.v17.leanback.widget.GuidedAction> getActions(); 381 method public android.view.View getButtonActionItemView(int); 382 method public java.util.List<android.support.v17.leanback.widget.GuidedAction> getButtonActions(); 383 method public static android.support.v17.leanback.app.GuidedStepFragment getCurrentGuidedStepFragment(android.app.FragmentManager); 384 method public android.support.v17.leanback.widget.GuidanceStylist getGuidanceStylist(); 385 method public android.support.v17.leanback.widget.GuidedActionsStylist getGuidedActionsStylist(); 386 method public android.support.v17.leanback.widget.GuidedActionsStylist getGuidedButtonActionsStylist(); 387 method public int getSelectedActionPosition(); 388 method public int getSelectedButtonActionPosition(); 389 method public int getUiStyle(); 390 method public boolean isFocusOutEndAllowed(); 391 method public boolean isFocusOutStartAllowed(); 392 method public boolean isSubActionsExpanded(); 393 method public void notifyActionChanged(int); 394 method public void notifyButtonActionChanged(int); 395 method protected void onAddSharedElementTransition(android.app.FragmentTransaction, android.support.v17.leanback.app.GuidedStepFragment); 396 method public void onCreateActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>, android.os.Bundle); 397 method public android.support.v17.leanback.widget.GuidedActionsStylist onCreateActionsStylist(); 398 method public android.view.View onCreateBackgroundView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 399 method public void onCreateButtonActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>, android.os.Bundle); 400 method public android.support.v17.leanback.widget.GuidedActionsStylist onCreateButtonActionsStylist(); 401 method public android.support.v17.leanback.widget.GuidanceStylist.Guidance onCreateGuidance(android.os.Bundle); 402 method public android.support.v17.leanback.widget.GuidanceStylist onCreateGuidanceStylist(); 403 method public void onGuidedActionClicked(android.support.v17.leanback.widget.GuidedAction); 404 method public void onGuidedActionEditCanceled(android.support.v17.leanback.widget.GuidedAction); 405 method public deprecated void onGuidedActionEdited(android.support.v17.leanback.widget.GuidedAction); 406 method public long onGuidedActionEditedAndProceed(android.support.v17.leanback.widget.GuidedAction); 407 method public void onGuidedActionFocused(android.support.v17.leanback.widget.GuidedAction); 408 method protected void onProvideFragmentTransitions(); 409 method public int onProvideTheme(); 410 method public boolean onSubGuidedActionClicked(android.support.v17.leanback.widget.GuidedAction); 411 method public void popBackStackToGuidedStepFragment(java.lang.Class, int); 412 method public void setActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>); 413 method public void setButtonActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>); 414 method public void setSelectedActionPosition(int); 415 method public void setSelectedButtonActionPosition(int); 416 method public void setUiStyle(int); 417 field public static final java.lang.String EXTRA_UI_STYLE = "uiStyle"; 418 field public static final int UI_STYLE_ACTIVITY_ROOT = 2; // 0x2 419 field public static final deprecated int UI_STYLE_DEFAULT = 0; // 0x0 420 field public static final int UI_STYLE_ENTRANCE = 1; // 0x1 421 field public static final int UI_STYLE_REPLACE = 0; // 0x0 422 } 423 424 public class GuidedStepSupportFragment extends android.support.v4.app.Fragment { 425 ctor public GuidedStepSupportFragment(); 426 method public static int add(android.support.v4.app.FragmentManager, android.support.v17.leanback.app.GuidedStepSupportFragment); 427 method public static int add(android.support.v4.app.FragmentManager, android.support.v17.leanback.app.GuidedStepSupportFragment, int); 428 method public static int addAsRoot(android.support.v4.app.FragmentActivity, android.support.v17.leanback.app.GuidedStepSupportFragment, int); 429 method public void collapseSubActions(); 430 method public void expandSubActions(android.support.v17.leanback.widget.GuidedAction); 431 method public android.support.v17.leanback.widget.GuidedAction findActionById(long); 432 method public int findActionPositionById(long); 433 method public android.support.v17.leanback.widget.GuidedAction findButtonActionById(long); 434 method public int findButtonActionPositionById(long); 435 method public void finishGuidedStepSupportFragments(); 436 method public android.view.View getActionItemView(int); 437 method public java.util.List<android.support.v17.leanback.widget.GuidedAction> getActions(); 438 method public android.view.View getButtonActionItemView(int); 439 method public java.util.List<android.support.v17.leanback.widget.GuidedAction> getButtonActions(); 440 method public static android.support.v17.leanback.app.GuidedStepSupportFragment getCurrentGuidedStepSupportFragment(android.support.v4.app.FragmentManager); 441 method public android.support.v17.leanback.widget.GuidanceStylist getGuidanceStylist(); 442 method public android.support.v17.leanback.widget.GuidedActionsStylist getGuidedActionsStylist(); 443 method public android.support.v17.leanback.widget.GuidedActionsStylist getGuidedButtonActionsStylist(); 444 method public int getSelectedActionPosition(); 445 method public int getSelectedButtonActionPosition(); 446 method public int getUiStyle(); 447 method public boolean isFocusOutEndAllowed(); 448 method public boolean isFocusOutStartAllowed(); 449 method public boolean isSubActionsExpanded(); 450 method public void notifyActionChanged(int); 451 method public void notifyButtonActionChanged(int); 452 method protected void onAddSharedElementTransition(android.support.v4.app.FragmentTransaction, android.support.v17.leanback.app.GuidedStepSupportFragment); 453 method public void onCreateActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>, android.os.Bundle); 454 method public android.support.v17.leanback.widget.GuidedActionsStylist onCreateActionsStylist(); 455 method public android.view.View onCreateBackgroundView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 456 method public void onCreateButtonActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>, android.os.Bundle); 457 method public android.support.v17.leanback.widget.GuidedActionsStylist onCreateButtonActionsStylist(); 458 method public android.support.v17.leanback.widget.GuidanceStylist.Guidance onCreateGuidance(android.os.Bundle); 459 method public android.support.v17.leanback.widget.GuidanceStylist onCreateGuidanceStylist(); 460 method public void onGuidedActionClicked(android.support.v17.leanback.widget.GuidedAction); 461 method public void onGuidedActionEditCanceled(android.support.v17.leanback.widget.GuidedAction); 462 method public deprecated void onGuidedActionEdited(android.support.v17.leanback.widget.GuidedAction); 463 method public long onGuidedActionEditedAndProceed(android.support.v17.leanback.widget.GuidedAction); 464 method public void onGuidedActionFocused(android.support.v17.leanback.widget.GuidedAction); 465 method protected void onProvideFragmentTransitions(); 466 method public int onProvideTheme(); 467 method public boolean onSubGuidedActionClicked(android.support.v17.leanback.widget.GuidedAction); 468 method public void popBackStackToGuidedStepSupportFragment(java.lang.Class, int); 469 method public void setActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>); 470 method public void setButtonActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>); 471 method public void setSelectedActionPosition(int); 472 method public void setSelectedButtonActionPosition(int); 473 method public void setUiStyle(int); 474 field public static final java.lang.String EXTRA_UI_STYLE = "uiStyle"; 475 field public static final int UI_STYLE_ACTIVITY_ROOT = 2; // 0x2 476 field public static final deprecated int UI_STYLE_DEFAULT = 0; // 0x0 477 field public static final int UI_STYLE_ENTRANCE = 1; // 0x1 478 field public static final int UI_STYLE_REPLACE = 0; // 0x0 479 } 480 481 public class HeadersFragment extends android.support.v17.leanback.app.BaseRowFragment { 482 ctor public HeadersFragment(); 483 method public boolean isScrolling(); 484 method public void setOnHeaderClickedListener(android.support.v17.leanback.app.HeadersFragment.OnHeaderClickedListener); 485 method public void setOnHeaderViewSelectedListener(android.support.v17.leanback.app.HeadersFragment.OnHeaderViewSelectedListener); 486 } 487 488 public static abstract interface HeadersFragment.OnHeaderClickedListener { 489 method public abstract void onHeaderClicked(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder, android.support.v17.leanback.widget.Row); 490 } 491 492 public static abstract interface HeadersFragment.OnHeaderViewSelectedListener { 493 method public abstract void onHeaderSelected(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder, android.support.v17.leanback.widget.Row); 494 } 495 496 public class HeadersSupportFragment extends android.support.v17.leanback.app.BaseRowSupportFragment { 497 ctor public HeadersSupportFragment(); 498 method public boolean isScrolling(); 499 method public void setOnHeaderClickedListener(android.support.v17.leanback.app.HeadersSupportFragment.OnHeaderClickedListener); 500 method public void setOnHeaderViewSelectedListener(android.support.v17.leanback.app.HeadersSupportFragment.OnHeaderViewSelectedListener); 501 } 502 503 public static abstract interface HeadersSupportFragment.OnHeaderClickedListener { 504 method public abstract void onHeaderClicked(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder, android.support.v17.leanback.widget.Row); 505 } 506 507 public static abstract interface HeadersSupportFragment.OnHeaderViewSelectedListener { 508 method public abstract void onHeaderSelected(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder, android.support.v17.leanback.widget.Row); 509 } 510 511 public abstract class MediaControllerGlue extends android.support.v17.leanback.app.PlaybackControlGlue { 512 ctor public MediaControllerGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlayFragment, int[]); 513 ctor public MediaControllerGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlayFragment, int[], int[]); 514 method public void attachToMediaController(android.support.v4.media.session.MediaControllerCompat); 515 method public void detach(); 516 method public int getCurrentPosition(); 517 method public int getCurrentSpeedId(); 518 method public android.graphics.drawable.Drawable getMediaArt(); 519 method public final android.support.v4.media.session.MediaControllerCompat getMediaController(); 520 method public int getMediaDuration(); 521 method public java.lang.CharSequence getMediaSubtitle(); 522 method public java.lang.CharSequence getMediaTitle(); 523 method public long getSupportedActions(); 524 method public boolean hasValidMedia(); 525 method public boolean isMediaPlaying(); 526 method protected void pausePlayback(); 527 method protected void skipToNext(); 528 method protected void skipToPrevious(); 529 method protected void startPlayback(int); 530 } 531 532 public abstract class OnboardingFragment extends android.app.Fragment { 533 ctor public OnboardingFragment(); 534 method protected final int getCurrentPageIndex(); 535 method public final int getLogoResourceId(); 536 method protected abstract int getPageCount(); 537 method protected abstract java.lang.CharSequence getPageDescription(int); 538 method protected abstract java.lang.CharSequence getPageTitle(int); 539 method protected abstract android.view.View onCreateBackgroundView(android.view.LayoutInflater, android.view.ViewGroup); 540 method protected abstract android.view.View onCreateContentView(android.view.LayoutInflater, android.view.ViewGroup); 541 method protected android.animation.Animator onCreateEnterAnimation(); 542 method protected abstract android.view.View onCreateForegroundView(android.view.LayoutInflater, android.view.ViewGroup); 543 method protected android.animation.Animator onCreateLogoAnimation(); 544 method protected void onFinishFragment(); 545 method protected void onPageChanged(int, int); 546 method public int onProvideTheme(); 547 method public final void setLogoResourceId(int); 548 } 549 550 public abstract class OnboardingSupportFragment extends android.support.v4.app.Fragment { 551 ctor public OnboardingSupportFragment(); 552 method protected final int getCurrentPageIndex(); 553 method public final int getLogoResourceId(); 554 method protected abstract int getPageCount(); 555 method protected abstract java.lang.CharSequence getPageDescription(int); 556 method protected abstract java.lang.CharSequence getPageTitle(int); 557 method protected abstract android.view.View onCreateBackgroundView(android.view.LayoutInflater, android.view.ViewGroup); 558 method protected abstract android.view.View onCreateContentView(android.view.LayoutInflater, android.view.ViewGroup); 559 method protected android.animation.Animator onCreateEnterAnimation(); 560 method protected abstract android.view.View onCreateForegroundView(android.view.LayoutInflater, android.view.ViewGroup); 561 method protected android.animation.Animator onCreateLogoAnimation(); 562 method protected void onFinishFragment(); 563 method protected void onPageChanged(int, int); 564 method public int onProvideTheme(); 565 method public final void setLogoResourceId(int); 566 } 567 568 public abstract class PlaybackControlGlue implements android.support.v17.leanback.widget.OnActionClickedListener android.view.View.OnKeyListener { 569 ctor public PlaybackControlGlue(android.content.Context, int[]); 570 ctor public PlaybackControlGlue(android.content.Context, int[], int[]); 571 ctor public PlaybackControlGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlayFragment, int[]); 572 ctor public PlaybackControlGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlayFragment, int[], int[]); 573 method public android.support.v17.leanback.widget.PlaybackControlsRowPresenter createControlsRowAndPresenter(); 574 method protected android.support.v17.leanback.widget.SparseArrayObjectAdapter createPrimaryActionsAdapter(android.support.v17.leanback.widget.PresenterSelector); 575 method public void enableProgressUpdating(boolean); 576 method public android.content.Context getContext(); 577 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow(); 578 method public abstract int getCurrentPosition(); 579 method public abstract int getCurrentSpeedId(); 580 method public int[] getFastForwardSpeeds(); 581 method public android.support.v17.leanback.app.PlaybackOverlayFragment getFragment(); 582 method public abstract android.graphics.drawable.Drawable getMediaArt(); 583 method public abstract int getMediaDuration(); 584 method public abstract java.lang.CharSequence getMediaSubtitle(); 585 method public abstract java.lang.CharSequence getMediaTitle(); 586 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 587 method public int[] getRewindSpeeds(); 588 method public abstract long getSupportedActions(); 589 method public int getUpdatePeriod(); 590 method public abstract boolean hasValidMedia(); 591 method public boolean isFadingEnabled(); 592 method public abstract boolean isMediaPlaying(); 593 method public void onActionClicked(android.support.v17.leanback.widget.Action); 594 method public boolean onKey(android.view.View, int, android.view.KeyEvent); 595 method protected void onMetadataChanged(); 596 method protected abstract void onRowChanged(android.support.v17.leanback.widget.PlaybackControlsRow); 597 method protected void onStateChanged(); 598 method protected abstract void pausePlayback(); 599 method public void setControlsRow(android.support.v17.leanback.widget.PlaybackControlsRow); 600 method public void setFadingEnabled(boolean); 601 method public deprecated void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 602 method protected abstract void skipToNext(); 603 method protected abstract void skipToPrevious(); 604 method protected abstract void startPlayback(int); 605 method public void updateProgress(); 606 field public static final int ACTION_CUSTOM_LEFT_FIRST = 1; // 0x1 607 field public static final int ACTION_CUSTOM_RIGHT_FIRST = 4096; // 0x1000 608 field public static final int ACTION_FAST_FORWARD = 128; // 0x80 609 field public static final int ACTION_PLAY_PAUSE = 64; // 0x40 610 field public static final int ACTION_REWIND = 32; // 0x20 611 field public static final int ACTION_SKIP_TO_NEXT = 256; // 0x100 612 field public static final int ACTION_SKIP_TO_PREVIOUS = 16; // 0x10 613 field public static final int PLAYBACK_SPEED_FAST_L0 = 10; // 0xa 614 field public static final int PLAYBACK_SPEED_FAST_L1 = 11; // 0xb 615 field public static final int PLAYBACK_SPEED_FAST_L2 = 12; // 0xc 616 field public static final int PLAYBACK_SPEED_FAST_L3 = 13; // 0xd 617 field public static final int PLAYBACK_SPEED_FAST_L4 = 14; // 0xe 618 field public static final int PLAYBACK_SPEED_INVALID = -1; // 0xffffffff 619 field public static final int PLAYBACK_SPEED_NORMAL = 1; // 0x1 620 field public static final int PLAYBACK_SPEED_PAUSED = 0; // 0x0 621 } 622 623 public abstract class PlaybackControlSupportGlue implements android.support.v17.leanback.widget.OnActionClickedListener android.view.View.OnKeyListener { 624 ctor public PlaybackControlSupportGlue(android.content.Context, int[]); 625 ctor public PlaybackControlSupportGlue(android.content.Context, int[], int[]); 626 ctor public PlaybackControlSupportGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlaySupportFragment, int[]); 627 ctor public PlaybackControlSupportGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlaySupportFragment, int[], int[]); 628 method public android.support.v17.leanback.widget.PlaybackControlsRowPresenter createControlsRowAndPresenter(); 629 method protected android.support.v17.leanback.widget.SparseArrayObjectAdapter createPrimaryActionsAdapter(android.support.v17.leanback.widget.PresenterSelector); 630 method public void enableProgressUpdating(boolean); 631 method public android.content.Context getContext(); 632 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow(); 633 method public abstract int getCurrentPosition(); 634 method public abstract int getCurrentSpeedId(); 635 method public int[] getFastForwardSpeeds(); 636 method public android.support.v17.leanback.app.PlaybackOverlaySupportFragment getFragment(); 637 method public abstract android.graphics.drawable.Drawable getMediaArt(); 638 method public abstract int getMediaDuration(); 639 method public abstract java.lang.CharSequence getMediaSubtitle(); 640 method public abstract java.lang.CharSequence getMediaTitle(); 641 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 642 method public int[] getRewindSpeeds(); 643 method public abstract long getSupportedActions(); 644 method public int getUpdatePeriod(); 645 method public abstract boolean hasValidMedia(); 646 method public boolean isFadingEnabled(); 647 method public abstract boolean isMediaPlaying(); 648 method public void onActionClicked(android.support.v17.leanback.widget.Action); 649 method public boolean onKey(android.view.View, int, android.view.KeyEvent); 650 method protected void onMetadataChanged(); 651 method protected abstract void onRowChanged(android.support.v17.leanback.widget.PlaybackControlsRow); 652 method protected void onStateChanged(); 653 method protected abstract void pausePlayback(); 654 method public void setControlsRow(android.support.v17.leanback.widget.PlaybackControlsRow); 655 method public void setFadingEnabled(boolean); 656 method public deprecated void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 657 method protected abstract void skipToNext(); 658 method protected abstract void skipToPrevious(); 659 method protected abstract void startPlayback(int); 660 method public void updateProgress(); 661 field public static final int ACTION_CUSTOM_LEFT_FIRST = 1; // 0x1 662 field public static final int ACTION_CUSTOM_RIGHT_FIRST = 4096; // 0x1000 663 field public static final int ACTION_FAST_FORWARD = 128; // 0x80 664 field public static final int ACTION_PLAY_PAUSE = 64; // 0x40 665 field public static final int ACTION_REWIND = 32; // 0x20 666 field public static final int ACTION_SKIP_TO_NEXT = 256; // 0x100 667 field public static final int ACTION_SKIP_TO_PREVIOUS = 16; // 0x10 668 field public static final int PLAYBACK_SPEED_FAST_L0 = 10; // 0xa 669 field public static final int PLAYBACK_SPEED_FAST_L1 = 11; // 0xb 670 field public static final int PLAYBACK_SPEED_FAST_L2 = 12; // 0xc 671 field public static final int PLAYBACK_SPEED_FAST_L3 = 13; // 0xd 672 field public static final int PLAYBACK_SPEED_FAST_L4 = 14; // 0xe 673 field public static final int PLAYBACK_SPEED_INVALID = -1; // 0xffffffff 674 field public static final int PLAYBACK_SPEED_NORMAL = 1; // 0x1 675 field public static final int PLAYBACK_SPEED_PAUSED = 0; // 0x0 676 } 677 678 public class PlaybackOverlayFragment extends android.support.v17.leanback.app.DetailsFragment { 679 ctor public PlaybackOverlayFragment(); 680 method public void fadeOut(); 681 method public int getBackgroundType(); 682 method public android.support.v17.leanback.app.PlaybackOverlayFragment.OnFadeCompleteListener getFadeCompleteListener(); 683 method public final android.support.v17.leanback.app.PlaybackOverlayFragment.InputEventHandler getInputEventHandler(); 684 method public boolean isFadingEnabled(); 685 method public void setBackgroundType(int); 686 method public void setFadeCompleteListener(android.support.v17.leanback.app.PlaybackOverlayFragment.OnFadeCompleteListener); 687 method public void setFadingEnabled(boolean); 688 method public final void setInputEventHandler(android.support.v17.leanback.app.PlaybackOverlayFragment.InputEventHandler); 689 method public void tickle(); 690 field public static final int BG_DARK = 1; // 0x1 691 field public static final int BG_LIGHT = 2; // 0x2 692 field public static final int BG_NONE = 0; // 0x0 693 } 694 695 public static abstract interface PlaybackOverlayFragment.InputEventHandler { 696 method public abstract boolean handleInputEvent(android.view.InputEvent); 697 } 698 699 public static class PlaybackOverlayFragment.OnFadeCompleteListener { 700 ctor public PlaybackOverlayFragment.OnFadeCompleteListener(); 701 method public void onFadeInComplete(); 702 method public void onFadeOutComplete(); 703 } 704 705 public class PlaybackOverlaySupportFragment extends android.support.v17.leanback.app.DetailsSupportFragment { 706 ctor public PlaybackOverlaySupportFragment(); 707 method public void fadeOut(); 708 method public int getBackgroundType(); 709 method public android.support.v17.leanback.app.PlaybackOverlaySupportFragment.OnFadeCompleteListener getFadeCompleteListener(); 710 method public final android.support.v17.leanback.app.PlaybackOverlaySupportFragment.InputEventHandler getInputEventHandler(); 711 method public boolean isFadingEnabled(); 712 method public void setBackgroundType(int); 713 method public void setFadeCompleteListener(android.support.v17.leanback.app.PlaybackOverlaySupportFragment.OnFadeCompleteListener); 714 method public void setFadingEnabled(boolean); 715 method public final void setInputEventHandler(android.support.v17.leanback.app.PlaybackOverlaySupportFragment.InputEventHandler); 716 method public void tickle(); 717 field public static final int BG_DARK = 1; // 0x1 718 field public static final int BG_LIGHT = 2; // 0x2 719 field public static final int BG_NONE = 0; // 0x0 720 } 721 722 public static abstract interface PlaybackOverlaySupportFragment.InputEventHandler { 723 method public abstract boolean handleInputEvent(android.view.InputEvent); 724 } 725 726 public static class PlaybackOverlaySupportFragment.OnFadeCompleteListener { 727 ctor public PlaybackOverlaySupportFragment.OnFadeCompleteListener(); 728 method public void onFadeInComplete(); 729 method public void onFadeOutComplete(); 730 } 731 732 public final class ProgressBarManager { 733 ctor public ProgressBarManager(); 734 method public void disableProgressBar(); 735 method public void enableProgressBar(); 736 method public long getInitialDelay(); 737 method public void hide(); 738 method public void setInitialDelay(long); 739 method public void setProgressBarView(android.view.View); 740 method public void setRootView(android.view.ViewGroup); 741 method public void show(); 742 } 743 744 public class RowsFragment extends android.support.v17.leanback.app.BaseRowFragment implements android.support.v17.leanback.app.BrowseFragment.MainFragmentAdapterProvider android.support.v17.leanback.app.BrowseFragment.MainFragmentRowsAdapterProvider { 745 ctor public RowsFragment(); 746 method public deprecated void enableRowScaling(boolean); 747 method protected android.support.v17.leanback.widget.VerticalGridView findGridViewFromRoot(android.view.View); 748 method public android.support.v17.leanback.app.BrowseFragment.MainFragmentAdapter getMainFragmentAdapter(); 749 method public android.support.v17.leanback.app.BrowseFragment.MainFragmentRowsAdapter getMainFragmentRowsAdapter(); 750 method public android.support.v17.leanback.widget.BaseOnItemViewClickedListener getOnItemViewClickedListener(); 751 method public android.support.v17.leanback.widget.BaseOnItemViewSelectedListener getOnItemViewSelectedListener(); 752 method public android.support.v17.leanback.widget.RowPresenter.ViewHolder getRowViewHolder(int); 753 method public boolean isScrolling(); 754 method public void setEntranceTransitionState(boolean); 755 method public void setExpand(boolean); 756 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.BaseOnItemViewClickedListener); 757 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.BaseOnItemViewSelectedListener); 758 method public void setSelectedPosition(int, boolean, android.support.v17.leanback.widget.Presenter.ViewHolderTask); 759 } 760 761 public static class RowsFragment.MainFragmentAdapter extends android.support.v17.leanback.app.BrowseFragment.MainFragmentAdapter { 762 ctor public RowsFragment.MainFragmentAdapter(android.support.v17.leanback.app.RowsFragment); 763 } 764 765 public static class RowsFragment.MainFragmentRowsAdapter extends android.support.v17.leanback.app.BrowseFragment.MainFragmentRowsAdapter { 766 ctor public RowsFragment.MainFragmentRowsAdapter(android.support.v17.leanback.app.RowsFragment); 767 } 768 769 public class RowsSupportFragment extends android.support.v17.leanback.app.BaseRowSupportFragment implements android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentAdapterProvider android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentRowsAdapterProvider { 770 ctor public RowsSupportFragment(); 771 method public deprecated void enableRowScaling(boolean); 772 method protected android.support.v17.leanback.widget.VerticalGridView findGridViewFromRoot(android.view.View); 773 method public android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentAdapter getMainFragmentAdapter(); 774 method public android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentRowsAdapter getMainFragmentRowsAdapter(); 775 method public android.support.v17.leanback.widget.BaseOnItemViewClickedListener getOnItemViewClickedListener(); 776 method public android.support.v17.leanback.widget.BaseOnItemViewSelectedListener getOnItemViewSelectedListener(); 777 method public android.support.v17.leanback.widget.RowPresenter.ViewHolder getRowViewHolder(int); 778 method public boolean isScrolling(); 779 method public void setEntranceTransitionState(boolean); 780 method public void setExpand(boolean); 781 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.BaseOnItemViewClickedListener); 782 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.BaseOnItemViewSelectedListener); 783 method public void setSelectedPosition(int, boolean, android.support.v17.leanback.widget.Presenter.ViewHolderTask); 784 } 785 786 public static class RowsSupportFragment.MainFragmentAdapter extends android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentAdapter { 787 ctor public RowsSupportFragment.MainFragmentAdapter(android.support.v17.leanback.app.RowsSupportFragment); 788 } 789 790 public static class RowsSupportFragment.MainFragmentRowsAdapter extends android.support.v17.leanback.app.BrowseSupportFragment.MainFragmentRowsAdapter { 791 ctor public RowsSupportFragment.MainFragmentRowsAdapter(android.support.v17.leanback.app.RowsSupportFragment); 792 } 793 794 public class SearchFragment extends android.app.Fragment { 795 ctor public SearchFragment(); 796 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String); 797 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, java.lang.String); 798 method public void displayCompletions(java.util.List<java.lang.String>); 799 method public void displayCompletions(android.view.inputmethod.CompletionInfo[]); 800 method public android.graphics.drawable.Drawable getBadgeDrawable(); 801 method public android.content.Intent getRecognizerIntent(); 802 method public java.lang.String getTitle(); 803 method public static android.support.v17.leanback.app.SearchFragment newInstance(java.lang.String); 804 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 805 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 806 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 807 method public void setSearchQuery(java.lang.String, boolean); 808 method public void setSearchQuery(android.content.Intent, boolean); 809 method public void setSearchResultProvider(android.support.v17.leanback.app.SearchFragment.SearchResultProvider); 810 method public void setSpeechRecognitionCallback(android.support.v17.leanback.widget.SpeechRecognitionCallback); 811 method public void setTitle(java.lang.String); 812 method public void startRecognition(); 813 } 814 815 public static abstract interface SearchFragment.SearchResultProvider { 816 method public abstract android.support.v17.leanback.widget.ObjectAdapter getResultsAdapter(); 817 method public abstract boolean onQueryTextChange(java.lang.String); 818 method public abstract boolean onQueryTextSubmit(java.lang.String); 819 } 820 821 public class SearchSupportFragment extends android.support.v4.app.Fragment { 822 ctor public SearchSupportFragment(); 823 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String); 824 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, java.lang.String); 825 method public void displayCompletions(java.util.List<java.lang.String>); 826 method public void displayCompletions(android.view.inputmethod.CompletionInfo[]); 827 method public android.graphics.drawable.Drawable getBadgeDrawable(); 828 method public android.content.Intent getRecognizerIntent(); 829 method public java.lang.String getTitle(); 830 method public static android.support.v17.leanback.app.SearchSupportFragment newInstance(java.lang.String); 831 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 832 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 833 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 834 method public void setSearchQuery(java.lang.String, boolean); 835 method public void setSearchQuery(android.content.Intent, boolean); 836 method public void setSearchResultProvider(android.support.v17.leanback.app.SearchSupportFragment.SearchResultProvider); 837 method public void setSpeechRecognitionCallback(android.support.v17.leanback.widget.SpeechRecognitionCallback); 838 method public void setTitle(java.lang.String); 839 method public void startRecognition(); 840 } 841 842 public static abstract interface SearchSupportFragment.SearchResultProvider { 843 method public abstract android.support.v17.leanback.widget.ObjectAdapter getResultsAdapter(); 844 method public abstract boolean onQueryTextChange(java.lang.String); 845 method public abstract boolean onQueryTextSubmit(java.lang.String); 846 } 847 848 public class VerticalGridFragment extends android.support.v17.leanback.app.BrandedFragment { 849 ctor public VerticalGridFragment(); 850 method protected java.lang.Object createEntranceTransition(); 851 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 852 method public android.support.v17.leanback.widget.VerticalGridPresenter getGridPresenter(); 853 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 854 method protected void runEntranceTransition(java.lang.Object); 855 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 856 method public void setGridPresenter(android.support.v17.leanback.widget.VerticalGridPresenter); 857 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 858 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 859 method public void setSelectedPosition(int); 860 } 861 862 public class VerticalGridSupportFragment extends android.support.v17.leanback.app.BrandedSupportFragment { 863 ctor public VerticalGridSupportFragment(); 864 method protected java.lang.Object createEntranceTransition(); 865 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 866 method public android.support.v17.leanback.widget.VerticalGridPresenter getGridPresenter(); 867 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 868 method protected void runEntranceTransition(java.lang.Object); 869 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 870 method public void setGridPresenter(android.support.v17.leanback.widget.VerticalGridPresenter); 871 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 872 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 873 method public void setSelectedPosition(int); 874 } 875 876} 877 878package android.support.v17.leanback.database { 879 880 public abstract class CursorMapper { 881 ctor public CursorMapper(); 882 method protected abstract java.lang.Object bind(android.database.Cursor); 883 method protected abstract void bindColumns(android.database.Cursor); 884 method public java.lang.Object convert(android.database.Cursor); 885 } 886 887} 888 889package android.support.v17.leanback.graphics { 890 891 public final class ColorFilterCache { 892 method public static android.support.v17.leanback.graphics.ColorFilterCache getColorFilterCache(int); 893 method public android.graphics.ColorFilter getFilterForLevel(float); 894 } 895 896 public final class ColorFilterDimmer { 897 method public void applyFilterToView(android.view.View); 898 method public static android.support.v17.leanback.graphics.ColorFilterDimmer create(android.support.v17.leanback.graphics.ColorFilterCache, float, float); 899 method public static android.support.v17.leanback.graphics.ColorFilterDimmer createDefault(android.content.Context); 900 method public android.graphics.ColorFilter getColorFilter(); 901 method public android.graphics.Paint getPaint(); 902 method public void setActiveLevel(float); 903 } 904 905 public final class ColorOverlayDimmer { 906 method public int applyToColor(int); 907 method public static android.support.v17.leanback.graphics.ColorOverlayDimmer createColorOverlayDimmer(int, float, float); 908 method public static android.support.v17.leanback.graphics.ColorOverlayDimmer createDefault(android.content.Context); 909 method public void drawColorOverlay(android.graphics.Canvas, android.view.View, boolean); 910 method public int getAlpha(); 911 method public float getAlphaFloat(); 912 method public android.graphics.Paint getPaint(); 913 method public boolean needsDraw(); 914 method public void setActiveLevel(float); 915 } 916 917} 918 919package android.support.v17.leanback.system { 920 921 public class Settings { 922 method public boolean getBoolean(java.lang.String); 923 method public static android.support.v17.leanback.system.Settings getInstance(android.content.Context); 924 method public void setBoolean(java.lang.String, boolean); 925 field public static final java.lang.String PREFER_STATIC_SHADOWS = "PREFER_STATIC_SHADOWS"; 926 } 927 928} 929 930package android.support.v17.leanback.widget { 931 932 public abstract class AbstractDetailsDescriptionPresenter extends android.support.v17.leanback.widget.Presenter { 933 ctor public AbstractDetailsDescriptionPresenter(); 934 method protected abstract void onBindDescription(android.support.v17.leanback.widget.AbstractDetailsDescriptionPresenter.ViewHolder, java.lang.Object); 935 method public final void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 936 method public final android.support.v17.leanback.widget.AbstractDetailsDescriptionPresenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 937 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 938 } 939 940 public static class AbstractDetailsDescriptionPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 941 ctor public AbstractDetailsDescriptionPresenter.ViewHolder(android.view.View); 942 method public android.widget.TextView getBody(); 943 method public android.widget.TextView getSubtitle(); 944 method public android.widget.TextView getTitle(); 945 } 946 947 public abstract class AbstractMediaItemPresenter extends android.support.v17.leanback.widget.RowPresenter { 948 ctor public AbstractMediaItemPresenter(); 949 ctor public AbstractMediaItemPresenter(int); 950 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 951 method public android.support.v17.leanback.widget.Presenter getActionPresenter(); 952 method public int getThemeId(); 953 method public boolean hasMediaRowSeparator(); 954 method protected abstract void onBindMediaDetails(android.support.v17.leanback.widget.AbstractMediaItemPresenter.ViewHolder, java.lang.Object); 955 method protected void onBindRowActions(android.support.v17.leanback.widget.AbstractMediaItemPresenter.ViewHolder); 956 method protected void onUnbindMediaDetails(android.support.v17.leanback.widget.AbstractMediaItemPresenter.ViewHolder); 957 method public void setActionPresenter(android.support.v17.leanback.widget.Presenter); 958 method public void setBackgroundColor(int); 959 method public void setHasMediaRowSeparator(boolean); 960 method public void setThemeId(int); 961 } 962 963 public static class AbstractMediaItemPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 964 ctor public AbstractMediaItemPresenter.ViewHolder(android.view.View); 965 method public android.view.ViewGroup getMediaItemActionsContainer(); 966 method public android.view.View getMediaItemDetailsView(); 967 method public android.widget.TextView getMediaItemDurationView(); 968 method public android.widget.TextView getMediaItemNameView(); 969 method public android.widget.TextView getMediaItemNumberView(); 970 method public android.support.v17.leanback.widget.MultiActionsProvider.MultiAction[] getMediaItemRowActions(); 971 method public android.view.View getMediaItemRowSeparator(); 972 method public android.view.View getSelectorView(); 973 method public void notifyActionChanged(android.support.v17.leanback.widget.MultiActionsProvider.MultiAction); 974 method public void notifyDetailsChanged(); 975 method public void onBindRowActions(); 976 } 977 978 public abstract class AbstractMediaListHeaderPresenter extends android.support.v17.leanback.widget.RowPresenter { 979 ctor public AbstractMediaListHeaderPresenter(android.content.Context, int); 980 ctor public AbstractMediaListHeaderPresenter(); 981 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 982 method protected abstract void onBindMediaListHeaderViewHolder(android.support.v17.leanback.widget.AbstractMediaListHeaderPresenter.ViewHolder, java.lang.Object); 983 method public void setBackgroundColor(int); 984 } 985 986 public static class AbstractMediaListHeaderPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 987 ctor public AbstractMediaListHeaderPresenter.ViewHolder(android.view.View); 988 method public android.widget.TextView getHeaderView(); 989 } 990 991 public class Action { 992 ctor public Action(long); 993 ctor public Action(long, java.lang.CharSequence); 994 ctor public Action(long, java.lang.CharSequence, java.lang.CharSequence); 995 ctor public Action(long, java.lang.CharSequence, java.lang.CharSequence, android.graphics.drawable.Drawable); 996 method public final void addKeyCode(int); 997 method public final android.graphics.drawable.Drawable getIcon(); 998 method public final long getId(); 999 method public final java.lang.CharSequence getLabel1(); 1000 method public final java.lang.CharSequence getLabel2(); 1001 method public final void removeKeyCode(int); 1002 method public final boolean respondsToKeyCode(int); 1003 method public final void setIcon(android.graphics.drawable.Drawable); 1004 method public final void setId(long); 1005 method public final void setLabel1(java.lang.CharSequence); 1006 method public final void setLabel2(java.lang.CharSequence); 1007 field public static final long NO_ID = -1L; // 0xffffffffffffffffL 1008 } 1009 1010 public class ArrayObjectAdapter extends android.support.v17.leanback.widget.ObjectAdapter { 1011 ctor public ArrayObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 1012 ctor public ArrayObjectAdapter(android.support.v17.leanback.widget.Presenter); 1013 ctor public ArrayObjectAdapter(); 1014 method public void add(java.lang.Object); 1015 method public void add(int, java.lang.Object); 1016 method public void addAll(int, java.util.Collection); 1017 method public void clear(); 1018 method public java.lang.Object get(int); 1019 method public int indexOf(java.lang.Object); 1020 method public void notifyArrayItemRangeChanged(int, int); 1021 method public boolean remove(java.lang.Object); 1022 method public int removeItems(int, int); 1023 method public void replace(int, java.lang.Object); 1024 method public int size(); 1025 method public java.util.List<E> unmodifiableList(); 1026 } 1027 1028 public class BaseCardView extends android.widget.FrameLayout { 1029 ctor public BaseCardView(android.content.Context); 1030 ctor public BaseCardView(android.content.Context, android.util.AttributeSet); 1031 ctor public BaseCardView(android.content.Context, android.util.AttributeSet, int); 1032 method public int getCardType(); 1033 method public int getExtraVisibility(); 1034 method public int getInfoVisibility(); 1035 method public boolean isSelectedAnimationDelayed(); 1036 method public void setCardType(int); 1037 method public void setExtraVisibility(int); 1038 method public void setInfoVisibility(int); 1039 method public void setSelectedAnimationDelayed(boolean); 1040 field public static final int CARD_REGION_VISIBLE_ACTIVATED = 1; // 0x1 1041 field public static final int CARD_REGION_VISIBLE_ALWAYS = 0; // 0x0 1042 field public static final int CARD_REGION_VISIBLE_SELECTED = 2; // 0x2 1043 field public static final int CARD_TYPE_INFO_OVER = 1; // 0x1 1044 field public static final int CARD_TYPE_INFO_UNDER = 2; // 0x2 1045 field public static final int CARD_TYPE_INFO_UNDER_WITH_EXTRA = 3; // 0x3 1046 field public static final int CARD_TYPE_MAIN_ONLY = 0; // 0x0 1047 } 1048 1049 public static class BaseCardView.LayoutParams extends android.widget.FrameLayout.LayoutParams { 1050 ctor public BaseCardView.LayoutParams(android.content.Context, android.util.AttributeSet); 1051 ctor public BaseCardView.LayoutParams(int, int); 1052 ctor public BaseCardView.LayoutParams(android.view.ViewGroup.LayoutParams); 1053 ctor public BaseCardView.LayoutParams(android.support.v17.leanback.widget.BaseCardView.LayoutParams); 1054 field public static final int VIEW_TYPE_EXTRA = 2; // 0x2 1055 field public static final int VIEW_TYPE_INFO = 1; // 0x1 1056 field public static final int VIEW_TYPE_MAIN = 0; // 0x0 1057 field public int viewType; 1058 } 1059 1060 public abstract interface BaseOnItemViewClickedListener { 1061 method public abstract void onItemClicked(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object, android.support.v17.leanback.widget.RowPresenter.ViewHolder, T); 1062 } 1063 1064 public abstract interface BaseOnItemViewSelectedListener { 1065 method public abstract void onItemSelected(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object, android.support.v17.leanback.widget.RowPresenter.ViewHolder, T); 1066 } 1067 1068 public class BrowseFrameLayout extends android.widget.FrameLayout { 1069 ctor public BrowseFrameLayout(android.content.Context); 1070 ctor public BrowseFrameLayout(android.content.Context, android.util.AttributeSet); 1071 ctor public BrowseFrameLayout(android.content.Context, android.util.AttributeSet, int); 1072 method public android.support.v17.leanback.widget.BrowseFrameLayout.OnChildFocusListener getOnChildFocusListener(); 1073 method public android.support.v17.leanback.widget.BrowseFrameLayout.OnFocusSearchListener getOnFocusSearchListener(); 1074 method public void setOnChildFocusListener(android.support.v17.leanback.widget.BrowseFrameLayout.OnChildFocusListener); 1075 method public void setOnFocusSearchListener(android.support.v17.leanback.widget.BrowseFrameLayout.OnFocusSearchListener); 1076 } 1077 1078 public static abstract interface BrowseFrameLayout.OnChildFocusListener { 1079 method public abstract void onRequestChildFocus(android.view.View, android.view.View); 1080 method public abstract boolean onRequestFocusInDescendants(int, android.graphics.Rect); 1081 } 1082 1083 public static abstract interface BrowseFrameLayout.OnFocusSearchListener { 1084 method public abstract android.view.View onFocusSearch(android.view.View, int); 1085 } 1086 1087 public final class ClassPresenterSelector extends android.support.v17.leanback.widget.PresenterSelector { 1088 ctor public ClassPresenterSelector(); 1089 method public android.support.v17.leanback.widget.ClassPresenterSelector addClassPresenter(java.lang.Class<?>, android.support.v17.leanback.widget.Presenter); 1090 method public android.support.v17.leanback.widget.ClassPresenterSelector addClassPresenterSelector(java.lang.Class<?>, android.support.v17.leanback.widget.PresenterSelector); 1091 method public android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 1092 } 1093 1094 public class ControlButtonPresenterSelector extends android.support.v17.leanback.widget.PresenterSelector { 1095 ctor public ControlButtonPresenterSelector(); 1096 method public android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 1097 method public android.support.v17.leanback.widget.Presenter getPrimaryPresenter(); 1098 method public android.support.v17.leanback.widget.Presenter getSecondaryPresenter(); 1099 } 1100 1101 public class CursorObjectAdapter extends android.support.v17.leanback.widget.ObjectAdapter { 1102 ctor public CursorObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 1103 ctor public CursorObjectAdapter(android.support.v17.leanback.widget.Presenter); 1104 ctor public CursorObjectAdapter(); 1105 method public void changeCursor(android.database.Cursor); 1106 method public void close(); 1107 method public java.lang.Object get(int); 1108 method public final android.database.Cursor getCursor(); 1109 method public final android.support.v17.leanback.database.CursorMapper getMapper(); 1110 method protected final void invalidateCache(int); 1111 method protected final void invalidateCache(int, int); 1112 method public boolean isClosed(); 1113 method protected void onCursorChanged(); 1114 method protected void onMapperChanged(); 1115 method public final void setMapper(android.support.v17.leanback.database.CursorMapper); 1116 method public int size(); 1117 method public android.database.Cursor swapCursor(android.database.Cursor); 1118 } 1119 1120 public class DetailsOverviewLogoPresenter extends android.support.v17.leanback.widget.Presenter { 1121 ctor public DetailsOverviewLogoPresenter(); 1122 method public boolean isBoundToImage(android.support.v17.leanback.widget.DetailsOverviewLogoPresenter.ViewHolder, android.support.v17.leanback.widget.DetailsOverviewRow); 1123 method public void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1124 method public android.view.View onCreateView(android.view.ViewGroup); 1125 method public android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1126 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1127 method public void setContext(android.support.v17.leanback.widget.DetailsOverviewLogoPresenter.ViewHolder, android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter); 1128 } 1129 1130 public static class DetailsOverviewLogoPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 1131 ctor public DetailsOverviewLogoPresenter.ViewHolder(android.view.View); 1132 method public android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter getParentPresenter(); 1133 method public android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder getParentViewHolder(); 1134 method public boolean isSizeFromDrawableIntrinsic(); 1135 method public void setSizeFromDrawableIntrinsic(boolean); 1136 field protected android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter mParentPresenter; 1137 field protected android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder mParentViewHolder; 1138 } 1139 1140 public class DetailsOverviewRow extends android.support.v17.leanback.widget.Row { 1141 ctor public DetailsOverviewRow(java.lang.Object); 1142 method public final deprecated void addAction(android.support.v17.leanback.widget.Action); 1143 method public final deprecated void addAction(int, android.support.v17.leanback.widget.Action); 1144 method public android.support.v17.leanback.widget.Action getActionForKeyCode(int); 1145 method public final deprecated java.util.List<android.support.v17.leanback.widget.Action> getActions(); 1146 method public final android.support.v17.leanback.widget.ObjectAdapter getActionsAdapter(); 1147 method public final android.graphics.drawable.Drawable getImageDrawable(); 1148 method public final java.lang.Object getItem(); 1149 method public boolean isImageScaleUpAllowed(); 1150 method public final deprecated boolean removeAction(android.support.v17.leanback.widget.Action); 1151 method public final void setActionsAdapter(android.support.v17.leanback.widget.ObjectAdapter); 1152 method public final void setImageBitmap(android.content.Context, android.graphics.Bitmap); 1153 method public final void setImageDrawable(android.graphics.drawable.Drawable); 1154 method public void setImageScaleUpAllowed(boolean); 1155 method public final void setItem(java.lang.Object); 1156 } 1157 1158 public static class DetailsOverviewRow.Listener { 1159 ctor public DetailsOverviewRow.Listener(); 1160 method public void onActionsAdapterChanged(android.support.v17.leanback.widget.DetailsOverviewRow); 1161 method public void onImageDrawableChanged(android.support.v17.leanback.widget.DetailsOverviewRow); 1162 method public void onItemChanged(android.support.v17.leanback.widget.DetailsOverviewRow); 1163 } 1164 1165 public deprecated class DetailsOverviewRowPresenter extends android.support.v17.leanback.widget.RowPresenter { 1166 ctor public DetailsOverviewRowPresenter(android.support.v17.leanback.widget.Presenter); 1167 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1168 method public int getBackgroundColor(); 1169 method public android.support.v17.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 1170 method public boolean isStyleLarge(); 1171 method public final boolean isUsingDefaultSelectEffect(); 1172 method public void setBackgroundColor(int); 1173 method public void setOnActionClickedListener(android.support.v17.leanback.widget.OnActionClickedListener); 1174 method public final void setSharedElementEnterTransition(android.app.Activity, java.lang.String, long); 1175 method public final void setSharedElementEnterTransition(android.app.Activity, java.lang.String); 1176 method public void setStyleLarge(boolean); 1177 } 1178 1179 public final class DetailsOverviewRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 1180 ctor public DetailsOverviewRowPresenter.ViewHolder(android.view.View, android.support.v17.leanback.widget.Presenter); 1181 field public final android.support.v17.leanback.widget.Presenter.ViewHolder mDetailsDescriptionViewHolder; 1182 } 1183 1184 public class DividerPresenter extends android.support.v17.leanback.widget.Presenter { 1185 ctor public DividerPresenter(); 1186 method public void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1187 method public android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1188 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1189 } 1190 1191 public class DividerRow extends android.support.v17.leanback.widget.Row { 1192 ctor public DividerRow(); 1193 method public final boolean isRenderedAsRowView(); 1194 } 1195 1196 public abstract interface FacetProvider { 1197 method public abstract java.lang.Object getFacet(java.lang.Class<?>); 1198 } 1199 1200 public abstract interface FacetProviderAdapter { 1201 method public abstract android.support.v17.leanback.widget.FacetProvider getFacetProvider(int); 1202 } 1203 1204 public abstract interface FocusHighlight { 1205 field public static final int ZOOM_FACTOR_LARGE = 3; // 0x3 1206 field public static final int ZOOM_FACTOR_MEDIUM = 2; // 0x2 1207 field public static final int ZOOM_FACTOR_NONE = 0; // 0x0 1208 field public static final int ZOOM_FACTOR_SMALL = 1; // 0x1 1209 field public static final int ZOOM_FACTOR_XSMALL = 4; // 0x4 1210 } 1211 1212 public class FocusHighlightHelper { 1213 ctor public FocusHighlightHelper(); 1214 method public static void setupBrowseItemFocusHighlight(android.support.v17.leanback.widget.ItemBridgeAdapter, int, boolean); 1215 method public static void setupHeaderItemFocusHighlight(android.support.v17.leanback.widget.VerticalGridView); 1216 } 1217 1218 public abstract interface FragmentAnimationProvider { 1219 method public abstract void onImeAppearing(java.util.List<android.animation.Animator>); 1220 method public abstract void onImeDisappearing(java.util.List<android.animation.Animator>); 1221 } 1222 1223 public class FullWidthDetailsOverviewRowPresenter extends android.support.v17.leanback.widget.RowPresenter { 1224 ctor public FullWidthDetailsOverviewRowPresenter(android.support.v17.leanback.widget.Presenter); 1225 ctor public FullWidthDetailsOverviewRowPresenter(android.support.v17.leanback.widget.Presenter, android.support.v17.leanback.widget.DetailsOverviewLogoPresenter); 1226 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1227 method public final int getActionsBackgroundColor(); 1228 method public final int getAlignmentMode(); 1229 method public final int getBackgroundColor(); 1230 method public final int getInitialState(); 1231 method protected int getLayoutResourceId(); 1232 method public android.support.v17.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 1233 method public final boolean isParticipatingEntranceTransition(); 1234 method public final boolean isUsingDefaultSelectEffect(); 1235 method public final void notifyOnBindLogo(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder); 1236 method protected void onLayoutLogo(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, boolean); 1237 method protected void onLayoutOverviewFrame(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, boolean); 1238 method protected void onStateChanged(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int); 1239 method public final void setActionsBackgroundColor(int); 1240 method public final void setAlignmentMode(int); 1241 method public final void setBackgroundColor(int); 1242 method public final void setInitialState(int); 1243 method public final void setListener(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.Listener); 1244 method public void setOnActionClickedListener(android.support.v17.leanback.widget.OnActionClickedListener); 1245 method public final void setParticipatingEntranceTransition(boolean); 1246 method public final void setState(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int); 1247 field public static final int ALIGN_MODE_MIDDLE = 1; // 0x1 1248 field public static final int ALIGN_MODE_START = 0; // 0x0 1249 field public static final int STATE_FULL = 1; // 0x1 1250 field public static final int STATE_HALF = 0; // 0x0 1251 field public static final int STATE_SMALL = 2; // 0x2 1252 field protected int mInitialState; 1253 } 1254 1255 public static abstract class FullWidthDetailsOverviewRowPresenter.Listener { 1256 ctor public FullWidthDetailsOverviewRowPresenter.Listener(); 1257 method public void onBindLogo(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder); 1258 } 1259 1260 public class FullWidthDetailsOverviewRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 1261 ctor public FullWidthDetailsOverviewRowPresenter.ViewHolder(android.view.View, android.support.v17.leanback.widget.Presenter, android.support.v17.leanback.widget.DetailsOverviewLogoPresenter); 1262 method protected android.support.v17.leanback.widget.DetailsOverviewRow.Listener createRowListener(); 1263 method public final android.view.ViewGroup getActionsRow(); 1264 method public final android.view.ViewGroup getDetailsDescriptionFrame(); 1265 method public final android.support.v17.leanback.widget.Presenter.ViewHolder getDetailsDescriptionViewHolder(); 1266 method public final android.support.v17.leanback.widget.DetailsOverviewLogoPresenter.ViewHolder getLogoViewHolder(); 1267 method public final android.view.ViewGroup getOverviewView(); 1268 method public final int getState(); 1269 field protected final android.support.v17.leanback.widget.DetailsOverviewRow.Listener mRowListener; 1270 } 1271 1272 public class FullWidthDetailsOverviewRowPresenter.ViewHolder.DetailsOverviewRowListener extends android.support.v17.leanback.widget.DetailsOverviewRow.Listener { 1273 ctor public FullWidthDetailsOverviewRowPresenter.ViewHolder.DetailsOverviewRowListener(); 1274 } 1275 1276 public class FullWidthDetailsOverviewSharedElementHelper extends android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.Listener { 1277 ctor public FullWidthDetailsOverviewSharedElementHelper(); 1278 method public boolean getAutoStartSharedElementTransition(); 1279 method public void setAutoStartSharedElementTransition(boolean); 1280 method public void setSharedElementEnterTransition(android.app.Activity, java.lang.String); 1281 method public void setSharedElementEnterTransition(android.app.Activity, java.lang.String, long); 1282 method public void startPostponedEnterTransition(); 1283 } 1284 1285 public class GuidanceStylist implements android.support.v17.leanback.widget.FragmentAnimationProvider { 1286 ctor public GuidanceStylist(); 1287 method public android.widget.TextView getBreadcrumbView(); 1288 method public android.widget.TextView getDescriptionView(); 1289 method public android.widget.ImageView getIconView(); 1290 method public android.widget.TextView getTitleView(); 1291 method public android.view.View onCreateView(android.view.LayoutInflater, android.view.ViewGroup, android.support.v17.leanback.widget.GuidanceStylist.Guidance); 1292 method public void onDestroyView(); 1293 method public void onImeAppearing(java.util.List<android.animation.Animator>); 1294 method public void onImeDisappearing(java.util.List<android.animation.Animator>); 1295 method public int onProvideLayoutId(); 1296 } 1297 1298 public static class GuidanceStylist.Guidance { 1299 ctor public GuidanceStylist.Guidance(java.lang.String, java.lang.String, java.lang.String, android.graphics.drawable.Drawable); 1300 method public java.lang.String getBreadcrumb(); 1301 method public java.lang.String getDescription(); 1302 method public android.graphics.drawable.Drawable getIconDrawable(); 1303 method public java.lang.String getTitle(); 1304 } 1305 1306 public class GuidedAction extends android.support.v17.leanback.widget.Action { 1307 ctor protected GuidedAction(); 1308 method public int getCheckSetId(); 1309 method public java.lang.CharSequence getDescription(); 1310 method public int getDescriptionEditInputType(); 1311 method public int getDescriptionInputType(); 1312 method public java.lang.CharSequence getEditDescription(); 1313 method public int getEditInputType(); 1314 method public java.lang.CharSequence getEditTitle(); 1315 method public int getInputType(); 1316 method public android.content.Intent getIntent(); 1317 method public java.util.List<android.support.v17.leanback.widget.GuidedAction> getSubActions(); 1318 method public java.lang.CharSequence getTitle(); 1319 method public boolean hasEditableActivatorView(); 1320 method public boolean hasMultilineDescription(); 1321 method public boolean hasNext(); 1322 method public boolean hasSubActions(); 1323 method public boolean hasTextEditable(); 1324 method public boolean infoOnly(); 1325 method public final boolean isAutoSaveRestoreEnabled(); 1326 method public boolean isChecked(); 1327 method public boolean isDescriptionEditable(); 1328 method public boolean isEditTitleUsed(); 1329 method public boolean isEditable(); 1330 method public boolean isEnabled(); 1331 method public boolean isFocusable(); 1332 method public void onRestoreInstanceState(android.os.Bundle, java.lang.String); 1333 method public void onSaveInstanceState(android.os.Bundle, java.lang.String); 1334 method public void setChecked(boolean); 1335 method public void setDescription(java.lang.CharSequence); 1336 method public void setEditDescription(java.lang.CharSequence); 1337 method public void setEditTitle(java.lang.CharSequence); 1338 method public void setEnabled(boolean); 1339 method public void setFocusable(boolean); 1340 method public void setIntent(android.content.Intent); 1341 method public void setSubActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>); 1342 method public void setTitle(java.lang.CharSequence); 1343 field public static final long ACTION_ID_CANCEL = -5L; // 0xfffffffffffffffbL 1344 field public static final long ACTION_ID_CONTINUE = -7L; // 0xfffffffffffffff9L 1345 field public static final long ACTION_ID_CURRENT = -3L; // 0xfffffffffffffffdL 1346 field public static final long ACTION_ID_FINISH = -6L; // 0xfffffffffffffffaL 1347 field public static final long ACTION_ID_NEXT = -2L; // 0xfffffffffffffffeL 1348 field public static final long ACTION_ID_NO = -9L; // 0xfffffffffffffff7L 1349 field public static final long ACTION_ID_OK = -4L; // 0xfffffffffffffffcL 1350 field public static final long ACTION_ID_YES = -8L; // 0xfffffffffffffff8L 1351 field public static final int CHECKBOX_CHECK_SET_ID = -1; // 0xffffffff 1352 field public static final int DEFAULT_CHECK_SET_ID = 1; // 0x1 1353 field public static final int NO_CHECK_SET = 0; // 0x0 1354 } 1355 1356 public static class GuidedAction.Builder extends android.support.v17.leanback.widget.GuidedAction.BuilderBase { 1357 ctor public deprecated GuidedAction.Builder(); 1358 ctor public GuidedAction.Builder(android.content.Context); 1359 method public android.support.v17.leanback.widget.GuidedAction build(); 1360 } 1361 1362 public static abstract class GuidedAction.BuilderBase { 1363 ctor public GuidedAction.BuilderBase(android.content.Context); 1364 method protected final void applyValues(android.support.v17.leanback.widget.GuidedAction); 1365 method public B autoSaveRestoreEnabled(boolean); 1366 method public B checkSetId(int); 1367 method public B checked(boolean); 1368 method public B clickAction(long); 1369 method public B description(java.lang.CharSequence); 1370 method public B description(int); 1371 method public B descriptionEditInputType(int); 1372 method public B descriptionEditable(boolean); 1373 method public B descriptionInputType(int); 1374 method public B editDescription(java.lang.CharSequence); 1375 method public B editDescription(int); 1376 method public B editInputType(int); 1377 method public B editTitle(java.lang.CharSequence); 1378 method public B editTitle(int); 1379 method public B editable(boolean); 1380 method public B enabled(boolean); 1381 method public B focusable(boolean); 1382 method public android.content.Context getContext(); 1383 method public B hasEditableActivatorView(boolean); 1384 method public B hasNext(boolean); 1385 method public B icon(android.graphics.drawable.Drawable); 1386 method public B icon(int); 1387 method public deprecated B iconResourceId(int, android.content.Context); 1388 method public B id(long); 1389 method public B infoOnly(boolean); 1390 method public B inputType(int); 1391 method public B intent(android.content.Intent); 1392 method public B multilineDescription(boolean); 1393 method public B subActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>); 1394 method public B title(java.lang.CharSequence); 1395 method public B title(int); 1396 } 1397 1398 public class GuidedActionEditText extends android.widget.EditText implements android.support.v17.leanback.widget.ImeKeyMonitor { 1399 ctor public GuidedActionEditText(android.content.Context); 1400 ctor public GuidedActionEditText(android.content.Context, android.util.AttributeSet); 1401 ctor public GuidedActionEditText(android.content.Context, android.util.AttributeSet, int); 1402 method public void setImeKeyListener(android.support.v17.leanback.widget.ImeKeyMonitor.ImeKeyListener); 1403 } 1404 1405 public class GuidedActionsStylist implements android.support.v17.leanback.widget.FragmentAnimationProvider { 1406 ctor public GuidedActionsStylist(); 1407 method public android.support.v17.leanback.widget.VerticalGridView getActionsGridView(); 1408 method public android.support.v17.leanback.widget.GuidedAction getExpandedAction(); 1409 method public int getItemViewType(android.support.v17.leanback.widget.GuidedAction); 1410 method public android.support.v17.leanback.widget.VerticalGridView getSubActionsGridView(); 1411 method public boolean isButtonActions(); 1412 method public boolean isExpandTransitionSupported(); 1413 method public boolean isInExpandTransition(); 1414 method public boolean isSubActionsExpanded(); 1415 method public void onAnimateItemChecked(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 1416 method public void onAnimateItemFocused(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 1417 method public void onAnimateItemPressed(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 1418 method public void onAnimateItemPressedCancelled(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder); 1419 method public void onBindActivatorView(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, android.support.v17.leanback.widget.GuidedAction); 1420 method public void onBindCheckMarkView(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, android.support.v17.leanback.widget.GuidedAction); 1421 method public void onBindChevronView(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, android.support.v17.leanback.widget.GuidedAction); 1422 method public void onBindViewHolder(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, android.support.v17.leanback.widget.GuidedAction); 1423 method public android.view.View onCreateView(android.view.LayoutInflater, android.view.ViewGroup); 1424 method public android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1425 method public android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder onCreateViewHolder(android.view.ViewGroup, int); 1426 method public void onDestroyView(); 1427 method protected void onEditingModeChange(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, android.support.v17.leanback.widget.GuidedAction, boolean); 1428 method public void onImeAppearing(java.util.List<android.animation.Animator>); 1429 method public void onImeDisappearing(java.util.List<android.animation.Animator>); 1430 method public int onProvideItemLayoutId(); 1431 method public int onProvideItemLayoutId(int); 1432 method public int onProvideLayoutId(); 1433 method public boolean onUpdateActivatorView(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, android.support.v17.leanback.widget.GuidedAction); 1434 method public void onUpdateExpandedViewHolder(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder); 1435 method public void setAsButtonActions(); 1436 method public void setEditingMode(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, android.support.v17.leanback.widget.GuidedAction, boolean); 1437 method public void setExpandedViewHolder(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder); 1438 method protected void setupImeOptions(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, android.support.v17.leanback.widget.GuidedAction); 1439 method public void startExpandedTransition(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder); 1440 field public static final int VIEW_TYPE_DATE_PICKER = 1; // 0x1 1441 field public static final int VIEW_TYPE_DEFAULT = 0; // 0x0 1442 } 1443 1444 public static class GuidedActionsStylist.ViewHolder extends android.support.v7.widget.RecyclerView.ViewHolder implements android.support.v17.leanback.widget.FacetProvider { 1445 ctor public GuidedActionsStylist.ViewHolder(android.view.View); 1446 ctor public GuidedActionsStylist.ViewHolder(android.view.View, boolean); 1447 method public android.support.v17.leanback.widget.GuidedAction getAction(); 1448 method public android.widget.ImageView getCheckmarkView(); 1449 method public android.widget.ImageView getChevronView(); 1450 method public android.view.View getContentView(); 1451 method public android.widget.TextView getDescriptionView(); 1452 method public android.widget.EditText getEditableDescriptionView(); 1453 method public android.widget.EditText getEditableTitleView(); 1454 method public android.view.View getEditingView(); 1455 method public java.lang.Object getFacet(java.lang.Class<?>); 1456 method public android.widget.ImageView getIconView(); 1457 method public android.widget.TextView getTitleView(); 1458 method public boolean isInEditing(); 1459 method public boolean isInEditingActivatorView(); 1460 method public boolean isInEditingDescription(); 1461 method public boolean isInEditingText(); 1462 method public boolean isInEditingTitle(); 1463 method public boolean isSubAction(); 1464 } 1465 1466 public class GuidedDatePickerAction extends android.support.v17.leanback.widget.GuidedAction { 1467 ctor public GuidedDatePickerAction(); 1468 method public long getDate(); 1469 method public java.lang.String getDatePickerFormat(); 1470 method public long getMaxDate(); 1471 method public long getMinDate(); 1472 method public void setDate(long); 1473 } 1474 1475 public static final class GuidedDatePickerAction.Builder extends android.support.v17.leanback.widget.GuidedDatePickerAction.BuilderBase { 1476 ctor public GuidedDatePickerAction.Builder(android.content.Context); 1477 method public android.support.v17.leanback.widget.GuidedDatePickerAction build(); 1478 } 1479 1480 public static abstract class GuidedDatePickerAction.BuilderBase extends android.support.v17.leanback.widget.GuidedAction.BuilderBase { 1481 ctor public GuidedDatePickerAction.BuilderBase(android.content.Context); 1482 method protected final void applyDatePickerValues(android.support.v17.leanback.widget.GuidedDatePickerAction); 1483 method public B date(long); 1484 method public B datePickerFormat(java.lang.String); 1485 method public B maxDate(long); 1486 method public B minDate(long); 1487 } 1488 1489 public class HeaderItem { 1490 ctor public HeaderItem(long, java.lang.String); 1491 ctor public HeaderItem(java.lang.String); 1492 method public java.lang.CharSequence getContentDescription(); 1493 method public final long getId(); 1494 method public final java.lang.String getName(); 1495 method public void setContentDescription(java.lang.CharSequence); 1496 } 1497 1498 public class HorizontalGridView extends android.support.v7.widget.RecyclerView { 1499 ctor public HorizontalGridView(android.content.Context); 1500 ctor public HorizontalGridView(android.content.Context, android.util.AttributeSet); 1501 ctor public HorizontalGridView(android.content.Context, android.util.AttributeSet, int); 1502 method public final boolean getFadingLeftEdge(); 1503 method public final int getFadingLeftEdgeLength(); 1504 method public final int getFadingLeftEdgeOffset(); 1505 method public final boolean getFadingRightEdge(); 1506 method public final int getFadingRightEdgeLength(); 1507 method public final int getFadingRightEdgeOffset(); 1508 method protected void initAttributes(android.content.Context, android.util.AttributeSet); 1509 method public final void setFadingLeftEdge(boolean); 1510 method public final void setFadingLeftEdgeLength(int); 1511 method public final void setFadingLeftEdgeOffset(int); 1512 method public final void setFadingRightEdge(boolean); 1513 method public final void setFadingRightEdgeLength(int); 1514 method public final void setFadingRightEdgeOffset(int); 1515 method public void setNumRows(int); 1516 method public void setRowHeight(int); 1517 } 1518 1519 public final class HorizontalHoverCardSwitcher extends android.support.v17.leanback.widget.PresenterSwitcher { 1520 ctor public HorizontalHoverCardSwitcher(); 1521 method protected void insertView(android.view.View); 1522 method public void select(android.support.v17.leanback.widget.HorizontalGridView, android.view.View, java.lang.Object); 1523 } 1524 1525 public class ImageCardView extends android.support.v17.leanback.widget.BaseCardView { 1526 ctor public deprecated ImageCardView(android.content.Context, int); 1527 ctor public ImageCardView(android.content.Context, android.util.AttributeSet, int); 1528 ctor public ImageCardView(android.content.Context); 1529 ctor public ImageCardView(android.content.Context, android.util.AttributeSet); 1530 method public android.graphics.drawable.Drawable getBadgeImage(); 1531 method public java.lang.CharSequence getContentText(); 1532 method public android.graphics.drawable.Drawable getInfoAreaBackground(); 1533 method public android.graphics.drawable.Drawable getMainImage(); 1534 method public final android.widget.ImageView getMainImageView(); 1535 method public java.lang.CharSequence getTitleText(); 1536 method public void setBadgeImage(android.graphics.drawable.Drawable); 1537 method public void setContentText(java.lang.CharSequence); 1538 method public void setInfoAreaBackground(android.graphics.drawable.Drawable); 1539 method public void setInfoAreaBackgroundColor(int); 1540 method public void setMainImage(android.graphics.drawable.Drawable); 1541 method public void setMainImage(android.graphics.drawable.Drawable, boolean); 1542 method public void setMainImageAdjustViewBounds(boolean); 1543 method public void setMainImageDimensions(int, int); 1544 method public void setMainImageScaleType(android.widget.ImageView.ScaleType); 1545 method public void setTitleText(java.lang.CharSequence); 1546 field public static final int CARD_TYPE_FLAG_CONTENT = 2; // 0x2 1547 field public static final int CARD_TYPE_FLAG_ICON_LEFT = 8; // 0x8 1548 field public static final int CARD_TYPE_FLAG_ICON_RIGHT = 4; // 0x4 1549 field public static final int CARD_TYPE_FLAG_IMAGE_ONLY = 0; // 0x0 1550 field public static final int CARD_TYPE_FLAG_TITLE = 1; // 0x1 1551 } 1552 1553 public abstract interface ImeKeyMonitor { 1554 method public abstract void setImeKeyListener(android.support.v17.leanback.widget.ImeKeyMonitor.ImeKeyListener); 1555 } 1556 1557 public static abstract interface ImeKeyMonitor.ImeKeyListener { 1558 method public abstract boolean onKeyPreIme(android.widget.EditText, int, android.view.KeyEvent); 1559 } 1560 1561 public final class ItemAlignmentFacet { 1562 ctor public ItemAlignmentFacet(); 1563 method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignmentDefs(); 1564 method public boolean isMultiAlignment(); 1565 method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[]); 1566 field public static final float ITEM_ALIGN_OFFSET_PERCENT_DISABLED = -1.0f; 1567 } 1568 1569 public static class ItemAlignmentFacet.ItemAlignmentDef { 1570 ctor public ItemAlignmentFacet.ItemAlignmentDef(); 1571 method public final int getItemAlignmentFocusViewId(); 1572 method public final int getItemAlignmentOffset(); 1573 method public final float getItemAlignmentOffsetPercent(); 1574 method public final int getItemAlignmentViewId(); 1575 method public boolean isAlignedToTextViewBaseLine(); 1576 method public final boolean isItemAlignmentOffsetWithPadding(); 1577 method public final void setAlignedToTextViewBaseline(boolean); 1578 method public final void setItemAlignmentFocusViewId(int); 1579 method public final void setItemAlignmentOffset(int); 1580 method public final void setItemAlignmentOffsetPercent(float); 1581 method public final void setItemAlignmentOffsetWithPadding(boolean); 1582 method public final void setItemAlignmentViewId(int); 1583 } 1584 1585 public class ItemBridgeAdapter extends android.support.v7.widget.RecyclerView.Adapter implements android.support.v17.leanback.widget.FacetProviderAdapter { 1586 ctor public ItemBridgeAdapter(android.support.v17.leanback.widget.ObjectAdapter, android.support.v17.leanback.widget.PresenterSelector); 1587 ctor public ItemBridgeAdapter(android.support.v17.leanback.widget.ObjectAdapter); 1588 ctor public ItemBridgeAdapter(); 1589 method public void clear(); 1590 method public android.support.v17.leanback.widget.FacetProvider getFacetProvider(int); 1591 method public int getItemCount(); 1592 method public java.util.ArrayList<android.support.v17.leanback.widget.Presenter> getPresenterMapper(); 1593 method public android.support.v17.leanback.widget.ItemBridgeAdapter.Wrapper getWrapper(); 1594 method protected void onAddPresenter(android.support.v17.leanback.widget.Presenter, int); 1595 method protected void onAttachedToWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1596 method protected void onBind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1597 method public final void onBindViewHolder(android.support.v7.widget.RecyclerView.ViewHolder, int); 1598 method protected void onCreate(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1599 method public final android.support.v7.widget.RecyclerView.ViewHolder onCreateViewHolder(android.view.ViewGroup, int); 1600 method protected void onDetachedFromWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1601 method protected void onUnbind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1602 method public final void onViewAttachedToWindow(android.support.v7.widget.RecyclerView.ViewHolder); 1603 method public final void onViewDetachedFromWindow(android.support.v7.widget.RecyclerView.ViewHolder); 1604 method public final void onViewRecycled(android.support.v7.widget.RecyclerView.ViewHolder); 1605 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 1606 method public void setAdapterListener(android.support.v17.leanback.widget.ItemBridgeAdapter.AdapterListener); 1607 method public void setPresenterMapper(java.util.ArrayList<android.support.v17.leanback.widget.Presenter>); 1608 method public void setWrapper(android.support.v17.leanback.widget.ItemBridgeAdapter.Wrapper); 1609 } 1610 1611 public static class ItemBridgeAdapter.AdapterListener { 1612 ctor public ItemBridgeAdapter.AdapterListener(); 1613 method public void onAddPresenter(android.support.v17.leanback.widget.Presenter, int); 1614 method public void onAttachedToWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1615 method public void onBind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1616 method public void onCreate(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1617 method public void onDetachedFromWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1618 method public void onUnbind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1619 } 1620 1621 public class ItemBridgeAdapter.ViewHolder extends android.support.v7.widget.RecyclerView.ViewHolder implements android.support.v17.leanback.widget.FacetProvider { 1622 method public final java.lang.Object getExtraObject(); 1623 method public java.lang.Object getFacet(java.lang.Class<?>); 1624 method public final java.lang.Object getItem(); 1625 method public final android.support.v17.leanback.widget.Presenter getPresenter(); 1626 method public final android.support.v17.leanback.widget.Presenter.ViewHolder getViewHolder(); 1627 method public void setExtraObject(java.lang.Object); 1628 } 1629 1630 public static abstract class ItemBridgeAdapter.Wrapper { 1631 ctor public ItemBridgeAdapter.Wrapper(); 1632 method public abstract android.view.View createWrapper(android.view.View); 1633 method public abstract void wrap(android.view.View, android.view.View); 1634 } 1635 1636 public class ItemBridgeAdapterShadowOverlayWrapper extends android.support.v17.leanback.widget.ItemBridgeAdapter.Wrapper { 1637 ctor public ItemBridgeAdapterShadowOverlayWrapper(android.support.v17.leanback.widget.ShadowOverlayHelper); 1638 method public android.view.View createWrapper(android.view.View); 1639 method public void wrap(android.view.View, android.view.View); 1640 } 1641 1642 public class ListRow extends android.support.v17.leanback.widget.Row { 1643 ctor public ListRow(android.support.v17.leanback.widget.HeaderItem, android.support.v17.leanback.widget.ObjectAdapter); 1644 ctor public ListRow(long, android.support.v17.leanback.widget.HeaderItem, android.support.v17.leanback.widget.ObjectAdapter); 1645 ctor public ListRow(android.support.v17.leanback.widget.ObjectAdapter); 1646 method public final android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 1647 method public java.lang.CharSequence getContentDescription(); 1648 method public void setContentDescription(java.lang.CharSequence); 1649 } 1650 1651 public final class ListRowHoverCardView extends android.widget.LinearLayout { 1652 ctor public ListRowHoverCardView(android.content.Context); 1653 ctor public ListRowHoverCardView(android.content.Context, android.util.AttributeSet); 1654 ctor public ListRowHoverCardView(android.content.Context, android.util.AttributeSet, int); 1655 method public final java.lang.CharSequence getDescription(); 1656 method public final java.lang.CharSequence getTitle(); 1657 method public final void setDescription(java.lang.CharSequence); 1658 method public final void setTitle(java.lang.CharSequence); 1659 } 1660 1661 public class ListRowPresenter extends android.support.v17.leanback.widget.RowPresenter { 1662 ctor public ListRowPresenter(); 1663 ctor public ListRowPresenter(int); 1664 ctor public ListRowPresenter(int, boolean); 1665 method public final boolean areChildRoundedCornersEnabled(); 1666 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1667 method protected android.support.v17.leanback.widget.ShadowOverlayHelper.Options createShadowOverlayOptions(); 1668 method public final void enableChildRoundedCorners(boolean); 1669 method public int getExpandedRowHeight(); 1670 method public final int getFocusZoomFactor(); 1671 method public final android.support.v17.leanback.widget.PresenterSelector getHoverCardPresenterSelector(); 1672 method public int getRecycledPoolSize(android.support.v17.leanback.widget.Presenter); 1673 method public int getRowHeight(); 1674 method public final boolean getShadowEnabled(); 1675 method public final deprecated int getZoomFactor(); 1676 method public final boolean isFocusDimmerUsed(); 1677 method public final boolean isKeepChildForeground(); 1678 method public boolean isUsingDefaultListSelectEffect(); 1679 method public final boolean isUsingDefaultSelectEffect(); 1680 method public boolean isUsingDefaultShadow(); 1681 method public boolean isUsingZOrder(android.content.Context); 1682 method public void setExpandedRowHeight(int); 1683 method public final void setHoverCardPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 1684 method public final void setKeepChildForeground(boolean); 1685 method public void setNumRows(int); 1686 method public void setRecycledPoolSize(android.support.v17.leanback.widget.Presenter, int); 1687 method public void setRowHeight(int); 1688 method public final void setShadowEnabled(boolean); 1689 } 1690 1691 public static class ListRowPresenter.SelectItemViewHolderTask extends android.support.v17.leanback.widget.Presenter.ViewHolderTask { 1692 ctor public ListRowPresenter.SelectItemViewHolderTask(int); 1693 method public int getItemPosition(); 1694 method public android.support.v17.leanback.widget.Presenter.ViewHolderTask getItemTask(); 1695 method public boolean isSmoothScroll(); 1696 method public void setItemPosition(int); 1697 method public void setItemTask(android.support.v17.leanback.widget.Presenter.ViewHolderTask); 1698 method public void setSmoothScroll(boolean); 1699 } 1700 1701 public static class ListRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 1702 ctor public ListRowPresenter.ViewHolder(android.view.View, android.support.v17.leanback.widget.HorizontalGridView, android.support.v17.leanback.widget.ListRowPresenter); 1703 method public final android.support.v17.leanback.widget.ItemBridgeAdapter getBridgeAdapter(); 1704 method public final android.support.v17.leanback.widget.HorizontalGridView getGridView(); 1705 method public android.support.v17.leanback.widget.Presenter.ViewHolder getItemViewHolder(int); 1706 method public final android.support.v17.leanback.widget.ListRowPresenter getListRowPresenter(); 1707 method public int getSelectedPosition(); 1708 } 1709 1710 public final class ListRowView extends android.widget.LinearLayout { 1711 ctor public ListRowView(android.content.Context); 1712 ctor public ListRowView(android.content.Context, android.util.AttributeSet); 1713 ctor public ListRowView(android.content.Context, android.util.AttributeSet, int); 1714 method public android.support.v17.leanback.widget.HorizontalGridView getGridView(); 1715 } 1716 1717 public abstract interface MultiActionsProvider { 1718 method public abstract android.support.v17.leanback.widget.MultiActionsProvider.MultiAction[] getActions(); 1719 } 1720 1721 public static class MultiActionsProvider.MultiAction { 1722 ctor public MultiActionsProvider.MultiAction(long); 1723 method public android.graphics.drawable.Drawable getCurrentDrawable(); 1724 method public android.graphics.drawable.Drawable[] getDrawables(); 1725 method public long getId(); 1726 method public int getIndex(); 1727 method public void incrementIndex(); 1728 method public void setDrawables(android.graphics.drawable.Drawable[]); 1729 method public void setIndex(int); 1730 } 1731 1732 public abstract class ObjectAdapter { 1733 ctor public ObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 1734 ctor public ObjectAdapter(android.support.v17.leanback.widget.Presenter); 1735 ctor public ObjectAdapter(); 1736 method public abstract java.lang.Object get(int); 1737 method public long getId(int); 1738 method public final android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 1739 method public final android.support.v17.leanback.widget.PresenterSelector getPresenterSelector(); 1740 method public final boolean hasStableIds(); 1741 method protected final void notifyChanged(); 1742 method protected final void notifyItemRangeChanged(int, int); 1743 method protected final void notifyItemRangeInserted(int, int); 1744 method protected final void notifyItemRangeRemoved(int, int); 1745 method protected void onHasStableIdsChanged(); 1746 method protected void onPresenterSelectorChanged(); 1747 method public final void registerObserver(android.support.v17.leanback.widget.ObjectAdapter.DataObserver); 1748 method public final void setHasStableIds(boolean); 1749 method public final void setPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 1750 method public abstract int size(); 1751 method public final void unregisterAllObservers(); 1752 method public final void unregisterObserver(android.support.v17.leanback.widget.ObjectAdapter.DataObserver); 1753 field public static final int NO_ID = -1; // 0xffffffff 1754 } 1755 1756 public static abstract class ObjectAdapter.DataObserver { 1757 ctor public ObjectAdapter.DataObserver(); 1758 method public void onChanged(); 1759 method public void onItemRangeChanged(int, int); 1760 method public void onItemRangeInserted(int, int); 1761 method public void onItemRangeRemoved(int, int); 1762 } 1763 1764 public abstract interface OnActionClickedListener { 1765 method public abstract void onActionClicked(android.support.v17.leanback.widget.Action); 1766 } 1767 1768 public abstract interface OnChildLaidOutListener { 1769 method public abstract void onChildLaidOut(android.view.ViewGroup, android.view.View, int, long); 1770 } 1771 1772 public abstract deprecated interface OnChildSelectedListener { 1773 method public abstract void onChildSelected(android.view.ViewGroup, android.view.View, int, long); 1774 } 1775 1776 public abstract class OnChildViewHolderSelectedListener { 1777 ctor public OnChildViewHolderSelectedListener(); 1778 method public void onChildViewHolderSelected(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder, int, int); 1779 } 1780 1781 public abstract interface OnItemViewClickedListener implements android.support.v17.leanback.widget.BaseOnItemViewClickedListener { 1782 } 1783 1784 public abstract interface OnItemViewSelectedListener implements android.support.v17.leanback.widget.BaseOnItemViewSelectedListener { 1785 } 1786 1787 public class PageRow extends android.support.v17.leanback.widget.Row { 1788 ctor public PageRow(android.support.v17.leanback.widget.HeaderItem); 1789 method public final boolean isRenderedAsRowView(); 1790 } 1791 1792 public class PlaybackControlsRow extends android.support.v17.leanback.widget.Row { 1793 ctor public PlaybackControlsRow(java.lang.Object); 1794 ctor public PlaybackControlsRow(); 1795 method public android.support.v17.leanback.widget.Action getActionForKeyCode(int); 1796 method public android.support.v17.leanback.widget.Action getActionForKeyCode(android.support.v17.leanback.widget.ObjectAdapter, int); 1797 method public int getBufferedProgress(); 1798 method public int getCurrentTime(); 1799 method public final android.graphics.drawable.Drawable getImageDrawable(); 1800 method public final java.lang.Object getItem(); 1801 method public final android.support.v17.leanback.widget.ObjectAdapter getPrimaryActionsAdapter(); 1802 method public final android.support.v17.leanback.widget.ObjectAdapter getSecondaryActionsAdapter(); 1803 method public int getTotalTime(); 1804 method public void setBufferedProgress(int); 1805 method public void setCurrentTime(int); 1806 method public final void setImageBitmap(android.content.Context, android.graphics.Bitmap); 1807 method public final void setImageDrawable(android.graphics.drawable.Drawable); 1808 method public final void setPrimaryActionsAdapter(android.support.v17.leanback.widget.ObjectAdapter); 1809 method public final void setSecondaryActionsAdapter(android.support.v17.leanback.widget.ObjectAdapter); 1810 method public void setTotalTime(int); 1811 } 1812 1813 public static class PlaybackControlsRow.ClosedCaptioningAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1814 ctor public PlaybackControlsRow.ClosedCaptioningAction(android.content.Context); 1815 ctor public PlaybackControlsRow.ClosedCaptioningAction(android.content.Context, int); 1816 field public static int OFF; 1817 field public static int ON; 1818 } 1819 1820 public static class PlaybackControlsRow.FastForwardAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1821 ctor public PlaybackControlsRow.FastForwardAction(android.content.Context); 1822 ctor public PlaybackControlsRow.FastForwardAction(android.content.Context, int); 1823 } 1824 1825 public static class PlaybackControlsRow.HighQualityAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1826 ctor public PlaybackControlsRow.HighQualityAction(android.content.Context); 1827 ctor public PlaybackControlsRow.HighQualityAction(android.content.Context, int); 1828 field public static int OFF; 1829 field public static int ON; 1830 } 1831 1832 public static class PlaybackControlsRow.MoreActions extends android.support.v17.leanback.widget.Action { 1833 ctor public PlaybackControlsRow.MoreActions(android.content.Context); 1834 } 1835 1836 public static abstract class PlaybackControlsRow.MultiAction extends android.support.v17.leanback.widget.Action { 1837 ctor public PlaybackControlsRow.MultiAction(int); 1838 method public int getActionCount(); 1839 method public android.graphics.drawable.Drawable getDrawable(int); 1840 method public int getIndex(); 1841 method public java.lang.String getLabel(int); 1842 method public java.lang.String getSecondaryLabel(int); 1843 method public void nextIndex(); 1844 method public void setDrawables(android.graphics.drawable.Drawable[]); 1845 method public void setIndex(int); 1846 method public void setLabels(java.lang.String[]); 1847 method public void setSecondaryLabels(java.lang.String[]); 1848 } 1849 1850 public static class PlaybackControlsRow.PictureInPictureAction extends android.support.v17.leanback.widget.Action { 1851 ctor public PlaybackControlsRow.PictureInPictureAction(android.content.Context); 1852 } 1853 1854 public static class PlaybackControlsRow.PlayPauseAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1855 ctor public PlaybackControlsRow.PlayPauseAction(android.content.Context); 1856 field public static int PAUSE; 1857 field public static int PLAY; 1858 } 1859 1860 public static class PlaybackControlsRow.RepeatAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1861 ctor public PlaybackControlsRow.RepeatAction(android.content.Context); 1862 ctor public PlaybackControlsRow.RepeatAction(android.content.Context, int); 1863 ctor public PlaybackControlsRow.RepeatAction(android.content.Context, int, int); 1864 field public static int ALL; 1865 field public static int NONE; 1866 field public static int ONE; 1867 } 1868 1869 public static class PlaybackControlsRow.RewindAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1870 ctor public PlaybackControlsRow.RewindAction(android.content.Context); 1871 ctor public PlaybackControlsRow.RewindAction(android.content.Context, int); 1872 } 1873 1874 public static class PlaybackControlsRow.ShuffleAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1875 ctor public PlaybackControlsRow.ShuffleAction(android.content.Context); 1876 ctor public PlaybackControlsRow.ShuffleAction(android.content.Context, int); 1877 field public static int OFF; 1878 field public static int ON; 1879 } 1880 1881 public static class PlaybackControlsRow.SkipNextAction extends android.support.v17.leanback.widget.Action { 1882 ctor public PlaybackControlsRow.SkipNextAction(android.content.Context); 1883 } 1884 1885 public static class PlaybackControlsRow.SkipPreviousAction extends android.support.v17.leanback.widget.Action { 1886 ctor public PlaybackControlsRow.SkipPreviousAction(android.content.Context); 1887 } 1888 1889 public static abstract class PlaybackControlsRow.ThumbsAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1890 ctor public PlaybackControlsRow.ThumbsAction(int, android.content.Context, int, int); 1891 field public static int OUTLINE; 1892 field public static int SOLID; 1893 } 1894 1895 public static class PlaybackControlsRow.ThumbsDownAction extends android.support.v17.leanback.widget.PlaybackControlsRow.ThumbsAction { 1896 ctor public PlaybackControlsRow.ThumbsDownAction(android.content.Context); 1897 } 1898 1899 public static class PlaybackControlsRow.ThumbsUpAction extends android.support.v17.leanback.widget.PlaybackControlsRow.ThumbsAction { 1900 ctor public PlaybackControlsRow.ThumbsUpAction(android.content.Context); 1901 } 1902 1903 public class PlaybackControlsRowPresenter extends android.support.v17.leanback.widget.RowPresenter { 1904 ctor public PlaybackControlsRowPresenter(android.support.v17.leanback.widget.Presenter); 1905 ctor public PlaybackControlsRowPresenter(); 1906 method public boolean areSecondaryActionsHidden(); 1907 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1908 method public int getBackgroundColor(); 1909 method public android.support.v17.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 1910 method public int getProgressColor(); 1911 method public void setBackgroundColor(int); 1912 method public void setOnActionClickedListener(android.support.v17.leanback.widget.OnActionClickedListener); 1913 method public void setProgressColor(int); 1914 method public void setSecondaryActionsHidden(boolean); 1915 method public void showBottomSpace(android.support.v17.leanback.widget.PlaybackControlsRowPresenter.ViewHolder, boolean); 1916 method public void showPrimaryActions(android.support.v17.leanback.widget.PlaybackControlsRowPresenter.ViewHolder); 1917 } 1918 1919 public class PlaybackControlsRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 1920 field public final android.support.v17.leanback.widget.Presenter.ViewHolder mDescriptionViewHolder; 1921 } 1922 1923 public abstract class Presenter implements android.support.v17.leanback.widget.FacetProvider { 1924 ctor public Presenter(); 1925 method protected static void cancelAnimationsRecursive(android.view.View); 1926 method public final java.lang.Object getFacet(java.lang.Class<?>); 1927 method public abstract void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1928 method public abstract android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1929 method public abstract void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1930 method public void onViewAttachedToWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1931 method public void onViewDetachedFromWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1932 method public final void setFacet(java.lang.Class<?>, java.lang.Object); 1933 method public void setOnClickListener(android.support.v17.leanback.widget.Presenter.ViewHolder, android.view.View.OnClickListener); 1934 } 1935 1936 public static class Presenter.ViewHolder implements android.support.v17.leanback.widget.FacetProvider { 1937 ctor public Presenter.ViewHolder(android.view.View); 1938 method public final java.lang.Object getFacet(java.lang.Class<?>); 1939 method public final void setFacet(java.lang.Class<?>, java.lang.Object); 1940 field public final android.view.View view; 1941 } 1942 1943 public static abstract class Presenter.ViewHolderTask { 1944 ctor public Presenter.ViewHolderTask(); 1945 method public void run(android.support.v17.leanback.widget.Presenter.ViewHolder); 1946 } 1947 1948 public abstract class PresenterSelector { 1949 ctor public PresenterSelector(); 1950 method public abstract android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 1951 method public android.support.v17.leanback.widget.Presenter[] getPresenters(); 1952 } 1953 1954 public abstract class PresenterSwitcher { 1955 ctor public PresenterSwitcher(); 1956 method public void clear(); 1957 method public final android.view.ViewGroup getParentViewGroup(); 1958 method public void init(android.view.ViewGroup, android.support.v17.leanback.widget.PresenterSelector); 1959 method protected abstract void insertView(android.view.View); 1960 method protected void onViewSelected(android.view.View); 1961 method public void select(java.lang.Object); 1962 method protected void showView(android.view.View, boolean); 1963 method public void unselect(); 1964 } 1965 1966 public class Row { 1967 ctor public Row(long, android.support.v17.leanback.widget.HeaderItem); 1968 ctor public Row(android.support.v17.leanback.widget.HeaderItem); 1969 ctor public Row(); 1970 method public final android.support.v17.leanback.widget.HeaderItem getHeaderItem(); 1971 method public final long getId(); 1972 method public boolean isRenderedAsRowView(); 1973 method public final void setHeaderItem(android.support.v17.leanback.widget.HeaderItem); 1974 method public final void setId(long); 1975 } 1976 1977 public class RowHeaderPresenter extends android.support.v17.leanback.widget.Presenter { 1978 ctor public RowHeaderPresenter(); 1979 method protected static float getFontDescent(android.widget.TextView, android.graphics.Paint); 1980 method public int getSpaceUnderBaseline(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder); 1981 method public boolean isNullItemVisibilityGone(); 1982 method public void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1983 method public android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1984 method protected void onSelectLevelChanged(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder); 1985 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1986 method public void setNullItemVisibilityGone(boolean); 1987 method public final void setSelectLevel(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder, float); 1988 } 1989 1990 public static class RowHeaderPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 1991 ctor public RowHeaderPresenter.ViewHolder(android.view.View); 1992 method public final float getSelectLevel(); 1993 } 1994 1995 public final class RowHeaderView extends android.widget.TextView { 1996 ctor public RowHeaderView(android.content.Context); 1997 ctor public RowHeaderView(android.content.Context, android.util.AttributeSet); 1998 ctor public RowHeaderView(android.content.Context, android.util.AttributeSet, int); 1999 } 2000 2001 public abstract class RowPresenter extends android.support.v17.leanback.widget.Presenter { 2002 ctor public RowPresenter(); 2003 method protected abstract android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 2004 method protected void dispatchItemSelectedListener(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 2005 method public void freeze(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 2006 method public final android.support.v17.leanback.widget.RowHeaderPresenter getHeaderPresenter(); 2007 method public final android.support.v17.leanback.widget.RowPresenter.ViewHolder getRowViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 2008 method public final boolean getSelectEffectEnabled(); 2009 method public final float getSelectLevel(android.support.v17.leanback.widget.Presenter.ViewHolder); 2010 method public final int getSyncActivatePolicy(); 2011 method protected void initializeRowViewHolder(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 2012 method protected boolean isClippingChildren(); 2013 method public boolean isUsingDefaultSelectEffect(); 2014 method protected void onBindRowViewHolder(android.support.v17.leanback.widget.RowPresenter.ViewHolder, java.lang.Object); 2015 method public final void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 2016 method public final android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 2017 method protected void onRowViewAttachedToWindow(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 2018 method protected void onRowViewDetachedFromWindow(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 2019 method protected void onRowViewExpanded(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 2020 method protected void onRowViewSelected(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 2021 method protected void onSelectLevelChanged(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 2022 method protected void onUnbindRowViewHolder(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 2023 method public final void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 2024 method public final void onViewAttachedToWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 2025 method public final void onViewDetachedFromWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 2026 method public void setEntranceTransitionState(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 2027 method public final void setHeaderPresenter(android.support.v17.leanback.widget.RowHeaderPresenter); 2028 method public final void setRowViewExpanded(android.support.v17.leanback.widget.Presenter.ViewHolder, boolean); 2029 method public final void setRowViewSelected(android.support.v17.leanback.widget.Presenter.ViewHolder, boolean); 2030 method public final void setSelectEffectEnabled(boolean); 2031 method public final void setSelectLevel(android.support.v17.leanback.widget.Presenter.ViewHolder, float); 2032 method public final void setSyncActivatePolicy(int); 2033 field public static final int SYNC_ACTIVATED_CUSTOM = 0; // 0x0 2034 field public static final int SYNC_ACTIVATED_TO_EXPANDED = 1; // 0x1 2035 field public static final int SYNC_ACTIVATED_TO_EXPANDED_AND_SELECTED = 3; // 0x3 2036 field public static final int SYNC_ACTIVATED_TO_SELECTED = 2; // 0x2 2037 } 2038 2039 public static class RowPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 2040 ctor public RowPresenter.ViewHolder(android.view.View); 2041 method public final android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder getHeaderViewHolder(); 2042 method public final android.support.v17.leanback.widget.BaseOnItemViewClickedListener getOnItemViewClickedListener(); 2043 method public final android.support.v17.leanback.widget.BaseOnItemViewSelectedListener getOnItemViewSelectedListener(); 2044 method public android.view.View.OnKeyListener getOnKeyListener(); 2045 method public final android.support.v17.leanback.widget.Row getRow(); 2046 method public final java.lang.Object getRowObject(); 2047 method public final float getSelectLevel(); 2048 method public final boolean isExpanded(); 2049 method public final boolean isSelected(); 2050 method public final void setActivated(boolean); 2051 method public final void setOnItemViewClickedListener(android.support.v17.leanback.widget.BaseOnItemViewClickedListener); 2052 method public final void setOnItemViewSelectedListener(android.support.v17.leanback.widget.BaseOnItemViewSelectedListener); 2053 method public void setOnKeyListener(android.view.View.OnKeyListener); 2054 method public final void syncActivatedStatus(android.view.View); 2055 field protected final android.support.v17.leanback.graphics.ColorOverlayDimmer mColorDimmer; 2056 } 2057 2058 public class SearchBar extends android.widget.RelativeLayout { 2059 ctor public SearchBar(android.content.Context); 2060 ctor public SearchBar(android.content.Context, android.util.AttributeSet); 2061 ctor public SearchBar(android.content.Context, android.util.AttributeSet, int); 2062 method public void displayCompletions(java.util.List<java.lang.String>); 2063 method public void displayCompletions(android.view.inputmethod.CompletionInfo[]); 2064 method public android.graphics.drawable.Drawable getBadgeDrawable(); 2065 method public java.lang.CharSequence getHint(); 2066 method public java.lang.String getTitle(); 2067 method public boolean isRecognizing(); 2068 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 2069 method public void setPermissionListener(android.support.v17.leanback.widget.SearchBar.SearchBarPermissionListener); 2070 method public void setSearchBarListener(android.support.v17.leanback.widget.SearchBar.SearchBarListener); 2071 method public void setSearchQuery(java.lang.String); 2072 method public void setSpeechRecognitionCallback(android.support.v17.leanback.widget.SpeechRecognitionCallback); 2073 method public void setSpeechRecognizer(android.speech.SpeechRecognizer); 2074 method public void setTitle(java.lang.String); 2075 method public void startRecognition(); 2076 method public void stopRecognition(); 2077 } 2078 2079 public static abstract interface SearchBar.SearchBarListener { 2080 method public abstract void onKeyboardDismiss(java.lang.String); 2081 method public abstract void onSearchQueryChange(java.lang.String); 2082 method public abstract void onSearchQuerySubmit(java.lang.String); 2083 } 2084 2085 public static abstract interface SearchBar.SearchBarPermissionListener { 2086 method public abstract void requestAudioPermission(); 2087 } 2088 2089 public class SearchEditText extends android.support.v17.leanback.widget.StreamingTextView { 2090 ctor public SearchEditText(android.content.Context); 2091 ctor public SearchEditText(android.content.Context, android.util.AttributeSet); 2092 ctor public SearchEditText(android.content.Context, android.util.AttributeSet, int); 2093 method public void setOnKeyboardDismissListener(android.support.v17.leanback.widget.SearchEditText.OnKeyboardDismissListener); 2094 } 2095 2096 public static abstract interface SearchEditText.OnKeyboardDismissListener { 2097 method public abstract void onKeyboardDismiss(); 2098 } 2099 2100 public class SearchOrbView extends android.widget.FrameLayout implements android.view.View.OnClickListener { 2101 ctor public SearchOrbView(android.content.Context); 2102 ctor public SearchOrbView(android.content.Context, android.util.AttributeSet); 2103 ctor public SearchOrbView(android.content.Context, android.util.AttributeSet, int); 2104 method public void enableOrbColorAnimation(boolean); 2105 method public int getOrbColor(); 2106 method public android.support.v17.leanback.widget.SearchOrbView.Colors getOrbColors(); 2107 method public android.graphics.drawable.Drawable getOrbIcon(); 2108 method public void onClick(android.view.View); 2109 method public void setOnOrbClickedListener(android.view.View.OnClickListener); 2110 method public void setOrbColor(int); 2111 method public deprecated void setOrbColor(int, int); 2112 method public void setOrbColors(android.support.v17.leanback.widget.SearchOrbView.Colors); 2113 method public void setOrbIcon(android.graphics.drawable.Drawable); 2114 } 2115 2116 public static class SearchOrbView.Colors { 2117 ctor public SearchOrbView.Colors(int); 2118 ctor public SearchOrbView.Colors(int, int); 2119 ctor public SearchOrbView.Colors(int, int, int); 2120 method public static int getBrightColor(int); 2121 field public int brightColor; 2122 field public int color; 2123 field public int iconColor; 2124 } 2125 2126 public class SectionRow extends android.support.v17.leanback.widget.Row { 2127 ctor public SectionRow(android.support.v17.leanback.widget.HeaderItem); 2128 ctor public SectionRow(long, java.lang.String); 2129 ctor public SectionRow(java.lang.String); 2130 method public final boolean isRenderedAsRowView(); 2131 } 2132 2133 public class ShadowOverlayContainer extends android.widget.FrameLayout { 2134 ctor public ShadowOverlayContainer(android.content.Context); 2135 ctor public ShadowOverlayContainer(android.content.Context, android.util.AttributeSet); 2136 ctor public ShadowOverlayContainer(android.content.Context, android.util.AttributeSet, int); 2137 method public int getShadowType(); 2138 method public android.view.View getWrappedView(); 2139 method public deprecated void initialize(boolean, boolean); 2140 method public deprecated void initialize(boolean, boolean, boolean); 2141 method public static void prepareParentForShadow(android.view.ViewGroup); 2142 method public void setOverlayColor(int); 2143 method public void setShadowFocusLevel(float); 2144 method public static boolean supportsDynamicShadow(); 2145 method public static boolean supportsShadow(); 2146 method public void useDynamicShadow(); 2147 method public void useDynamicShadow(float, float); 2148 method public void useStaticShadow(); 2149 method public void wrap(android.view.View); 2150 field public static final int SHADOW_DYNAMIC = 3; // 0x3 2151 field public static final int SHADOW_NONE = 1; // 0x1 2152 field public static final int SHADOW_STATIC = 2; // 0x2 2153 } 2154 2155 public final class ShadowOverlayHelper { 2156 method public android.support.v17.leanback.widget.ShadowOverlayContainer createShadowOverlayContainer(android.content.Context); 2157 method public int getShadowType(); 2158 method public boolean needsOverlay(); 2159 method public boolean needsRoundedCorner(); 2160 method public boolean needsWrapper(); 2161 method public void onViewCreated(android.view.View); 2162 method public void prepareParentForShadow(android.view.ViewGroup); 2163 method public static void setNoneWrapperOverlayColor(android.view.View, int); 2164 method public static void setNoneWrapperShadowFocusLevel(android.view.View, float); 2165 method public void setOverlayColor(android.view.View, int); 2166 method public void setShadowFocusLevel(android.view.View, float); 2167 method public static boolean supportsDynamicShadow(); 2168 method public static boolean supportsForeground(); 2169 method public static boolean supportsRoundedCorner(); 2170 method public static boolean supportsShadow(); 2171 field public static final int SHADOW_DYNAMIC = 3; // 0x3 2172 field public static final int SHADOW_NONE = 1; // 0x1 2173 field public static final int SHADOW_STATIC = 2; // 0x2 2174 } 2175 2176 public static final class ShadowOverlayHelper.Builder { 2177 ctor public ShadowOverlayHelper.Builder(); 2178 method public android.support.v17.leanback.widget.ShadowOverlayHelper build(android.content.Context); 2179 method public android.support.v17.leanback.widget.ShadowOverlayHelper.Builder keepForegroundDrawable(boolean); 2180 method public android.support.v17.leanback.widget.ShadowOverlayHelper.Builder needsOverlay(boolean); 2181 method public android.support.v17.leanback.widget.ShadowOverlayHelper.Builder needsRoundedCorner(boolean); 2182 method public android.support.v17.leanback.widget.ShadowOverlayHelper.Builder needsShadow(boolean); 2183 method public android.support.v17.leanback.widget.ShadowOverlayHelper.Builder options(android.support.v17.leanback.widget.ShadowOverlayHelper.Options); 2184 method public android.support.v17.leanback.widget.ShadowOverlayHelper.Builder preferZOrder(boolean); 2185 } 2186 2187 public static final class ShadowOverlayHelper.Options { 2188 ctor public ShadowOverlayHelper.Options(); 2189 method public android.support.v17.leanback.widget.ShadowOverlayHelper.Options dynamicShadowZ(float, float); 2190 method public final float getDynamicShadowFocusedZ(); 2191 method public final float getDynamicShadowUnfocusedZ(); 2192 method public final int getRoundedCornerRadius(); 2193 method public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int); 2194 field public static final android.support.v17.leanback.widget.ShadowOverlayHelper.Options DEFAULT; 2195 } 2196 2197 public final class SinglePresenterSelector extends android.support.v17.leanback.widget.PresenterSelector { 2198 ctor public SinglePresenterSelector(android.support.v17.leanback.widget.Presenter); 2199 method public android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 2200 } 2201 2202 public class SparseArrayObjectAdapter extends android.support.v17.leanback.widget.ObjectAdapter { 2203 ctor public SparseArrayObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 2204 ctor public SparseArrayObjectAdapter(android.support.v17.leanback.widget.Presenter); 2205 ctor public SparseArrayObjectAdapter(); 2206 method public void clear(int); 2207 method public void clear(); 2208 method public java.lang.Object get(int); 2209 method public int indexOf(java.lang.Object); 2210 method public int indexOf(int); 2211 method public java.lang.Object lookup(int); 2212 method public void notifyArrayItemRangeChanged(int, int); 2213 method public void set(int, java.lang.Object); 2214 method public int size(); 2215 } 2216 2217 public class SpeechOrbView extends android.support.v17.leanback.widget.SearchOrbView { 2218 ctor public SpeechOrbView(android.content.Context); 2219 ctor public SpeechOrbView(android.content.Context, android.util.AttributeSet); 2220 ctor public SpeechOrbView(android.content.Context, android.util.AttributeSet, int); 2221 method public void setSoundLevel(int); 2222 method public void showListening(); 2223 method public void showNotListening(); 2224 } 2225 2226 public abstract interface SpeechRecognitionCallback { 2227 method public abstract void recognizeSpeech(); 2228 } 2229 2230 class StreamingTextView extends android.widget.EditText { 2231 ctor public StreamingTextView(android.content.Context, android.util.AttributeSet); 2232 ctor public StreamingTextView(android.content.Context, android.util.AttributeSet, int); 2233 method public static boolean isLayoutRtl(android.view.View); 2234 method public void reset(); 2235 method public void setFinalRecognizedText(java.lang.CharSequence); 2236 method public void updateRecognizedText(java.lang.String, java.lang.String); 2237 method public void updateRecognizedText(java.lang.String, java.util.List<java.lang.Float>); 2238 } 2239 2240 public class TitleHelper { 2241 ctor public TitleHelper(android.view.ViewGroup, android.view.View); 2242 method public android.support.v17.leanback.widget.BrowseFrameLayout.OnFocusSearchListener getOnFocusSearchListener(); 2243 method public android.view.ViewGroup getSceneRoot(); 2244 method public android.view.View getTitleView(); 2245 method public void showTitle(boolean); 2246 } 2247 2248 public class TitleView extends android.widget.FrameLayout implements android.support.v17.leanback.widget.TitleViewAdapter.Provider { 2249 ctor public TitleView(android.content.Context); 2250 ctor public TitleView(android.content.Context, android.util.AttributeSet); 2251 ctor public TitleView(android.content.Context, android.util.AttributeSet, int); 2252 method public void enableAnimation(boolean); 2253 method public android.graphics.drawable.Drawable getBadgeDrawable(); 2254 method public android.support.v17.leanback.widget.SearchOrbView.Colors getSearchAffordanceColors(); 2255 method public android.view.View getSearchAffordanceView(); 2256 method public java.lang.CharSequence getTitle(); 2257 method public android.support.v17.leanback.widget.TitleViewAdapter getTitleViewAdapter(); 2258 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 2259 method public void setOnSearchClickedListener(android.view.View.OnClickListener); 2260 method public void setSearchAffordanceColors(android.support.v17.leanback.widget.SearchOrbView.Colors); 2261 method public void setTitle(java.lang.CharSequence); 2262 method public void updateComponentsVisibility(int); 2263 } 2264 2265 public abstract class TitleViewAdapter { 2266 ctor public TitleViewAdapter(); 2267 method public android.graphics.drawable.Drawable getBadgeDrawable(); 2268 method public android.support.v17.leanback.widget.SearchOrbView.Colors getSearchAffordanceColors(); 2269 method public abstract android.view.View getSearchAffordanceView(); 2270 method public java.lang.CharSequence getTitle(); 2271 method public void setAnimationEnabled(boolean); 2272 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 2273 method public void setOnSearchClickedListener(android.view.View.OnClickListener); 2274 method public void setSearchAffordanceColors(android.support.v17.leanback.widget.SearchOrbView.Colors); 2275 method public void setTitle(java.lang.CharSequence); 2276 method public void updateComponentsVisibility(int); 2277 field public static final int BRANDING_VIEW_VISIBLE = 2; // 0x2 2278 field public static final int FULL_VIEW_VISIBLE = 6; // 0x6 2279 field public static final int SEARCH_VIEW_VISIBLE = 4; // 0x4 2280 } 2281 2282 public static abstract interface TitleViewAdapter.Provider { 2283 method public abstract android.support.v17.leanback.widget.TitleViewAdapter getTitleViewAdapter(); 2284 } 2285 2286 public class VerticalGridPresenter extends android.support.v17.leanback.widget.Presenter { 2287 ctor public VerticalGridPresenter(); 2288 ctor public VerticalGridPresenter(int); 2289 ctor public VerticalGridPresenter(int, boolean); 2290 method public final boolean areChildRoundedCornersEnabled(); 2291 method protected android.support.v17.leanback.widget.VerticalGridPresenter.ViewHolder createGridViewHolder(android.view.ViewGroup); 2292 method protected android.support.v17.leanback.widget.ShadowOverlayHelper.Options createShadowOverlayOptions(); 2293 method public final void enableChildRoundedCorners(boolean); 2294 method public final int getFocusZoomFactor(); 2295 method public final boolean getKeepChildForeground(); 2296 method public int getNumberOfColumns(); 2297 method public final android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 2298 method public final android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 2299 method public final boolean getShadowEnabled(); 2300 method protected void initializeGridViewHolder(android.support.v17.leanback.widget.VerticalGridPresenter.ViewHolder); 2301 method public final boolean isFocusDimmerUsed(); 2302 method public boolean isUsingDefaultShadow(); 2303 method public boolean isUsingZOrder(android.content.Context); 2304 method public void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 2305 method public final android.support.v17.leanback.widget.VerticalGridPresenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 2306 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 2307 method public void setEntranceTransitionState(android.support.v17.leanback.widget.VerticalGridPresenter.ViewHolder, boolean); 2308 method public final void setKeepChildForeground(boolean); 2309 method public void setNumberOfColumns(int); 2310 method public final void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 2311 method public final void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 2312 method public final void setShadowEnabled(boolean); 2313 } 2314 2315 public static class VerticalGridPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 2316 ctor public VerticalGridPresenter.ViewHolder(android.support.v17.leanback.widget.VerticalGridView); 2317 method public android.support.v17.leanback.widget.VerticalGridView getGridView(); 2318 } 2319 2320 public class VerticalGridView extends android.support.v7.widget.RecyclerView { 2321 ctor public VerticalGridView(android.content.Context); 2322 ctor public VerticalGridView(android.content.Context, android.util.AttributeSet); 2323 ctor public VerticalGridView(android.content.Context, android.util.AttributeSet, int); 2324 method protected void initAttributes(android.content.Context, android.util.AttributeSet); 2325 method public void setColumnWidth(int); 2326 method public void setNumColumns(int); 2327 } 2328 2329 public abstract interface ViewHolderTask { 2330 method public abstract void run(android.support.v7.widget.RecyclerView.ViewHolder); 2331 } 2332 2333} 2334 2335package android.support.v17.leanback.widget.picker { 2336 2337 public class Picker extends android.widget.FrameLayout { 2338 ctor public Picker(android.content.Context, android.util.AttributeSet, int); 2339 method public void addOnValueChangedListener(android.support.v17.leanback.widget.picker.Picker.PickerValueListener); 2340 method public float getActivatedVisibleItemCount(); 2341 method public android.support.v17.leanback.widget.picker.PickerColumn getColumnAt(int); 2342 method public int getColumnsCount(); 2343 method protected int getPickerItemHeightPixels(); 2344 method public final int getPickerItemLayoutId(); 2345 method public final int getPickerItemTextViewId(); 2346 method public int getSelectedColumn(); 2347 method public final java.lang.CharSequence getSeparator(); 2348 method public float getVisibleItemCount(); 2349 method public void onColumnValueChanged(int, int); 2350 method public void removeOnValueChangedListener(android.support.v17.leanback.widget.picker.Picker.PickerValueListener); 2351 method public void setActivatedVisibleItemCount(float); 2352 method public void setColumnAt(int, android.support.v17.leanback.widget.picker.PickerColumn); 2353 method public void setColumnValue(int, int, boolean); 2354 method public void setColumns(java.util.List<android.support.v17.leanback.widget.picker.PickerColumn>); 2355 method public final void setPickerItemTextViewId(int); 2356 method public void setSelectedColumn(int); 2357 method public final void setSeparator(java.lang.CharSequence); 2358 method public void setVisibleItemCount(float); 2359 } 2360 2361 public static abstract interface Picker.PickerValueListener { 2362 method public abstract void onValueChanged(android.support.v17.leanback.widget.picker.Picker, int); 2363 } 2364 2365 public class PickerColumn { 2366 ctor public PickerColumn(); 2367 method public int getCount(); 2368 method public int getCurrentValue(); 2369 method public java.lang.CharSequence getLabelFor(int); 2370 method public java.lang.String getLabelFormat(); 2371 method public int getMaxValue(); 2372 method public int getMinValue(); 2373 method public java.lang.CharSequence[] getStaticLabels(); 2374 method public void setCurrentValue(int); 2375 method public void setLabelFormat(java.lang.String); 2376 method public void setMaxValue(int); 2377 method public void setMinValue(int); 2378 method public void setStaticLabels(java.lang.CharSequence[]); 2379 } 2380 2381} 2382 2383