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