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