1 package 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 final void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 23 method public final void setPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 24 method public void setSelectedPosition(int); 25 method public void setSelectedPosition(int, boolean); 26 } 27 28 abstract class BaseRowSupportFragment extends android.support.v4.app.Fragment { 29 method public final android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 30 method public final android.support.v17.leanback.widget.PresenterSelector getPresenterSelector(); 31 method public final void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 32 method public final void setPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 33 method public void setSelectedPosition(int); 34 method public void setSelectedPosition(int, boolean); 35 } 36 37 public class BrowseFragment extends android.support.v17.leanback.app.BrandedFragment { 38 ctor public BrowseFragment(); 39 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, int); 40 method public void enableRowScaling(boolean); 41 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 42 method public int getBrandColor(); 43 method public int getHeadersState(); 44 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 45 method public android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 46 method public final boolean isHeadersTransitionOnBackEnabled(); 47 method public boolean isInHeadersTransition(); 48 method public boolean isShowingHeaders(); 49 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 50 method public void setBrandColor(int); 51 method public void setBrowseTransitionListener(android.support.v17.leanback.app.BrowseFragment.BrowseTransitionListener); 52 method public void setHeaderPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 53 method public void setHeadersState(int); 54 method public final void setHeadersTransitionOnBackEnabled(boolean); 55 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 56 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 57 method public void setSelectedPosition(int); 58 method public void setSelectedPosition(int, boolean); 59 method public void startHeadersTransition(boolean); 60 field public static final int HEADERS_DISABLED = 3; // 0x3 61 field public static final int HEADERS_ENABLED = 1; // 0x1 62 field public static final int HEADERS_HIDDEN = 2; // 0x2 63 } 64 65 public static class BrowseFragment.BrowseTransitionListener { 66 ctor public BrowseFragment.BrowseTransitionListener(); 67 method public void onHeadersTransitionStart(boolean); 68 method public void onHeadersTransitionStop(boolean); 69 } 70 71 public class BrowseSupportFragment extends android.support.v17.leanback.app.BrandedSupportFragment { 72 ctor public BrowseSupportFragment(); 73 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, int); 74 method public void enableRowScaling(boolean); 75 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 76 method public int getBrandColor(); 77 method public int getHeadersState(); 78 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 79 method public android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 80 method public final boolean isHeadersTransitionOnBackEnabled(); 81 method public boolean isInHeadersTransition(); 82 method public boolean isShowingHeaders(); 83 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 84 method public void setBrandColor(int); 85 method public void setBrowseTransitionListener(android.support.v17.leanback.app.BrowseSupportFragment.BrowseTransitionListener); 86 method public void setHeaderPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 87 method public void setHeadersState(int); 88 method public final void setHeadersTransitionOnBackEnabled(boolean); 89 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 90 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 91 method public void setSelectedPosition(int); 92 method public void setSelectedPosition(int, boolean); 93 method public void startHeadersTransition(boolean); 94 field public static final int HEADERS_DISABLED = 3; // 0x3 95 field public static final int HEADERS_ENABLED = 1; // 0x1 96 field public static final int HEADERS_HIDDEN = 2; // 0x2 97 } 98 99 public static class BrowseSupportFragment.BrowseTransitionListener { 100 ctor public BrowseSupportFragment.BrowseTransitionListener(); 101 method public void onHeadersTransitionStart(boolean); 102 method public void onHeadersTransitionStop(boolean); 103 } 104 105 public class DetailsFragment extends android.support.v17.leanback.app.BrandedFragment { 106 ctor public DetailsFragment(); 107 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 108 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 109 method protected android.view.View inflateTitle(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 110 method protected void onSetDetailsOverviewRowStatus(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter, android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, int, int); 111 method protected void onSetRowStatus(android.support.v17.leanback.widget.RowPresenter, android.support.v17.leanback.widget.RowPresenter.ViewHolder, int, int, int); 112 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 113 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 114 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 115 method public void setSelectedPosition(int); 116 method public void setSelectedPosition(int, boolean); 117 method protected void setupDetailsOverviewRowPresenter(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter); 118 method protected void setupPresenter(android.support.v17.leanback.widget.Presenter); 119 } 120 121 public class DetailsSupportFragment extends android.support.v17.leanback.app.BrandedSupportFragment { 122 ctor public DetailsSupportFragment(); 123 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 124 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 125 method protected android.view.View inflateTitle(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 126 method protected void onSetDetailsOverviewRowStatus(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter, android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, int, int); 127 method protected void onSetRowStatus(android.support.v17.leanback.widget.RowPresenter, android.support.v17.leanback.widget.RowPresenter.ViewHolder, int, int, int); 128 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 129 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 130 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 131 method public void setSelectedPosition(int); 132 method public void setSelectedPosition(int, boolean); 133 method protected void setupDetailsOverviewRowPresenter(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter); 134 method protected void setupPresenter(android.support.v17.leanback.widget.Presenter); 135 } 136 137 public class ErrorFragment extends android.app.Fragment { 138 ctor public ErrorFragment(); 139 method public android.graphics.drawable.Drawable getBackgroundDrawable(); 140 method public android.graphics.drawable.Drawable getBadgeDrawable(); 141 method public android.view.View.OnClickListener getButtonClickListener(); 142 method public java.lang.String getButtonText(); 143 method public android.graphics.drawable.Drawable getImageDrawable(); 144 method public java.lang.CharSequence getMessage(); 145 method public java.lang.String getTitle(); 146 method public boolean isBackgroundTranslucent(); 147 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 148 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 149 method public void setButtonClickListener(android.view.View.OnClickListener); 150 method public void setButtonText(java.lang.String); 151 method public void setDefaultBackground(boolean); 152 method public void setImageDrawable(android.graphics.drawable.Drawable); 153 method public void setMessage(java.lang.CharSequence); 154 method public void setTitle(java.lang.String); 155 } 156 157 public class ErrorSupportFragment extends android.support.v4.app.Fragment { 158 ctor public ErrorSupportFragment(); 159 method public android.graphics.drawable.Drawable getBackgroundDrawable(); 160 method public android.graphics.drawable.Drawable getBadgeDrawable(); 161 method public android.view.View.OnClickListener getButtonClickListener(); 162 method public java.lang.String getButtonText(); 163 method public android.graphics.drawable.Drawable getImageDrawable(); 164 method public java.lang.CharSequence getMessage(); 165 method public java.lang.String getTitle(); 166 method public boolean isBackgroundTranslucent(); 167 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 168 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 169 method public void setButtonClickListener(android.view.View.OnClickListener); 170 method public void setButtonText(java.lang.String); 171 method public void setDefaultBackground(boolean); 172 method public void setImageDrawable(android.graphics.drawable.Drawable); 173 method public void setMessage(java.lang.CharSequence); 174 method public void setTitle(java.lang.String); 175 } 176 177 public class GuidedStepFragment extends android.app.Fragment { 178 ctor public GuidedStepFragment(); 179 method public static int add(android.app.FragmentManager, android.support.v17.leanback.app.GuidedStepFragment); 180 method public android.view.View getActionItemView(int); 181 method public java.util.List<android.support.v17.leanback.widget.GuidedAction> getActions(); 182 method public static android.support.v17.leanback.app.GuidedStepFragment getCurrentGuidedStepFragment(android.app.FragmentManager); 183 method public android.support.v17.leanback.widget.GuidanceStylist getGuidanceStylist(); 184 method public android.support.v17.leanback.widget.GuidedActionsStylist getGuidedActionsStylist(); 185 method public int getSelectedActionPosition(); 186 method protected boolean isEntryTransitionEnabled(); 187 method public void onCreateActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>, android.os.Bundle); 188 method public android.support.v17.leanback.widget.GuidedActionsStylist onCreateActionsStylist(); 189 method public android.support.v17.leanback.widget.GuidanceStylist.Guidance onCreateGuidance(android.os.Bundle); 190 method public android.support.v17.leanback.widget.GuidanceStylist onCreateGuidanceStylist(); 191 method public void onGuidedActionClicked(android.support.v17.leanback.widget.GuidedAction); 192 method public void onGuidedActionFocused(android.support.v17.leanback.widget.GuidedAction); 193 method public int onProvideTheme(); 194 method public void setActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>); 195 method protected void setEntryTransitionEnabled(boolean); 196 method public void setSelectedActionPosition(int); 197 } 198 199 public class HeadersFragment extends android.support.v17.leanback.app.BaseRowFragment { 200 ctor public HeadersFragment(); 201 method public void setOnHeaderClickedListener(android.support.v17.leanback.app.HeadersFragment.OnHeaderClickedListener); 202 method public void setOnHeaderViewSelectedListener(android.support.v17.leanback.app.HeadersFragment.OnHeaderViewSelectedListener); 203 } 204 205 static abstract interface HeadersFragment.OnHeaderClickedListener { 206 method public abstract void onHeaderClicked(); 207 } 208 209 static abstract interface HeadersFragment.OnHeaderViewSelectedListener { 210 method public abstract void onHeaderSelected(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder, android.support.v17.leanback.widget.Row); 211 } 212 213 public class HeadersSupportFragment extends android.support.v17.leanback.app.BaseRowSupportFragment { 214 ctor public HeadersSupportFragment(); 215 method public void setOnHeaderClickedListener(android.support.v17.leanback.app.HeadersSupportFragment.OnHeaderClickedListener); 216 method public void setOnHeaderViewSelectedListener(android.support.v17.leanback.app.HeadersSupportFragment.OnHeaderViewSelectedListener); 217 } 218 219 static abstract interface HeadersSupportFragment.OnHeaderClickedListener { 220 method public abstract void onHeaderClicked(); 221 } 222 223 static abstract interface HeadersSupportFragment.OnHeaderViewSelectedListener { 224 method public abstract void onHeaderSelected(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder, android.support.v17.leanback.widget.Row); 225 } 226 227 public abstract class MediaControllerGlue extends android.support.v17.leanback.app.PlaybackControlGlue { 228 ctor public MediaControllerGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlayFragment, int[]); 229 ctor public MediaControllerGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlayFragment, int[], int[]); 230 method public void attachToMediaController(android.support.v4.media.session.MediaControllerCompat); 231 method public void detach(); 232 method public int getCurrentPosition(); 233 method public int getCurrentSpeedId(); 234 method public android.graphics.drawable.Drawable getMediaArt(); 235 method public final android.support.v4.media.session.MediaControllerCompat getMediaController(); 236 method public int getMediaDuration(); 237 method public java.lang.CharSequence getMediaSubtitle(); 238 method public java.lang.CharSequence getMediaTitle(); 239 method public long getSupportedActions(); 240 method public boolean hasValidMedia(); 241 method public boolean isMediaPlaying(); 242 method protected void pausePlayback(); 243 method protected void skipToNext(); 244 method protected void skipToPrevious(); 245 method protected void startPlayback(int); 246 } 247 248 public abstract class PlaybackControlGlue implements android.support.v17.leanback.widget.OnActionClickedListener android.view.View.OnKeyListener { 249 ctor public PlaybackControlGlue(android.content.Context, int[]); 250 ctor public PlaybackControlGlue(android.content.Context, int[], int[]); 251 ctor public PlaybackControlGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlayFragment, int[]); 252 ctor public PlaybackControlGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlayFragment, int[], int[]); 253 method public android.support.v17.leanback.widget.PlaybackControlsRowPresenter createControlsRowAndPresenter(); 254 method protected android.support.v17.leanback.widget.SparseArrayObjectAdapter createPrimaryActionsAdapter(android.support.v17.leanback.widget.PresenterSelector); 255 method public void enableProgressUpdating(boolean); 256 method public android.content.Context getContext(); 257 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow(); 258 method public abstract int getCurrentPosition(); 259 method public abstract int getCurrentSpeedId(); 260 method public int[] getFastForwardSpeeds(); 261 method public android.support.v17.leanback.app.PlaybackOverlayFragment getFragment(); 262 method public abstract android.graphics.drawable.Drawable getMediaArt(); 263 method public abstract int getMediaDuration(); 264 method public abstract java.lang.CharSequence getMediaSubtitle(); 265 method public abstract java.lang.CharSequence getMediaTitle(); 266 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 267 method public int[] getRewindSpeeds(); 268 method public abstract long getSupportedActions(); 269 method public int getUpdatePeriod(); 270 method public abstract boolean hasValidMedia(); 271 method public boolean isFadingEnabled(); 272 method public abstract boolean isMediaPlaying(); 273 method public void onActionClicked(android.support.v17.leanback.widget.Action); 274 method public boolean onKey(android.view.View, int, android.view.KeyEvent); 275 method protected void onMetadataChanged(); 276 method protected abstract void onRowChanged(android.support.v17.leanback.widget.PlaybackControlsRow); 277 method protected void onStateChanged(); 278 method protected abstract void pausePlayback(); 279 method public void setControlsRow(android.support.v17.leanback.widget.PlaybackControlsRow); 280 method public void setFadingEnabled(boolean); 281 method public deprecated void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 282 method protected abstract void skipToNext(); 283 method protected abstract void skipToPrevious(); 284 method protected abstract void startPlayback(int); 285 method public void updateProgress(); 286 field public static final int ACTION_CUSTOM_LEFT_FIRST = 1; // 0x1 287 field public static final int ACTION_CUSTOM_RIGHT_FIRST = 4096; // 0x1000 288 field public static final int ACTION_FAST_FORWARD = 128; // 0x80 289 field public static final int ACTION_PLAY_PAUSE = 64; // 0x40 290 field public static final int ACTION_REWIND = 32; // 0x20 291 field public static final int ACTION_SKIP_TO_NEXT = 256; // 0x100 292 field public static final int ACTION_SKIP_TO_PREVIOUS = 16; // 0x10 293 field public static final int PLAYBACK_SPEED_FAST_L0 = 10; // 0xa 294 field public static final int PLAYBACK_SPEED_FAST_L1 = 11; // 0xb 295 field public static final int PLAYBACK_SPEED_FAST_L2 = 12; // 0xc 296 field public static final int PLAYBACK_SPEED_FAST_L3 = 13; // 0xd 297 field public static final int PLAYBACK_SPEED_FAST_L4 = 14; // 0xe 298 field public static final int PLAYBACK_SPEED_INVALID = -1; // 0xffffffff 299 field public static final int PLAYBACK_SPEED_NORMAL = 1; // 0x1 300 field public static final int PLAYBACK_SPEED_PAUSED = 0; // 0x0 301 } 302 303 public class PlaybackOverlayFragment extends android.support.v17.leanback.app.DetailsFragment { 304 ctor public PlaybackOverlayFragment(); 305 method public int getBackgroundType(); 306 method public android.support.v17.leanback.app.PlaybackOverlayFragment.OnFadeCompleteListener getFadeCompleteListener(); 307 method public final android.support.v17.leanback.app.PlaybackOverlayFragment.InputEventHandler getInputEventHandler(); 308 method public boolean isFadingEnabled(); 309 method public void setBackgroundType(int); 310 method public void setFadeCompleteListener(android.support.v17.leanback.app.PlaybackOverlayFragment.OnFadeCompleteListener); 311 method public void setFadingEnabled(boolean); 312 method public final void setInputEventHandler(android.support.v17.leanback.app.PlaybackOverlayFragment.InputEventHandler); 313 method public void tickle(); 314 field public static final int BG_DARK = 1; // 0x1 315 field public static final int BG_LIGHT = 2; // 0x2 316 field public static final int BG_NONE = 0; // 0x0 317 } 318 319 public static abstract interface PlaybackOverlayFragment.InputEventHandler { 320 method public abstract boolean handleInputEvent(android.view.InputEvent); 321 } 322 323 public static class PlaybackOverlayFragment.OnFadeCompleteListener { 324 ctor public PlaybackOverlayFragment.OnFadeCompleteListener(); 325 method public void onFadeInComplete(); 326 method public void onFadeOutComplete(); 327 } 328 329 public class PlaybackOverlaySupportFragment extends android.support.v17.leanback.app.DetailsSupportFragment { 330 ctor public PlaybackOverlaySupportFragment(); 331 method public int getBackgroundType(); 332 method public android.support.v17.leanback.app.PlaybackOverlaySupportFragment.OnFadeCompleteListener getFadeCompleteListener(); 333 method public final android.support.v17.leanback.app.PlaybackOverlaySupportFragment.InputEventHandler getInputEventHandler(); 334 method public boolean isFadingEnabled(); 335 method public void setBackgroundType(int); 336 method public void setFadeCompleteListener(android.support.v17.leanback.app.PlaybackOverlaySupportFragment.OnFadeCompleteListener); 337 method public void setFadingEnabled(boolean); 338 method public final void setInputEventHandler(android.support.v17.leanback.app.PlaybackOverlaySupportFragment.InputEventHandler); 339 method public void tickle(); 340 field public static final int BG_DARK = 1; // 0x1 341 field public static final int BG_LIGHT = 2; // 0x2 342 field public static final int BG_NONE = 0; // 0x0 343 } 344 345 public static abstract interface PlaybackOverlaySupportFragment.InputEventHandler { 346 method public abstract boolean handleInputEvent(android.view.InputEvent); 347 } 348 349 public static class PlaybackOverlaySupportFragment.OnFadeCompleteListener { 350 ctor public PlaybackOverlaySupportFragment.OnFadeCompleteListener(); 351 method public void onFadeInComplete(); 352 method public void onFadeOutComplete(); 353 } 354 355 public class RowsFragment extends android.support.v17.leanback.app.BaseRowFragment { 356 ctor public RowsFragment(); 357 method public void enableRowScaling(boolean); 358 method protected android.support.v17.leanback.widget.VerticalGridView findGridViewFromRoot(android.view.View); 359 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 360 method public android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 361 method public void setExpand(boolean); 362 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 363 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 364 } 365 366 public class RowsSupportFragment extends android.support.v17.leanback.app.BaseRowSupportFragment { 367 ctor public RowsSupportFragment(); 368 method public void enableRowScaling(boolean); 369 method protected android.support.v17.leanback.widget.VerticalGridView findGridViewFromRoot(android.view.View); 370 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 371 method public android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 372 method public void setExpand(boolean); 373 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 374 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 375 } 376 377 public class SearchFragment extends android.app.Fragment { 378 ctor public SearchFragment(); 379 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String); 380 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, java.lang.String); 381 method public void displayCompletions(java.util.List<java.lang.String>); 382 method public android.graphics.drawable.Drawable getBadgeDrawable(); 383 method public android.content.Intent getRecognizerIntent(); 384 method public java.lang.String getTitle(); 385 method public static android.support.v17.leanback.app.SearchFragment newInstance(java.lang.String); 386 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 387 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 388 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 389 method public void setSearchQuery(java.lang.String, boolean); 390 method public void setSearchQuery(android.content.Intent, boolean); 391 method public void setSearchResultProvider(android.support.v17.leanback.app.SearchFragment.SearchResultProvider); 392 method public void setSpeechRecognitionCallback(android.support.v17.leanback.widget.SpeechRecognitionCallback); 393 method public void setTitle(java.lang.String); 394 method public void startRecognition(); 395 } 396 397 public static abstract interface SearchFragment.SearchResultProvider { 398 method public abstract android.support.v17.leanback.widget.ObjectAdapter getResultsAdapter(); 399 method public abstract boolean onQueryTextChange(java.lang.String); 400 method public abstract boolean onQueryTextSubmit(java.lang.String); 401 } 402 403 public class SearchSupportFragment extends android.support.v4.app.Fragment { 404 ctor public SearchSupportFragment(); 405 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String); 406 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, java.lang.String); 407 method public void displayCompletions(java.util.List<java.lang.String>); 408 method public android.graphics.drawable.Drawable getBadgeDrawable(); 409 method public android.content.Intent getRecognizerIntent(); 410 method public java.lang.String getTitle(); 411 method public static android.support.v17.leanback.app.SearchSupportFragment newInstance(java.lang.String); 412 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 413 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 414 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 415 method public void setSearchQuery(java.lang.String, boolean); 416 method public void setSearchQuery(android.content.Intent, boolean); 417 method public void setSearchResultProvider(android.support.v17.leanback.app.SearchSupportFragment.SearchResultProvider); 418 method public void setSpeechRecognitionCallback(android.support.v17.leanback.widget.SpeechRecognitionCallback); 419 method public void setTitle(java.lang.String); 420 method public void startRecognition(); 421 } 422 423 public static abstract interface SearchSupportFragment.SearchResultProvider { 424 method public abstract android.support.v17.leanback.widget.ObjectAdapter getResultsAdapter(); 425 method public abstract boolean onQueryTextChange(java.lang.String); 426 method public abstract boolean onQueryTextSubmit(java.lang.String); 427 } 428 429 public class VerticalGridFragment extends android.app.Fragment { 430 ctor public VerticalGridFragment(); 431 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 432 method public android.support.v17.leanback.widget.VerticalGridPresenter getGridPresenter(); 433 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 434 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 435 method public void setGridPresenter(android.support.v17.leanback.widget.VerticalGridPresenter); 436 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 437 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 438 method public void setSelectedPosition(int); 439 } 440 441 public class VerticalGridSupportFragment extends android.support.v4.app.Fragment { 442 ctor public VerticalGridSupportFragment(); 443 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 444 method public android.support.v17.leanback.widget.VerticalGridPresenter getGridPresenter(); 445 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 446 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 447 method public void setGridPresenter(android.support.v17.leanback.widget.VerticalGridPresenter); 448 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 449 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 450 method public void setSelectedPosition(int); 451 } 452 453 } 454 455 package android.support.v17.leanback.database { 456 457 public abstract class CursorMapper { 458 ctor public CursorMapper(); 459 method protected abstract java.lang.Object bind(android.database.Cursor); 460 method protected abstract void bindColumns(android.database.Cursor); 461 method public java.lang.Object convert(android.database.Cursor); 462 } 463 464 } 465 466 package android.support.v17.leanback.graphics { 467 468 public final class ColorFilterCache { 469 method public static android.support.v17.leanback.graphics.ColorFilterCache getColorFilterCache(int); 470 method public android.graphics.ColorFilter getFilterForLevel(float); 471 } 472 473 public final class ColorFilterDimmer { 474 method public void applyFilterToView(android.view.View); 475 method public static android.support.v17.leanback.graphics.ColorFilterDimmer create(android.support.v17.leanback.graphics.ColorFilterCache, float, float); 476 method public static android.support.v17.leanback.graphics.ColorFilterDimmer createDefault(android.content.Context); 477 method public android.graphics.ColorFilter getColorFilter(); 478 method public android.graphics.Paint getPaint(); 479 method public void setActiveLevel(float); 480 } 481 482 public final class ColorOverlayDimmer { 483 method public int applyToColor(int); 484 method public static android.support.v17.leanback.graphics.ColorOverlayDimmer createColorOverlayDimmer(int, float, float); 485 method public static android.support.v17.leanback.graphics.ColorOverlayDimmer createDefault(android.content.Context); 486 method public void drawColorOverlay(android.graphics.Canvas, android.view.View, boolean); 487 method public int getAlpha(); 488 method public float getAlphaFloat(); 489 method public android.graphics.Paint getPaint(); 490 method public boolean needsDraw(); 491 method public void setActiveLevel(float); 492 } 493 494 } 495 496 package android.support.v17.leanback.system { 497 498 public class Settings { 499 method public boolean getBoolean(java.lang.String); 500 method public static android.support.v17.leanback.system.Settings getInstance(android.content.Context); 501 method public void setBoolean(java.lang.String, boolean); 502 field public static final java.lang.String PREFER_STATIC_SHADOWS = "PREFER_STATIC_SHADOWS"; 503 } 504 505 } 506 507 package android.support.v17.leanback.widget { 508 509 public abstract class AbstractDetailsDescriptionPresenter extends android.support.v17.leanback.widget.Presenter { 510 ctor public AbstractDetailsDescriptionPresenter(); 511 method protected abstract void onBindDescription(android.support.v17.leanback.widget.AbstractDetailsDescriptionPresenter.ViewHolder, java.lang.Object); 512 method public final void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 513 method public final android.support.v17.leanback.widget.AbstractDetailsDescriptionPresenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 514 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 515 } 516 517 public static class AbstractDetailsDescriptionPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 518 ctor public AbstractDetailsDescriptionPresenter.ViewHolder(android.view.View); 519 method public android.widget.TextView getBody(); 520 method public android.widget.TextView getSubtitle(); 521 method public android.widget.TextView getTitle(); 522 } 523 524 public class Action { 525 ctor public Action(long); 526 ctor public Action(long, java.lang.CharSequence); 527 ctor public Action(long, java.lang.CharSequence, java.lang.CharSequence); 528 ctor public Action(long, java.lang.CharSequence, java.lang.CharSequence, android.graphics.drawable.Drawable); 529 method public final void addKeyCode(int); 530 method public final android.graphics.drawable.Drawable getIcon(); 531 method public final long getId(); 532 method public final java.lang.CharSequence getLabel1(); 533 method public final java.lang.CharSequence getLabel2(); 534 method public final void removeKeyCode(int); 535 method public final boolean respondsToKeyCode(int); 536 method public final void setIcon(android.graphics.drawable.Drawable); 537 method public final void setId(long); 538 method public final void setLabel1(java.lang.CharSequence); 539 method public final void setLabel2(java.lang.CharSequence); 540 } 541 542 public class ArrayObjectAdapter extends android.support.v17.leanback.widget.ObjectAdapter { 543 ctor public ArrayObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 544 ctor public ArrayObjectAdapter(android.support.v17.leanback.widget.Presenter); 545 ctor public ArrayObjectAdapter(); 546 method public void add(java.lang.Object); 547 method public void add(int, java.lang.Object); 548 method public void addAll(int, java.util.Collection); 549 method public void clear(); 550 method public java.lang.Object get(int); 551 method public int indexOf(java.lang.Object); 552 method public void notifyArrayItemRangeChanged(int, int); 553 method public boolean remove(java.lang.Object); 554 method public int removeItems(int, int); 555 method public void replace(int, java.lang.Object); 556 method public int size(); 557 method public java.util.List<E> unmodifiableList(); 558 } 559 560 public class BaseCardView extends android.widget.FrameLayout { 561 ctor public BaseCardView(android.content.Context); 562 ctor public BaseCardView(android.content.Context, android.util.AttributeSet); 563 ctor public BaseCardView(android.content.Context, android.util.AttributeSet, int); 564 method public int getCardType(); 565 method public int getExtraVisibility(); 566 method public int getInfoVisibility(); 567 method public boolean isSelectedAnimationDelayed(); 568 method public void setCardType(int); 569 method public void setExtraVisibility(int); 570 method public void setInfoVisibility(int); 571 method public void setSelectedAnimationDelayed(boolean); 572 field public static final int CARD_REGION_VISIBLE_ACTIVATED = 1; // 0x1 573 field public static final int CARD_REGION_VISIBLE_ALWAYS = 0; // 0x0 574 field public static final int CARD_REGION_VISIBLE_SELECTED = 2; // 0x2 575 field public static final int CARD_TYPE_INFO_OVER = 1; // 0x1 576 field public static final int CARD_TYPE_INFO_UNDER = 2; // 0x2 577 field public static final int CARD_TYPE_INFO_UNDER_WITH_EXTRA = 3; // 0x3 578 field public static final int CARD_TYPE_MAIN_ONLY = 0; // 0x0 579 } 580 581 public static class BaseCardView.LayoutParams extends android.widget.FrameLayout.LayoutParams { 582 ctor public BaseCardView.LayoutParams(android.content.Context, android.util.AttributeSet); 583 ctor public BaseCardView.LayoutParams(int, int); 584 ctor public BaseCardView.LayoutParams(android.view.ViewGroup.LayoutParams); 585 ctor public BaseCardView.LayoutParams(android.support.v17.leanback.widget.BaseCardView.LayoutParams); 586 field public static final int VIEW_TYPE_EXTRA = 2; // 0x2 587 field public static final int VIEW_TYPE_INFO = 1; // 0x1 588 field public static final int VIEW_TYPE_MAIN = 0; // 0x0 589 field public int viewType; 590 } 591 592 public class BrowseFrameLayout extends android.widget.FrameLayout { 593 ctor public BrowseFrameLayout(android.content.Context); 594 ctor public BrowseFrameLayout(android.content.Context, android.util.AttributeSet); 595 ctor public BrowseFrameLayout(android.content.Context, android.util.AttributeSet, int); 596 method public android.support.v17.leanback.widget.BrowseFrameLayout.OnChildFocusListener getOnChildFocusListener(); 597 method public android.support.v17.leanback.widget.BrowseFrameLayout.OnFocusSearchListener getOnFocusSearchListener(); 598 method public void setOnChildFocusListener(android.support.v17.leanback.widget.BrowseFrameLayout.OnChildFocusListener); 599 method public void setOnFocusSearchListener(android.support.v17.leanback.widget.BrowseFrameLayout.OnFocusSearchListener); 600 } 601 602 public static abstract interface BrowseFrameLayout.OnChildFocusListener { 603 method public abstract void onRequestChildFocus(android.view.View, android.view.View); 604 method public abstract boolean onRequestFocusInDescendants(int, android.graphics.Rect); 605 } 606 607 public static abstract interface BrowseFrameLayout.OnFocusSearchListener { 608 method public abstract android.view.View onFocusSearch(android.view.View, int); 609 } 610 611 public final class ClassPresenterSelector extends android.support.v17.leanback.widget.PresenterSelector { 612 ctor public ClassPresenterSelector(); 613 method public void addClassPresenter(java.lang.Class<?>, android.support.v17.leanback.widget.Presenter); 614 method public android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 615 } 616 617 public class ControlButtonPresenterSelector extends android.support.v17.leanback.widget.PresenterSelector { 618 ctor public ControlButtonPresenterSelector(); 619 method public android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 620 method public android.support.v17.leanback.widget.Presenter getPrimaryPresenter(); 621 method public android.support.v17.leanback.widget.Presenter getSecondaryPresenter(); 622 } 623 624 public class CursorObjectAdapter extends android.support.v17.leanback.widget.ObjectAdapter { 625 ctor public CursorObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 626 ctor public CursorObjectAdapter(android.support.v17.leanback.widget.Presenter); 627 ctor public CursorObjectAdapter(); 628 method public void changeCursor(android.database.Cursor); 629 method public void close(); 630 method public java.lang.Object get(int); 631 method public final android.database.Cursor getCursor(); 632 method public final android.support.v17.leanback.database.CursorMapper getMapper(); 633 method protected final void invalidateCache(int); 634 method protected final void invalidateCache(int, int); 635 method public boolean isClosed(); 636 method protected void onCursorChanged(); 637 method protected void onMapperChanged(); 638 method public final void setMapper(android.support.v17.leanback.database.CursorMapper); 639 method public int size(); 640 method public android.database.Cursor swapCursor(android.database.Cursor); 641 } 642 643 public class DetailsOverviewLogoPresenter extends android.support.v17.leanback.widget.Presenter { 644 ctor public DetailsOverviewLogoPresenter(); 645 method public boolean isBoundToImage(android.support.v17.leanback.widget.DetailsOverviewLogoPresenter.ViewHolder, android.support.v17.leanback.widget.DetailsOverviewRow); 646 method public void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 647 method public android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 648 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 649 method public void setContext(android.support.v17.leanback.widget.DetailsOverviewLogoPresenter.ViewHolder, android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter); 650 } 651 652 public static class DetailsOverviewLogoPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 653 ctor public DetailsOverviewLogoPresenter.ViewHolder(android.view.View); 654 field protected android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter mParentPresenter; 655 field protected android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder mParentViewHolder; 656 } 657 658 public class DetailsOverviewRow extends android.support.v17.leanback.widget.Row { 659 ctor public DetailsOverviewRow(java.lang.Object); 660 method public final deprecated void addAction(android.support.v17.leanback.widget.Action); 661 method public final deprecated void addAction(int, android.support.v17.leanback.widget.Action); 662 method public android.support.v17.leanback.widget.Action getActionForKeyCode(int); 663 method public final deprecated java.util.List<android.support.v17.leanback.widget.Action> getActions(); 664 method public final android.support.v17.leanback.widget.ObjectAdapter getActionsAdapter(); 665 method public final android.graphics.drawable.Drawable getImageDrawable(); 666 method public final java.lang.Object getItem(); 667 method public boolean isImageScaleUpAllowed(); 668 method public final deprecated boolean removeAction(android.support.v17.leanback.widget.Action); 669 method public final void setActionsAdapter(android.support.v17.leanback.widget.ObjectAdapter); 670 method public final void setImageBitmap(android.content.Context, android.graphics.Bitmap); 671 method public final void setImageDrawable(android.graphics.drawable.Drawable); 672 method public void setImageScaleUpAllowed(boolean); 673 method public final void setItem(java.lang.Object); 674 } 675 676 public static class DetailsOverviewRow.Listener { 677 ctor public DetailsOverviewRow.Listener(); 678 method public void onActionsAdapterChanged(android.support.v17.leanback.widget.DetailsOverviewRow); 679 method public void onImageDrawableChanged(android.support.v17.leanback.widget.DetailsOverviewRow); 680 method public void onItemChanged(android.support.v17.leanback.widget.DetailsOverviewRow); 681 } 682 683 public deprecated class DetailsOverviewRowPresenter extends android.support.v17.leanback.widget.RowPresenter { 684 ctor public DetailsOverviewRowPresenter(android.support.v17.leanback.widget.Presenter); 685 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 686 method public int getBackgroundColor(); 687 method public android.support.v17.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 688 method public boolean isStyleLarge(); 689 method public final boolean isUsingDefaultSelectEffect(); 690 method public void setBackgroundColor(int); 691 method public void setOnActionClickedListener(android.support.v17.leanback.widget.OnActionClickedListener); 692 method public final void setSharedElementEnterTransition(android.app.Activity, java.lang.String, long); 693 method public final void setSharedElementEnterTransition(android.app.Activity, java.lang.String); 694 method public void setStyleLarge(boolean); 695 } 696 697 public final class DetailsOverviewRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 698 ctor public DetailsOverviewRowPresenter.ViewHolder(android.view.View, android.support.v17.leanback.widget.Presenter); 699 field public final android.support.v17.leanback.widget.Presenter.ViewHolder mDetailsDescriptionViewHolder; 700 } 701 702 public abstract interface FacetProvider { 703 method public abstract java.lang.Object getFacet(java.lang.Class<?>); 704 } 705 706 public abstract interface FacetProviderAdapter { 707 method public abstract android.support.v17.leanback.widget.FacetProvider getFacetProvider(int); 708 } 709 710 public abstract interface FocusHighlight { 711 field public static final int ZOOM_FACTOR_LARGE = 3; // 0x3 712 field public static final int ZOOM_FACTOR_MEDIUM = 2; // 0x2 713 field public static final int ZOOM_FACTOR_NONE = 0; // 0x0 714 field public static final int ZOOM_FACTOR_SMALL = 1; // 0x1 715 field public static final int ZOOM_FACTOR_XSMALL = 4; // 0x4 716 } 717 718 public class FocusHighlightHelper { 719 ctor public FocusHighlightHelper(); 720 method public static void setupBrowseItemFocusHighlight(android.support.v17.leanback.widget.ItemBridgeAdapter, int, boolean); 721 method public static void setupHeaderItemFocusHighlight(android.support.v17.leanback.widget.VerticalGridView); 722 } 723 724 public abstract interface FragmentAnimationProvider { 725 method public abstract void onActivityEnter(java.util.List<android.animation.Animator>); 726 method public abstract void onActivityExit(java.util.List<android.animation.Animator>); 727 method public abstract void onFragmentEnter(java.util.List<android.animation.Animator>); 728 method public abstract void onFragmentExit(java.util.List<android.animation.Animator>); 729 method public abstract void onFragmentReenter(java.util.List<android.animation.Animator>); 730 method public abstract void onFragmentReturn(java.util.List<android.animation.Animator>); 731 } 732 733 public class FullWidthDetailsOverviewRowPresenter extends android.support.v17.leanback.widget.RowPresenter { 734 ctor public FullWidthDetailsOverviewRowPresenter(android.support.v17.leanback.widget.Presenter); 735 ctor public FullWidthDetailsOverviewRowPresenter(android.support.v17.leanback.widget.Presenter, android.support.v17.leanback.widget.DetailsOverviewLogoPresenter); 736 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 737 method public final int getActionsBackgroundColor(); 738 method public final int getAlignmentMode(); 739 method public final int getBackgroundColor(); 740 method public final int getInitialState(); 741 method protected int getLayoutResourceId(); 742 method public android.support.v17.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 743 method public final boolean isParticipatingEntranceTransition(); 744 method public final boolean isUsingDefaultSelectEffect(); 745 method public final void notifyOnBindLogo(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder); 746 method protected void onLayoutLogo(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, boolean); 747 method protected void onLayoutOverviewFrame(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, boolean); 748 method protected void onStateChanged(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int); 749 method public final void setActionsBackgroundColor(int); 750 method public final void setAlignmentMode(int); 751 method public final void setBackgroundColor(int); 752 method public final void setInitialState(int); 753 method public final void setListener(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.Listener); 754 method public void setOnActionClickedListener(android.support.v17.leanback.widget.OnActionClickedListener); 755 method public final void setParticipatingEntranceTransition(boolean); 756 method public final void setState(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int); 757 field public static final int ALIGN_MODE_MIDDLE = 1; // 0x1 758 field public static final int ALIGN_MODE_START = 0; // 0x0 759 field public static final int STATE_FULL = 1; // 0x1 760 field public static final int STATE_HALF = 0; // 0x0 761 field public static final int STATE_SMALL = 2; // 0x2 762 field protected int mInitialState; 763 } 764 765 public static abstract class FullWidthDetailsOverviewRowPresenter.Listener { 766 ctor public FullWidthDetailsOverviewRowPresenter.Listener(); 767 method public void onBindLogo(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder); 768 } 769 770 public class FullWidthDetailsOverviewRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 771 ctor public FullWidthDetailsOverviewRowPresenter.ViewHolder(android.view.View, android.support.v17.leanback.widget.Presenter, android.support.v17.leanback.widget.DetailsOverviewLogoPresenter); 772 method protected android.support.v17.leanback.widget.DetailsOverviewRow.Listener createRowListener(); 773 method public final android.view.ViewGroup getActionsRow(); 774 method public final android.view.ViewGroup getDetailsDescriptionFrame(); 775 method public final android.support.v17.leanback.widget.Presenter.ViewHolder getDetailsDescriptionViewHolder(); 776 method public final android.support.v17.leanback.widget.DetailsOverviewLogoPresenter.ViewHolder getLogoViewHolder(); 777 method public final android.view.ViewGroup getOverviewView(); 778 method public final int getState(); 779 field protected final android.support.v17.leanback.widget.DetailsOverviewRow.Listener mRowListener; 780 } 781 782 public class FullWidthDetailsOverviewRowPresenter.ViewHolder.DetailsOverviewRowListener extends android.support.v17.leanback.widget.DetailsOverviewRow.Listener { 783 ctor public FullWidthDetailsOverviewRowPresenter.ViewHolder.DetailsOverviewRowListener(); 784 } 785 786 public class FullWidthDetailsOverviewSharedElementHelper extends android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.Listener { 787 ctor public FullWidthDetailsOverviewSharedElementHelper(); 788 method public boolean getAutoStartSharedElementTransition(); 789 method public void setAutoStartSharedElementTransition(boolean); 790 method public void setSharedElementEnterTransition(android.app.Activity, java.lang.String); 791 method public void setSharedElementEnterTransition(android.app.Activity, java.lang.String, long); 792 method public void startPostponedEnterTransition(); 793 } 794 795 public class GuidanceStylist implements android.support.v17.leanback.widget.FragmentAnimationProvider { 796 ctor public GuidanceStylist(); 797 method public android.widget.TextView getBreadcrumbView(); 798 method public android.widget.TextView getDescriptionView(); 799 method public android.widget.ImageView getIconView(); 800 method public android.widget.TextView getTitleView(); 801 method public void onActivityEnter(java.util.List<android.animation.Animator>); 802 method public void onActivityExit(java.util.List<android.animation.Animator>); 803 method public android.view.View onCreateView(android.view.LayoutInflater, android.view.ViewGroup, android.support.v17.leanback.widget.GuidanceStylist.Guidance); 804 method public void onFragmentEnter(java.util.List<android.animation.Animator>); 805 method public void onFragmentExit(java.util.List<android.animation.Animator>); 806 method public void onFragmentReenter(java.util.List<android.animation.Animator>); 807 method public void onFragmentReturn(java.util.List<android.animation.Animator>); 808 method public int onProvideLayoutId(); 809 } 810 811 public static class GuidanceStylist.Guidance { 812 ctor public GuidanceStylist.Guidance(java.lang.String, java.lang.String, java.lang.String, android.graphics.drawable.Drawable); 813 method public java.lang.String getBreadcrumb(); 814 method public java.lang.String getDescription(); 815 method public android.graphics.drawable.Drawable getIconDrawable(); 816 method public java.lang.String getTitle(); 817 } 818 819 public class GuidedAction extends android.support.v17.leanback.widget.Action { 820 method public int getCheckSetId(); 821 method public java.lang.CharSequence getDescription(); 822 method public android.content.Intent getIntent(); 823 method public java.lang.CharSequence getTitle(); 824 method public boolean hasMultilineDescription(); 825 method public boolean hasNext(); 826 method public boolean infoOnly(); 827 method public boolean isChecked(); 828 method public boolean isEnabled(); 829 method public void setChecked(boolean); 830 method public void setEnabled(boolean); 831 field public static final int DEFAULT_CHECK_SET_ID = 1; // 0x1 832 field public static final int NO_CHECK_SET = 0; // 0x0 833 field public static final int NO_DRAWABLE = 0; // 0x0 834 } 835 836 public static class GuidedAction.Builder { 837 ctor public GuidedAction.Builder(); 838 method public android.support.v17.leanback.widget.GuidedAction build(); 839 method public android.support.v17.leanback.widget.GuidedAction.Builder checkSetId(int); 840 method public android.support.v17.leanback.widget.GuidedAction.Builder checked(boolean); 841 method public android.support.v17.leanback.widget.GuidedAction.Builder description(java.lang.String); 842 method public android.support.v17.leanback.widget.GuidedAction.Builder enabled(boolean); 843 method public android.support.v17.leanback.widget.GuidedAction.Builder hasNext(boolean); 844 method public android.support.v17.leanback.widget.GuidedAction.Builder icon(android.graphics.drawable.Drawable); 845 method public android.support.v17.leanback.widget.GuidedAction.Builder iconResourceId(int, android.content.Context); 846 method public android.support.v17.leanback.widget.GuidedAction.Builder id(long); 847 method public android.support.v17.leanback.widget.GuidedAction.Builder infoOnly(boolean); 848 method public android.support.v17.leanback.widget.GuidedAction.Builder intent(android.content.Intent); 849 method public android.support.v17.leanback.widget.GuidedAction.Builder multilineDescription(boolean); 850 method public android.support.v17.leanback.widget.GuidedAction.Builder title(java.lang.String); 851 } 852 853 public class GuidedActionsStylist implements android.support.v17.leanback.widget.FragmentAnimationProvider { 854 ctor public GuidedActionsStylist(); 855 method public android.support.v17.leanback.widget.VerticalGridView getActionsGridView(); 856 method public void onActivityEnter(java.util.List<android.animation.Animator>); 857 method public void onActivityExit(java.util.List<android.animation.Animator>); 858 method public void onAnimateItemChecked(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 859 method public void onAnimateItemFocused(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 860 method public void onAnimateItemPressed(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 861 method public void onBindViewHolder(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, android.support.v17.leanback.widget.GuidedAction); 862 method public android.view.View onCreateView(android.view.LayoutInflater, android.view.ViewGroup); 863 method public android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder onCreateViewHolder(android.view.ViewGroup); 864 method public void onFragmentEnter(java.util.List<android.animation.Animator>); 865 method public void onFragmentExit(java.util.List<android.animation.Animator>); 866 method public void onFragmentReenter(java.util.List<android.animation.Animator>); 867 method public void onFragmentReturn(java.util.List<android.animation.Animator>); 868 method public int onProvideItemLayoutId(); 869 method public int onProvideLayoutId(); 870 field protected android.support.v17.leanback.widget.VerticalGridView mActionsGridView; 871 field protected android.view.View mMainView; 872 field protected android.view.View mSelectorView; 873 } 874 875 public static class GuidedActionsStylist.ViewHolder { 876 ctor public GuidedActionsStylist.ViewHolder(android.view.View); 877 method public android.widget.ImageView getCheckmarkView(); 878 method public android.widget.ImageView getChevronView(); 879 method public android.view.View getContentView(); 880 method public android.widget.TextView getDescriptionView(); 881 method public android.widget.ImageView getIconView(); 882 method public android.widget.TextView getTitleView(); 883 field public final android.view.View view; 884 } 885 886 public class HeaderItem { 887 ctor public HeaderItem(long, java.lang.String); 888 ctor public HeaderItem(java.lang.String); 889 method public final long getId(); 890 method public final java.lang.String getName(); 891 } 892 893 public class HorizontalGridView extends android.support.v7.widget.RecyclerView { 894 ctor public HorizontalGridView(android.content.Context); 895 ctor public HorizontalGridView(android.content.Context, android.util.AttributeSet); 896 ctor public HorizontalGridView(android.content.Context, android.util.AttributeSet, int); 897 method public final boolean getFadingLeftEdge(); 898 method public final int getFadingLeftEdgeLength(); 899 method public final int getFadingLeftEdgeOffset(); 900 method public final boolean getFadingRightEdge(); 901 method public final int getFadingRightEdgeLength(); 902 method public final int getFadingRightEdgeOffset(); 903 method protected void initAttributes(android.content.Context, android.util.AttributeSet); 904 method public final void setFadingLeftEdge(boolean); 905 method public final void setFadingLeftEdgeLength(int); 906 method public final void setFadingLeftEdgeOffset(int); 907 method public final void setFadingRightEdge(boolean); 908 method public final void setFadingRightEdgeLength(int); 909 method public final void setFadingRightEdgeOffset(int); 910 method public void setNumRows(int); 911 method public void setRowHeight(int); 912 } 913 914 public final class HorizontalHoverCardSwitcher extends android.support.v17.leanback.widget.PresenterSwitcher { 915 ctor public HorizontalHoverCardSwitcher(); 916 method protected void insertView(android.view.View); 917 method public void select(android.support.v17.leanback.widget.HorizontalGridView, android.view.View, java.lang.Object); 918 } 919 920 public class ImageCardView extends android.support.v17.leanback.widget.BaseCardView { 921 ctor public ImageCardView(android.content.Context); 922 ctor public ImageCardView(android.content.Context, android.util.AttributeSet); 923 ctor public ImageCardView(android.content.Context, android.util.AttributeSet, int); 924 method public android.graphics.drawable.Drawable getBadgeImage(); 925 method public java.lang.CharSequence getContentText(); 926 method public android.graphics.drawable.Drawable getInfoAreaBackground(); 927 method public android.graphics.drawable.Drawable getMainImage(); 928 method public final android.widget.ImageView getMainImageView(); 929 method public java.lang.CharSequence getTitleText(); 930 method public void setBadgeImage(android.graphics.drawable.Drawable); 931 method public void setContentText(java.lang.CharSequence); 932 method public void setInfoAreaBackground(android.graphics.drawable.Drawable); 933 method public void setInfoAreaBackgroundColor(int); 934 method public void setMainImage(android.graphics.drawable.Drawable); 935 method public void setMainImage(android.graphics.drawable.Drawable, boolean); 936 method public void setMainImageAdjustViewBounds(boolean); 937 method public void setMainImageDimensions(int, int); 938 method public void setMainImageScaleType(android.widget.ImageView.ScaleType); 939 method public void setTitleText(java.lang.CharSequence); 940 } 941 942 public final class ItemAlignmentFacet { 943 ctor public ItemAlignmentFacet(); 944 method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignmentDefs(); 945 method public boolean isMultiAlignment(); 946 method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[]); 947 field public static final float ITEM_ALIGN_OFFSET_PERCENT_DISABLED = -1.0f; 948 } 949 950 public static class ItemAlignmentFacet.ItemAlignmentDef { 951 ctor public ItemAlignmentFacet.ItemAlignmentDef(); 952 method public final int getItemAlignmentFocusViewId(); 953 method public final int getItemAlignmentOffset(); 954 method public final float getItemAlignmentOffsetPercent(); 955 method public final int getItemAlignmentViewId(); 956 method public final boolean isItemAlignmentOffsetWithPadding(); 957 method public final void setItemAlignmentFocusViewId(int); 958 method public final void setItemAlignmentOffset(int); 959 method public final void setItemAlignmentOffsetPercent(float); 960 method public final void setItemAlignmentOffsetWithPadding(boolean); 961 method public final void setItemAlignmentViewId(int); 962 } 963 964 public class ItemBridgeAdapter extends android.support.v7.widget.RecyclerView.Adapter implements android.support.v17.leanback.widget.FacetProviderAdapter { 965 ctor public ItemBridgeAdapter(android.support.v17.leanback.widget.ObjectAdapter, android.support.v17.leanback.widget.PresenterSelector); 966 ctor public ItemBridgeAdapter(android.support.v17.leanback.widget.ObjectAdapter); 967 ctor public ItemBridgeAdapter(); 968 method public void clear(); 969 method public android.support.v17.leanback.widget.FacetProvider getFacetProvider(int); 970 method public int getItemCount(); 971 method public java.util.ArrayList<android.support.v17.leanback.widget.Presenter> getPresenterMapper(); 972 method public android.support.v17.leanback.widget.ItemBridgeAdapter.Wrapper getWrapper(); 973 method protected void onAddPresenter(android.support.v17.leanback.widget.Presenter, int); 974 method protected void onAttachedToWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 975 method protected void onBind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 976 method public final void onBindViewHolder(android.support.v7.widget.RecyclerView.ViewHolder, int); 977 method protected void onCreate(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 978 method public final android.support.v7.widget.RecyclerView.ViewHolder onCreateViewHolder(android.view.ViewGroup, int); 979 method protected void onDetachedFromWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 980 method protected void onUnbind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 981 method public final void onViewAttachedToWindow(android.support.v7.widget.RecyclerView.ViewHolder); 982 method public final void onViewDetachedFromWindow(android.support.v7.widget.RecyclerView.ViewHolder); 983 method public final void onViewRecycled(android.support.v7.widget.RecyclerView.ViewHolder); 984 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 985 method public void setAdapterListener(android.support.v17.leanback.widget.ItemBridgeAdapter.AdapterListener); 986 method public void setPresenterMapper(java.util.ArrayList<android.support.v17.leanback.widget.Presenter>); 987 method public void setWrapper(android.support.v17.leanback.widget.ItemBridgeAdapter.Wrapper); 988 } 989 990 public static class ItemBridgeAdapter.AdapterListener { 991 ctor public ItemBridgeAdapter.AdapterListener(); 992 method public void onAddPresenter(android.support.v17.leanback.widget.Presenter, int); 993 method public void onAttachedToWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 994 method public void onBind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 995 method public void onCreate(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 996 method public void onDetachedFromWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 997 method public void onUnbind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 998 } 999 1000 public class ItemBridgeAdapter.ViewHolder extends android.support.v7.widget.RecyclerView.ViewHolder implements android.support.v17.leanback.widget.FacetProvider { 1001 method public final java.lang.Object getExtraObject(); 1002 method public java.lang.Object getFacet(java.lang.Class<?>); 1003 method public final java.lang.Object getItem(); 1004 method public final android.support.v17.leanback.widget.Presenter getPresenter(); 1005 method public final android.support.v17.leanback.widget.Presenter.ViewHolder getViewHolder(); 1006 method public void setExtraObject(java.lang.Object); 1007 } 1008 1009 public static abstract class ItemBridgeAdapter.Wrapper { 1010 ctor public ItemBridgeAdapter.Wrapper(); 1011 method public abstract android.view.View createWrapper(android.view.View); 1012 method public abstract void wrap(android.view.View, android.view.View); 1013 } 1014 1015 public class ListRow extends android.support.v17.leanback.widget.Row { 1016 ctor public ListRow(android.support.v17.leanback.widget.HeaderItem, android.support.v17.leanback.widget.ObjectAdapter); 1017 ctor public ListRow(long, android.support.v17.leanback.widget.HeaderItem, android.support.v17.leanback.widget.ObjectAdapter); 1018 ctor public ListRow(android.support.v17.leanback.widget.ObjectAdapter); 1019 method public final android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 1020 } 1021 1022 public final class ListRowHoverCardView extends android.widget.LinearLayout { 1023 ctor public ListRowHoverCardView(android.content.Context); 1024 ctor public ListRowHoverCardView(android.content.Context, android.util.AttributeSet); 1025 ctor public ListRowHoverCardView(android.content.Context, android.util.AttributeSet, int); 1026 method public final java.lang.CharSequence getDescription(); 1027 method public final java.lang.CharSequence getTitle(); 1028 method public final void setDescription(java.lang.CharSequence); 1029 method public final void setTitle(java.lang.CharSequence); 1030 } 1031 1032 public class ListRowPresenter extends android.support.v17.leanback.widget.RowPresenter { 1033 ctor public ListRowPresenter(); 1034 ctor public ListRowPresenter(int); 1035 ctor public ListRowPresenter(int, boolean); 1036 method public final boolean areChildRoundedCornersEnabled(); 1037 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1038 method public final void enableChildRoundedCorners(boolean); 1039 method public int getExpandedRowHeight(); 1040 method public final int getFocusZoomFactor(); 1041 method public final android.support.v17.leanback.widget.PresenterSelector getHoverCardPresenterSelector(); 1042 method public int getRecycledPoolSize(android.support.v17.leanback.widget.Presenter); 1043 method public int getRowHeight(); 1044 method public final boolean getShadowEnabled(); 1045 method public final deprecated int getZoomFactor(); 1046 method public final boolean isFocusDimmerUsed(); 1047 method public boolean isUsingDefaultListSelectEffect(); 1048 method public final boolean isUsingDefaultSelectEffect(); 1049 method public boolean isUsingDefaultShadow(); 1050 method public boolean isUsingZOrder(android.content.Context); 1051 method public void setExpandedRowHeight(int); 1052 method public final void setHoverCardPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 1053 method public void setRecycledPoolSize(android.support.v17.leanback.widget.Presenter, int); 1054 method public void setRowHeight(int); 1055 method public final void setShadowEnabled(boolean); 1056 } 1057 1058 public static class ListRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 1059 ctor public ListRowPresenter.ViewHolder(android.view.View, android.support.v17.leanback.widget.HorizontalGridView, android.support.v17.leanback.widget.ListRowPresenter); 1060 method public final android.support.v17.leanback.widget.ItemBridgeAdapter getBridgeAdapter(); 1061 method public final android.support.v17.leanback.widget.HorizontalGridView getGridView(); 1062 method public final android.support.v17.leanback.widget.ListRowPresenter getListRowPresenter(); 1063 } 1064 1065 public final class ListRowView extends android.widget.LinearLayout { 1066 ctor public ListRowView(android.content.Context); 1067 ctor public ListRowView(android.content.Context, android.util.AttributeSet); 1068 ctor public ListRowView(android.content.Context, android.util.AttributeSet, int); 1069 method public android.support.v17.leanback.widget.HorizontalGridView getGridView(); 1070 } 1071 1072 public abstract class ObjectAdapter { 1073 ctor public ObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 1074 ctor public ObjectAdapter(android.support.v17.leanback.widget.Presenter); 1075 ctor public ObjectAdapter(); 1076 method public abstract java.lang.Object get(int); 1077 method public long getId(int); 1078 method public final android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 1079 method public final android.support.v17.leanback.widget.PresenterSelector getPresenterSelector(); 1080 method public final boolean hasStableIds(); 1081 method protected final void notifyChanged(); 1082 method protected final void notifyItemRangeChanged(int, int); 1083 method protected final void notifyItemRangeInserted(int, int); 1084 method protected final void notifyItemRangeRemoved(int, int); 1085 method protected void onHasStableIdsChanged(); 1086 method protected void onPresenterSelectorChanged(); 1087 method public final void registerObserver(android.support.v17.leanback.widget.ObjectAdapter.DataObserver); 1088 method public final void setHasStableIds(boolean); 1089 method public final void setPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 1090 method public abstract int size(); 1091 method public final void unregisterAllObservers(); 1092 method public final void unregisterObserver(android.support.v17.leanback.widget.ObjectAdapter.DataObserver); 1093 field public static final int NO_ID = -1; // 0xffffffff 1094 } 1095 1096 public static abstract class ObjectAdapter.DataObserver { 1097 ctor public ObjectAdapter.DataObserver(); 1098 method public void onChanged(); 1099 method public void onItemRangeChanged(int, int); 1100 method public void onItemRangeInserted(int, int); 1101 method public void onItemRangeRemoved(int, int); 1102 } 1103 1104 public abstract interface OnActionClickedListener { 1105 method public abstract void onActionClicked(android.support.v17.leanback.widget.Action); 1106 } 1107 1108 public abstract interface OnChildLaidOutListener { 1109 method public abstract void onChildLaidOut(android.view.ViewGroup, android.view.View, int, long); 1110 } 1111 1112 public abstract deprecated interface OnChildSelectedListener { 1113 method public abstract void onChildSelected(android.view.ViewGroup, android.view.View, int, long); 1114 } 1115 1116 public abstract class OnChildViewHolderSelectedListener { 1117 ctor public OnChildViewHolderSelectedListener(); 1118 method public void onChildViewHolderSelected(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder, int, int); 1119 } 1120 1121 public abstract interface OnItemViewClickedListener { 1122 method public abstract void onItemClicked(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object, android.support.v17.leanback.widget.RowPresenter.ViewHolder, android.support.v17.leanback.widget.Row); 1123 } 1124 1125 public abstract interface OnItemViewSelectedListener { 1126 method public abstract void onItemSelected(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object, android.support.v17.leanback.widget.RowPresenter.ViewHolder, android.support.v17.leanback.widget.Row); 1127 } 1128 1129 public class PlaybackControlsRow extends android.support.v17.leanback.widget.Row { 1130 ctor public PlaybackControlsRow(java.lang.Object); 1131 ctor public PlaybackControlsRow(); 1132 method public android.support.v17.leanback.widget.Action getActionForKeyCode(int); 1133 method public android.support.v17.leanback.widget.Action getActionForKeyCode(android.support.v17.leanback.widget.ObjectAdapter, int); 1134 method public int getBufferedProgress(); 1135 method public int getCurrentTime(); 1136 method public final android.graphics.drawable.Drawable getImageDrawable(); 1137 method public final java.lang.Object getItem(); 1138 method public final android.support.v17.leanback.widget.ObjectAdapter getPrimaryActionsAdapter(); 1139 method public final android.support.v17.leanback.widget.ObjectAdapter getSecondaryActionsAdapter(); 1140 method public int getTotalTime(); 1141 method public void setBufferedProgress(int); 1142 method public void setCurrentTime(int); 1143 method public final void setImageBitmap(android.content.Context, android.graphics.Bitmap); 1144 method public final void setImageDrawable(android.graphics.drawable.Drawable); 1145 method public final void setPrimaryActionsAdapter(android.support.v17.leanback.widget.ObjectAdapter); 1146 method public final void setSecondaryActionsAdapter(android.support.v17.leanback.widget.ObjectAdapter); 1147 method public void setTotalTime(int); 1148 } 1149 1150 public static class PlaybackControlsRow.ClosedCaptioningAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1151 ctor public PlaybackControlsRow.ClosedCaptioningAction(android.content.Context); 1152 ctor public PlaybackControlsRow.ClosedCaptioningAction(android.content.Context, int); 1153 field public static int OFF; 1154 field public static int ON; 1155 } 1156 1157 public static class PlaybackControlsRow.FastForwardAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1158 ctor public PlaybackControlsRow.FastForwardAction(android.content.Context); 1159 ctor public PlaybackControlsRow.FastForwardAction(android.content.Context, int); 1160 } 1161 1162 public static class PlaybackControlsRow.HighQualityAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1163 ctor public PlaybackControlsRow.HighQualityAction(android.content.Context); 1164 ctor public PlaybackControlsRow.HighQualityAction(android.content.Context, int); 1165 field public static int OFF; 1166 field public static int ON; 1167 } 1168 1169 public static class PlaybackControlsRow.MoreActions extends android.support.v17.leanback.widget.Action { 1170 ctor public PlaybackControlsRow.MoreActions(android.content.Context); 1171 } 1172 1173 public static abstract class PlaybackControlsRow.MultiAction extends android.support.v17.leanback.widget.Action { 1174 ctor public PlaybackControlsRow.MultiAction(int); 1175 method public int getActionCount(); 1176 method public android.graphics.drawable.Drawable getDrawable(int); 1177 method public int getIndex(); 1178 method public java.lang.String getLabel(int); 1179 method public java.lang.String getSecondaryLabel(int); 1180 method public void nextIndex(); 1181 method public void setDrawables(android.graphics.drawable.Drawable[]); 1182 method public void setIndex(int); 1183 method public void setLabels(java.lang.String[]); 1184 method public void setSecondaryLabels(java.lang.String[]); 1185 } 1186 1187 public static class PlaybackControlsRow.PlayPauseAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1188 ctor public PlaybackControlsRow.PlayPauseAction(android.content.Context); 1189 field public static int PAUSE; 1190 field public static int PLAY; 1191 } 1192 1193 public static class PlaybackControlsRow.RepeatAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1194 ctor public PlaybackControlsRow.RepeatAction(android.content.Context); 1195 ctor public PlaybackControlsRow.RepeatAction(android.content.Context, int); 1196 ctor public PlaybackControlsRow.RepeatAction(android.content.Context, int, int); 1197 field public static int ALL; 1198 field public static int NONE; 1199 field public static int ONE; 1200 } 1201 1202 public static class PlaybackControlsRow.RewindAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1203 ctor public PlaybackControlsRow.RewindAction(android.content.Context); 1204 ctor public PlaybackControlsRow.RewindAction(android.content.Context, int); 1205 } 1206 1207 public static class PlaybackControlsRow.ShuffleAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1208 ctor public PlaybackControlsRow.ShuffleAction(android.content.Context); 1209 ctor public PlaybackControlsRow.ShuffleAction(android.content.Context, int); 1210 field public static int OFF; 1211 field public static int ON; 1212 } 1213 1214 public static class PlaybackControlsRow.SkipNextAction extends android.support.v17.leanback.widget.Action { 1215 ctor public PlaybackControlsRow.SkipNextAction(android.content.Context); 1216 } 1217 1218 public static class PlaybackControlsRow.SkipPreviousAction extends android.support.v17.leanback.widget.Action { 1219 ctor public PlaybackControlsRow.SkipPreviousAction(android.content.Context); 1220 } 1221 1222 public static abstract class PlaybackControlsRow.ThumbsAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1223 ctor public PlaybackControlsRow.ThumbsAction(int, android.content.Context, int, int); 1224 field public static int OUTLINE; 1225 field public static int SOLID; 1226 } 1227 1228 public static class PlaybackControlsRow.ThumbsDownAction extends android.support.v17.leanback.widget.PlaybackControlsRow.ThumbsAction { 1229 ctor public PlaybackControlsRow.ThumbsDownAction(android.content.Context); 1230 } 1231 1232 public static class PlaybackControlsRow.ThumbsUpAction extends android.support.v17.leanback.widget.PlaybackControlsRow.ThumbsAction { 1233 ctor public PlaybackControlsRow.ThumbsUpAction(android.content.Context); 1234 } 1235 1236 public class PlaybackControlsRowPresenter extends android.support.v17.leanback.widget.RowPresenter { 1237 ctor public PlaybackControlsRowPresenter(android.support.v17.leanback.widget.Presenter); 1238 ctor public PlaybackControlsRowPresenter(); 1239 method public boolean areSecondaryActionsHidden(); 1240 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1241 method public int getBackgroundColor(); 1242 method public android.support.v17.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 1243 method public int getProgressColor(); 1244 method public void setBackgroundColor(int); 1245 method public void setOnActionClickedListener(android.support.v17.leanback.widget.OnActionClickedListener); 1246 method public void setProgressColor(int); 1247 method public void setSecondaryActionsHidden(boolean); 1248 method public void showBottomSpace(android.support.v17.leanback.widget.PlaybackControlsRowPresenter.ViewHolder, boolean); 1249 method public void showPrimaryActions(android.support.v17.leanback.widget.PlaybackControlsRowPresenter.ViewHolder); 1250 } 1251 1252 public class PlaybackControlsRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 1253 field public final android.support.v17.leanback.widget.Presenter.ViewHolder mDescriptionViewHolder; 1254 } 1255 1256 public abstract class Presenter implements android.support.v17.leanback.widget.FacetProvider { 1257 ctor public Presenter(); 1258 method protected static void cancelAnimationsRecursive(android.view.View); 1259 method public final java.lang.Object getFacet(java.lang.Class<?>); 1260 method public abstract void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1261 method public abstract android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1262 method public abstract void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1263 method public void onViewAttachedToWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1264 method public void onViewDetachedFromWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1265 method public final void setFacet(java.lang.Class<?>, java.lang.Object); 1266 method public void setOnClickListener(android.support.v17.leanback.widget.Presenter.ViewHolder, android.view.View.OnClickListener); 1267 } 1268 1269 public static class Presenter.ViewHolder implements android.support.v17.leanback.widget.FacetProvider { 1270 ctor public Presenter.ViewHolder(android.view.View); 1271 method public final java.lang.Object getFacet(java.lang.Class<?>); 1272 method public final void setFacet(java.lang.Class<?>, java.lang.Object); 1273 field public final android.view.View view; 1274 } 1275 1276 public abstract class PresenterSelector { 1277 ctor public PresenterSelector(); 1278 method public abstract android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 1279 method public android.support.v17.leanback.widget.Presenter[] getPresenters(); 1280 } 1281 1282 public abstract class PresenterSwitcher { 1283 ctor public PresenterSwitcher(); 1284 method public void clear(); 1285 method public final android.view.ViewGroup getParentViewGroup(); 1286 method public void init(android.view.ViewGroup, android.support.v17.leanback.widget.PresenterSelector); 1287 method protected abstract void insertView(android.view.View); 1288 method protected void onViewSelected(android.view.View); 1289 method public void select(java.lang.Object); 1290 method protected void showView(android.view.View, boolean); 1291 method public void unselect(); 1292 } 1293 1294 public class Row { 1295 ctor public Row(long, android.support.v17.leanback.widget.HeaderItem); 1296 ctor public Row(android.support.v17.leanback.widget.HeaderItem); 1297 ctor public Row(); 1298 method public final android.support.v17.leanback.widget.HeaderItem getHeaderItem(); 1299 method public final long getId(); 1300 method public final void setHeaderItem(android.support.v17.leanback.widget.HeaderItem); 1301 method public final void setId(long); 1302 } 1303 1304 public class RowHeaderPresenter extends android.support.v17.leanback.widget.Presenter { 1305 ctor public RowHeaderPresenter(); 1306 method protected static float getFontDescent(android.widget.TextView, android.graphics.Paint); 1307 method public int getSpaceUnderBaseline(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder); 1308 method public boolean isNullItemVisibilityGone(); 1309 method public void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1310 method public android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1311 method protected void onSelectLevelChanged(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder); 1312 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1313 method public void setNullItemVisibilityGone(boolean); 1314 method public final void setSelectLevel(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder, float); 1315 } 1316 1317 public static class RowHeaderPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 1318 ctor public RowHeaderPresenter.ViewHolder(android.view.View); 1319 method public final float getSelectLevel(); 1320 } 1321 1322 public final class RowHeaderView extends android.widget.TextView { 1323 ctor public RowHeaderView(android.content.Context); 1324 ctor public RowHeaderView(android.content.Context, android.util.AttributeSet); 1325 ctor public RowHeaderView(android.content.Context, android.util.AttributeSet, int); 1326 } 1327 1328 public abstract class RowPresenter extends android.support.v17.leanback.widget.Presenter { 1329 ctor public RowPresenter(); 1330 method public boolean canDrawOutOfBounds(); 1331 method protected abstract android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1332 method protected void dispatchItemSelectedListener(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1333 method public void freeze(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1334 method public final android.support.v17.leanback.widget.RowHeaderPresenter getHeaderPresenter(); 1335 method public final android.support.v17.leanback.widget.RowPresenter.ViewHolder getRowViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1336 method public final boolean getSelectEffectEnabled(); 1337 method public final float getSelectLevel(android.support.v17.leanback.widget.Presenter.ViewHolder); 1338 method public final int getSyncActivatePolicy(); 1339 method protected void initializeRowViewHolder(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1340 method protected boolean isClippingChildren(); 1341 method public boolean isUsingDefaultSelectEffect(); 1342 method protected void onBindRowViewHolder(android.support.v17.leanback.widget.RowPresenter.ViewHolder, java.lang.Object); 1343 method public final void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1344 method public final android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1345 method protected void onRowViewAttachedToWindow(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1346 method protected void onRowViewDetachedFromWindow(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1347 method protected void onRowViewExpanded(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1348 method protected void onRowViewSelected(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1349 method protected void onSelectLevelChanged(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1350 method protected void onUnbindRowViewHolder(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1351 method public final void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1352 method public final void onViewAttachedToWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1353 method public final void onViewDetachedFromWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1354 method public void setEntranceTransitionState(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1355 method public final void setHeaderPresenter(android.support.v17.leanback.widget.RowHeaderPresenter); 1356 method public final void setRowViewExpanded(android.support.v17.leanback.widget.Presenter.ViewHolder, boolean); 1357 method public final void setRowViewSelected(android.support.v17.leanback.widget.Presenter.ViewHolder, boolean); 1358 method public final void setSelectEffectEnabled(boolean); 1359 method public final void setSelectLevel(android.support.v17.leanback.widget.Presenter.ViewHolder, float); 1360 method public final void setSyncActivatePolicy(int); 1361 field public static final int SYNC_ACTIVATED_CUSTOM = 0; // 0x0 1362 field public static final int SYNC_ACTIVATED_TO_EXPANDED = 1; // 0x1 1363 field public static final int SYNC_ACTIVATED_TO_EXPANDED_AND_SELECTED = 3; // 0x3 1364 field public static final int SYNC_ACTIVATED_TO_SELECTED = 2; // 0x2 1365 } 1366 1367 public static class RowPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 1368 ctor public RowPresenter.ViewHolder(android.view.View); 1369 method public final android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder getHeaderViewHolder(); 1370 method public final android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 1371 method public final android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 1372 method public android.view.View.OnKeyListener getOnKeyListener(); 1373 method public final android.support.v17.leanback.widget.Row getRow(); 1374 method public final float getSelectLevel(); 1375 method public final boolean isExpanded(); 1376 method public final boolean isSelected(); 1377 method public final void setActivated(boolean); 1378 method public final void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 1379 method public final void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 1380 method public void setOnKeyListener(android.view.View.OnKeyListener); 1381 method public final void syncActivatedStatus(android.view.View); 1382 field protected final android.support.v17.leanback.graphics.ColorOverlayDimmer mColorDimmer; 1383 } 1384 1385 public class SearchBar extends android.widget.RelativeLayout { 1386 ctor public SearchBar(android.content.Context); 1387 ctor public SearchBar(android.content.Context, android.util.AttributeSet); 1388 ctor public SearchBar(android.content.Context, android.util.AttributeSet, int); 1389 method public void displayCompletions(java.util.List<java.lang.String>); 1390 method public android.graphics.drawable.Drawable getBadgeDrawable(); 1391 method public java.lang.CharSequence getHint(); 1392 method public java.lang.String getTitle(); 1393 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 1394 method public void setSearchBarListener(android.support.v17.leanback.widget.SearchBar.SearchBarListener); 1395 method public void setSearchQuery(java.lang.String); 1396 method public void setSpeechRecognitionCallback(android.support.v17.leanback.widget.SpeechRecognitionCallback); 1397 method public void setSpeechRecognizer(android.speech.SpeechRecognizer); 1398 method public void setTitle(java.lang.String); 1399 method public void startRecognition(); 1400 method public void stopRecognition(); 1401 } 1402 1403 public static abstract interface SearchBar.SearchBarListener { 1404 method public abstract void onKeyboardDismiss(java.lang.String); 1405 method public abstract void onSearchQueryChange(java.lang.String); 1406 method public abstract void onSearchQuerySubmit(java.lang.String); 1407 } 1408 1409 public class SearchEditText extends android.support.v17.leanback.widget.StreamingTextView { 1410 ctor public SearchEditText(android.content.Context); 1411 ctor public SearchEditText(android.content.Context, android.util.AttributeSet); 1412 ctor public SearchEditText(android.content.Context, android.util.AttributeSet, int); 1413 method public void setOnKeyboardDismissListener(android.support.v17.leanback.widget.SearchEditText.OnKeyboardDismissListener); 1414 } 1415 1416 public static abstract interface SearchEditText.OnKeyboardDismissListener { 1417 method public abstract void onKeyboardDismiss(); 1418 } 1419 1420 public class SearchOrbView extends android.widget.FrameLayout implements android.view.View.OnClickListener { 1421 ctor public SearchOrbView(android.content.Context); 1422 ctor public SearchOrbView(android.content.Context, android.util.AttributeSet); 1423 ctor public SearchOrbView(android.content.Context, android.util.AttributeSet, int); 1424 method public void enableOrbColorAnimation(boolean); 1425 method public int getOrbColor(); 1426 method public android.support.v17.leanback.widget.SearchOrbView.Colors getOrbColors(); 1427 method public android.graphics.drawable.Drawable getOrbIcon(); 1428 method public void onClick(android.view.View); 1429 method public void setOnOrbClickedListener(android.view.View.OnClickListener); 1430 method public void setOrbColor(int); 1431 method public deprecated void setOrbColor(int, int); 1432 method public void setOrbColors(android.support.v17.leanback.widget.SearchOrbView.Colors); 1433 method public void setOrbIcon(android.graphics.drawable.Drawable); 1434 } 1435 1436 public static class SearchOrbView.Colors { 1437 ctor public SearchOrbView.Colors(int); 1438 ctor public SearchOrbView.Colors(int, int); 1439 ctor public SearchOrbView.Colors(int, int, int); 1440 method public static int getBrightColor(int); 1441 field public int brightColor; 1442 field public int color; 1443 field public int iconColor; 1444 } 1445 1446 public class ShadowOverlayContainer extends android.view.ViewGroup { 1447 ctor public ShadowOverlayContainer(android.content.Context); 1448 ctor public ShadowOverlayContainer(android.content.Context, android.util.AttributeSet); 1449 ctor public ShadowOverlayContainer(android.content.Context, android.util.AttributeSet, int); 1450 method public int getShadowType(); 1451 method public android.view.View getWrappedView(); 1452 method public deprecated void initialize(boolean, boolean); 1453 method public void initialize(boolean, boolean, boolean); 1454 method protected void onLayout(boolean, int, int, int, int); 1455 method public static void prepareParentForShadow(android.view.ViewGroup); 1456 method public void setOverlayColor(int); 1457 method public void setShadowFocusLevel(float); 1458 method public static boolean supportsDynamicShadow(); 1459 method public static boolean supportsShadow(); 1460 method public void useDynamicShadow(); 1461 method public void useDynamicShadow(float, float); 1462 method public void useStaticShadow(); 1463 method public void wrap(android.view.View); 1464 field public static final int SHADOW_DYNAMIC = 3; // 0x3 1465 field public static final int SHADOW_NONE = 1; // 0x1 1466 field public static final int SHADOW_STATIC = 2; // 0x2 1467 } 1468 1469 public final class SinglePresenterSelector extends android.support.v17.leanback.widget.PresenterSelector { 1470 ctor public SinglePresenterSelector(android.support.v17.leanback.widget.Presenter); 1471 method public android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 1472 } 1473 1474 public class SparseArrayObjectAdapter extends android.support.v17.leanback.widget.ObjectAdapter { 1475 ctor public SparseArrayObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 1476 ctor public SparseArrayObjectAdapter(android.support.v17.leanback.widget.Presenter); 1477 ctor public SparseArrayObjectAdapter(); 1478 method public void clear(int); 1479 method public void clear(); 1480 method public java.lang.Object get(int); 1481 method public int indexOf(java.lang.Object); 1482 method public int indexOf(int); 1483 method public java.lang.Object lookup(int); 1484 method public void notifyArrayItemRangeChanged(int, int); 1485 method public void set(int, java.lang.Object); 1486 method public int size(); 1487 } 1488 1489 public class SpeechOrbView extends android.support.v17.leanback.widget.SearchOrbView { 1490 ctor public SpeechOrbView(android.content.Context); 1491 ctor public SpeechOrbView(android.content.Context, android.util.AttributeSet); 1492 ctor public SpeechOrbView(android.content.Context, android.util.AttributeSet, int); 1493 method public void setSoundLevel(int); 1494 method public void showListening(); 1495 method public void showNotListening(); 1496 } 1497 1498 public abstract interface SpeechRecognitionCallback { 1499 method public abstract void recognizeSpeech(); 1500 } 1501 1502 class StreamingTextView extends android.widget.EditText { 1503 ctor public StreamingTextView(android.content.Context, android.util.AttributeSet); 1504 ctor public StreamingTextView(android.content.Context, android.util.AttributeSet, int); 1505 method public static boolean isLayoutRtl(android.view.View); 1506 method public void reset(); 1507 method public void setFinalRecognizedText(java.lang.CharSequence); 1508 method public void updateRecognizedText(java.lang.String, java.lang.String); 1509 method public void updateRecognizedText(java.lang.String, java.util.List<java.lang.Float>); 1510 } 1511 1512 public class TitleHelper { 1513 ctor public TitleHelper(android.view.ViewGroup, android.support.v17.leanback.widget.TitleView); 1514 method public android.support.v17.leanback.widget.BrowseFrameLayout.OnFocusSearchListener getOnFocusSearchListener(); 1515 method public android.view.ViewGroup getSceneRoot(); 1516 method public android.support.v17.leanback.widget.TitleView getTitleView(); 1517 method public void showTitle(boolean); 1518 } 1519 1520 public class TitleView extends android.widget.FrameLayout { 1521 ctor public TitleView(android.content.Context); 1522 ctor public TitleView(android.content.Context, android.util.AttributeSet); 1523 ctor public TitleView(android.content.Context, android.util.AttributeSet, int); 1524 method public void enableAnimation(boolean); 1525 method public android.graphics.drawable.Drawable getBadgeDrawable(); 1526 method public android.support.v17.leanback.widget.SearchOrbView.Colors getSearchAffordanceColors(); 1527 method public android.view.View getSearchAffordanceView(); 1528 method public java.lang.CharSequence getTitle(); 1529 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 1530 method public void setOnSearchClickedListener(android.view.View.OnClickListener); 1531 method public void setSearchAffordanceColors(android.support.v17.leanback.widget.SearchOrbView.Colors); 1532 method public void setTitle(java.lang.String); 1533 } 1534 1535 public class VerticalGridPresenter extends android.support.v17.leanback.widget.Presenter { 1536 ctor public VerticalGridPresenter(); 1537 ctor public VerticalGridPresenter(int); 1538 ctor public VerticalGridPresenter(int, boolean); 1539 method public final boolean areChildRoundedCornersEnabled(); 1540 method protected android.support.v17.leanback.widget.VerticalGridPresenter.ViewHolder createGridViewHolder(android.view.ViewGroup); 1541 method public final void enableChildRoundedCorners(boolean); 1542 method public final int getFocusZoomFactor(); 1543 method public int getNumberOfColumns(); 1544 method public final android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 1545 method public final android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 1546 method public final boolean getShadowEnabled(); 1547 method protected void initializeGridViewHolder(android.support.v17.leanback.widget.VerticalGridPresenter.ViewHolder); 1548 method public final boolean isFocusDimmerUsed(); 1549 method public boolean isUsingDefaultShadow(); 1550 method public boolean isUsingZOrder(android.content.Context); 1551 method public void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1552 method public final android.support.v17.leanback.widget.VerticalGridPresenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1553 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1554 method public void setNumberOfColumns(int); 1555 method public final void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 1556 method public final void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 1557 method public final void setShadowEnabled(boolean); 1558 } 1559 1560 public static class VerticalGridPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 1561 ctor public VerticalGridPresenter.ViewHolder(android.support.v17.leanback.widget.VerticalGridView); 1562 method public android.support.v17.leanback.widget.VerticalGridView getGridView(); 1563 } 1564 1565 public class VerticalGridView extends android.support.v7.widget.RecyclerView { 1566 ctor public VerticalGridView(android.content.Context); 1567 ctor public VerticalGridView(android.content.Context, android.util.AttributeSet); 1568 ctor public VerticalGridView(android.content.Context, android.util.AttributeSet, int); 1569 method protected void initAttributes(android.content.Context, android.util.AttributeSet); 1570 method public void setColumnWidth(int); 1571 method public void setNumColumns(int); 1572 } 1573 1574 } 1575 1576