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