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 int getBackgroundColor(); 738 method public final int getInitialState(); 739 method protected int getLayoutResourceId(); 740 method public android.support.v17.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 741 method public final boolean isParticipatingEntranceTransition(); 742 method public final boolean isUsingDefaultSelectEffect(); 743 method public final void notifyOnBindLogo(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder); 744 method protected void onLayoutLogo(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, boolean); 745 method protected void onLayoutOverviewFrame(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int, boolean); 746 method protected void onStateChanged(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int); 747 method public void setBackgroundColor(int); 748 method public final void setInitialState(int); 749 method public final void setListener(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.Listener); 750 method public void setOnActionClickedListener(android.support.v17.leanback.widget.OnActionClickedListener); 751 method public final void setParticipatingEntranceTransition(boolean); 752 method public final void setState(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder, int); 753 field public static final int STATE_FULL = 1; // 0x1 754 field public static final int STATE_HALF = 0; // 0x0 755 field public static final int STATE_SMALL = 2; // 0x2 756 field protected int mInitialState; 757 } 758 759 public static abstract class FullWidthDetailsOverviewRowPresenter.Listener { 760 ctor public FullWidthDetailsOverviewRowPresenter.Listener(); 761 method public void onBindLogo(android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder); 762 } 763 764 public class FullWidthDetailsOverviewRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 765 ctor public FullWidthDetailsOverviewRowPresenter.ViewHolder(android.view.View, android.support.v17.leanback.widget.Presenter, android.support.v17.leanback.widget.DetailsOverviewLogoPresenter); 766 method protected android.support.v17.leanback.widget.DetailsOverviewRow.Listener createRowListener(); 767 method public final android.view.ViewGroup getActionsRow(); 768 method public final android.view.ViewGroup getDetailsDescriptionFrame(); 769 method public final android.support.v17.leanback.widget.Presenter.ViewHolder getDetailsDescriptionViewHolder(); 770 method public final android.support.v17.leanback.widget.DetailsOverviewLogoPresenter.ViewHolder getLogoViewHolder(); 771 method public final android.view.ViewGroup getOverviewView(); 772 method public final int getState(); 773 field protected final android.os.Handler mHandler; 774 field protected final android.support.v17.leanback.widget.DetailsOverviewRow.Listener mRowListener; 775 } 776 777 public class FullWidthDetailsOverviewRowPresenter.ViewHolder.DetailsOverviewRowListener extends android.support.v17.leanback.widget.DetailsOverviewRow.Listener { 778 ctor public FullWidthDetailsOverviewRowPresenter.ViewHolder.DetailsOverviewRowListener(); 779 } 780 781 public class FullWidthDetailsOverviewSharedElementHelper extends android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.Listener { 782 ctor public FullWidthDetailsOverviewSharedElementHelper(); 783 method public boolean getAutoStartSharedElementTransition(); 784 method public void setAutoStartSharedElementTransition(boolean); 785 method public void setSharedElementEnterTransition(android.app.Activity, java.lang.String); 786 method public void setSharedElementEnterTransition(android.app.Activity, java.lang.String, long); 787 method public void startPostponedEnterTransition(); 788 } 789 790 public class GuidanceStylist implements android.support.v17.leanback.widget.FragmentAnimationProvider { 791 ctor public GuidanceStylist(); 792 method public android.widget.TextView getBreadcrumbView(); 793 method public android.widget.TextView getDescriptionView(); 794 method public android.widget.ImageView getIconView(); 795 method public android.widget.TextView getTitleView(); 796 method public void onActivityEnter(java.util.List<android.animation.Animator>); 797 method public void onActivityExit(java.util.List<android.animation.Animator>); 798 method public android.view.View onCreateView(android.view.LayoutInflater, android.view.ViewGroup, android.support.v17.leanback.widget.GuidanceStylist.Guidance); 799 method public void onFragmentEnter(java.util.List<android.animation.Animator>); 800 method public void onFragmentExit(java.util.List<android.animation.Animator>); 801 method public void onFragmentReenter(java.util.List<android.animation.Animator>); 802 method public void onFragmentReturn(java.util.List<android.animation.Animator>); 803 method public int onProvideLayoutId(); 804 } 805 806 public static class GuidanceStylist.Guidance { 807 ctor public GuidanceStylist.Guidance(java.lang.String, java.lang.String, java.lang.String, android.graphics.drawable.Drawable); 808 method public java.lang.String getBreadcrumb(); 809 method public java.lang.String getDescription(); 810 method public android.graphics.drawable.Drawable getIconDrawable(); 811 method public java.lang.String getTitle(); 812 } 813 814 public class GuidedAction extends android.support.v17.leanback.widget.Action { 815 method public int getCheckSetId(); 816 method public java.lang.CharSequence getDescription(); 817 method public android.content.Intent getIntent(); 818 method public java.lang.CharSequence getTitle(); 819 method public boolean hasMultilineDescription(); 820 method public boolean hasNext(); 821 method public boolean infoOnly(); 822 method public boolean isChecked(); 823 method public boolean isEnabled(); 824 method public void setChecked(boolean); 825 method public void setEnabled(boolean); 826 field public static final int DEFAULT_CHECK_SET_ID = 1; // 0x1 827 field public static final int NO_CHECK_SET = 0; // 0x0 828 field public static final int NO_DRAWABLE = 0; // 0x0 829 } 830 831 public static class GuidedAction.Builder { 832 ctor public GuidedAction.Builder(); 833 method public android.support.v17.leanback.widget.GuidedAction build(); 834 method public android.support.v17.leanback.widget.GuidedAction.Builder checkSetId(int); 835 method public android.support.v17.leanback.widget.GuidedAction.Builder checked(boolean); 836 method public android.support.v17.leanback.widget.GuidedAction.Builder description(java.lang.String); 837 method public android.support.v17.leanback.widget.GuidedAction.Builder enabled(boolean); 838 method public android.support.v17.leanback.widget.GuidedAction.Builder hasNext(boolean); 839 method public android.support.v17.leanback.widget.GuidedAction.Builder icon(android.graphics.drawable.Drawable); 840 method public android.support.v17.leanback.widget.GuidedAction.Builder iconResourceId(int, android.content.Context); 841 method public android.support.v17.leanback.widget.GuidedAction.Builder id(long); 842 method public android.support.v17.leanback.widget.GuidedAction.Builder infoOnly(boolean); 843 method public android.support.v17.leanback.widget.GuidedAction.Builder intent(android.content.Intent); 844 method public android.support.v17.leanback.widget.GuidedAction.Builder multilineDescription(boolean); 845 method public android.support.v17.leanback.widget.GuidedAction.Builder title(java.lang.String); 846 } 847 848 public class GuidedActionsStylist implements android.support.v17.leanback.widget.FragmentAnimationProvider { 849 ctor public GuidedActionsStylist(); 850 method public android.support.v17.leanback.widget.VerticalGridView getActionsGridView(); 851 method public void onActivityEnter(java.util.List<android.animation.Animator>); 852 method public void onActivityExit(java.util.List<android.animation.Animator>); 853 method public void onAnimateItemChecked(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 854 method public void onAnimateItemFocused(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 855 method public void onAnimateItemPressed(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 856 method public void onBindViewHolder(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, android.support.v17.leanback.widget.GuidedAction); 857 method public android.view.View onCreateView(android.view.LayoutInflater, android.view.ViewGroup); 858 method public android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder onCreateViewHolder(android.view.ViewGroup); 859 method public void onFragmentEnter(java.util.List<android.animation.Animator>); 860 method public void onFragmentExit(java.util.List<android.animation.Animator>); 861 method public void onFragmentReenter(java.util.List<android.animation.Animator>); 862 method public void onFragmentReturn(java.util.List<android.animation.Animator>); 863 method public int onProvideItemLayoutId(); 864 method public int onProvideLayoutId(); 865 field protected android.support.v17.leanback.widget.VerticalGridView mActionsGridView; 866 field protected android.view.View mMainView; 867 field protected android.view.View mSelectorView; 868 } 869 870 public static class GuidedActionsStylist.ViewHolder { 871 ctor public GuidedActionsStylist.ViewHolder(android.view.View); 872 method public android.widget.ImageView getCheckmarkView(); 873 method public android.widget.ImageView getChevronView(); 874 method public android.view.View getContentView(); 875 method public android.widget.TextView getDescriptionView(); 876 method public android.widget.ImageView getIconView(); 877 method public android.widget.TextView getTitleView(); 878 field public final android.view.View view; 879 } 880 881 public class HeaderItem { 882 ctor public HeaderItem(long, java.lang.String); 883 ctor public HeaderItem(java.lang.String); 884 method public final long getId(); 885 method public final java.lang.String getName(); 886 } 887 888 public class HorizontalGridView extends android.support.v7.widget.RecyclerView { 889 ctor public HorizontalGridView(android.content.Context); 890 ctor public HorizontalGridView(android.content.Context, android.util.AttributeSet); 891 ctor public HorizontalGridView(android.content.Context, android.util.AttributeSet, int); 892 method public final boolean getFadingLeftEdge(); 893 method public final int getFadingLeftEdgeLength(); 894 method public final int getFadingLeftEdgeOffset(); 895 method public final boolean getFadingRightEdge(); 896 method public final int getFadingRightEdgeLength(); 897 method public final int getFadingRightEdgeOffset(); 898 method protected void initAttributes(android.content.Context, android.util.AttributeSet); 899 method public final void setFadingLeftEdge(boolean); 900 method public final void setFadingLeftEdgeLength(int); 901 method public final void setFadingLeftEdgeOffset(int); 902 method public final void setFadingRightEdge(boolean); 903 method public final void setFadingRightEdgeLength(int); 904 method public final void setFadingRightEdgeOffset(int); 905 method public void setNumRows(int); 906 method public void setRowHeight(int); 907 } 908 909 public final class HorizontalHoverCardSwitcher extends android.support.v17.leanback.widget.PresenterSwitcher { 910 ctor public HorizontalHoverCardSwitcher(); 911 method protected void insertView(android.view.View); 912 method public void select(android.support.v17.leanback.widget.HorizontalGridView, android.view.View, java.lang.Object); 913 } 914 915 public class ImageCardView extends android.support.v17.leanback.widget.BaseCardView { 916 ctor public ImageCardView(android.content.Context); 917 ctor public ImageCardView(android.content.Context, android.util.AttributeSet); 918 ctor public ImageCardView(android.content.Context, android.util.AttributeSet, int); 919 method public android.graphics.drawable.Drawable getBadgeImage(); 920 method public java.lang.CharSequence getContentText(); 921 method public android.graphics.drawable.Drawable getInfoAreaBackground(); 922 method public android.graphics.drawable.Drawable getMainImage(); 923 method public final android.widget.ImageView getMainImageView(); 924 method public java.lang.CharSequence getTitleText(); 925 method public void setBadgeImage(android.graphics.drawable.Drawable); 926 method public void setContentText(java.lang.CharSequence); 927 method public void setInfoAreaBackground(android.graphics.drawable.Drawable); 928 method public void setInfoAreaBackgroundColor(int); 929 method public void setMainImage(android.graphics.drawable.Drawable); 930 method public void setMainImage(android.graphics.drawable.Drawable, boolean); 931 method public void setMainImageAdjustViewBounds(boolean); 932 method public void setMainImageDimensions(int, int); 933 method public void setMainImageScaleType(android.widget.ImageView.ScaleType); 934 method public void setTitleText(java.lang.CharSequence); 935 } 936 937 public final class ItemAlignmentFacet { 938 ctor public ItemAlignmentFacet(); 939 method public android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[] getAlignmentDefs(); 940 method public boolean isMultiAlignment(); 941 method public void setAlignmentDefs(android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef[]); 942 field public static final float ITEM_ALIGN_OFFSET_PERCENT_DISABLED = -1.0f; 943 } 944 945 public static class ItemAlignmentFacet.ItemAlignmentDef { 946 ctor public ItemAlignmentFacet.ItemAlignmentDef(); 947 method public final int getItemAlignmentFocusViewId(); 948 method public final int getItemAlignmentOffset(); 949 method public final float getItemAlignmentOffsetPercent(); 950 method public final int getItemAlignmentViewId(); 951 method public final boolean isItemAlignmentOffsetWithPadding(); 952 method public final void setItemAlignmentFocusViewId(int); 953 method public final void setItemAlignmentOffset(int); 954 method public final void setItemAlignmentOffsetPercent(float); 955 method public final void setItemAlignmentOffsetWithPadding(boolean); 956 method public final void setItemAlignmentViewId(int); 957 } 958 959 public class ItemBridgeAdapter extends android.support.v7.widget.RecyclerView.Adapter implements android.support.v17.leanback.widget.FacetProviderAdapter { 960 ctor public ItemBridgeAdapter(android.support.v17.leanback.widget.ObjectAdapter, android.support.v17.leanback.widget.PresenterSelector); 961 ctor public ItemBridgeAdapter(android.support.v17.leanback.widget.ObjectAdapter); 962 ctor public ItemBridgeAdapter(); 963 method public void clear(); 964 method public android.support.v17.leanback.widget.FacetProvider getFacetProvider(int); 965 method public int getItemCount(); 966 method public java.util.ArrayList<android.support.v17.leanback.widget.Presenter> getPresenterMapper(); 967 method public android.support.v17.leanback.widget.ItemBridgeAdapter.Wrapper getWrapper(); 968 method protected void onAddPresenter(android.support.v17.leanback.widget.Presenter, int); 969 method protected void onAttachedToWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 970 method protected void onBind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 971 method public final void onBindViewHolder(android.support.v7.widget.RecyclerView.ViewHolder, int); 972 method protected void onCreate(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 973 method public final android.support.v7.widget.RecyclerView.ViewHolder onCreateViewHolder(android.view.ViewGroup, int); 974 method protected void onDetachedFromWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 975 method protected void onUnbind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 976 method public final void onViewAttachedToWindow(android.support.v7.widget.RecyclerView.ViewHolder); 977 method public final void onViewDetachedFromWindow(android.support.v7.widget.RecyclerView.ViewHolder); 978 method public final void onViewRecycled(android.support.v7.widget.RecyclerView.ViewHolder); 979 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 980 method public void setAdapterListener(android.support.v17.leanback.widget.ItemBridgeAdapter.AdapterListener); 981 method public void setPresenterMapper(java.util.ArrayList<android.support.v17.leanback.widget.Presenter>); 982 method public void setWrapper(android.support.v17.leanback.widget.ItemBridgeAdapter.Wrapper); 983 } 984 985 public static class ItemBridgeAdapter.AdapterListener { 986 ctor public ItemBridgeAdapter.AdapterListener(); 987 method public void onAddPresenter(android.support.v17.leanback.widget.Presenter, int); 988 method public void onAttachedToWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 989 method public void onBind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 990 method public void onCreate(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 991 method public void onDetachedFromWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 992 method public void onUnbind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 993 } 994 995 public class ItemBridgeAdapter.ViewHolder extends android.support.v7.widget.RecyclerView.ViewHolder implements android.support.v17.leanback.widget.FacetProvider { 996 method public final java.lang.Object getExtraObject(); 997 method public java.lang.Object getFacet(java.lang.Class<?>); 998 method public final java.lang.Object getItem(); 999 method public final android.support.v17.leanback.widget.Presenter getPresenter(); 1000 method public final android.support.v17.leanback.widget.Presenter.ViewHolder getViewHolder(); 1001 method public void setExtraObject(java.lang.Object); 1002 } 1003 1004 public static abstract class ItemBridgeAdapter.Wrapper { 1005 ctor public ItemBridgeAdapter.Wrapper(); 1006 method public abstract android.view.View createWrapper(android.view.View); 1007 method public abstract void wrap(android.view.View, android.view.View); 1008 } 1009 1010 public class ListRow extends android.support.v17.leanback.widget.Row { 1011 ctor public ListRow(android.support.v17.leanback.widget.HeaderItem, android.support.v17.leanback.widget.ObjectAdapter); 1012 ctor public ListRow(long, android.support.v17.leanback.widget.HeaderItem, android.support.v17.leanback.widget.ObjectAdapter); 1013 ctor public ListRow(android.support.v17.leanback.widget.ObjectAdapter); 1014 method public final android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 1015 } 1016 1017 public final class ListRowHoverCardView extends android.widget.LinearLayout { 1018 ctor public ListRowHoverCardView(android.content.Context); 1019 ctor public ListRowHoverCardView(android.content.Context, android.util.AttributeSet); 1020 ctor public ListRowHoverCardView(android.content.Context, android.util.AttributeSet, int); 1021 method public final java.lang.CharSequence getDescription(); 1022 method public final java.lang.CharSequence getTitle(); 1023 method public final void setDescription(java.lang.CharSequence); 1024 method public final void setTitle(java.lang.CharSequence); 1025 } 1026 1027 public class ListRowPresenter extends android.support.v17.leanback.widget.RowPresenter { 1028 ctor public ListRowPresenter(); 1029 ctor public ListRowPresenter(int); 1030 ctor public ListRowPresenter(int, boolean); 1031 method public final boolean areChildRoundedCornersEnabled(); 1032 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1033 method public final void enableChildRoundedCorners(boolean); 1034 method public int getExpandedRowHeight(); 1035 method public final int getFocusZoomFactor(); 1036 method public final android.support.v17.leanback.widget.PresenterSelector getHoverCardPresenterSelector(); 1037 method public int getRecycledPoolSize(android.support.v17.leanback.widget.Presenter); 1038 method public int getRowHeight(); 1039 method public final boolean getShadowEnabled(); 1040 method public final deprecated int getZoomFactor(); 1041 method public final boolean isFocusDimmerUsed(); 1042 method public boolean isUsingDefaultListSelectEffect(); 1043 method public final boolean isUsingDefaultSelectEffect(); 1044 method public boolean isUsingDefaultShadow(); 1045 method public boolean isUsingZOrder(android.content.Context); 1046 method public void setExpandedRowHeight(int); 1047 method public final void setHoverCardPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 1048 method public void setRecycledPoolSize(android.support.v17.leanback.widget.Presenter, int); 1049 method public void setRowHeight(int); 1050 method public final void setShadowEnabled(boolean); 1051 } 1052 1053 public static class ListRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 1054 ctor public ListRowPresenter.ViewHolder(android.view.View, android.support.v17.leanback.widget.HorizontalGridView, android.support.v17.leanback.widget.ListRowPresenter); 1055 method public final android.support.v17.leanback.widget.ItemBridgeAdapter getBridgeAdapter(); 1056 method public final android.support.v17.leanback.widget.HorizontalGridView getGridView(); 1057 method public final android.support.v17.leanback.widget.ListRowPresenter getListRowPresenter(); 1058 } 1059 1060 public final class ListRowView extends android.widget.LinearLayout { 1061 ctor public ListRowView(android.content.Context); 1062 ctor public ListRowView(android.content.Context, android.util.AttributeSet); 1063 ctor public ListRowView(android.content.Context, android.util.AttributeSet, int); 1064 method public android.support.v17.leanback.widget.HorizontalGridView getGridView(); 1065 } 1066 1067 public abstract class ObjectAdapter { 1068 ctor public ObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 1069 ctor public ObjectAdapter(android.support.v17.leanback.widget.Presenter); 1070 ctor public ObjectAdapter(); 1071 method public abstract java.lang.Object get(int); 1072 method public long getId(int); 1073 method public final android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 1074 method public final android.support.v17.leanback.widget.PresenterSelector getPresenterSelector(); 1075 method public final boolean hasStableIds(); 1076 method protected final void notifyChanged(); 1077 method protected final void notifyItemRangeChanged(int, int); 1078 method protected final void notifyItemRangeInserted(int, int); 1079 method protected final void notifyItemRangeRemoved(int, int); 1080 method protected void onHasStableIdsChanged(); 1081 method protected void onPresenterSelectorChanged(); 1082 method public final void registerObserver(android.support.v17.leanback.widget.ObjectAdapter.DataObserver); 1083 method public final void setHasStableIds(boolean); 1084 method public final void setPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 1085 method public abstract int size(); 1086 method public final void unregisterAllObservers(); 1087 method public final void unregisterObserver(android.support.v17.leanback.widget.ObjectAdapter.DataObserver); 1088 field public static final int NO_ID = -1; // 0xffffffff 1089 } 1090 1091 public static abstract class ObjectAdapter.DataObserver { 1092 ctor public ObjectAdapter.DataObserver(); 1093 method public void onChanged(); 1094 method public void onItemRangeChanged(int, int); 1095 method public void onItemRangeInserted(int, int); 1096 method public void onItemRangeRemoved(int, int); 1097 } 1098 1099 public abstract interface OnActionClickedListener { 1100 method public abstract void onActionClicked(android.support.v17.leanback.widget.Action); 1101 } 1102 1103 public abstract interface OnChildLaidOutListener { 1104 method public abstract void onChildLaidOut(android.view.ViewGroup, android.view.View, int, long); 1105 } 1106 1107 public abstract deprecated interface OnChildSelectedListener { 1108 method public abstract void onChildSelected(android.view.ViewGroup, android.view.View, int, long); 1109 } 1110 1111 public abstract class OnChildViewHolderSelectedListener { 1112 ctor public OnChildViewHolderSelectedListener(); 1113 method public void onChildViewHolderSelected(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder, int, int); 1114 } 1115 1116 public abstract interface OnItemViewClickedListener { 1117 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); 1118 } 1119 1120 public abstract interface OnItemViewSelectedListener { 1121 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); 1122 } 1123 1124 public class PlaybackControlsRow extends android.support.v17.leanback.widget.Row { 1125 ctor public PlaybackControlsRow(java.lang.Object); 1126 ctor public PlaybackControlsRow(); 1127 method public android.support.v17.leanback.widget.Action getActionForKeyCode(int); 1128 method public android.support.v17.leanback.widget.Action getActionForKeyCode(android.support.v17.leanback.widget.ObjectAdapter, int); 1129 method public int getBufferedProgress(); 1130 method public int getCurrentTime(); 1131 method public final android.graphics.drawable.Drawable getImageDrawable(); 1132 method public final java.lang.Object getItem(); 1133 method public final android.support.v17.leanback.widget.ObjectAdapter getPrimaryActionsAdapter(); 1134 method public final android.support.v17.leanback.widget.ObjectAdapter getSecondaryActionsAdapter(); 1135 method public int getTotalTime(); 1136 method public void setBufferedProgress(int); 1137 method public void setCurrentTime(int); 1138 method public final void setImageBitmap(android.content.Context, android.graphics.Bitmap); 1139 method public final void setImageDrawable(android.graphics.drawable.Drawable); 1140 method public final void setPrimaryActionsAdapter(android.support.v17.leanback.widget.ObjectAdapter); 1141 method public final void setSecondaryActionsAdapter(android.support.v17.leanback.widget.ObjectAdapter); 1142 method public void setTotalTime(int); 1143 } 1144 1145 public static class PlaybackControlsRow.ClosedCaptioningAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1146 ctor public PlaybackControlsRow.ClosedCaptioningAction(android.content.Context); 1147 ctor public PlaybackControlsRow.ClosedCaptioningAction(android.content.Context, int); 1148 field public static int OFF; 1149 field public static int ON; 1150 } 1151 1152 public static class PlaybackControlsRow.FastForwardAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1153 ctor public PlaybackControlsRow.FastForwardAction(android.content.Context); 1154 ctor public PlaybackControlsRow.FastForwardAction(android.content.Context, int); 1155 } 1156 1157 public static class PlaybackControlsRow.HighQualityAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1158 ctor public PlaybackControlsRow.HighQualityAction(android.content.Context); 1159 ctor public PlaybackControlsRow.HighQualityAction(android.content.Context, int); 1160 field public static int OFF; 1161 field public static int ON; 1162 } 1163 1164 public static class PlaybackControlsRow.MoreActions extends android.support.v17.leanback.widget.Action { 1165 ctor public PlaybackControlsRow.MoreActions(android.content.Context); 1166 } 1167 1168 public static abstract class PlaybackControlsRow.MultiAction extends android.support.v17.leanback.widget.Action { 1169 ctor public PlaybackControlsRow.MultiAction(int); 1170 method public int getActionCount(); 1171 method public android.graphics.drawable.Drawable getDrawable(int); 1172 method public int getIndex(); 1173 method public java.lang.String getLabel(int); 1174 method public java.lang.String getSecondaryLabel(int); 1175 method public void nextIndex(); 1176 method public void setDrawables(android.graphics.drawable.Drawable[]); 1177 method public void setIndex(int); 1178 method public void setLabels(java.lang.String[]); 1179 method public void setSecondaryLabels(java.lang.String[]); 1180 } 1181 1182 public static class PlaybackControlsRow.PlayPauseAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1183 ctor public PlaybackControlsRow.PlayPauseAction(android.content.Context); 1184 field public static int PAUSE; 1185 field public static int PLAY; 1186 } 1187 1188 public static class PlaybackControlsRow.RepeatAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1189 ctor public PlaybackControlsRow.RepeatAction(android.content.Context); 1190 ctor public PlaybackControlsRow.RepeatAction(android.content.Context, int); 1191 ctor public PlaybackControlsRow.RepeatAction(android.content.Context, int, int); 1192 field public static int ALL; 1193 field public static int NONE; 1194 field public static int ONE; 1195 } 1196 1197 public static class PlaybackControlsRow.RewindAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1198 ctor public PlaybackControlsRow.RewindAction(android.content.Context); 1199 ctor public PlaybackControlsRow.RewindAction(android.content.Context, int); 1200 } 1201 1202 public static class PlaybackControlsRow.ShuffleAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1203 ctor public PlaybackControlsRow.ShuffleAction(android.content.Context); 1204 ctor public PlaybackControlsRow.ShuffleAction(android.content.Context, int); 1205 field public static int OFF; 1206 field public static int ON; 1207 } 1208 1209 public static class PlaybackControlsRow.SkipNextAction extends android.support.v17.leanback.widget.Action { 1210 ctor public PlaybackControlsRow.SkipNextAction(android.content.Context); 1211 } 1212 1213 public static class PlaybackControlsRow.SkipPreviousAction extends android.support.v17.leanback.widget.Action { 1214 ctor public PlaybackControlsRow.SkipPreviousAction(android.content.Context); 1215 } 1216 1217 public static abstract class PlaybackControlsRow.ThumbsAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1218 ctor public PlaybackControlsRow.ThumbsAction(int, android.content.Context, int, int); 1219 field public static int OUTLINE; 1220 field public static int SOLID; 1221 } 1222 1223 public static class PlaybackControlsRow.ThumbsDownAction extends android.support.v17.leanback.widget.PlaybackControlsRow.ThumbsAction { 1224 ctor public PlaybackControlsRow.ThumbsDownAction(android.content.Context); 1225 } 1226 1227 public static class PlaybackControlsRow.ThumbsUpAction extends android.support.v17.leanback.widget.PlaybackControlsRow.ThumbsAction { 1228 ctor public PlaybackControlsRow.ThumbsUpAction(android.content.Context); 1229 } 1230 1231 public class PlaybackControlsRowPresenter extends android.support.v17.leanback.widget.RowPresenter { 1232 ctor public PlaybackControlsRowPresenter(android.support.v17.leanback.widget.Presenter); 1233 ctor public PlaybackControlsRowPresenter(); 1234 method public boolean areSecondaryActionsHidden(); 1235 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1236 method public int getBackgroundColor(); 1237 method public android.support.v17.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 1238 method public int getProgressColor(); 1239 method public void setBackgroundColor(int); 1240 method public void setOnActionClickedListener(android.support.v17.leanback.widget.OnActionClickedListener); 1241 method public void setProgressColor(int); 1242 method public void setSecondaryActionsHidden(boolean); 1243 method public void showBottomSpace(android.support.v17.leanback.widget.PlaybackControlsRowPresenter.ViewHolder, boolean); 1244 method public void showPrimaryActions(android.support.v17.leanback.widget.PlaybackControlsRowPresenter.ViewHolder); 1245 } 1246 1247 public class PlaybackControlsRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 1248 field public final android.support.v17.leanback.widget.Presenter.ViewHolder mDescriptionViewHolder; 1249 } 1250 1251 public abstract class Presenter implements android.support.v17.leanback.widget.FacetProvider { 1252 ctor public Presenter(); 1253 method protected static void cancelAnimationsRecursive(android.view.View); 1254 method public final java.lang.Object getFacet(java.lang.Class<?>); 1255 method public abstract void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1256 method public abstract android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1257 method public abstract void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1258 method public void onViewAttachedToWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1259 method public void onViewDetachedFromWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1260 method public final void setFacet(java.lang.Class<?>, java.lang.Object); 1261 method public void setOnClickListener(android.support.v17.leanback.widget.Presenter.ViewHolder, android.view.View.OnClickListener); 1262 } 1263 1264 public static class Presenter.ViewHolder implements android.support.v17.leanback.widget.FacetProvider { 1265 ctor public Presenter.ViewHolder(android.view.View); 1266 method public final java.lang.Object getFacet(java.lang.Class<?>); 1267 method public final void setFacet(java.lang.Class<?>, java.lang.Object); 1268 field public final android.view.View view; 1269 } 1270 1271 public abstract class PresenterSelector { 1272 ctor public PresenterSelector(); 1273 method public abstract android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 1274 method public android.support.v17.leanback.widget.Presenter[] getPresenters(); 1275 } 1276 1277 public abstract class PresenterSwitcher { 1278 ctor public PresenterSwitcher(); 1279 method public void clear(); 1280 method public final android.view.ViewGroup getParentViewGroup(); 1281 method public void init(android.view.ViewGroup, android.support.v17.leanback.widget.PresenterSelector); 1282 method protected abstract void insertView(android.view.View); 1283 method protected void onViewSelected(android.view.View); 1284 method public void select(java.lang.Object); 1285 method protected void showView(android.view.View, boolean); 1286 method public void unselect(); 1287 } 1288 1289 public class Row { 1290 ctor public Row(long, android.support.v17.leanback.widget.HeaderItem); 1291 ctor public Row(android.support.v17.leanback.widget.HeaderItem); 1292 ctor public Row(); 1293 method public final android.support.v17.leanback.widget.HeaderItem getHeaderItem(); 1294 method public final long getId(); 1295 method public final void setHeaderItem(android.support.v17.leanback.widget.HeaderItem); 1296 method public final void setId(long); 1297 } 1298 1299 public class RowHeaderPresenter extends android.support.v17.leanback.widget.Presenter { 1300 ctor public RowHeaderPresenter(); 1301 method protected static float getFontDescent(android.widget.TextView, android.graphics.Paint); 1302 method public int getSpaceUnderBaseline(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder); 1303 method public boolean isNullItemVisibilityGone(); 1304 method public void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1305 method public android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1306 method protected void onSelectLevelChanged(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder); 1307 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1308 method public void setNullItemVisibilityGone(boolean); 1309 method public final void setSelectLevel(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder, float); 1310 } 1311 1312 public static class RowHeaderPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 1313 ctor public RowHeaderPresenter.ViewHolder(android.view.View); 1314 method public final float getSelectLevel(); 1315 } 1316 1317 public final class RowHeaderView extends android.widget.TextView { 1318 ctor public RowHeaderView(android.content.Context); 1319 ctor public RowHeaderView(android.content.Context, android.util.AttributeSet); 1320 ctor public RowHeaderView(android.content.Context, android.util.AttributeSet, int); 1321 } 1322 1323 public abstract class RowPresenter extends android.support.v17.leanback.widget.Presenter { 1324 ctor public RowPresenter(); 1325 method public boolean canDrawOutOfBounds(); 1326 method protected abstract android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1327 method protected void dispatchItemSelectedListener(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1328 method public void freeze(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1329 method public final android.support.v17.leanback.widget.RowHeaderPresenter getHeaderPresenter(); 1330 method public final android.support.v17.leanback.widget.RowPresenter.ViewHolder getRowViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1331 method public final boolean getSelectEffectEnabled(); 1332 method public final float getSelectLevel(android.support.v17.leanback.widget.Presenter.ViewHolder); 1333 method public final int getSyncActivatePolicy(); 1334 method protected void initializeRowViewHolder(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1335 method protected boolean isClippingChildren(); 1336 method public boolean isUsingDefaultSelectEffect(); 1337 method protected void onBindRowViewHolder(android.support.v17.leanback.widget.RowPresenter.ViewHolder, java.lang.Object); 1338 method public final void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1339 method public final android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1340 method protected void onRowViewAttachedToWindow(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1341 method protected void onRowViewDetachedFromWindow(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1342 method protected void onRowViewExpanded(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1343 method protected void onRowViewSelected(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1344 method protected void onSelectLevelChanged(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1345 method protected void onUnbindRowViewHolder(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1346 method public final void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1347 method public final void onViewAttachedToWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1348 method public final void onViewDetachedFromWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1349 method public void setEntranceTransitionState(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1350 method public final void setHeaderPresenter(android.support.v17.leanback.widget.RowHeaderPresenter); 1351 method public final void setRowViewExpanded(android.support.v17.leanback.widget.Presenter.ViewHolder, boolean); 1352 method public final void setRowViewSelected(android.support.v17.leanback.widget.Presenter.ViewHolder, boolean); 1353 method public final void setSelectEffectEnabled(boolean); 1354 method public final void setSelectLevel(android.support.v17.leanback.widget.Presenter.ViewHolder, float); 1355 method public final void setSyncActivatePolicy(int); 1356 field public static final int SYNC_ACTIVATED_CUSTOM = 0; // 0x0 1357 field public static final int SYNC_ACTIVATED_TO_EXPANDED = 1; // 0x1 1358 field public static final int SYNC_ACTIVATED_TO_EXPANDED_AND_SELECTED = 3; // 0x3 1359 field public static final int SYNC_ACTIVATED_TO_SELECTED = 2; // 0x2 1360 } 1361 1362 public static class RowPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 1363 ctor public RowPresenter.ViewHolder(android.view.View); 1364 method public final android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder getHeaderViewHolder(); 1365 method public final android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 1366 method public final android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 1367 method public android.view.View.OnKeyListener getOnKeyListener(); 1368 method public final android.support.v17.leanback.widget.Row getRow(); 1369 method public final float getSelectLevel(); 1370 method public final boolean isExpanded(); 1371 method public final boolean isSelected(); 1372 method public final void setActivated(boolean); 1373 method public final void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 1374 method public final void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 1375 method public void setOnKeyListener(android.view.View.OnKeyListener); 1376 method public final void syncActivatedStatus(android.view.View); 1377 field protected final android.support.v17.leanback.graphics.ColorOverlayDimmer mColorDimmer; 1378 } 1379 1380 public class SearchBar extends android.widget.RelativeLayout { 1381 ctor public SearchBar(android.content.Context); 1382 ctor public SearchBar(android.content.Context, android.util.AttributeSet); 1383 ctor public SearchBar(android.content.Context, android.util.AttributeSet, int); 1384 method public void displayCompletions(java.util.List<java.lang.String>); 1385 method public android.graphics.drawable.Drawable getBadgeDrawable(); 1386 method public java.lang.CharSequence getHint(); 1387 method public java.lang.String getTitle(); 1388 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 1389 method public void setSearchBarListener(android.support.v17.leanback.widget.SearchBar.SearchBarListener); 1390 method public void setSearchQuery(java.lang.String); 1391 method public void setSpeechRecognitionCallback(android.support.v17.leanback.widget.SpeechRecognitionCallback); 1392 method public void setSpeechRecognizer(android.speech.SpeechRecognizer); 1393 method public void setTitle(java.lang.String); 1394 method public void startRecognition(); 1395 method public void stopRecognition(); 1396 } 1397 1398 public static abstract interface SearchBar.SearchBarListener { 1399 method public abstract void onKeyboardDismiss(java.lang.String); 1400 method public abstract void onSearchQueryChange(java.lang.String); 1401 method public abstract void onSearchQuerySubmit(java.lang.String); 1402 } 1403 1404 public class SearchEditText extends android.support.v17.leanback.widget.StreamingTextView { 1405 ctor public SearchEditText(android.content.Context); 1406 ctor public SearchEditText(android.content.Context, android.util.AttributeSet); 1407 ctor public SearchEditText(android.content.Context, android.util.AttributeSet, int); 1408 method public void setOnKeyboardDismissListener(android.support.v17.leanback.widget.SearchEditText.OnKeyboardDismissListener); 1409 } 1410 1411 public static abstract interface SearchEditText.OnKeyboardDismissListener { 1412 method public abstract void onKeyboardDismiss(); 1413 } 1414 1415 public class SearchOrbView extends android.widget.FrameLayout implements android.view.View.OnClickListener { 1416 ctor public SearchOrbView(android.content.Context); 1417 ctor public SearchOrbView(android.content.Context, android.util.AttributeSet); 1418 ctor public SearchOrbView(android.content.Context, android.util.AttributeSet, int); 1419 method public void enableOrbColorAnimation(boolean); 1420 method public int getOrbColor(); 1421 method public android.support.v17.leanback.widget.SearchOrbView.Colors getOrbColors(); 1422 method public android.graphics.drawable.Drawable getOrbIcon(); 1423 method public void onClick(android.view.View); 1424 method public void setOnOrbClickedListener(android.view.View.OnClickListener); 1425 method public void setOrbColor(int); 1426 method public deprecated void setOrbColor(int, int); 1427 method public void setOrbColors(android.support.v17.leanback.widget.SearchOrbView.Colors); 1428 method public void setOrbIcon(android.graphics.drawable.Drawable); 1429 } 1430 1431 public static class SearchOrbView.Colors { 1432 ctor public SearchOrbView.Colors(int); 1433 ctor public SearchOrbView.Colors(int, int); 1434 ctor public SearchOrbView.Colors(int, int, int); 1435 method public static int getBrightColor(int); 1436 field public int brightColor; 1437 field public int color; 1438 field public int iconColor; 1439 } 1440 1441 public class ShadowOverlayContainer extends android.view.ViewGroup { 1442 ctor public ShadowOverlayContainer(android.content.Context); 1443 ctor public ShadowOverlayContainer(android.content.Context, android.util.AttributeSet); 1444 ctor public ShadowOverlayContainer(android.content.Context, android.util.AttributeSet, int); 1445 method public int getShadowType(); 1446 method public android.view.View getWrappedView(); 1447 method public deprecated void initialize(boolean, boolean); 1448 method public void initialize(boolean, boolean, boolean); 1449 method protected void onLayout(boolean, int, int, int, int); 1450 method public static void prepareParentForShadow(android.view.ViewGroup); 1451 method public void setOverlayColor(int); 1452 method public void setShadowFocusLevel(float); 1453 method public static boolean supportsDynamicShadow(); 1454 method public static boolean supportsShadow(); 1455 method public void useDynamicShadow(); 1456 method public void useDynamicShadow(float, float); 1457 method public void useStaticShadow(); 1458 method public void wrap(android.view.View); 1459 field public static final int SHADOW_DYNAMIC = 3; // 0x3 1460 field public static final int SHADOW_NONE = 1; // 0x1 1461 field public static final int SHADOW_STATIC = 2; // 0x2 1462 } 1463 1464 public final class SinglePresenterSelector extends android.support.v17.leanback.widget.PresenterSelector { 1465 ctor public SinglePresenterSelector(android.support.v17.leanback.widget.Presenter); 1466 method public android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 1467 } 1468 1469 public class SparseArrayObjectAdapter extends android.support.v17.leanback.widget.ObjectAdapter { 1470 ctor public SparseArrayObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 1471 ctor public SparseArrayObjectAdapter(android.support.v17.leanback.widget.Presenter); 1472 ctor public SparseArrayObjectAdapter(); 1473 method public void clear(int); 1474 method public void clear(); 1475 method public java.lang.Object get(int); 1476 method public int indexOf(java.lang.Object); 1477 method public int indexOf(int); 1478 method public java.lang.Object lookup(int); 1479 method public void notifyArrayItemRangeChanged(int, int); 1480 method public void set(int, java.lang.Object); 1481 method public int size(); 1482 } 1483 1484 public class SpeechOrbView extends android.support.v17.leanback.widget.SearchOrbView { 1485 ctor public SpeechOrbView(android.content.Context); 1486 ctor public SpeechOrbView(android.content.Context, android.util.AttributeSet); 1487 ctor public SpeechOrbView(android.content.Context, android.util.AttributeSet, int); 1488 method public void setSoundLevel(int); 1489 method public void showListening(); 1490 method public void showNotListening(); 1491 } 1492 1493 public abstract interface SpeechRecognitionCallback { 1494 method public abstract void recognizeSpeech(); 1495 } 1496 1497 class StreamingTextView extends android.widget.EditText { 1498 ctor public StreamingTextView(android.content.Context, android.util.AttributeSet); 1499 ctor public StreamingTextView(android.content.Context, android.util.AttributeSet, int); 1500 method public static boolean isLayoutRtl(android.view.View); 1501 method public void reset(); 1502 method public void setFinalRecognizedText(java.lang.CharSequence); 1503 method public void updateRecognizedText(java.lang.String, java.lang.String); 1504 method public void updateRecognizedText(java.lang.String, java.util.List<java.lang.Float>); 1505 } 1506 1507 public class TitleHelper { 1508 ctor public TitleHelper(android.view.ViewGroup, android.support.v17.leanback.widget.TitleView); 1509 method public android.support.v17.leanback.widget.BrowseFrameLayout.OnFocusSearchListener getOnFocusSearchListener(); 1510 method public android.view.ViewGroup getSceneRoot(); 1511 method public android.support.v17.leanback.widget.TitleView getTitleView(); 1512 method public void showTitle(boolean); 1513 } 1514 1515 public class TitleView extends android.widget.FrameLayout { 1516 ctor public TitleView(android.content.Context); 1517 ctor public TitleView(android.content.Context, android.util.AttributeSet); 1518 ctor public TitleView(android.content.Context, android.util.AttributeSet, int); 1519 method public void enableAnimation(boolean); 1520 method public android.graphics.drawable.Drawable getBadgeDrawable(); 1521 method public android.support.v17.leanback.widget.SearchOrbView.Colors getSearchAffordanceColors(); 1522 method public android.view.View getSearchAffordanceView(); 1523 method public java.lang.CharSequence getTitle(); 1524 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 1525 method public void setOnSearchClickedListener(android.view.View.OnClickListener); 1526 method public void setSearchAffordanceColors(android.support.v17.leanback.widget.SearchOrbView.Colors); 1527 method public void setTitle(java.lang.String); 1528 } 1529 1530 public class VerticalGridPresenter extends android.support.v17.leanback.widget.Presenter { 1531 ctor public VerticalGridPresenter(); 1532 ctor public VerticalGridPresenter(int); 1533 ctor public VerticalGridPresenter(int, boolean); 1534 method public final boolean areChildRoundedCornersEnabled(); 1535 method protected android.support.v17.leanback.widget.VerticalGridPresenter.ViewHolder createGridViewHolder(android.view.ViewGroup); 1536 method public final void enableChildRoundedCorners(boolean); 1537 method public final int getFocusZoomFactor(); 1538 method public int getNumberOfColumns(); 1539 method public final android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 1540 method public final android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 1541 method public final boolean getShadowEnabled(); 1542 method protected void initializeGridViewHolder(android.support.v17.leanback.widget.VerticalGridPresenter.ViewHolder); 1543 method public final boolean isFocusDimmerUsed(); 1544 method public boolean isUsingDefaultShadow(); 1545 method public boolean isUsingZOrder(android.content.Context); 1546 method public void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1547 method public final android.support.v17.leanback.widget.VerticalGridPresenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1548 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1549 method public void setNumberOfColumns(int); 1550 method public final void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 1551 method public final void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 1552 method public final void setShadowEnabled(boolean); 1553 } 1554 1555 public static class VerticalGridPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 1556 ctor public VerticalGridPresenter.ViewHolder(android.support.v17.leanback.widget.VerticalGridView); 1557 method public android.support.v17.leanback.widget.VerticalGridView getGridView(); 1558 } 1559 1560 public class VerticalGridView extends android.support.v7.widget.RecyclerView { 1561 ctor public VerticalGridView(android.content.Context); 1562 ctor public VerticalGridView(android.content.Context, android.util.AttributeSet); 1563 ctor public VerticalGridView(android.content.Context, android.util.AttributeSet, int); 1564 method protected void initAttributes(android.content.Context, android.util.AttributeSet); 1565 method public void setColumnWidth(int); 1566 method public void setNumColumns(int); 1567 } 1568 1569 } 1570 1571