1package android.support.v13.app { 2 3 public class FragmentCompat { 4 ctor public FragmentCompat(); 5 method public static void setMenuVisibility(android.app.Fragment, boolean); 6 method public static void setUserVisibleHint(android.app.Fragment, boolean); 7 } 8 9 public abstract class FragmentPagerAdapter extends android.support.v4.view.PagerAdapter { 10 ctor public FragmentPagerAdapter(android.app.FragmentManager); 11 method public abstract android.app.Fragment getItem(int); 12 method public long getItemId(int); 13 method public boolean isViewFromObject(android.view.View, java.lang.Object); 14 } 15 16 public abstract class FragmentStatePagerAdapter extends android.support.v4.view.PagerAdapter { 17 ctor public FragmentStatePagerAdapter(android.app.FragmentManager); 18 method public abstract android.app.Fragment getItem(int); 19 method public boolean isViewFromObject(android.view.View, java.lang.Object); 20 } 21 22 public class FragmentTabHost extends android.widget.TabHost implements android.widget.TabHost.OnTabChangeListener { 23 ctor public FragmentTabHost(android.content.Context); 24 ctor public FragmentTabHost(android.content.Context, android.util.AttributeSet); 25 method public void addTab(android.widget.TabHost.TabSpec, java.lang.Class<?>, android.os.Bundle); 26 method public void onTabChanged(java.lang.String); 27 method public void setup(android.content.Context, android.app.FragmentManager); 28 method public void setup(android.content.Context, android.app.FragmentManager, int); 29 } 30 31} 32 33package android.support.v17.leanback.app { 34 35 public final class BackgroundManager { 36 method public void attach(android.view.Window); 37 method public final int getColor(); 38 method public android.graphics.drawable.Drawable getDefaultDimLayer(); 39 method public android.graphics.drawable.Drawable getDimLayer(); 40 method public android.graphics.drawable.Drawable getDrawable(); 41 method public static android.support.v17.leanback.app.BackgroundManager getInstance(android.app.Activity); 42 method public boolean isAttached(); 43 method public void release(); 44 method public void setBitmap(android.graphics.Bitmap); 45 method public void setColor(int); 46 method public void setDimLayer(android.graphics.drawable.Drawable); 47 method public void setDrawable(android.graphics.drawable.Drawable); 48 method public void setThemeDrawableResourceId(int); 49 } 50 51 abstract class BaseRowFragment extends android.app.Fragment { 52 method public final android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 53 method public final android.support.v17.leanback.widget.PresenterSelector getPresenterSelector(); 54 method public final void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 55 method public final void setPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 56 method public void setSelectedPosition(int); 57 method public void setSelectedPosition(int, boolean); 58 } 59 60 abstract class BaseRowSupportFragment extends android.support.v4.app.Fragment { 61 method public final android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 62 method public final android.support.v17.leanback.widget.PresenterSelector getPresenterSelector(); 63 method public final void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 64 method public final void setPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 65 method public void setSelectedPosition(int); 66 method public void setSelectedPosition(int, boolean); 67 } 68 69 public class BrowseFragment extends android.support.v17.leanback.app.BrandedFragment { 70 ctor public BrowseFragment(); 71 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, int); 72 method public void enableRowScaling(boolean); 73 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 74 method public int getBrandColor(); 75 method public int getHeadersState(); 76 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 77 method public android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 78 method public final boolean isHeadersTransitionOnBackEnabled(); 79 method public boolean isInHeadersTransition(); 80 method public boolean isShowingHeaders(); 81 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 82 method public void setBrandColor(int); 83 method public void setBrowseTransitionListener(android.support.v17.leanback.app.BrowseFragment.BrowseTransitionListener); 84 method public void setHeaderPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 85 method public void setHeadersState(int); 86 method public final void setHeadersTransitionOnBackEnabled(boolean); 87 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 88 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 89 method public void setSelectedPosition(int); 90 method public void setSelectedPosition(int, boolean); 91 method public void startHeadersTransition(boolean); 92 field public static final int HEADERS_DISABLED = 3; // 0x3 93 field public static final int HEADERS_ENABLED = 1; // 0x1 94 field public static final int HEADERS_HIDDEN = 2; // 0x2 95 } 96 97 public static class BrowseFragment.BrowseTransitionListener { 98 ctor public BrowseFragment.BrowseTransitionListener(); 99 method public void onHeadersTransitionStart(boolean); 100 method public void onHeadersTransitionStop(boolean); 101 } 102 103 public class BrowseSupportFragment extends android.support.v17.leanback.app.BrandedSupportFragment { 104 ctor public BrowseSupportFragment(); 105 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, int); 106 method public void enableRowScaling(boolean); 107 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 108 method public int getBrandColor(); 109 method public int getHeadersState(); 110 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 111 method public android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 112 method public final boolean isHeadersTransitionOnBackEnabled(); 113 method public boolean isInHeadersTransition(); 114 method public boolean isShowingHeaders(); 115 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 116 method public void setBrandColor(int); 117 method public void setBrowseTransitionListener(android.support.v17.leanback.app.BrowseSupportFragment.BrowseTransitionListener); 118 method public void setHeaderPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 119 method public void setHeadersState(int); 120 method public final void setHeadersTransitionOnBackEnabled(boolean); 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 method public void startHeadersTransition(boolean); 126 field public static final int HEADERS_DISABLED = 3; // 0x3 127 field public static final int HEADERS_ENABLED = 1; // 0x1 128 field public static final int HEADERS_HIDDEN = 2; // 0x2 129 } 130 131 public static class BrowseSupportFragment.BrowseTransitionListener { 132 ctor public BrowseSupportFragment.BrowseTransitionListener(); 133 method public void onHeadersTransitionStart(boolean); 134 method public void onHeadersTransitionStop(boolean); 135 } 136 137 public class DetailsFragment extends android.support.v17.leanback.app.BrandedFragment { 138 ctor public DetailsFragment(); 139 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 140 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 141 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 142 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 143 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 144 method public void setSelectedPosition(int); 145 method public void setSelectedPosition(int, boolean); 146 } 147 148 public class DetailsSupportFragment extends android.support.v17.leanback.app.BrandedSupportFragment { 149 ctor public DetailsSupportFragment(); 150 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 151 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 152 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 153 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 154 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 155 method public void setSelectedPosition(int); 156 method public void setSelectedPosition(int, boolean); 157 } 158 159 public class ErrorFragment extends android.app.Fragment { 160 ctor public ErrorFragment(); 161 method public android.graphics.drawable.Drawable getBackgroundDrawable(); 162 method public android.graphics.drawable.Drawable getBadgeDrawable(); 163 method public android.view.View.OnClickListener getButtonClickListener(); 164 method public java.lang.String getButtonText(); 165 method public android.graphics.drawable.Drawable getImageDrawable(); 166 method public java.lang.CharSequence getMessage(); 167 method public java.lang.String getTitle(); 168 method public boolean isBackgroundTranslucent(); 169 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 170 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 171 method public void setButtonClickListener(android.view.View.OnClickListener); 172 method public void setButtonText(java.lang.String); 173 method public void setDefaultBackground(boolean); 174 method public void setImageDrawable(android.graphics.drawable.Drawable); 175 method public void setMessage(java.lang.CharSequence); 176 method public void setTitle(java.lang.String); 177 } 178 179 public class ErrorSupportFragment extends android.support.v4.app.Fragment { 180 ctor public ErrorSupportFragment(); 181 method public android.graphics.drawable.Drawable getBackgroundDrawable(); 182 method public android.graphics.drawable.Drawable getBadgeDrawable(); 183 method public android.view.View.OnClickListener getButtonClickListener(); 184 method public java.lang.String getButtonText(); 185 method public android.graphics.drawable.Drawable getImageDrawable(); 186 method public java.lang.CharSequence getMessage(); 187 method public java.lang.String getTitle(); 188 method public boolean isBackgroundTranslucent(); 189 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 190 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 191 method public void setButtonClickListener(android.view.View.OnClickListener); 192 method public void setButtonText(java.lang.String); 193 method public void setDefaultBackground(boolean); 194 method public void setImageDrawable(android.graphics.drawable.Drawable); 195 method public void setMessage(java.lang.CharSequence); 196 method public void setTitle(java.lang.String); 197 } 198 199 public class GuidedStepFragment extends android.app.Fragment { 200 ctor public GuidedStepFragment(); 201 method public static int add(android.app.FragmentManager, android.support.v17.leanback.app.GuidedStepFragment); 202 method public android.view.View getActionItemView(int); 203 method public java.util.List<android.support.v17.leanback.widget.GuidedAction> getActions(); 204 method public static android.support.v17.leanback.app.GuidedStepFragment getCurrentGuidedStepFragment(android.app.FragmentManager); 205 method public android.support.v17.leanback.widget.GuidanceStylist getGuidanceStylist(); 206 method public android.support.v17.leanback.widget.GuidedActionsStylist getGuidedActionsStylist(); 207 method public int getSelectedActionPosition(); 208 method protected boolean isEntryTransitionEnabled(); 209 method public void onCreateActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>, android.os.Bundle); 210 method public android.support.v17.leanback.widget.GuidedActionsStylist onCreateActionsStylist(); 211 method public android.support.v17.leanback.widget.GuidanceStylist.Guidance onCreateGuidance(android.os.Bundle); 212 method public android.support.v17.leanback.widget.GuidanceStylist onCreateGuidanceStylist(); 213 method public void onGuidedActionClicked(android.support.v17.leanback.widget.GuidedAction); 214 method public void onGuidedActionFocused(android.support.v17.leanback.widget.GuidedAction); 215 method public int onProvideTheme(); 216 method public void setActions(java.util.List<android.support.v17.leanback.widget.GuidedAction>); 217 method protected void setEntryTransitionEnabled(boolean); 218 method public void setSelectedActionPosition(int); 219 } 220 221 public class HeadersFragment extends android.support.v17.leanback.app.BaseRowFragment { 222 ctor public HeadersFragment(); 223 method public void setOnHeaderClickedListener(android.support.v17.leanback.app.HeadersFragment.OnHeaderClickedListener); 224 method public void setOnHeaderViewSelectedListener(android.support.v17.leanback.app.HeadersFragment.OnHeaderViewSelectedListener); 225 } 226 227 static abstract interface HeadersFragment.OnHeaderClickedListener { 228 method public abstract void onHeaderClicked(); 229 } 230 231 static abstract interface HeadersFragment.OnHeaderViewSelectedListener { 232 method public abstract void onHeaderSelected(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder, android.support.v17.leanback.widget.Row); 233 } 234 235 public class HeadersSupportFragment extends android.support.v17.leanback.app.BaseRowSupportFragment { 236 ctor public HeadersSupportFragment(); 237 method public void setOnHeaderClickedListener(android.support.v17.leanback.app.HeadersSupportFragment.OnHeaderClickedListener); 238 method public void setOnHeaderViewSelectedListener(android.support.v17.leanback.app.HeadersSupportFragment.OnHeaderViewSelectedListener); 239 } 240 241 static abstract interface HeadersSupportFragment.OnHeaderClickedListener { 242 method public abstract void onHeaderClicked(); 243 } 244 245 static abstract interface HeadersSupportFragment.OnHeaderViewSelectedListener { 246 method public abstract void onHeaderSelected(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder, android.support.v17.leanback.widget.Row); 247 } 248 249 public abstract class MediaControllerGlue extends android.support.v17.leanback.app.PlaybackControlGlue { 250 ctor public MediaControllerGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlayFragment, int[]); 251 ctor public MediaControllerGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlayFragment, int[], int[]); 252 method public void attachToMediaController(android.support.v4.media.session.MediaControllerCompat); 253 method public void detach(); 254 method public int getCurrentPosition(); 255 method public int getCurrentSpeedId(); 256 method public android.graphics.drawable.Drawable getMediaArt(); 257 method public final android.support.v4.media.session.MediaControllerCompat getMediaController(); 258 method public int getMediaDuration(); 259 method public java.lang.CharSequence getMediaSubtitle(); 260 method public java.lang.CharSequence getMediaTitle(); 261 method public long getSupportedActions(); 262 method public boolean hasValidMedia(); 263 method public boolean isMediaPlaying(); 264 method protected void pausePlayback(); 265 method protected void skipToNext(); 266 method protected void skipToPrevious(); 267 method protected void startPlayback(int); 268 } 269 270 public abstract class PlaybackControlGlue implements android.support.v17.leanback.widget.OnActionClickedListener android.view.View.OnKeyListener { 271 ctor public PlaybackControlGlue(android.content.Context, int[]); 272 ctor public PlaybackControlGlue(android.content.Context, int[], int[]); 273 ctor public PlaybackControlGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlayFragment, int[]); 274 ctor public PlaybackControlGlue(android.content.Context, android.support.v17.leanback.app.PlaybackOverlayFragment, int[], int[]); 275 method public android.support.v17.leanback.widget.PlaybackControlsRowPresenter createControlsRowAndPresenter(); 276 method protected android.support.v17.leanback.widget.SparseArrayObjectAdapter createPrimaryActionsAdapter(android.support.v17.leanback.widget.PresenterSelector); 277 method public void enableProgressUpdating(boolean); 278 method public android.content.Context getContext(); 279 method public android.support.v17.leanback.widget.PlaybackControlsRow getControlsRow(); 280 method public abstract int getCurrentPosition(); 281 method public abstract int getCurrentSpeedId(); 282 method public int[] getFastForwardSpeeds(); 283 method public android.support.v17.leanback.app.PlaybackOverlayFragment getFragment(); 284 method public abstract android.graphics.drawable.Drawable getMediaArt(); 285 method public abstract int getMediaDuration(); 286 method public abstract java.lang.CharSequence getMediaSubtitle(); 287 method public abstract java.lang.CharSequence getMediaTitle(); 288 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 289 method public int[] getRewindSpeeds(); 290 method public abstract long getSupportedActions(); 291 method public int getUpdatePeriod(); 292 method public abstract boolean hasValidMedia(); 293 method public boolean isFadingEnabled(); 294 method public abstract boolean isMediaPlaying(); 295 method public void onActionClicked(android.support.v17.leanback.widget.Action); 296 method public boolean onKey(android.view.View, int, android.view.KeyEvent); 297 method protected void onMetadataChanged(); 298 method protected abstract void onRowChanged(android.support.v17.leanback.widget.PlaybackControlsRow); 299 method protected void onStateChanged(); 300 method protected abstract void pausePlayback(); 301 method public void setControlsRow(android.support.v17.leanback.widget.PlaybackControlsRow); 302 method public void setFadingEnabled(boolean); 303 method public deprecated void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 304 method protected abstract void skipToNext(); 305 method protected abstract void skipToPrevious(); 306 method protected abstract void startPlayback(int); 307 method public void updateProgress(); 308 field public static final int ACTION_CUSTOM_LEFT_FIRST = 1; // 0x1 309 field public static final int ACTION_CUSTOM_RIGHT_FIRST = 4096; // 0x1000 310 field public static final int ACTION_FAST_FORWARD = 128; // 0x80 311 field public static final int ACTION_PLAY_PAUSE = 64; // 0x40 312 field public static final int ACTION_REWIND = 32; // 0x20 313 field public static final int ACTION_SKIP_TO_NEXT = 256; // 0x100 314 field public static final int ACTION_SKIP_TO_PREVIOUS = 16; // 0x10 315 field public static final int PLAYBACK_SPEED_FAST_L0 = 10; // 0xa 316 field public static final int PLAYBACK_SPEED_FAST_L1 = 11; // 0xb 317 field public static final int PLAYBACK_SPEED_FAST_L2 = 12; // 0xc 318 field public static final int PLAYBACK_SPEED_FAST_L3 = 13; // 0xd 319 field public static final int PLAYBACK_SPEED_FAST_L4 = 14; // 0xe 320 field public static final int PLAYBACK_SPEED_INVALID = -1; // 0xffffffff 321 field public static final int PLAYBACK_SPEED_NORMAL = 1; // 0x1 322 field public static final int PLAYBACK_SPEED_PAUSED = 0; // 0x0 323 } 324 325 public class PlaybackOverlayFragment extends android.support.v17.leanback.app.DetailsFragment { 326 ctor public PlaybackOverlayFragment(); 327 method public int getBackgroundType(); 328 method public android.support.v17.leanback.app.PlaybackOverlayFragment.OnFadeCompleteListener getFadeCompleteListener(); 329 method public final android.support.v17.leanback.app.PlaybackOverlayFragment.InputEventHandler getInputEventHandler(); 330 method public boolean isFadingEnabled(); 331 method public void setBackgroundType(int); 332 method public void setFadeCompleteListener(android.support.v17.leanback.app.PlaybackOverlayFragment.OnFadeCompleteListener); 333 method public void setFadingEnabled(boolean); 334 method public final void setInputEventHandler(android.support.v17.leanback.app.PlaybackOverlayFragment.InputEventHandler); 335 method public void tickle(); 336 field public static final int BG_DARK = 1; // 0x1 337 field public static final int BG_LIGHT = 2; // 0x2 338 field public static final int BG_NONE = 0; // 0x0 339 } 340 341 public static abstract interface PlaybackOverlayFragment.InputEventHandler { 342 method public abstract boolean handleInputEvent(android.view.InputEvent); 343 } 344 345 public static class PlaybackOverlayFragment.OnFadeCompleteListener { 346 ctor public PlaybackOverlayFragment.OnFadeCompleteListener(); 347 method public void onFadeInComplete(); 348 method public void onFadeOutComplete(); 349 } 350 351 public class PlaybackOverlaySupportFragment extends android.support.v17.leanback.app.DetailsSupportFragment { 352 ctor public PlaybackOverlaySupportFragment(); 353 method public int getBackgroundType(); 354 method public android.support.v17.leanback.app.PlaybackOverlaySupportFragment.OnFadeCompleteListener getFadeCompleteListener(); 355 method public final android.support.v17.leanback.app.PlaybackOverlaySupportFragment.InputEventHandler getInputEventHandler(); 356 method public boolean isFadingEnabled(); 357 method public void setBackgroundType(int); 358 method public void setFadeCompleteListener(android.support.v17.leanback.app.PlaybackOverlaySupportFragment.OnFadeCompleteListener); 359 method public void setFadingEnabled(boolean); 360 method public final void setInputEventHandler(android.support.v17.leanback.app.PlaybackOverlaySupportFragment.InputEventHandler); 361 method public void tickle(); 362 field public static final int BG_DARK = 1; // 0x1 363 field public static final int BG_LIGHT = 2; // 0x2 364 field public static final int BG_NONE = 0; // 0x0 365 } 366 367 public static abstract interface PlaybackOverlaySupportFragment.InputEventHandler { 368 method public abstract boolean handleInputEvent(android.view.InputEvent); 369 } 370 371 public static class PlaybackOverlaySupportFragment.OnFadeCompleteListener { 372 ctor public PlaybackOverlaySupportFragment.OnFadeCompleteListener(); 373 method public void onFadeInComplete(); 374 method public void onFadeOutComplete(); 375 } 376 377 public class RowsFragment extends android.support.v17.leanback.app.BaseRowFragment { 378 ctor public RowsFragment(); 379 method public void enableRowScaling(boolean); 380 method protected android.support.v17.leanback.widget.VerticalGridView findGridViewFromRoot(android.view.View); 381 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 382 method public android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 383 method public void setExpand(boolean); 384 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 385 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 386 } 387 388 public class RowsSupportFragment extends android.support.v17.leanback.app.BaseRowSupportFragment { 389 ctor public RowsSupportFragment(); 390 method public void enableRowScaling(boolean); 391 method protected android.support.v17.leanback.widget.VerticalGridView findGridViewFromRoot(android.view.View); 392 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 393 method public android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 394 method public void setExpand(boolean); 395 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 396 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 397 } 398 399 public class SearchFragment extends android.app.Fragment { 400 ctor public SearchFragment(); 401 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String); 402 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, java.lang.String); 403 method public void displayCompletions(java.util.List<java.lang.String>); 404 method public android.graphics.drawable.Drawable getBadgeDrawable(); 405 method public android.content.Intent getRecognizerIntent(); 406 method public java.lang.String getTitle(); 407 method public static android.support.v17.leanback.app.SearchFragment newInstance(java.lang.String); 408 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 409 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 410 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 411 method public void setSearchQuery(java.lang.String, boolean); 412 method public void setSearchQuery(android.content.Intent, boolean); 413 method public void setSearchResultProvider(android.support.v17.leanback.app.SearchFragment.SearchResultProvider); 414 method public void setSpeechRecognitionCallback(android.support.v17.leanback.widget.SpeechRecognitionCallback); 415 method public void setTitle(java.lang.String); 416 method public void startRecognition(); 417 } 418 419 public static abstract interface SearchFragment.SearchResultProvider { 420 method public abstract android.support.v17.leanback.widget.ObjectAdapter getResultsAdapter(); 421 method public abstract boolean onQueryTextChange(java.lang.String); 422 method public abstract boolean onQueryTextSubmit(java.lang.String); 423 } 424 425 public class SearchSupportFragment extends android.support.v4.app.Fragment { 426 ctor public SearchSupportFragment(); 427 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String); 428 method public static android.os.Bundle createArgs(android.os.Bundle, java.lang.String, java.lang.String); 429 method public void displayCompletions(java.util.List<java.lang.String>); 430 method public android.graphics.drawable.Drawable getBadgeDrawable(); 431 method public android.content.Intent getRecognizerIntent(); 432 method public java.lang.String getTitle(); 433 method public static android.support.v17.leanback.app.SearchSupportFragment newInstance(java.lang.String); 434 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 435 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 436 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 437 method public void setSearchQuery(java.lang.String, boolean); 438 method public void setSearchQuery(android.content.Intent, boolean); 439 method public void setSearchResultProvider(android.support.v17.leanback.app.SearchSupportFragment.SearchResultProvider); 440 method public void setSpeechRecognitionCallback(android.support.v17.leanback.widget.SpeechRecognitionCallback); 441 method public void setTitle(java.lang.String); 442 method public void startRecognition(); 443 } 444 445 public static abstract interface SearchSupportFragment.SearchResultProvider { 446 method public abstract android.support.v17.leanback.widget.ObjectAdapter getResultsAdapter(); 447 method public abstract boolean onQueryTextChange(java.lang.String); 448 method public abstract boolean onQueryTextSubmit(java.lang.String); 449 } 450 451 public class VerticalGridFragment extends android.app.Fragment { 452 ctor public VerticalGridFragment(); 453 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 454 method public android.support.v17.leanback.widget.VerticalGridPresenter getGridPresenter(); 455 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 456 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 457 method public void setGridPresenter(android.support.v17.leanback.widget.VerticalGridPresenter); 458 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 459 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 460 method public void setSelectedPosition(int); 461 } 462 463 public class VerticalGridSupportFragment extends android.support.v4.app.Fragment { 464 ctor public VerticalGridSupportFragment(); 465 method public android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 466 method public android.support.v17.leanback.widget.VerticalGridPresenter getGridPresenter(); 467 method public android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 468 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 469 method public void setGridPresenter(android.support.v17.leanback.widget.VerticalGridPresenter); 470 method public void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 471 method public void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 472 method public void setSelectedPosition(int); 473 } 474 475} 476 477package android.support.v17.leanback.database { 478 479 public abstract class CursorMapper { 480 ctor public CursorMapper(); 481 method protected abstract java.lang.Object bind(android.database.Cursor); 482 method protected abstract void bindColumns(android.database.Cursor); 483 method public java.lang.Object convert(android.database.Cursor); 484 } 485 486} 487 488package android.support.v17.leanback.graphics { 489 490 public final class ColorFilterCache { 491 method public static android.support.v17.leanback.graphics.ColorFilterCache getColorFilterCache(int); 492 method public android.graphics.ColorFilter getFilterForLevel(float); 493 } 494 495 public final class ColorFilterDimmer { 496 method public void applyFilterToView(android.view.View); 497 method public static android.support.v17.leanback.graphics.ColorFilterDimmer create(android.support.v17.leanback.graphics.ColorFilterCache, float, float); 498 method public static android.support.v17.leanback.graphics.ColorFilterDimmer createDefault(android.content.Context); 499 method public android.graphics.ColorFilter getColorFilter(); 500 method public android.graphics.Paint getPaint(); 501 method public void setActiveLevel(float); 502 } 503 504 public final class ColorOverlayDimmer { 505 method public int applyToColor(int); 506 method public static android.support.v17.leanback.graphics.ColorOverlayDimmer createColorOverlayDimmer(int, float, float); 507 method public static android.support.v17.leanback.graphics.ColorOverlayDimmer createDefault(android.content.Context); 508 method public void drawColorOverlay(android.graphics.Canvas, android.view.View, boolean); 509 method public int getAlpha(); 510 method public float getAlphaFloat(); 511 method public android.graphics.Paint getPaint(); 512 method public boolean needsDraw(); 513 method public void setActiveLevel(float); 514 } 515 516} 517 518package android.support.v17.leanback.widget { 519 520 public abstract class AbstractDetailsDescriptionPresenter extends android.support.v17.leanback.widget.Presenter { 521 ctor public AbstractDetailsDescriptionPresenter(); 522 method protected abstract void onBindDescription(android.support.v17.leanback.widget.AbstractDetailsDescriptionPresenter.ViewHolder, java.lang.Object); 523 method public final void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 524 method public final android.support.v17.leanback.widget.AbstractDetailsDescriptionPresenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 525 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 526 } 527 528 public static class AbstractDetailsDescriptionPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 529 ctor public AbstractDetailsDescriptionPresenter.ViewHolder(android.view.View); 530 method public android.widget.TextView getBody(); 531 method public android.widget.TextView getSubtitle(); 532 method public android.widget.TextView getTitle(); 533 } 534 535 public class Action { 536 ctor public Action(long); 537 ctor public Action(long, java.lang.CharSequence); 538 ctor public Action(long, java.lang.CharSequence, java.lang.CharSequence); 539 ctor public Action(long, java.lang.CharSequence, java.lang.CharSequence, android.graphics.drawable.Drawable); 540 method public final void addKeyCode(int); 541 method public final android.graphics.drawable.Drawable getIcon(); 542 method public final long getId(); 543 method public final java.lang.CharSequence getLabel1(); 544 method public final java.lang.CharSequence getLabel2(); 545 method public final void removeKeyCode(int); 546 method public final boolean respondsToKeyCode(int); 547 method public final void setIcon(android.graphics.drawable.Drawable); 548 method public final void setId(long); 549 method public final void setLabel1(java.lang.CharSequence); 550 method public final void setLabel2(java.lang.CharSequence); 551 } 552 553 public class ArrayObjectAdapter extends android.support.v17.leanback.widget.ObjectAdapter { 554 ctor public ArrayObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 555 ctor public ArrayObjectAdapter(android.support.v17.leanback.widget.Presenter); 556 ctor public ArrayObjectAdapter(); 557 method public void add(java.lang.Object); 558 method public void add(int, java.lang.Object); 559 method public void addAll(int, java.util.Collection); 560 method public void clear(); 561 method public java.lang.Object get(int); 562 method public int indexOf(java.lang.Object); 563 method public void notifyArrayItemRangeChanged(int, int); 564 method public boolean remove(java.lang.Object); 565 method public int removeItems(int, int); 566 method public void replace(int, java.lang.Object); 567 method public int size(); 568 method public java.util.List<E> unmodifiableList(); 569 } 570 571 public class BaseCardView extends android.widget.FrameLayout { 572 ctor public BaseCardView(android.content.Context); 573 ctor public BaseCardView(android.content.Context, android.util.AttributeSet); 574 ctor public BaseCardView(android.content.Context, android.util.AttributeSet, int); 575 method public int getCardType(); 576 method public int getExtraVisibility(); 577 method public int getInfoVisibility(); 578 method public boolean isSelectedAnimationDelayed(); 579 method public void setCardType(int); 580 method public void setExtraVisibility(int); 581 method public void setInfoVisibility(int); 582 method public void setSelectedAnimationDelayed(boolean); 583 field public static final int CARD_REGION_VISIBLE_ACTIVATED = 1; // 0x1 584 field public static final int CARD_REGION_VISIBLE_ALWAYS = 0; // 0x0 585 field public static final int CARD_REGION_VISIBLE_SELECTED = 2; // 0x2 586 field public static final int CARD_TYPE_INFO_OVER = 1; // 0x1 587 field public static final int CARD_TYPE_INFO_UNDER = 2; // 0x2 588 field public static final int CARD_TYPE_INFO_UNDER_WITH_EXTRA = 3; // 0x3 589 field public static final int CARD_TYPE_MAIN_ONLY = 0; // 0x0 590 } 591 592 public static class BaseCardView.LayoutParams extends android.widget.FrameLayout.LayoutParams { 593 ctor public BaseCardView.LayoutParams(android.content.Context, android.util.AttributeSet); 594 ctor public BaseCardView.LayoutParams(int, int); 595 ctor public BaseCardView.LayoutParams(android.view.ViewGroup.LayoutParams); 596 ctor public BaseCardView.LayoutParams(android.support.v17.leanback.widget.BaseCardView.LayoutParams); 597 field public static final int VIEW_TYPE_EXTRA = 2; // 0x2 598 field public static final int VIEW_TYPE_INFO = 1; // 0x1 599 field public static final int VIEW_TYPE_MAIN = 0; // 0x0 600 field public int viewType; 601 } 602 603 abstract class BaseGridView extends android.support.v7.widget.RecyclerView { 604 ctor public BaseGridView(android.content.Context, android.util.AttributeSet, int); 605 method public boolean dispatchGenericFocusedEvent(android.view.MotionEvent); 606 method public int getChildDrawingOrder(int, int); 607 method public int getFocusScrollStrategy(); 608 method public int getHorizontalMargin(); 609 method public int getItemAlignmentOffset(); 610 method public float getItemAlignmentOffsetPercent(); 611 method public int getItemAlignmentViewId(); 612 method public android.support.v17.leanback.widget.BaseGridView.OnUnhandledKeyListener getOnUnhandledKeyListener(); 613 method public final int getSaveChildrenLimitNumber(); 614 method public final int getSaveChildrenPolicy(); 615 method public int getSelectedPosition(); 616 method public int getVerticalMargin(); 617 method public void getViewSelectedOffsets(android.view.View, int[]); 618 method public int getWindowAlignment(); 619 method public int getWindowAlignmentOffset(); 620 method public float getWindowAlignmentOffsetPercent(); 621 method public boolean hasPreviousViewInSameRow(int); 622 method protected void initBaseGridViewAttributes(android.content.Context, android.util.AttributeSet); 623 method public boolean isChildLayoutAnimated(); 624 method public boolean isFocusDrawingOrderEnabled(); 625 method public final boolean isFocusSearchDisabled(); 626 method public boolean isItemAlignmentOffsetWithPadding(); 627 method public boolean isScrollEnabled(); 628 method public boolean onRequestFocusInDescendants(int, android.graphics.Rect); 629 method public void setAnimateChildLayout(boolean); 630 method public void setChildrenVisibility(int); 631 method public void setFocusDrawingOrderEnabled(boolean); 632 method public void setFocusScrollStrategy(int); 633 method public final void setFocusSearchDisabled(boolean); 634 method public void setGravity(int); 635 method public void setHasOverlappingRendering(boolean); 636 method public void setHorizontalMargin(int); 637 method public void setItemAlignmentOffset(int); 638 method public void setItemAlignmentOffsetPercent(float); 639 method public void setItemAlignmentOffsetWithPadding(boolean); 640 method public void setItemAlignmentViewId(int); 641 method public void setItemMargin(int); 642 method public void setLayoutEnabled(boolean); 643 method public void setOnChildLaidOutListener(android.support.v17.leanback.widget.OnChildLaidOutListener); 644 method public void setOnChildSelectedListener(android.support.v17.leanback.widget.OnChildSelectedListener); 645 method public void setOnKeyInterceptListener(android.support.v17.leanback.widget.BaseGridView.OnKeyInterceptListener); 646 method public void setOnMotionInterceptListener(android.support.v17.leanback.widget.BaseGridView.OnMotionInterceptListener); 647 method public void setOnTouchInterceptListener(android.support.v17.leanback.widget.BaseGridView.OnTouchInterceptListener); 648 method public void setOnUnhandledKeyListener(android.support.v17.leanback.widget.BaseGridView.OnUnhandledKeyListener); 649 method public void setPruneChild(boolean); 650 method public final void setSaveChildrenLimitNumber(int); 651 method public final void setSaveChildrenPolicy(int); 652 method public void setScrollEnabled(boolean); 653 method public void setSelectedPosition(int); 654 method public void setSelectedPosition(int, int); 655 method public void setSelectedPositionSmooth(int); 656 method public void setVerticalMargin(int); 657 method public void setWindowAlignment(int); 658 method public void setWindowAlignmentOffset(int); 659 method public void setWindowAlignmentOffsetPercent(float); 660 field public static final int FOCUS_SCROLL_ALIGNED = 0; // 0x0 661 field public static final int FOCUS_SCROLL_ITEM = 1; // 0x1 662 field public static final int FOCUS_SCROLL_PAGE = 2; // 0x2 663 field public static final float ITEM_ALIGN_OFFSET_PERCENT_DISABLED = -1.0f; 664 field public static final int SAVE_ALL_CHILD = 3; // 0x3 665 field public static final int SAVE_LIMITED_CHILD = 2; // 0x2 666 field public static final int SAVE_NO_CHILD = 0; // 0x0 667 field public static final int SAVE_ON_SCREEN_CHILD = 1; // 0x1 668 field public static final int WINDOW_ALIGN_BOTH_EDGE = 3; // 0x3 669 field public static final int WINDOW_ALIGN_HIGH_EDGE = 2; // 0x2 670 field public static final int WINDOW_ALIGN_LOW_EDGE = 1; // 0x1 671 field public static final int WINDOW_ALIGN_NO_EDGE = 0; // 0x0 672 field public static final float WINDOW_ALIGN_OFFSET_PERCENT_DISABLED = -1.0f; 673 field protected final android.support.v17.leanback.widget.GridLayoutManager mLayoutManager; 674 } 675 676 public static abstract interface BaseGridView.OnKeyInterceptListener { 677 method public abstract boolean onInterceptKeyEvent(android.view.KeyEvent); 678 } 679 680 public static abstract interface BaseGridView.OnMotionInterceptListener { 681 method public abstract boolean onInterceptMotionEvent(android.view.MotionEvent); 682 } 683 684 public static abstract interface BaseGridView.OnTouchInterceptListener { 685 method public abstract boolean onInterceptTouchEvent(android.view.MotionEvent); 686 } 687 688 public static abstract interface BaseGridView.OnUnhandledKeyListener { 689 method public abstract boolean onUnhandledKey(android.view.KeyEvent); 690 } 691 692 public class BrowseFrameLayout extends android.widget.FrameLayout { 693 ctor public BrowseFrameLayout(android.content.Context); 694 ctor public BrowseFrameLayout(android.content.Context, android.util.AttributeSet); 695 ctor public BrowseFrameLayout(android.content.Context, android.util.AttributeSet, int); 696 method public android.support.v17.leanback.widget.BrowseFrameLayout.OnChildFocusListener getOnChildFocusListener(); 697 method public android.support.v17.leanback.widget.BrowseFrameLayout.OnFocusSearchListener getOnFocusSearchListener(); 698 method public void setOnChildFocusListener(android.support.v17.leanback.widget.BrowseFrameLayout.OnChildFocusListener); 699 method public void setOnFocusSearchListener(android.support.v17.leanback.widget.BrowseFrameLayout.OnFocusSearchListener); 700 } 701 702 public static abstract interface BrowseFrameLayout.OnChildFocusListener { 703 method public abstract void onRequestChildFocus(android.view.View, android.view.View); 704 method public abstract boolean onRequestFocusInDescendants(int, android.graphics.Rect); 705 } 706 707 public static abstract interface BrowseFrameLayout.OnFocusSearchListener { 708 method public abstract android.view.View onFocusSearch(android.view.View, int); 709 } 710 711 public final class ClassPresenterSelector extends android.support.v17.leanback.widget.PresenterSelector { 712 ctor public ClassPresenterSelector(); 713 method public void addClassPresenter(java.lang.Class<?>, android.support.v17.leanback.widget.Presenter); 714 method public android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 715 } 716 717 public class ControlButtonPresenterSelector extends android.support.v17.leanback.widget.PresenterSelector { 718 ctor public ControlButtonPresenterSelector(); 719 method public android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 720 method public android.support.v17.leanback.widget.Presenter getPrimaryPresenter(); 721 method public android.support.v17.leanback.widget.Presenter getSecondaryPresenter(); 722 } 723 724 public class CursorObjectAdapter extends android.support.v17.leanback.widget.ObjectAdapter { 725 ctor public CursorObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 726 ctor public CursorObjectAdapter(android.support.v17.leanback.widget.Presenter); 727 ctor public CursorObjectAdapter(); 728 method public void changeCursor(android.database.Cursor); 729 method public void close(); 730 method public java.lang.Object get(int); 731 method public final android.database.Cursor getCursor(); 732 method public final android.support.v17.leanback.database.CursorMapper getMapper(); 733 method protected final void invalidateCache(int); 734 method protected final void invalidateCache(int, int); 735 method public boolean isClosed(); 736 method protected void onCursorChanged(); 737 method protected void onMapperChanged(); 738 method public final void setMapper(android.support.v17.leanback.database.CursorMapper); 739 method public int size(); 740 method public android.database.Cursor swapCursor(android.database.Cursor); 741 } 742 743 public class DetailsOverviewRow extends android.support.v17.leanback.widget.Row { 744 ctor public DetailsOverviewRow(java.lang.Object); 745 method public final deprecated void addAction(android.support.v17.leanback.widget.Action); 746 method public final deprecated void addAction(int, android.support.v17.leanback.widget.Action); 747 method public android.support.v17.leanback.widget.Action getActionForKeyCode(int); 748 method public final deprecated java.util.List<android.support.v17.leanback.widget.Action> getActions(); 749 method public final android.support.v17.leanback.widget.ObjectAdapter getActionsAdapter(); 750 method public final android.graphics.drawable.Drawable getImageDrawable(); 751 method public final java.lang.Object getItem(); 752 method public boolean isImageScaleUpAllowed(); 753 method public final deprecated boolean removeAction(android.support.v17.leanback.widget.Action); 754 method public final void setActionsAdapter(android.support.v17.leanback.widget.ObjectAdapter); 755 method public final void setImageBitmap(android.content.Context, android.graphics.Bitmap); 756 method public final void setImageDrawable(android.graphics.drawable.Drawable); 757 method public void setImageScaleUpAllowed(boolean); 758 method public final void setItem(java.lang.Object); 759 } 760 761 public class DetailsOverviewRowPresenter extends android.support.v17.leanback.widget.RowPresenter { 762 ctor public DetailsOverviewRowPresenter(android.support.v17.leanback.widget.Presenter); 763 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 764 method public int getBackgroundColor(); 765 method public android.support.v17.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 766 method public boolean isStyleLarge(); 767 method public final boolean isUsingDefaultSelectEffect(); 768 method public void setBackgroundColor(int); 769 method public void setOnActionClickedListener(android.support.v17.leanback.widget.OnActionClickedListener); 770 method public final void setSharedElementEnterTransition(android.app.Activity, java.lang.String, long); 771 method public final void setSharedElementEnterTransition(android.app.Activity, java.lang.String); 772 method public void setStyleLarge(boolean); 773 } 774 775 public final class DetailsOverviewRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 776 ctor public DetailsOverviewRowPresenter.ViewHolder(android.view.View, android.support.v17.leanback.widget.Presenter); 777 field public final android.support.v17.leanback.widget.Presenter.ViewHolder mDetailsDescriptionViewHolder; 778 } 779 780 public abstract interface FocusHighlight { 781 field public static final int ZOOM_FACTOR_LARGE = 3; // 0x3 782 field public static final int ZOOM_FACTOR_MEDIUM = 2; // 0x2 783 field public static final int ZOOM_FACTOR_NONE = 0; // 0x0 784 field public static final int ZOOM_FACTOR_SMALL = 1; // 0x1 785 field public static final int ZOOM_FACTOR_XSMALL = 4; // 0x4 786 } 787 788 public class FocusHighlightHelper { 789 ctor public FocusHighlightHelper(); 790 method public static void setupBrowseItemFocusHighlight(android.support.v17.leanback.widget.ItemBridgeAdapter, int, boolean); 791 method public static void setupHeaderItemFocusHighlight(android.support.v17.leanback.widget.VerticalGridView); 792 } 793 794 public abstract interface FragmentAnimationProvider { 795 method public abstract void onActivityEnter(java.util.List<android.animation.Animator>); 796 method public abstract void onActivityExit(java.util.List<android.animation.Animator>); 797 method public abstract void onFragmentEnter(java.util.List<android.animation.Animator>); 798 method public abstract void onFragmentExit(java.util.List<android.animation.Animator>); 799 method public abstract void onFragmentReenter(java.util.List<android.animation.Animator>); 800 method public abstract void onFragmentReturn(java.util.List<android.animation.Animator>); 801 } 802 803 final class GridLayoutManager extends android.support.v7.widget.RecyclerView.LayoutManager { 804 ctor public GridLayoutManager(android.support.v17.leanback.widget.BaseGridView); 805 method public android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams(); 806 method public int getFocusScrollStrategy(); 807 method public int getHorizontalMargin(); 808 method public int getItemAlignmentOffset(); 809 method public float getItemAlignmentOffsetPercent(); 810 method public int getItemAlignmentViewId(); 811 method public boolean getPruneChild(); 812 method public int getSelection(); 813 method public int getVerticalMargin(); 814 method protected android.view.View getViewForPosition(int); 815 method public void getViewSelectedOffsets(android.view.View, int[]); 816 method public int getWindowAlignment(); 817 method public int getWindowAlignmentOffset(); 818 method public float getWindowAlignmentOffsetPercent(); 819 method protected boolean hasDoneFirstLayout(); 820 method public boolean isItemAlignmentOffsetWithPadding(); 821 method public boolean isScrollEnabled(); 822 method public void onRtlPropertiesChanged(int); 823 method public void setFocusOutAllowed(boolean, boolean); 824 method public void setFocusScrollStrategy(int); 825 method public void setGravity(int); 826 method public void setHorizontalMargin(int); 827 method public void setItemAlignmentOffset(int); 828 method public void setItemAlignmentOffsetPercent(float); 829 method public void setItemAlignmentOffsetWithPadding(boolean); 830 method public void setItemAlignmentViewId(int); 831 method public void setItemMargin(int); 832 method public void setLayoutEnabled(boolean); 833 method public void setNumRows(int); 834 method public void setOnChildSelectedListener(android.support.v17.leanback.widget.OnChildSelectedListener); 835 method public void setOrientation(int); 836 method public void setPruneChild(boolean); 837 method public void setRowHeight(int); 838 method public void setScrollEnabled(boolean); 839 method public void setSelection(android.support.v7.widget.RecyclerView, int, int); 840 method public void setSelection(android.support.v7.widget.RecyclerView, int, boolean, int); 841 method public void setSelectionSmooth(android.support.v7.widget.RecyclerView, int); 842 method public void setVerticalMargin(int); 843 method public void setWindowAlignment(int); 844 method public void setWindowAlignmentOffset(int); 845 method public void setWindowAlignmentOffsetPercent(float); 846 } 847 848 public class GuidanceStylist implements android.support.v17.leanback.widget.FragmentAnimationProvider { 849 ctor public GuidanceStylist(); 850 method public android.widget.TextView getBreadcrumbView(); 851 method public android.widget.TextView getDescriptionView(); 852 method public android.widget.ImageView getIconView(); 853 method public android.widget.TextView getTitleView(); 854 method public void onActivityEnter(java.util.List<android.animation.Animator>); 855 method public void onActivityExit(java.util.List<android.animation.Animator>); 856 method public android.view.View onCreateView(android.view.LayoutInflater, android.view.ViewGroup, android.support.v17.leanback.widget.GuidanceStylist.Guidance); 857 method public void onFragmentEnter(java.util.List<android.animation.Animator>); 858 method public void onFragmentExit(java.util.List<android.animation.Animator>); 859 method public void onFragmentReenter(java.util.List<android.animation.Animator>); 860 method public void onFragmentReturn(java.util.List<android.animation.Animator>); 861 method public int onProvideLayoutId(); 862 } 863 864 public static class GuidanceStylist.Guidance { 865 ctor public GuidanceStylist.Guidance(java.lang.String, java.lang.String, java.lang.String, android.graphics.drawable.Drawable); 866 method public java.lang.String getBreadcrumb(); 867 method public java.lang.String getDescription(); 868 method public android.graphics.drawable.Drawable getIconDrawable(); 869 method public java.lang.String getTitle(); 870 } 871 872 public class GuidedAction extends android.support.v17.leanback.widget.Action { 873 method public int getCheckSetId(); 874 method public java.lang.CharSequence getDescription(); 875 method public android.content.Intent getIntent(); 876 method public java.lang.CharSequence getTitle(); 877 method public boolean hasMultilineDescription(); 878 method public boolean hasNext(); 879 method public boolean infoOnly(); 880 method public boolean isChecked(); 881 method public boolean isEnabled(); 882 method public void setChecked(boolean); 883 method public void setEnabled(boolean); 884 field public static final int DEFAULT_CHECK_SET_ID = 1; // 0x1 885 field public static final int NO_CHECK_SET = 0; // 0x0 886 field public static final int NO_DRAWABLE = 0; // 0x0 887 } 888 889 public static class GuidedAction.Builder { 890 ctor public GuidedAction.Builder(); 891 method public android.support.v17.leanback.widget.GuidedAction build(); 892 method public android.support.v17.leanback.widget.GuidedAction.Builder checkSetId(int); 893 method public android.support.v17.leanback.widget.GuidedAction.Builder checked(boolean); 894 method public android.support.v17.leanback.widget.GuidedAction.Builder description(java.lang.String); 895 method public android.support.v17.leanback.widget.GuidedAction.Builder enabled(boolean); 896 method public android.support.v17.leanback.widget.GuidedAction.Builder hasNext(boolean); 897 method public android.support.v17.leanback.widget.GuidedAction.Builder icon(android.graphics.drawable.Drawable); 898 method public android.support.v17.leanback.widget.GuidedAction.Builder iconResourceId(int, android.content.Context); 899 method public android.support.v17.leanback.widget.GuidedAction.Builder id(long); 900 method public android.support.v17.leanback.widget.GuidedAction.Builder infoOnly(boolean); 901 method public android.support.v17.leanback.widget.GuidedAction.Builder intent(android.content.Intent); 902 method public android.support.v17.leanback.widget.GuidedAction.Builder multilineDescription(boolean); 903 method public android.support.v17.leanback.widget.GuidedAction.Builder title(java.lang.String); 904 } 905 906 public class GuidedActionsStylist implements android.support.v17.leanback.widget.FragmentAnimationProvider { 907 ctor public GuidedActionsStylist(); 908 method public android.support.v17.leanback.widget.VerticalGridView getActionsGridView(); 909 method public void onActivityEnter(java.util.List<android.animation.Animator>); 910 method public void onActivityExit(java.util.List<android.animation.Animator>); 911 method public void onAnimateItemChecked(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 912 method public void onAnimateItemFocused(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 913 method public void onAnimateItemPressed(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, boolean); 914 method public void onBindViewHolder(android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder, android.support.v17.leanback.widget.GuidedAction); 915 method public android.view.View onCreateView(android.view.LayoutInflater, android.view.ViewGroup); 916 method public android.support.v17.leanback.widget.GuidedActionsStylist.ViewHolder onCreateViewHolder(android.view.ViewGroup); 917 method public void onFragmentEnter(java.util.List<android.animation.Animator>); 918 method public void onFragmentExit(java.util.List<android.animation.Animator>); 919 method public void onFragmentReenter(java.util.List<android.animation.Animator>); 920 method public void onFragmentReturn(java.util.List<android.animation.Animator>); 921 method public int onProvideItemLayoutId(); 922 method public int onProvideLayoutId(); 923 field protected android.support.v17.leanback.widget.VerticalGridView mActionsGridView; 924 field protected android.view.View mMainView; 925 field protected android.view.View mSelectorView; 926 } 927 928 public static class GuidedActionsStylist.ViewHolder { 929 ctor public GuidedActionsStylist.ViewHolder(android.view.View); 930 method public android.widget.ImageView getCheckmarkView(); 931 method public android.widget.ImageView getChevronView(); 932 method public android.view.View getContentView(); 933 method public android.widget.TextView getDescriptionView(); 934 method public android.widget.ImageView getIconView(); 935 method public android.widget.TextView getTitleView(); 936 field public final android.view.View view; 937 } 938 939 public class HeaderItem { 940 ctor public HeaderItem(long, java.lang.String); 941 ctor public HeaderItem(java.lang.String); 942 method public final long getId(); 943 method public final java.lang.String getName(); 944 } 945 946 public class HorizontalGridView extends android.support.v7.widget.RecyclerView { 947 ctor public HorizontalGridView(android.content.Context); 948 ctor public HorizontalGridView(android.content.Context, android.util.AttributeSet); 949 ctor public HorizontalGridView(android.content.Context, android.util.AttributeSet, int); 950 method public final boolean getFadingLeftEdge(); 951 method public final int getFadingLeftEdgeLength(); 952 method public final int getFadingLeftEdgeOffset(); 953 method public final boolean getFadingRightEdge(); 954 method public final int getFadingRightEdgeLength(); 955 method public final int getFadingRightEdgeOffset(); 956 method protected void initAttributes(android.content.Context, android.util.AttributeSet); 957 method public final void setFadingLeftEdge(boolean); 958 method public final void setFadingLeftEdgeLength(int); 959 method public final void setFadingLeftEdgeOffset(int); 960 method public final void setFadingRightEdge(boolean); 961 method public final void setFadingRightEdgeLength(int); 962 method public final void setFadingRightEdgeOffset(int); 963 method public void setNumRows(int); 964 method public void setRowHeight(int); 965 } 966 967 public final class HorizontalHoverCardSwitcher extends android.support.v17.leanback.widget.PresenterSwitcher { 968 ctor public HorizontalHoverCardSwitcher(); 969 method protected void insertView(android.view.View); 970 method public void select(android.support.v17.leanback.widget.HorizontalGridView, android.view.View, java.lang.Object); 971 } 972 973 public class ImageCardView extends android.support.v17.leanback.widget.BaseCardView { 974 ctor public ImageCardView(android.content.Context); 975 ctor public ImageCardView(android.content.Context, android.util.AttributeSet); 976 ctor public ImageCardView(android.content.Context, android.util.AttributeSet, int); 977 method public android.graphics.drawable.Drawable getBadgeImage(); 978 method public java.lang.CharSequence getContentText(); 979 method public android.graphics.drawable.Drawable getInfoAreaBackground(); 980 method public android.graphics.drawable.Drawable getMainImage(); 981 method public final android.widget.ImageView getMainImageView(); 982 method public java.lang.CharSequence getTitleText(); 983 method public void setBadgeImage(android.graphics.drawable.Drawable); 984 method public void setContentText(java.lang.CharSequence); 985 method public void setInfoAreaBackground(android.graphics.drawable.Drawable); 986 method public void setInfoAreaBackgroundColor(int); 987 method public void setMainImage(android.graphics.drawable.Drawable); 988 method public void setMainImage(android.graphics.drawable.Drawable, boolean); 989 method public void setMainImageAdjustViewBounds(boolean); 990 method public void setMainImageDimensions(int, int); 991 method public void setMainImageScaleType(android.widget.ImageView.ScaleType); 992 method public void setTitleText(java.lang.CharSequence); 993 } 994 995 public class ItemBridgeAdapter extends android.support.v7.widget.RecyclerView.Adapter { 996 ctor public ItemBridgeAdapter(android.support.v17.leanback.widget.ObjectAdapter, android.support.v17.leanback.widget.PresenterSelector); 997 ctor public ItemBridgeAdapter(android.support.v17.leanback.widget.ObjectAdapter); 998 ctor public ItemBridgeAdapter(); 999 method public void clear(); 1000 method public int getItemCount(); 1001 method public java.util.ArrayList<android.support.v17.leanback.widget.Presenter> getPresenterMapper(); 1002 method public android.support.v17.leanback.widget.ItemBridgeAdapter.Wrapper getWrapper(); 1003 method protected void onAddPresenter(android.support.v17.leanback.widget.Presenter, int); 1004 method protected void onAttachedToWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1005 method protected void onBind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1006 method public final void onBindViewHolder(android.support.v7.widget.RecyclerView.ViewHolder, int); 1007 method protected void onCreate(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1008 method public final android.support.v7.widget.RecyclerView.ViewHolder onCreateViewHolder(android.view.ViewGroup, int); 1009 method protected void onDetachedFromWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1010 method protected void onUnbind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1011 method public final void onViewAttachedToWindow(android.support.v7.widget.RecyclerView.ViewHolder); 1012 method public final void onViewDetachedFromWindow(android.support.v7.widget.RecyclerView.ViewHolder); 1013 method public final void onViewRecycled(android.support.v7.widget.RecyclerView.ViewHolder); 1014 method public void setAdapter(android.support.v17.leanback.widget.ObjectAdapter); 1015 method public void setAdapterListener(android.support.v17.leanback.widget.ItemBridgeAdapter.AdapterListener); 1016 method public void setPresenterMapper(java.util.ArrayList<android.support.v17.leanback.widget.Presenter>); 1017 method public void setWrapper(android.support.v17.leanback.widget.ItemBridgeAdapter.Wrapper); 1018 } 1019 1020 public static class ItemBridgeAdapter.AdapterListener { 1021 ctor public ItemBridgeAdapter.AdapterListener(); 1022 method public void onAddPresenter(android.support.v17.leanback.widget.Presenter, int); 1023 method public void onAttachedToWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1024 method public void onBind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1025 method public void onCreate(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1026 method public void onDetachedFromWindow(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1027 method public void onUnbind(android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder); 1028 } 1029 1030 public class ItemBridgeAdapter.ViewHolder extends android.support.v7.widget.RecyclerView.ViewHolder { 1031 method public final java.lang.Object getExtraObject(); 1032 method public final java.lang.Object getItem(); 1033 method public final android.support.v17.leanback.widget.Presenter getPresenter(); 1034 method public final android.support.v17.leanback.widget.Presenter.ViewHolder getViewHolder(); 1035 method public void setExtraObject(java.lang.Object); 1036 } 1037 1038 public static abstract class ItemBridgeAdapter.Wrapper { 1039 ctor public ItemBridgeAdapter.Wrapper(); 1040 method public abstract android.view.View createWrapper(android.view.View); 1041 method public abstract void wrap(android.view.View, android.view.View); 1042 } 1043 1044 public class ListRow extends android.support.v17.leanback.widget.Row { 1045 ctor public ListRow(android.support.v17.leanback.widget.HeaderItem, android.support.v17.leanback.widget.ObjectAdapter); 1046 ctor public ListRow(long, android.support.v17.leanback.widget.HeaderItem, android.support.v17.leanback.widget.ObjectAdapter); 1047 ctor public ListRow(android.support.v17.leanback.widget.ObjectAdapter); 1048 method public final android.support.v17.leanback.widget.ObjectAdapter getAdapter(); 1049 } 1050 1051 public final class ListRowHoverCardView extends android.widget.LinearLayout { 1052 ctor public ListRowHoverCardView(android.content.Context); 1053 ctor public ListRowHoverCardView(android.content.Context, android.util.AttributeSet); 1054 ctor public ListRowHoverCardView(android.content.Context, android.util.AttributeSet, int); 1055 method public final java.lang.CharSequence getDescription(); 1056 method public final java.lang.CharSequence getTitle(); 1057 method public final void setDescription(java.lang.CharSequence); 1058 method public final void setTitle(java.lang.CharSequence); 1059 } 1060 1061 public class ListRowPresenter extends android.support.v17.leanback.widget.RowPresenter { 1062 ctor public ListRowPresenter(); 1063 ctor public ListRowPresenter(int); 1064 ctor public ListRowPresenter(int, boolean); 1065 method public final boolean areChildRoundedCornersEnabled(); 1066 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1067 method public final void enableChildRoundedCorners(boolean); 1068 method public int getExpandedRowHeight(); 1069 method public final int getFocusZoomFactor(); 1070 method public final android.support.v17.leanback.widget.PresenterSelector getHoverCardPresenterSelector(); 1071 method public int getRecycledPoolSize(android.support.v17.leanback.widget.Presenter); 1072 method public int getRowHeight(); 1073 method public final boolean getShadowEnabled(); 1074 method public final deprecated int getZoomFactor(); 1075 method public final boolean isFocusDimmerUsed(); 1076 method public boolean isUsingDefaultListSelectEffect(); 1077 method public final boolean isUsingDefaultSelectEffect(); 1078 method public boolean isUsingDefaultShadow(); 1079 method public boolean isUsingZOrder(); 1080 method public void setExpandedRowHeight(int); 1081 method public final void setHoverCardPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 1082 method public void setRecycledPoolSize(android.support.v17.leanback.widget.Presenter, int); 1083 method public void setRowHeight(int); 1084 method public final void setShadowEnabled(boolean); 1085 } 1086 1087 public static class ListRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 1088 ctor public ListRowPresenter.ViewHolder(android.view.View, android.support.v17.leanback.widget.HorizontalGridView, android.support.v17.leanback.widget.ListRowPresenter); 1089 method public final android.support.v17.leanback.widget.ItemBridgeAdapter getBridgeAdapter(); 1090 method public final android.support.v17.leanback.widget.HorizontalGridView getGridView(); 1091 method public final android.support.v17.leanback.widget.ListRowPresenter getListRowPresenter(); 1092 } 1093 1094 public final class ListRowView extends android.widget.LinearLayout { 1095 ctor public ListRowView(android.content.Context); 1096 ctor public ListRowView(android.content.Context, android.util.AttributeSet); 1097 ctor public ListRowView(android.content.Context, android.util.AttributeSet, int); 1098 method public android.support.v17.leanback.widget.HorizontalGridView getGridView(); 1099 } 1100 1101 public abstract class ObjectAdapter { 1102 ctor public ObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 1103 ctor public ObjectAdapter(android.support.v17.leanback.widget.Presenter); 1104 ctor public ObjectAdapter(); 1105 method public abstract java.lang.Object get(int); 1106 method public long getId(int); 1107 method public final android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 1108 method public final android.support.v17.leanback.widget.PresenterSelector getPresenterSelector(); 1109 method public final boolean hasStableIds(); 1110 method protected final void notifyChanged(); 1111 method protected final void notifyItemRangeChanged(int, int); 1112 method protected final void notifyItemRangeInserted(int, int); 1113 method protected final void notifyItemRangeRemoved(int, int); 1114 method protected void onHasStableIdsChanged(); 1115 method protected void onPresenterSelectorChanged(); 1116 method public final void registerObserver(android.support.v17.leanback.widget.ObjectAdapter.DataObserver); 1117 method public final void setHasStableIds(boolean); 1118 method public final void setPresenterSelector(android.support.v17.leanback.widget.PresenterSelector); 1119 method public abstract int size(); 1120 method public final void unregisterAllObservers(); 1121 method public final void unregisterObserver(android.support.v17.leanback.widget.ObjectAdapter.DataObserver); 1122 field public static final int NO_ID = -1; // 0xffffffff 1123 } 1124 1125 public static abstract class ObjectAdapter.DataObserver { 1126 ctor public ObjectAdapter.DataObserver(); 1127 method public void onChanged(); 1128 method public void onItemRangeChanged(int, int); 1129 method public void onItemRangeInserted(int, int); 1130 method public void onItemRangeRemoved(int, int); 1131 } 1132 1133 public abstract interface OnActionClickedListener { 1134 method public abstract void onActionClicked(android.support.v17.leanback.widget.Action); 1135 } 1136 1137 public abstract interface OnChildLaidOutListener { 1138 method public abstract void onChildLaidOut(android.view.ViewGroup, android.view.View, int, long); 1139 } 1140 1141 public abstract interface OnChildSelectedListener { 1142 method public abstract void onChildSelected(android.view.ViewGroup, android.view.View, int, long); 1143 } 1144 1145 public abstract interface OnItemViewClickedListener { 1146 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); 1147 } 1148 1149 public abstract interface OnItemViewSelectedListener { 1150 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); 1151 } 1152 1153 public class PlaybackControlsRow extends android.support.v17.leanback.widget.Row { 1154 ctor public PlaybackControlsRow(java.lang.Object); 1155 ctor public PlaybackControlsRow(); 1156 method public android.support.v17.leanback.widget.Action getActionForKeyCode(int); 1157 method public android.support.v17.leanback.widget.Action getActionForKeyCode(android.support.v17.leanback.widget.ObjectAdapter, int); 1158 method public int getBufferedProgress(); 1159 method public int getCurrentTime(); 1160 method public final android.graphics.drawable.Drawable getImageDrawable(); 1161 method public final java.lang.Object getItem(); 1162 method public final android.support.v17.leanback.widget.ObjectAdapter getPrimaryActionsAdapter(); 1163 method public final android.support.v17.leanback.widget.ObjectAdapter getSecondaryActionsAdapter(); 1164 method public int getTotalTime(); 1165 method public void setBufferedProgress(int); 1166 method public void setCurrentTime(int); 1167 method public final void setImageBitmap(android.content.Context, android.graphics.Bitmap); 1168 method public final void setImageDrawable(android.graphics.drawable.Drawable); 1169 method public final void setPrimaryActionsAdapter(android.support.v17.leanback.widget.ObjectAdapter); 1170 method public final void setSecondaryActionsAdapter(android.support.v17.leanback.widget.ObjectAdapter); 1171 method public void setTotalTime(int); 1172 } 1173 1174 public static class PlaybackControlsRow.ClosedCaptioningAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1175 ctor public PlaybackControlsRow.ClosedCaptioningAction(android.content.Context); 1176 ctor public PlaybackControlsRow.ClosedCaptioningAction(android.content.Context, int); 1177 field public static int OFF; 1178 field public static int ON; 1179 } 1180 1181 public static class PlaybackControlsRow.FastForwardAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1182 ctor public PlaybackControlsRow.FastForwardAction(android.content.Context); 1183 ctor public PlaybackControlsRow.FastForwardAction(android.content.Context, int); 1184 } 1185 1186 public static class PlaybackControlsRow.HighQualityAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1187 ctor public PlaybackControlsRow.HighQualityAction(android.content.Context); 1188 ctor public PlaybackControlsRow.HighQualityAction(android.content.Context, int); 1189 field public static int OFF; 1190 field public static int ON; 1191 } 1192 1193 public static class PlaybackControlsRow.MoreActions extends android.support.v17.leanback.widget.Action { 1194 ctor public PlaybackControlsRow.MoreActions(android.content.Context); 1195 } 1196 1197 public static abstract class PlaybackControlsRow.MultiAction extends android.support.v17.leanback.widget.Action { 1198 ctor public PlaybackControlsRow.MultiAction(int); 1199 method public int getActionCount(); 1200 method public android.graphics.drawable.Drawable getDrawable(int); 1201 method public int getIndex(); 1202 method public java.lang.String getLabel(int); 1203 method public java.lang.String getSecondaryLabel(int); 1204 method public void nextIndex(); 1205 method public void setDrawables(android.graphics.drawable.Drawable[]); 1206 method public void setIndex(int); 1207 method public void setLabels(java.lang.String[]); 1208 method public void setSecondaryLabels(java.lang.String[]); 1209 } 1210 1211 public static class PlaybackControlsRow.PlayPauseAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1212 ctor public PlaybackControlsRow.PlayPauseAction(android.content.Context); 1213 field public static int PAUSE; 1214 field public static int PLAY; 1215 } 1216 1217 public static class PlaybackControlsRow.RepeatAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1218 ctor public PlaybackControlsRow.RepeatAction(android.content.Context); 1219 ctor public PlaybackControlsRow.RepeatAction(android.content.Context, int); 1220 ctor public PlaybackControlsRow.RepeatAction(android.content.Context, int, int); 1221 field public static int ALL; 1222 field public static int NONE; 1223 field public static int ONE; 1224 } 1225 1226 public static class PlaybackControlsRow.RewindAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1227 ctor public PlaybackControlsRow.RewindAction(android.content.Context); 1228 ctor public PlaybackControlsRow.RewindAction(android.content.Context, int); 1229 } 1230 1231 public static class PlaybackControlsRow.ShuffleAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1232 ctor public PlaybackControlsRow.ShuffleAction(android.content.Context); 1233 ctor public PlaybackControlsRow.ShuffleAction(android.content.Context, int); 1234 field public static int OFF; 1235 field public static int ON; 1236 } 1237 1238 public static class PlaybackControlsRow.SkipNextAction extends android.support.v17.leanback.widget.Action { 1239 ctor public PlaybackControlsRow.SkipNextAction(android.content.Context); 1240 } 1241 1242 public static class PlaybackControlsRow.SkipPreviousAction extends android.support.v17.leanback.widget.Action { 1243 ctor public PlaybackControlsRow.SkipPreviousAction(android.content.Context); 1244 } 1245 1246 public static abstract class PlaybackControlsRow.ThumbsAction extends android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction { 1247 ctor public PlaybackControlsRow.ThumbsAction(int, android.content.Context, int, int); 1248 field public static int OUTLINE; 1249 field public static int SOLID; 1250 } 1251 1252 public static class PlaybackControlsRow.ThumbsDownAction extends android.support.v17.leanback.widget.PlaybackControlsRow.ThumbsAction { 1253 ctor public PlaybackControlsRow.ThumbsDownAction(android.content.Context); 1254 } 1255 1256 public static class PlaybackControlsRow.ThumbsUpAction extends android.support.v17.leanback.widget.PlaybackControlsRow.ThumbsAction { 1257 ctor public PlaybackControlsRow.ThumbsUpAction(android.content.Context); 1258 } 1259 1260 public class PlaybackControlsRowPresenter extends android.support.v17.leanback.widget.RowPresenter { 1261 ctor public PlaybackControlsRowPresenter(android.support.v17.leanback.widget.Presenter); 1262 ctor public PlaybackControlsRowPresenter(); 1263 method public boolean areSecondaryActionsHidden(); 1264 method protected android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1265 method public int getBackgroundColor(); 1266 method public android.support.v17.leanback.widget.OnActionClickedListener getOnActionClickedListener(); 1267 method public int getProgressColor(); 1268 method public void setBackgroundColor(int); 1269 method public void setOnActionClickedListener(android.support.v17.leanback.widget.OnActionClickedListener); 1270 method public void setProgressColor(int); 1271 method public void setSecondaryActionsHidden(boolean); 1272 method public void showBottomSpace(android.support.v17.leanback.widget.PlaybackControlsRowPresenter.ViewHolder, boolean); 1273 method public void showPrimaryActions(android.support.v17.leanback.widget.PlaybackControlsRowPresenter.ViewHolder); 1274 } 1275 1276 public class PlaybackControlsRowPresenter.ViewHolder extends android.support.v17.leanback.widget.RowPresenter.ViewHolder { 1277 field public final android.support.v17.leanback.widget.Presenter.ViewHolder mDescriptionViewHolder; 1278 } 1279 1280 public abstract class Presenter { 1281 ctor public Presenter(); 1282 method protected static void cancelAnimationsRecursive(android.view.View); 1283 method public abstract void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1284 method public abstract android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1285 method public abstract void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1286 method public void onViewAttachedToWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1287 method public void onViewDetachedFromWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1288 method public void setOnClickListener(android.support.v17.leanback.widget.Presenter.ViewHolder, android.view.View.OnClickListener); 1289 } 1290 1291 public static class Presenter.ViewHolder { 1292 ctor public Presenter.ViewHolder(android.view.View); 1293 field public final android.view.View view; 1294 } 1295 1296 public abstract class PresenterSelector { 1297 ctor public PresenterSelector(); 1298 method public abstract android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 1299 } 1300 1301 public abstract class PresenterSwitcher { 1302 ctor public PresenterSwitcher(); 1303 method public void clear(); 1304 method public final android.view.ViewGroup getParentViewGroup(); 1305 method public void init(android.view.ViewGroup, android.support.v17.leanback.widget.PresenterSelector); 1306 method protected abstract void insertView(android.view.View); 1307 method protected void onViewSelected(android.view.View); 1308 method public void select(java.lang.Object); 1309 method protected void showView(android.view.View, boolean); 1310 method public void unselect(); 1311 } 1312 1313 public class Row { 1314 ctor public Row(long, android.support.v17.leanback.widget.HeaderItem); 1315 ctor public Row(android.support.v17.leanback.widget.HeaderItem); 1316 ctor public Row(); 1317 method public final android.support.v17.leanback.widget.HeaderItem getHeaderItem(); 1318 method public final long getId(); 1319 method public final void setHeaderItem(android.support.v17.leanback.widget.HeaderItem); 1320 method public final void setId(long); 1321 } 1322 1323 public class RowHeaderPresenter extends android.support.v17.leanback.widget.Presenter { 1324 ctor public RowHeaderPresenter(); 1325 method protected static float getFontDescent(android.widget.TextView, android.graphics.Paint); 1326 method public int getSpaceUnderBaseline(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder); 1327 method public boolean isNullItemVisibilityGone(); 1328 method public void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1329 method public android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1330 method protected void onSelectLevelChanged(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder); 1331 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1332 method public void setNullItemVisibilityGone(boolean); 1333 method public final void setSelectLevel(android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder, float); 1334 } 1335 1336 public static class RowHeaderPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 1337 ctor public RowHeaderPresenter.ViewHolder(android.view.View); 1338 method public final float getSelectLevel(); 1339 } 1340 1341 public final class RowHeaderView extends android.widget.TextView { 1342 ctor public RowHeaderView(android.content.Context); 1343 ctor public RowHeaderView(android.content.Context, android.util.AttributeSet); 1344 ctor public RowHeaderView(android.content.Context, android.util.AttributeSet, int); 1345 } 1346 1347 public abstract class RowPresenter extends android.support.v17.leanback.widget.Presenter { 1348 ctor public RowPresenter(); 1349 method public boolean canDrawOutOfBounds(); 1350 method protected abstract android.support.v17.leanback.widget.RowPresenter.ViewHolder createRowViewHolder(android.view.ViewGroup); 1351 method protected void dispatchItemSelectedListener(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1352 method public void freeze(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1353 method public final android.support.v17.leanback.widget.RowHeaderPresenter getHeaderPresenter(); 1354 method public final android.support.v17.leanback.widget.RowPresenter.ViewHolder getRowViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1355 method public final boolean getSelectEffectEnabled(); 1356 method public final float getSelectLevel(android.support.v17.leanback.widget.Presenter.ViewHolder); 1357 method public final int getSyncActivatePolicy(); 1358 method protected void initializeRowViewHolder(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1359 method public boolean isUsingDefaultSelectEffect(); 1360 method protected void onBindRowViewHolder(android.support.v17.leanback.widget.RowPresenter.ViewHolder, java.lang.Object); 1361 method public final void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1362 method public final android.support.v17.leanback.widget.Presenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1363 method protected void onRowViewAttachedToWindow(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1364 method protected void onRowViewDetachedFromWindow(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1365 method protected void onRowViewExpanded(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1366 method protected void onRowViewSelected(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1367 method protected void onSelectLevelChanged(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1368 method protected void onUnbindRowViewHolder(android.support.v17.leanback.widget.RowPresenter.ViewHolder); 1369 method public final void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1370 method public final void onViewAttachedToWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1371 method public final void onViewDetachedFromWindow(android.support.v17.leanback.widget.Presenter.ViewHolder); 1372 method public void setEntranceTransitionState(android.support.v17.leanback.widget.RowPresenter.ViewHolder, boolean); 1373 method public final void setHeaderPresenter(android.support.v17.leanback.widget.RowHeaderPresenter); 1374 method public final void setRowViewExpanded(android.support.v17.leanback.widget.Presenter.ViewHolder, boolean); 1375 method public final void setRowViewSelected(android.support.v17.leanback.widget.Presenter.ViewHolder, boolean); 1376 method public final void setSelectEffectEnabled(boolean); 1377 method public final void setSelectLevel(android.support.v17.leanback.widget.Presenter.ViewHolder, float); 1378 method public final void setSyncActivatePolicy(int); 1379 field public static final int SYNC_ACTIVATED_CUSTOM = 0; // 0x0 1380 field public static final int SYNC_ACTIVATED_TO_EXPANDED = 1; // 0x1 1381 field public static final int SYNC_ACTIVATED_TO_EXPANDED_AND_SELECTED = 3; // 0x3 1382 field public static final int SYNC_ACTIVATED_TO_SELECTED = 2; // 0x2 1383 } 1384 1385 public static class RowPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 1386 ctor public RowPresenter.ViewHolder(android.view.View); 1387 method public final android.support.v17.leanback.widget.RowHeaderPresenter.ViewHolder getHeaderViewHolder(); 1388 method public final android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 1389 method public final android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 1390 method public android.view.View.OnKeyListener getOnKeyListener(); 1391 method public final android.support.v17.leanback.widget.Row getRow(); 1392 method public final float getSelectLevel(); 1393 method public final boolean isExpanded(); 1394 method public final boolean isSelected(); 1395 method public final void setActivated(boolean); 1396 method public final void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 1397 method public final void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 1398 method public void setOnKeyListener(android.view.View.OnKeyListener); 1399 method public final void syncActivatedStatus(android.view.View); 1400 field protected final android.support.v17.leanback.graphics.ColorOverlayDimmer mColorDimmer; 1401 } 1402 1403 public class SearchBar extends android.widget.RelativeLayout { 1404 ctor public SearchBar(android.content.Context); 1405 ctor public SearchBar(android.content.Context, android.util.AttributeSet); 1406 ctor public SearchBar(android.content.Context, android.util.AttributeSet, int); 1407 method public void displayCompletions(java.util.List<java.lang.String>); 1408 method public android.graphics.drawable.Drawable getBadgeDrawable(); 1409 method public java.lang.CharSequence getHint(); 1410 method public java.lang.String getTitle(); 1411 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 1412 method public void setSearchBarListener(android.support.v17.leanback.widget.SearchBar.SearchBarListener); 1413 method public void setSearchQuery(java.lang.String); 1414 method public void setSpeechRecognitionCallback(android.support.v17.leanback.widget.SpeechRecognitionCallback); 1415 method public void setSpeechRecognizer(android.speech.SpeechRecognizer); 1416 method public void setTitle(java.lang.String); 1417 method public void startRecognition(); 1418 method public void stopRecognition(); 1419 } 1420 1421 public static abstract interface SearchBar.SearchBarListener { 1422 method public abstract void onKeyboardDismiss(java.lang.String); 1423 method public abstract void onSearchQueryChange(java.lang.String); 1424 method public abstract void onSearchQuerySubmit(java.lang.String); 1425 } 1426 1427 public class SearchEditText extends android.support.v17.leanback.widget.StreamingTextView { 1428 ctor public SearchEditText(android.content.Context); 1429 ctor public SearchEditText(android.content.Context, android.util.AttributeSet); 1430 ctor public SearchEditText(android.content.Context, android.util.AttributeSet, int); 1431 method public void setOnKeyboardDismissListener(android.support.v17.leanback.widget.SearchEditText.OnKeyboardDismissListener); 1432 } 1433 1434 public static abstract interface SearchEditText.OnKeyboardDismissListener { 1435 method public abstract void onKeyboardDismiss(); 1436 } 1437 1438 public class SearchOrbView extends android.widget.FrameLayout implements android.view.View.OnClickListener { 1439 ctor public SearchOrbView(android.content.Context); 1440 ctor public SearchOrbView(android.content.Context, android.util.AttributeSet); 1441 ctor public SearchOrbView(android.content.Context, android.util.AttributeSet, int); 1442 method public void enableOrbColorAnimation(boolean); 1443 method public int getOrbColor(); 1444 method public android.support.v17.leanback.widget.SearchOrbView.Colors getOrbColors(); 1445 method public android.graphics.drawable.Drawable getOrbIcon(); 1446 method public void onClick(android.view.View); 1447 method public void setOnOrbClickedListener(android.view.View.OnClickListener); 1448 method public void setOrbColor(int); 1449 method public deprecated void setOrbColor(int, int); 1450 method public void setOrbColors(android.support.v17.leanback.widget.SearchOrbView.Colors); 1451 method public void setOrbIcon(android.graphics.drawable.Drawable); 1452 } 1453 1454 public static class SearchOrbView.Colors { 1455 ctor public SearchOrbView.Colors(int); 1456 ctor public SearchOrbView.Colors(int, int); 1457 ctor public SearchOrbView.Colors(int, int, int); 1458 method public static int getBrightColor(int); 1459 field public int brightColor; 1460 field public int color; 1461 field public int iconColor; 1462 } 1463 1464 public class ShadowOverlayContainer extends android.view.ViewGroup { 1465 ctor public ShadowOverlayContainer(android.content.Context); 1466 ctor public ShadowOverlayContainer(android.content.Context, android.util.AttributeSet); 1467 ctor public ShadowOverlayContainer(android.content.Context, android.util.AttributeSet, int); 1468 method public deprecated void initialize(boolean, boolean); 1469 method public void initialize(boolean, boolean, boolean); 1470 method protected void onLayout(boolean, int, int, int, int); 1471 method public static void prepareParentForShadow(android.view.ViewGroup); 1472 method public void setOverlayColor(int); 1473 method public void setShadowFocusLevel(float); 1474 method public static boolean supportsShadow(); 1475 method public void wrap(android.view.View); 1476 } 1477 1478 public final class SinglePresenterSelector extends android.support.v17.leanback.widget.PresenterSelector { 1479 ctor public SinglePresenterSelector(android.support.v17.leanback.widget.Presenter); 1480 method public android.support.v17.leanback.widget.Presenter getPresenter(java.lang.Object); 1481 } 1482 1483 public class SparseArrayObjectAdapter extends android.support.v17.leanback.widget.ObjectAdapter { 1484 ctor public SparseArrayObjectAdapter(android.support.v17.leanback.widget.PresenterSelector); 1485 ctor public SparseArrayObjectAdapter(android.support.v17.leanback.widget.Presenter); 1486 ctor public SparseArrayObjectAdapter(); 1487 method public void clear(int); 1488 method public void clear(); 1489 method public java.lang.Object get(int); 1490 method public int indexOf(java.lang.Object); 1491 method public int indexOf(int); 1492 method public java.lang.Object lookup(int); 1493 method public void notifyArrayItemRangeChanged(int, int); 1494 method public void set(int, java.lang.Object); 1495 method public int size(); 1496 } 1497 1498 public class SpeechOrbView extends android.support.v17.leanback.widget.SearchOrbView { 1499 ctor public SpeechOrbView(android.content.Context); 1500 ctor public SpeechOrbView(android.content.Context, android.util.AttributeSet); 1501 ctor public SpeechOrbView(android.content.Context, android.util.AttributeSet, int); 1502 method public void setSoundLevel(int); 1503 method public void showListening(); 1504 method public void showNotListening(); 1505 } 1506 1507 public abstract interface SpeechRecognitionCallback { 1508 method public abstract void recognizeSpeech(); 1509 } 1510 1511 class StreamingTextView extends android.widget.EditText { 1512 ctor public StreamingTextView(android.content.Context, android.util.AttributeSet); 1513 ctor public StreamingTextView(android.content.Context, android.util.AttributeSet, int); 1514 method public static boolean isLayoutRtl(android.view.View); 1515 method public void reset(); 1516 method public void setFinalRecognizedText(java.lang.CharSequence); 1517 method public void updateRecognizedText(java.lang.String, java.lang.String); 1518 method public void updateRecognizedText(java.lang.String, java.util.List<java.lang.Float>); 1519 } 1520 1521 public class TitleHelper { 1522 ctor public TitleHelper(android.view.ViewGroup, android.support.v17.leanback.widget.TitleView); 1523 method public android.support.v17.leanback.widget.BrowseFrameLayout.OnFocusSearchListener getOnFocusSearchListener(); 1524 method public android.view.ViewGroup getSceneRoot(); 1525 method public android.support.v17.leanback.widget.TitleView getTitleView(); 1526 method public void showTitle(boolean); 1527 } 1528 1529 public class TitleView extends android.widget.FrameLayout { 1530 ctor public TitleView(android.content.Context); 1531 ctor public TitleView(android.content.Context, android.util.AttributeSet); 1532 ctor public TitleView(android.content.Context, android.util.AttributeSet, int); 1533 method public void enableAnimation(boolean); 1534 method public android.graphics.drawable.Drawable getBadgeDrawable(); 1535 method public android.support.v17.leanback.widget.SearchOrbView.Colors getSearchAffordanceColors(); 1536 method public android.view.View getSearchAffordanceView(); 1537 method public java.lang.CharSequence getTitle(); 1538 method public void setBadgeDrawable(android.graphics.drawable.Drawable); 1539 method public void setOnSearchClickedListener(android.view.View.OnClickListener); 1540 method public void setSearchAffordanceColors(android.support.v17.leanback.widget.SearchOrbView.Colors); 1541 method public void setTitle(java.lang.String); 1542 } 1543 1544 public class VerticalGridPresenter extends android.support.v17.leanback.widget.Presenter { 1545 ctor public VerticalGridPresenter(); 1546 ctor public VerticalGridPresenter(int); 1547 ctor public VerticalGridPresenter(int, boolean); 1548 method public final boolean areChildRoundedCornersEnabled(); 1549 method protected android.support.v17.leanback.widget.VerticalGridPresenter.ViewHolder createGridViewHolder(android.view.ViewGroup); 1550 method public final void enableChildRoundedCorners(boolean); 1551 method public final int getFocusZoomFactor(); 1552 method public int getNumberOfColumns(); 1553 method public final android.support.v17.leanback.widget.OnItemViewClickedListener getOnItemViewClickedListener(); 1554 method public final android.support.v17.leanback.widget.OnItemViewSelectedListener getOnItemViewSelectedListener(); 1555 method public final boolean getShadowEnabled(); 1556 method protected void initializeGridViewHolder(android.support.v17.leanback.widget.VerticalGridPresenter.ViewHolder); 1557 method public final boolean isFocusDimmerUsed(); 1558 method public boolean isUsingDefaultShadow(); 1559 method public boolean isUsingZOrder(); 1560 method public void onBindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder, java.lang.Object); 1561 method public final android.support.v17.leanback.widget.VerticalGridPresenter.ViewHolder onCreateViewHolder(android.view.ViewGroup); 1562 method public void onUnbindViewHolder(android.support.v17.leanback.widget.Presenter.ViewHolder); 1563 method public void setNumberOfColumns(int); 1564 method public final void setOnItemViewClickedListener(android.support.v17.leanback.widget.OnItemViewClickedListener); 1565 method public final void setOnItemViewSelectedListener(android.support.v17.leanback.widget.OnItemViewSelectedListener); 1566 method public final void setShadowEnabled(boolean); 1567 } 1568 1569 public static class VerticalGridPresenter.ViewHolder extends android.support.v17.leanback.widget.Presenter.ViewHolder { 1570 ctor public VerticalGridPresenter.ViewHolder(android.support.v17.leanback.widget.VerticalGridView); 1571 method public android.support.v17.leanback.widget.VerticalGridView getGridView(); 1572 } 1573 1574 public class VerticalGridView extends android.support.v7.widget.RecyclerView { 1575 ctor public VerticalGridView(android.content.Context); 1576 ctor public VerticalGridView(android.content.Context, android.util.AttributeSet); 1577 ctor public VerticalGridView(android.content.Context, android.util.AttributeSet, int); 1578 method protected void initAttributes(android.content.Context, android.util.AttributeSet); 1579 method public void setColumnWidth(int); 1580 method public void setNumColumns(int); 1581 } 1582 1583} 1584 1585package android.support.v4.accessibilityservice { 1586 1587 public class AccessibilityServiceInfoCompat { 1588 method public static java.lang.String capabilityToString(int); 1589 method public static java.lang.String feedbackTypeToString(int); 1590 method public static java.lang.String flagToString(int); 1591 method public static boolean getCanRetrieveWindowContent(android.accessibilityservice.AccessibilityServiceInfo); 1592 method public static int getCapabilities(android.accessibilityservice.AccessibilityServiceInfo); 1593 method public static java.lang.String getDescription(android.accessibilityservice.AccessibilityServiceInfo); 1594 method public static java.lang.String getId(android.accessibilityservice.AccessibilityServiceInfo); 1595 method public static android.content.pm.ResolveInfo getResolveInfo(android.accessibilityservice.AccessibilityServiceInfo); 1596 method public static java.lang.String getSettingsActivityName(android.accessibilityservice.AccessibilityServiceInfo); 1597 field public static final int CAPABILITY_CAN_FILTER_KEY_EVENTS = 8; // 0x8 1598 field public static final int CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY = 4; // 0x4 1599 field public static final int CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION = 2; // 0x2 1600 field public static final int CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT = 1; // 0x1 1601 field public static final int DEFAULT = 1; // 0x1 1602 field public static final int FEEDBACK_ALL_MASK = -1; // 0xffffffff 1603 field public static final int FEEDBACK_BRAILLE = 32; // 0x20 1604 field public static final int FLAG_INCLUDE_NOT_IMPORTANT_VIEWS = 2; // 0x2 1605 field public static final int FLAG_REPORT_VIEW_IDS = 16; // 0x10 1606 field public static final int FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY = 8; // 0x8 1607 field public static final int FLAG_REQUEST_FILTER_KEY_EVENTS = 32; // 0x20 1608 field public static final int FLAG_REQUEST_TOUCH_EXPLORATION_MODE = 4; // 0x4 1609 } 1610 1611} 1612 1613package android.support.v4.app { 1614 1615 public deprecated class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.DrawerListener { 1616 ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, int, int, int); 1617 ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, boolean, int, int, int); 1618 method public boolean isDrawerIndicatorEnabled(); 1619 method public void onConfigurationChanged(android.content.res.Configuration); 1620 method public void onDrawerClosed(android.view.View); 1621 method public void onDrawerOpened(android.view.View); 1622 method public void onDrawerSlide(android.view.View, float); 1623 method public void onDrawerStateChanged(int); 1624 method public boolean onOptionsItemSelected(android.view.MenuItem); 1625 method public void setDrawerIndicatorEnabled(boolean); 1626 method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable); 1627 method public void setHomeAsUpIndicator(int); 1628 method public void syncState(); 1629 } 1630 1631 public static abstract interface ActionBarDrawerToggle.Delegate { 1632 method public abstract android.graphics.drawable.Drawable getThemeUpIndicator(); 1633 method public abstract void setActionBarDescription(int); 1634 method public abstract void setActionBarUpIndicator(android.graphics.drawable.Drawable, int); 1635 } 1636 1637 public static abstract interface ActionBarDrawerToggle.DelegateProvider { 1638 method public abstract android.support.v4.app.ActionBarDrawerToggle.Delegate getDrawerToggleDelegate(); 1639 } 1640 1641 public class ActivityCompat extends android.support.v4.content.ContextCompat { 1642 ctor public ActivityCompat(); 1643 method public static void finishAffinity(android.app.Activity); 1644 method public static void finishAfterTransition(android.app.Activity); 1645 method public static boolean invalidateOptionsMenu(android.app.Activity); 1646 method public static void postponeEnterTransition(android.app.Activity); 1647 method public static void setEnterSharedElementCallback(android.app.Activity, android.support.v4.app.SharedElementCallback); 1648 method public static void setExitSharedElementCallback(android.app.Activity, android.support.v4.app.SharedElementCallback); 1649 method public static void startActivity(android.app.Activity, android.content.Intent, android.os.Bundle); 1650 method public static void startActivityForResult(android.app.Activity, android.content.Intent, int, android.os.Bundle); 1651 method public static void startPostponedEnterTransition(android.app.Activity); 1652 } 1653 1654 public final class ActivityManagerCompat { 1655 method public static boolean isLowRamDevice(android.app.ActivityManager); 1656 } 1657 1658 public class ActivityOptionsCompat { 1659 ctor protected ActivityOptionsCompat(); 1660 method public static android.support.v4.app.ActivityOptionsCompat makeCustomAnimation(android.content.Context, int, int); 1661 method public static android.support.v4.app.ActivityOptionsCompat makeScaleUpAnimation(android.view.View, int, int, int, int); 1662 method public static android.support.v4.app.ActivityOptionsCompat makeSceneTransitionAnimation(android.app.Activity, android.view.View, java.lang.String); 1663 method public static android.support.v4.app.ActivityOptionsCompat makeSceneTransitionAnimation(android.app.Activity, android.support.v4.util.Pair<android.view.View, java.lang.String>...); 1664 method public static android.support.v4.app.ActivityOptionsCompat makeThumbnailScaleUpAnimation(android.view.View, android.graphics.Bitmap, int, int); 1665 method public android.os.Bundle toBundle(); 1666 method public void update(android.support.v4.app.ActivityOptionsCompat); 1667 } 1668 1669 public class DialogFragment extends android.support.v4.app.Fragment implements android.content.DialogInterface.OnCancelListener android.content.DialogInterface.OnDismissListener { 1670 ctor public DialogFragment(); 1671 method public void dismiss(); 1672 method public void dismissAllowingStateLoss(); 1673 method public android.app.Dialog getDialog(); 1674 method public boolean getShowsDialog(); 1675 method public int getTheme(); 1676 method public boolean isCancelable(); 1677 method public void onCancel(android.content.DialogInterface); 1678 method public android.app.Dialog onCreateDialog(android.os.Bundle); 1679 method public void onDismiss(android.content.DialogInterface); 1680 method public void setCancelable(boolean); 1681 method public void setShowsDialog(boolean); 1682 method public void setStyle(int, int); 1683 method public void show(android.support.v4.app.FragmentManager, java.lang.String); 1684 method public int show(android.support.v4.app.FragmentTransaction, java.lang.String); 1685 field public static final int STYLE_NORMAL = 0; // 0x0 1686 field public static final int STYLE_NO_FRAME = 2; // 0x2 1687 field public static final int STYLE_NO_INPUT = 3; // 0x3 1688 field public static final int STYLE_NO_TITLE = 1; // 0x1 1689 } 1690 1691 public class Fragment implements android.content.ComponentCallbacks android.view.View.OnCreateContextMenuListener { 1692 ctor public Fragment(); 1693 method public void dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]); 1694 method public final boolean equals(java.lang.Object); 1695 method public final android.support.v4.app.FragmentActivity getActivity(); 1696 method public boolean getAllowEnterTransitionOverlap(); 1697 method public boolean getAllowReturnTransitionOverlap(); 1698 method public final android.os.Bundle getArguments(); 1699 method public final android.support.v4.app.FragmentManager getChildFragmentManager(); 1700 method public java.lang.Object getEnterTransition(); 1701 method public java.lang.Object getExitTransition(); 1702 method public final android.support.v4.app.FragmentManager getFragmentManager(); 1703 method public final int getId(); 1704 method public android.support.v4.app.LoaderManager getLoaderManager(); 1705 method public final android.support.v4.app.Fragment getParentFragment(); 1706 method public java.lang.Object getReenterTransition(); 1707 method public final android.content.res.Resources getResources(); 1708 method public final boolean getRetainInstance(); 1709 method public java.lang.Object getReturnTransition(); 1710 method public java.lang.Object getSharedElementEnterTransition(); 1711 method public java.lang.Object getSharedElementReturnTransition(); 1712 method public final java.lang.String getString(int); 1713 method public final java.lang.String getString(int, java.lang.Object...); 1714 method public final java.lang.String getTag(); 1715 method public final android.support.v4.app.Fragment getTargetFragment(); 1716 method public final int getTargetRequestCode(); 1717 method public final java.lang.CharSequence getText(int); 1718 method public boolean getUserVisibleHint(); 1719 method public android.view.View getView(); 1720 method public final int hashCode(); 1721 method public static android.support.v4.app.Fragment instantiate(android.content.Context, java.lang.String); 1722 method public static android.support.v4.app.Fragment instantiate(android.content.Context, java.lang.String, android.os.Bundle); 1723 method public final boolean isAdded(); 1724 method public final boolean isDetached(); 1725 method public final boolean isHidden(); 1726 method public final boolean isInLayout(); 1727 method public final boolean isRemoving(); 1728 method public final boolean isResumed(); 1729 method public final boolean isVisible(); 1730 method public void onActivityCreated(android.os.Bundle); 1731 method public void onActivityResult(int, int, android.content.Intent); 1732 method public void onAttach(android.app.Activity); 1733 method public void onConfigurationChanged(android.content.res.Configuration); 1734 method public boolean onContextItemSelected(android.view.MenuItem); 1735 method public void onCreate(android.os.Bundle); 1736 method public android.view.animation.Animation onCreateAnimation(int, boolean, int); 1737 method public void onCreateContextMenu(android.view.ContextMenu, android.view.View, android.view.ContextMenu.ContextMenuInfo); 1738 method public void onCreateOptionsMenu(android.view.Menu, android.view.MenuInflater); 1739 method public android.view.View onCreateView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle); 1740 method public void onDestroy(); 1741 method public void onDestroyOptionsMenu(); 1742 method public void onDestroyView(); 1743 method public void onDetach(); 1744 method public void onHiddenChanged(boolean); 1745 method public void onInflate(android.app.Activity, android.util.AttributeSet, android.os.Bundle); 1746 method public void onLowMemory(); 1747 method public boolean onOptionsItemSelected(android.view.MenuItem); 1748 method public void onOptionsMenuClosed(android.view.Menu); 1749 method public void onPause(); 1750 method public void onPrepareOptionsMenu(android.view.Menu); 1751 method public void onResume(); 1752 method public void onSaveInstanceState(android.os.Bundle); 1753 method public void onStart(); 1754 method public void onStop(); 1755 method public void onViewCreated(android.view.View, android.os.Bundle); 1756 method public void onViewStateRestored(android.os.Bundle); 1757 method public void registerForContextMenu(android.view.View); 1758 method public void setAllowEnterTransitionOverlap(boolean); 1759 method public void setAllowReturnTransitionOverlap(boolean); 1760 method public void setArguments(android.os.Bundle); 1761 method public void setEnterSharedElementCallback(android.support.v4.app.SharedElementCallback); 1762 method public void setEnterTransition(java.lang.Object); 1763 method public void setExitSharedElementCallback(android.support.v4.app.SharedElementCallback); 1764 method public void setExitTransition(java.lang.Object); 1765 method public void setHasOptionsMenu(boolean); 1766 method public void setInitialSavedState(android.support.v4.app.Fragment.SavedState); 1767 method public void setMenuVisibility(boolean); 1768 method public void setReenterTransition(java.lang.Object); 1769 method public void setRetainInstance(boolean); 1770 method public void setReturnTransition(java.lang.Object); 1771 method public void setSharedElementEnterTransition(java.lang.Object); 1772 method public void setSharedElementReturnTransition(java.lang.Object); 1773 method public void setTargetFragment(android.support.v4.app.Fragment, int); 1774 method public void setUserVisibleHint(boolean); 1775 method public void startActivity(android.content.Intent); 1776 method public void startActivityForResult(android.content.Intent, int); 1777 method public void unregisterForContextMenu(android.view.View); 1778 } 1779 1780 public static class Fragment.InstantiationException extends java.lang.RuntimeException { 1781 ctor public Fragment.InstantiationException(java.lang.String, java.lang.Exception); 1782 } 1783 1784 public static class Fragment.SavedState implements android.os.Parcelable { 1785 method public int describeContents(); 1786 method public void writeToParcel(android.os.Parcel, int); 1787 field public static final android.os.Parcelable.Creator<android.support.v4.app.Fragment.SavedState> CREATOR; 1788 } 1789 1790 public class FragmentActivity extends android.app.Activity { 1791 ctor public FragmentActivity(); 1792 method public java.lang.Object getLastCustomNonConfigurationInstance(); 1793 method public android.support.v4.app.FragmentManager getSupportFragmentManager(); 1794 method public android.support.v4.app.LoaderManager getSupportLoaderManager(); 1795 method public void onAttachFragment(android.support.v4.app.Fragment); 1796 method protected void onResumeFragments(); 1797 method public java.lang.Object onRetainCustomNonConfigurationInstance(); 1798 method public final java.lang.Object onRetainNonConfigurationInstance(); 1799 method public void setEnterSharedElementCallback(android.support.v4.app.SharedElementCallback); 1800 method public void setExitSharedElementCallback(android.support.v4.app.SharedElementCallback); 1801 method public void startActivityFromFragment(android.support.v4.app.Fragment, android.content.Intent, int); 1802 method public void supportFinishAfterTransition(); 1803 method public void supportInvalidateOptionsMenu(); 1804 method public void supportPostponeEnterTransition(); 1805 method public void supportStartPostponedEnterTransition(); 1806 } 1807 1808 public abstract class FragmentManager { 1809 ctor public FragmentManager(); 1810 method public abstract void addOnBackStackChangedListener(android.support.v4.app.FragmentManager.OnBackStackChangedListener); 1811 method public abstract android.support.v4.app.FragmentTransaction beginTransaction(); 1812 method public abstract void dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]); 1813 method public static void enableDebugLogging(boolean); 1814 method public abstract boolean executePendingTransactions(); 1815 method public abstract android.support.v4.app.Fragment findFragmentById(int); 1816 method public abstract android.support.v4.app.Fragment findFragmentByTag(java.lang.String); 1817 method public abstract android.support.v4.app.FragmentManager.BackStackEntry getBackStackEntryAt(int); 1818 method public abstract int getBackStackEntryCount(); 1819 method public abstract android.support.v4.app.Fragment getFragment(android.os.Bundle, java.lang.String); 1820 method public abstract boolean isDestroyed(); 1821 method public abstract void popBackStack(); 1822 method public abstract void popBackStack(java.lang.String, int); 1823 method public abstract void popBackStack(int, int); 1824 method public abstract boolean popBackStackImmediate(); 1825 method public abstract boolean popBackStackImmediate(java.lang.String, int); 1826 method public abstract boolean popBackStackImmediate(int, int); 1827 method public abstract void putFragment(android.os.Bundle, java.lang.String, android.support.v4.app.Fragment); 1828 method public abstract void removeOnBackStackChangedListener(android.support.v4.app.FragmentManager.OnBackStackChangedListener); 1829 method public abstract android.support.v4.app.Fragment.SavedState saveFragmentInstanceState(android.support.v4.app.Fragment); 1830 field public static final int POP_BACK_STACK_INCLUSIVE = 1; // 0x1 1831 } 1832 1833 public static abstract interface FragmentManager.BackStackEntry { 1834 method public abstract java.lang.CharSequence getBreadCrumbShortTitle(); 1835 method public abstract int getBreadCrumbShortTitleRes(); 1836 method public abstract java.lang.CharSequence getBreadCrumbTitle(); 1837 method public abstract int getBreadCrumbTitleRes(); 1838 method public abstract int getId(); 1839 method public abstract java.lang.String getName(); 1840 } 1841 1842 public static abstract interface FragmentManager.OnBackStackChangedListener { 1843 method public abstract void onBackStackChanged(); 1844 } 1845 1846 public abstract class FragmentPagerAdapter extends android.support.v4.view.PagerAdapter { 1847 ctor public FragmentPagerAdapter(android.support.v4.app.FragmentManager); 1848 method public abstract android.support.v4.app.Fragment getItem(int); 1849 method public long getItemId(int); 1850 method public boolean isViewFromObject(android.view.View, java.lang.Object); 1851 } 1852 1853 public abstract class FragmentStatePagerAdapter extends android.support.v4.view.PagerAdapter { 1854 ctor public FragmentStatePagerAdapter(android.support.v4.app.FragmentManager); 1855 method public abstract android.support.v4.app.Fragment getItem(int); 1856 method public boolean isViewFromObject(android.view.View, java.lang.Object); 1857 } 1858 1859 public class FragmentTabHost extends android.widget.TabHost implements android.widget.TabHost.OnTabChangeListener { 1860 ctor public FragmentTabHost(android.content.Context); 1861 ctor public FragmentTabHost(android.content.Context, android.util.AttributeSet); 1862 method public void addTab(android.widget.TabHost.TabSpec, java.lang.Class<?>, android.os.Bundle); 1863 method public void onTabChanged(java.lang.String); 1864 method public void setup(android.content.Context, android.support.v4.app.FragmentManager); 1865 method public void setup(android.content.Context, android.support.v4.app.FragmentManager, int); 1866 } 1867 1868 public abstract class FragmentTransaction { 1869 ctor public FragmentTransaction(); 1870 method public abstract android.support.v4.app.FragmentTransaction add(android.support.v4.app.Fragment, java.lang.String); 1871 method public abstract android.support.v4.app.FragmentTransaction add(int, android.support.v4.app.Fragment); 1872 method public abstract android.support.v4.app.FragmentTransaction add(int, android.support.v4.app.Fragment, java.lang.String); 1873 method public abstract android.support.v4.app.FragmentTransaction addSharedElement(android.view.View, java.lang.String); 1874 method public abstract android.support.v4.app.FragmentTransaction addToBackStack(java.lang.String); 1875 method public abstract android.support.v4.app.FragmentTransaction attach(android.support.v4.app.Fragment); 1876 method public abstract int commit(); 1877 method public abstract int commitAllowingStateLoss(); 1878 method public abstract android.support.v4.app.FragmentTransaction detach(android.support.v4.app.Fragment); 1879 method public abstract android.support.v4.app.FragmentTransaction disallowAddToBackStack(); 1880 method public abstract android.support.v4.app.FragmentTransaction hide(android.support.v4.app.Fragment); 1881 method public abstract boolean isAddToBackStackAllowed(); 1882 method public abstract boolean isEmpty(); 1883 method public abstract android.support.v4.app.FragmentTransaction remove(android.support.v4.app.Fragment); 1884 method public abstract android.support.v4.app.FragmentTransaction replace(int, android.support.v4.app.Fragment); 1885 method public abstract android.support.v4.app.FragmentTransaction replace(int, android.support.v4.app.Fragment, java.lang.String); 1886 method public abstract android.support.v4.app.FragmentTransaction setBreadCrumbShortTitle(int); 1887 method public abstract android.support.v4.app.FragmentTransaction setBreadCrumbShortTitle(java.lang.CharSequence); 1888 method public abstract android.support.v4.app.FragmentTransaction setBreadCrumbTitle(int); 1889 method public abstract android.support.v4.app.FragmentTransaction setBreadCrumbTitle(java.lang.CharSequence); 1890 method public abstract android.support.v4.app.FragmentTransaction setCustomAnimations(int, int); 1891 method public abstract android.support.v4.app.FragmentTransaction setCustomAnimations(int, int, int, int); 1892 method public abstract android.support.v4.app.FragmentTransaction setTransition(int); 1893 method public abstract android.support.v4.app.FragmentTransaction setTransitionStyle(int); 1894 method public abstract android.support.v4.app.FragmentTransaction show(android.support.v4.app.Fragment); 1895 field public static final int TRANSIT_ENTER_MASK = 4096; // 0x1000 1896 field public static final int TRANSIT_EXIT_MASK = 8192; // 0x2000 1897 field public static final int TRANSIT_FRAGMENT_CLOSE = 8194; // 0x2002 1898 field public static final int TRANSIT_FRAGMENT_FADE = 4099; // 0x1003 1899 field public static final int TRANSIT_FRAGMENT_OPEN = 4097; // 0x1001 1900 field public static final int TRANSIT_NONE = 0; // 0x0 1901 field public static final int TRANSIT_UNSET = -1; // 0xffffffff 1902 } 1903 1904 public class ListFragment extends android.support.v4.app.Fragment { 1905 ctor public ListFragment(); 1906 method public android.widget.ListAdapter getListAdapter(); 1907 method public android.widget.ListView getListView(); 1908 method public long getSelectedItemId(); 1909 method public int getSelectedItemPosition(); 1910 method public void onListItemClick(android.widget.ListView, android.view.View, int, long); 1911 method public void setEmptyText(java.lang.CharSequence); 1912 method public void setListAdapter(android.widget.ListAdapter); 1913 method public void setListShown(boolean); 1914 method public void setListShownNoAnimation(boolean); 1915 method public void setSelection(int); 1916 } 1917 1918 public abstract class LoaderManager { 1919 ctor public LoaderManager(); 1920 method public abstract void destroyLoader(int); 1921 method public abstract void dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]); 1922 method public static void enableDebugLogging(boolean); 1923 method public abstract android.support.v4.content.Loader<D> getLoader(int); 1924 method public boolean hasRunningLoaders(); 1925 method public abstract android.support.v4.content.Loader<D> initLoader(int, android.os.Bundle, android.support.v4.app.LoaderManager.LoaderCallbacks<D>); 1926 method public abstract android.support.v4.content.Loader<D> restartLoader(int, android.os.Bundle, android.support.v4.app.LoaderManager.LoaderCallbacks<D>); 1927 } 1928 1929 public static abstract interface LoaderManager.LoaderCallbacks { 1930 method public abstract android.support.v4.content.Loader<D> onCreateLoader(int, android.os.Bundle); 1931 method public abstract void onLoadFinished(android.support.v4.content.Loader<D>, D); 1932 method public abstract void onLoaderReset(android.support.v4.content.Loader<D>); 1933 } 1934 1935 public class NavUtils { 1936 method public static android.content.Intent getParentActivityIntent(android.app.Activity); 1937 method public static android.content.Intent getParentActivityIntent(android.content.Context, java.lang.Class<?>) throws android.content.pm.PackageManager.NameNotFoundException; 1938 method public static android.content.Intent getParentActivityIntent(android.content.Context, android.content.ComponentName) throws android.content.pm.PackageManager.NameNotFoundException; 1939 method public static java.lang.String getParentActivityName(android.app.Activity); 1940 method public static java.lang.String getParentActivityName(android.content.Context, android.content.ComponentName) throws android.content.pm.PackageManager.NameNotFoundException; 1941 method public static void navigateUpFromSameTask(android.app.Activity); 1942 method public static void navigateUpTo(android.app.Activity, android.content.Intent); 1943 method public static boolean shouldUpRecreateTask(android.app.Activity, android.content.Intent); 1944 field public static final java.lang.String PARENT_ACTIVITY = "android.support.PARENT_ACTIVITY"; 1945 } 1946 1947 public class NotificationCompat { 1948 ctor public NotificationCompat(); 1949 method public static android.support.v4.app.NotificationCompat.Action getAction(android.app.Notification, int); 1950 method public static int getActionCount(android.app.Notification); 1951 method public static java.lang.String getCategory(android.app.Notification); 1952 method public static android.os.Bundle getExtras(android.app.Notification); 1953 method public static java.lang.String getGroup(android.app.Notification); 1954 method public static boolean getLocalOnly(android.app.Notification); 1955 method public static java.lang.String getSortKey(android.app.Notification); 1956 method public static boolean isGroupSummary(android.app.Notification); 1957 field public static final java.lang.String CATEGORY_ALARM = "alarm"; 1958 field public static final java.lang.String CATEGORY_CALL = "call"; 1959 field public static final java.lang.String CATEGORY_EMAIL = "email"; 1960 field public static final java.lang.String CATEGORY_ERROR = "err"; 1961 field public static final java.lang.String CATEGORY_EVENT = "event"; 1962 field public static final java.lang.String CATEGORY_MESSAGE = "msg"; 1963 field public static final java.lang.String CATEGORY_PROGRESS = "progress"; 1964 field public static final java.lang.String CATEGORY_PROMO = "promo"; 1965 field public static final java.lang.String CATEGORY_RECOMMENDATION = "recommendation"; 1966 field public static final java.lang.String CATEGORY_SERVICE = "service"; 1967 field public static final java.lang.String CATEGORY_SOCIAL = "social"; 1968 field public static final java.lang.String CATEGORY_STATUS = "status"; 1969 field public static final java.lang.String CATEGORY_SYSTEM = "sys"; 1970 field public static final java.lang.String CATEGORY_TRANSPORT = "transport"; 1971 field public static final int COLOR_DEFAULT = 0; // 0x0 1972 field public static final int DEFAULT_ALL = -1; // 0xffffffff 1973 field public static final int DEFAULT_LIGHTS = 4; // 0x4 1974 field public static final int DEFAULT_SOUND = 1; // 0x1 1975 field public static final int DEFAULT_VIBRATE = 2; // 0x2 1976 field public static final java.lang.String EXTRA_BACKGROUND_IMAGE_URI = "android.backgroundImageUri"; 1977 field public static final java.lang.String EXTRA_BIG_TEXT = "android.bigText"; 1978 field public static final java.lang.String EXTRA_COMPACT_ACTIONS = "android.compactActions"; 1979 field public static final java.lang.String EXTRA_INFO_TEXT = "android.infoText"; 1980 field public static final java.lang.String EXTRA_LARGE_ICON = "android.largeIcon"; 1981 field public static final java.lang.String EXTRA_LARGE_ICON_BIG = "android.largeIcon.big"; 1982 field public static final java.lang.String EXTRA_MEDIA_SESSION = "android.mediaSession"; 1983 field public static final java.lang.String EXTRA_PEOPLE = "android.people"; 1984 field public static final java.lang.String EXTRA_PICTURE = "android.picture"; 1985 field public static final java.lang.String EXTRA_PROGRESS = "android.progress"; 1986 field public static final java.lang.String EXTRA_PROGRESS_INDETERMINATE = "android.progressIndeterminate"; 1987 field public static final java.lang.String EXTRA_PROGRESS_MAX = "android.progressMax"; 1988 field public static final java.lang.String EXTRA_SHOW_CHRONOMETER = "android.showChronometer"; 1989 field public static final java.lang.String EXTRA_SHOW_WHEN = "android.showWhen"; 1990 field public static final java.lang.String EXTRA_SMALL_ICON = "android.icon"; 1991 field public static final java.lang.String EXTRA_SUB_TEXT = "android.subText"; 1992 field public static final java.lang.String EXTRA_SUMMARY_TEXT = "android.summaryText"; 1993 field public static final java.lang.String EXTRA_TEMPLATE = "android.template"; 1994 field public static final java.lang.String EXTRA_TEXT = "android.text"; 1995 field public static final java.lang.String EXTRA_TEXT_LINES = "android.textLines"; 1996 field public static final java.lang.String EXTRA_TITLE = "android.title"; 1997 field public static final java.lang.String EXTRA_TITLE_BIG = "android.title.big"; 1998 field public static final int FLAG_AUTO_CANCEL = 16; // 0x10 1999 field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40 2000 field public static final int FLAG_GROUP_SUMMARY = 512; // 0x200 2001 field public static final deprecated int FLAG_HIGH_PRIORITY = 128; // 0x80 2002 field public static final int FLAG_INSISTENT = 4; // 0x4 2003 field public static final int FLAG_LOCAL_ONLY = 256; // 0x100 2004 field public static final int FLAG_NO_CLEAR = 32; // 0x20 2005 field public static final int FLAG_ONGOING_EVENT = 2; // 0x2 2006 field public static final int FLAG_ONLY_ALERT_ONCE = 8; // 0x8 2007 field public static final int FLAG_SHOW_LIGHTS = 1; // 0x1 2008 field public static final int PRIORITY_DEFAULT = 0; // 0x0 2009 field public static final int PRIORITY_HIGH = 1; // 0x1 2010 field public static final int PRIORITY_LOW = -1; // 0xffffffff 2011 field public static final int PRIORITY_MAX = 2; // 0x2 2012 field public static final int PRIORITY_MIN = -2; // 0xfffffffe 2013 field public static final int STREAM_DEFAULT = -1; // 0xffffffff 2014 field public static final int VISIBILITY_PRIVATE = 0; // 0x0 2015 field public static final int VISIBILITY_PUBLIC = 1; // 0x1 2016 field public static final int VISIBILITY_SECRET = -1; // 0xffffffff 2017 } 2018 2019 public static class NotificationCompat.Action extends android.support.v4.app.NotificationCompatBase.Action { 2020 ctor public NotificationCompat.Action(int, java.lang.CharSequence, android.app.PendingIntent); 2021 method protected android.app.PendingIntent getActionIntent(); 2022 method public android.os.Bundle getExtras(); 2023 method protected int getIcon(); 2024 method public android.support.v4.app.RemoteInput[] getRemoteInputs(); 2025 method protected java.lang.CharSequence getTitle(); 2026 field public android.app.PendingIntent actionIntent; 2027 field public int icon; 2028 field public java.lang.CharSequence title; 2029 } 2030 2031 public static final class NotificationCompat.Action.Builder { 2032 ctor public NotificationCompat.Action.Builder(int, java.lang.CharSequence, android.app.PendingIntent); 2033 ctor public NotificationCompat.Action.Builder(android.support.v4.app.NotificationCompat.Action); 2034 method public android.support.v4.app.NotificationCompat.Action.Builder addExtras(android.os.Bundle); 2035 method public android.support.v4.app.NotificationCompat.Action.Builder addRemoteInput(android.support.v4.app.RemoteInput); 2036 method public android.support.v4.app.NotificationCompat.Action build(); 2037 method public android.support.v4.app.NotificationCompat.Action.Builder extend(android.support.v4.app.NotificationCompat.Action.Extender); 2038 method public android.os.Bundle getExtras(); 2039 } 2040 2041 public static abstract interface NotificationCompat.Action.Extender { 2042 method public abstract android.support.v4.app.NotificationCompat.Action.Builder extend(android.support.v4.app.NotificationCompat.Action.Builder); 2043 } 2044 2045 public static final class NotificationCompat.Action.WearableExtender implements android.support.v4.app.NotificationCompat.Action.Extender { 2046 ctor public NotificationCompat.Action.WearableExtender(); 2047 ctor public NotificationCompat.Action.WearableExtender(android.support.v4.app.NotificationCompat.Action); 2048 method public android.support.v4.app.NotificationCompat.Action.WearableExtender clone(); 2049 method public android.support.v4.app.NotificationCompat.Action.Builder extend(android.support.v4.app.NotificationCompat.Action.Builder); 2050 method public java.lang.CharSequence getCancelLabel(); 2051 method public java.lang.CharSequence getConfirmLabel(); 2052 method public java.lang.CharSequence getInProgressLabel(); 2053 method public boolean isAvailableOffline(); 2054 method public android.support.v4.app.NotificationCompat.Action.WearableExtender setAvailableOffline(boolean); 2055 method public android.support.v4.app.NotificationCompat.Action.WearableExtender setCancelLabel(java.lang.CharSequence); 2056 method public android.support.v4.app.NotificationCompat.Action.WearableExtender setConfirmLabel(java.lang.CharSequence); 2057 method public android.support.v4.app.NotificationCompat.Action.WearableExtender setInProgressLabel(java.lang.CharSequence); 2058 } 2059 2060 public static class NotificationCompat.BigPictureStyle extends android.support.v4.app.NotificationCompat.Style { 2061 ctor public NotificationCompat.BigPictureStyle(); 2062 ctor public NotificationCompat.BigPictureStyle(android.support.v4.app.NotificationCompat.Builder); 2063 method public android.support.v4.app.NotificationCompat.BigPictureStyle bigLargeIcon(android.graphics.Bitmap); 2064 method public android.support.v4.app.NotificationCompat.BigPictureStyle bigPicture(android.graphics.Bitmap); 2065 method public android.support.v4.app.NotificationCompat.BigPictureStyle setBigContentTitle(java.lang.CharSequence); 2066 method public android.support.v4.app.NotificationCompat.BigPictureStyle setSummaryText(java.lang.CharSequence); 2067 } 2068 2069 public static class NotificationCompat.BigTextStyle extends android.support.v4.app.NotificationCompat.Style { 2070 ctor public NotificationCompat.BigTextStyle(); 2071 ctor public NotificationCompat.BigTextStyle(android.support.v4.app.NotificationCompat.Builder); 2072 method public android.support.v4.app.NotificationCompat.BigTextStyle bigText(java.lang.CharSequence); 2073 method public android.support.v4.app.NotificationCompat.BigTextStyle setBigContentTitle(java.lang.CharSequence); 2074 method public android.support.v4.app.NotificationCompat.BigTextStyle setSummaryText(java.lang.CharSequence); 2075 } 2076 2077 public static class NotificationCompat.Builder { 2078 ctor public NotificationCompat.Builder(android.content.Context); 2079 method public android.support.v4.app.NotificationCompat.Builder addAction(int, java.lang.CharSequence, android.app.PendingIntent); 2080 method public android.support.v4.app.NotificationCompat.Builder addAction(android.support.v4.app.NotificationCompat.Action); 2081 method public android.support.v4.app.NotificationCompat.Builder addExtras(android.os.Bundle); 2082 method public android.support.v4.app.NotificationCompat.Builder addPerson(java.lang.String); 2083 method public android.app.Notification build(); 2084 method public android.support.v4.app.NotificationCompat.Builder extend(android.support.v4.app.NotificationCompat.Extender); 2085 method public android.os.Bundle getExtras(); 2086 method public deprecated android.app.Notification getNotification(); 2087 method protected static java.lang.CharSequence limitCharSequenceLength(java.lang.CharSequence); 2088 method public android.support.v4.app.NotificationCompat.Builder setAutoCancel(boolean); 2089 method public android.support.v4.app.NotificationCompat.Builder setCategory(java.lang.String); 2090 method public android.support.v4.app.NotificationCompat.Builder setColor(int); 2091 method public android.support.v4.app.NotificationCompat.Builder setContent(android.widget.RemoteViews); 2092 method public android.support.v4.app.NotificationCompat.Builder setContentInfo(java.lang.CharSequence); 2093 method public android.support.v4.app.NotificationCompat.Builder setContentIntent(android.app.PendingIntent); 2094 method public android.support.v4.app.NotificationCompat.Builder setContentText(java.lang.CharSequence); 2095 method public android.support.v4.app.NotificationCompat.Builder setContentTitle(java.lang.CharSequence); 2096 method public android.support.v4.app.NotificationCompat.Builder setDefaults(int); 2097 method public android.support.v4.app.NotificationCompat.Builder setDeleteIntent(android.app.PendingIntent); 2098 method public android.support.v4.app.NotificationCompat.Builder setExtras(android.os.Bundle); 2099 method public android.support.v4.app.NotificationCompat.Builder setFullScreenIntent(android.app.PendingIntent, boolean); 2100 method public android.support.v4.app.NotificationCompat.Builder setGroup(java.lang.String); 2101 method public android.support.v4.app.NotificationCompat.Builder setGroupSummary(boolean); 2102 method public android.support.v4.app.NotificationCompat.Builder setLargeIcon(android.graphics.Bitmap); 2103 method public android.support.v4.app.NotificationCompat.Builder setLights(int, int, int); 2104 method public android.support.v4.app.NotificationCompat.Builder setLocalOnly(boolean); 2105 method public android.support.v4.app.NotificationCompat.Builder setNumber(int); 2106 method public android.support.v4.app.NotificationCompat.Builder setOngoing(boolean); 2107 method public android.support.v4.app.NotificationCompat.Builder setOnlyAlertOnce(boolean); 2108 method public android.support.v4.app.NotificationCompat.Builder setPriority(int); 2109 method public android.support.v4.app.NotificationCompat.Builder setProgress(int, int, boolean); 2110 method public android.support.v4.app.NotificationCompat.Builder setPublicVersion(android.app.Notification); 2111 method public android.support.v4.app.NotificationCompat.Builder setShowWhen(boolean); 2112 method public android.support.v4.app.NotificationCompat.Builder setSmallIcon(int); 2113 method public android.support.v4.app.NotificationCompat.Builder setSmallIcon(int, int); 2114 method public android.support.v4.app.NotificationCompat.Builder setSortKey(java.lang.String); 2115 method public android.support.v4.app.NotificationCompat.Builder setSound(android.net.Uri); 2116 method public android.support.v4.app.NotificationCompat.Builder setSound(android.net.Uri, int); 2117 method public android.support.v4.app.NotificationCompat.Builder setStyle(android.support.v4.app.NotificationCompat.Style); 2118 method public android.support.v4.app.NotificationCompat.Builder setSubText(java.lang.CharSequence); 2119 method public android.support.v4.app.NotificationCompat.Builder setTicker(java.lang.CharSequence); 2120 method public android.support.v4.app.NotificationCompat.Builder setTicker(java.lang.CharSequence, android.widget.RemoteViews); 2121 method public android.support.v4.app.NotificationCompat.Builder setUsesChronometer(boolean); 2122 method public android.support.v4.app.NotificationCompat.Builder setVibrate(long[]); 2123 method public android.support.v4.app.NotificationCompat.Builder setVisibility(int); 2124 method public android.support.v4.app.NotificationCompat.Builder setWhen(long); 2125 field public java.util.ArrayList<java.lang.String> mPeople; 2126 } 2127 2128 public static final class NotificationCompat.CarExtender implements android.support.v4.app.NotificationCompat.Extender { 2129 ctor public NotificationCompat.CarExtender(); 2130 ctor public NotificationCompat.CarExtender(android.app.Notification); 2131 method public android.support.v4.app.NotificationCompat.Builder extend(android.support.v4.app.NotificationCompat.Builder); 2132 method public int getColor(); 2133 method public android.graphics.Bitmap getLargeIcon(); 2134 method public android.support.v4.app.NotificationCompat.CarExtender.UnreadConversation getUnreadConversation(); 2135 method public android.support.v4.app.NotificationCompat.CarExtender setColor(int); 2136 method public android.support.v4.app.NotificationCompat.CarExtender setLargeIcon(android.graphics.Bitmap); 2137 method public android.support.v4.app.NotificationCompat.CarExtender setUnreadConversation(android.support.v4.app.NotificationCompat.CarExtender.UnreadConversation); 2138 } 2139 2140 public static class NotificationCompat.CarExtender.UnreadConversation extends android.support.v4.app.NotificationCompatBase.UnreadConversation { 2141 method public long getLatestTimestamp(); 2142 method public java.lang.String[] getMessages(); 2143 method public java.lang.String getParticipant(); 2144 method public java.lang.String[] getParticipants(); 2145 method public android.app.PendingIntent getReadPendingIntent(); 2146 method public android.support.v4.app.RemoteInput getRemoteInput(); 2147 method public android.app.PendingIntent getReplyPendingIntent(); 2148 } 2149 2150 public static class NotificationCompat.CarExtender.UnreadConversation.Builder { 2151 ctor public NotificationCompat.CarExtender.UnreadConversation.Builder(java.lang.String); 2152 method public android.support.v4.app.NotificationCompat.CarExtender.UnreadConversation.Builder addMessage(java.lang.String); 2153 method public android.support.v4.app.NotificationCompat.CarExtender.UnreadConversation build(); 2154 method public android.support.v4.app.NotificationCompat.CarExtender.UnreadConversation.Builder setLatestTimestamp(long); 2155 method public android.support.v4.app.NotificationCompat.CarExtender.UnreadConversation.Builder setReadPendingIntent(android.app.PendingIntent); 2156 method public android.support.v4.app.NotificationCompat.CarExtender.UnreadConversation.Builder setReplyAction(android.app.PendingIntent, android.support.v4.app.RemoteInput); 2157 } 2158 2159 public static abstract interface NotificationCompat.Extender { 2160 method public abstract android.support.v4.app.NotificationCompat.Builder extend(android.support.v4.app.NotificationCompat.Builder); 2161 } 2162 2163 public static class NotificationCompat.InboxStyle extends android.support.v4.app.NotificationCompat.Style { 2164 ctor public NotificationCompat.InboxStyle(); 2165 ctor public NotificationCompat.InboxStyle(android.support.v4.app.NotificationCompat.Builder); 2166 method public android.support.v4.app.NotificationCompat.InboxStyle addLine(java.lang.CharSequence); 2167 method public android.support.v4.app.NotificationCompat.InboxStyle setBigContentTitle(java.lang.CharSequence); 2168 method public android.support.v4.app.NotificationCompat.InboxStyle setSummaryText(java.lang.CharSequence); 2169 } 2170 2171 public static abstract class NotificationCompat.Style { 2172 ctor public NotificationCompat.Style(); 2173 method public android.app.Notification build(); 2174 method public void setBuilder(android.support.v4.app.NotificationCompat.Builder); 2175 } 2176 2177 public static final class NotificationCompat.WearableExtender implements android.support.v4.app.NotificationCompat.Extender { 2178 ctor public NotificationCompat.WearableExtender(); 2179 ctor public NotificationCompat.WearableExtender(android.app.Notification); 2180 method public android.support.v4.app.NotificationCompat.WearableExtender addAction(android.support.v4.app.NotificationCompat.Action); 2181 method public android.support.v4.app.NotificationCompat.WearableExtender addActions(java.util.List<android.support.v4.app.NotificationCompat.Action>); 2182 method public android.support.v4.app.NotificationCompat.WearableExtender addPage(android.app.Notification); 2183 method public android.support.v4.app.NotificationCompat.WearableExtender addPages(java.util.List<android.app.Notification>); 2184 method public android.support.v4.app.NotificationCompat.WearableExtender clearActions(); 2185 method public android.support.v4.app.NotificationCompat.WearableExtender clearPages(); 2186 method public android.support.v4.app.NotificationCompat.WearableExtender clone(); 2187 method public android.support.v4.app.NotificationCompat.Builder extend(android.support.v4.app.NotificationCompat.Builder); 2188 method public java.util.List<android.support.v4.app.NotificationCompat.Action> getActions(); 2189 method public android.graphics.Bitmap getBackground(); 2190 method public int getContentAction(); 2191 method public int getContentIcon(); 2192 method public int getContentIconGravity(); 2193 method public boolean getContentIntentAvailableOffline(); 2194 method public int getCustomContentHeight(); 2195 method public int getCustomSizePreset(); 2196 method public android.app.PendingIntent getDisplayIntent(); 2197 method public int getGravity(); 2198 method public boolean getHintAvoidBackgroundClipping(); 2199 method public boolean getHintHideIcon(); 2200 method public int getHintScreenTimeout(); 2201 method public boolean getHintShowBackgroundOnly(); 2202 method public java.util.List<android.app.Notification> getPages(); 2203 method public boolean getStartScrollBottom(); 2204 method public android.support.v4.app.NotificationCompat.WearableExtender setBackground(android.graphics.Bitmap); 2205 method public android.support.v4.app.NotificationCompat.WearableExtender setContentAction(int); 2206 method public android.support.v4.app.NotificationCompat.WearableExtender setContentIcon(int); 2207 method public android.support.v4.app.NotificationCompat.WearableExtender setContentIconGravity(int); 2208 method public android.support.v4.app.NotificationCompat.WearableExtender setContentIntentAvailableOffline(boolean); 2209 method public android.support.v4.app.NotificationCompat.WearableExtender setCustomContentHeight(int); 2210 method public android.support.v4.app.NotificationCompat.WearableExtender setCustomSizePreset(int); 2211 method public android.support.v4.app.NotificationCompat.WearableExtender setDisplayIntent(android.app.PendingIntent); 2212 method public android.support.v4.app.NotificationCompat.WearableExtender setGravity(int); 2213 method public android.support.v4.app.NotificationCompat.WearableExtender setHintAvoidBackgroundClipping(boolean); 2214 method public android.support.v4.app.NotificationCompat.WearableExtender setHintHideIcon(boolean); 2215 method public android.support.v4.app.NotificationCompat.WearableExtender setHintScreenTimeout(int); 2216 method public android.support.v4.app.NotificationCompat.WearableExtender setHintShowBackgroundOnly(boolean); 2217 method public android.support.v4.app.NotificationCompat.WearableExtender setStartScrollBottom(boolean); 2218 field public static final int SCREEN_TIMEOUT_LONG = -1; // 0xffffffff 2219 field public static final int SCREEN_TIMEOUT_SHORT = 0; // 0x0 2220 field public static final int SIZE_DEFAULT = 0; // 0x0 2221 field public static final int SIZE_FULL_SCREEN = 5; // 0x5 2222 field public static final int SIZE_LARGE = 4; // 0x4 2223 field public static final int SIZE_MEDIUM = 3; // 0x3 2224 field public static final int SIZE_SMALL = 2; // 0x2 2225 field public static final int SIZE_XSMALL = 1; // 0x1 2226 field public static final int UNSET_ACTION_INDEX = -1; // 0xffffffff 2227 } 2228 2229 class NotificationCompatBase { 2230 } 2231 2232 public static abstract class NotificationCompatBase.Action { 2233 ctor public NotificationCompatBase.Action(); 2234 method protected abstract android.app.PendingIntent getActionIntent(); 2235 method protected abstract android.os.Bundle getExtras(); 2236 method protected abstract int getIcon(); 2237 method protected abstract android.support.v4.app.RemoteInputCompatBase.RemoteInput[] getRemoteInputs(); 2238 method protected abstract java.lang.CharSequence getTitle(); 2239 } 2240 2241 public static abstract class NotificationCompatBase.UnreadConversation { 2242 ctor public NotificationCompatBase.UnreadConversation(); 2243 } 2244 2245 public final class NotificationCompatExtras { 2246 field public static final java.lang.String EXTRA_ACTION_EXTRAS = "android.support.actionExtras"; 2247 field public static final java.lang.String EXTRA_GROUP_KEY = "android.support.groupKey"; 2248 field public static final java.lang.String EXTRA_GROUP_SUMMARY = "android.support.isGroupSummary"; 2249 field public static final java.lang.String EXTRA_LOCAL_ONLY = "android.support.localOnly"; 2250 field public static final java.lang.String EXTRA_REMOTE_INPUTS = "android.support.remoteInputs"; 2251 field public static final java.lang.String EXTRA_SORT_KEY = "android.support.sortKey"; 2252 } 2253 2254 public abstract class NotificationCompatSideChannelService extends android.app.Service { 2255 ctor public NotificationCompatSideChannelService(); 2256 method public abstract void cancel(java.lang.String, int, java.lang.String); 2257 method public abstract void cancelAll(java.lang.String); 2258 method public abstract void notify(java.lang.String, int, java.lang.String, android.app.Notification); 2259 method public android.os.IBinder onBind(android.content.Intent); 2260 } 2261 2262 public class NotificationManagerCompat { 2263 method public void cancel(int); 2264 method public void cancel(java.lang.String, int); 2265 method public void cancelAll(); 2266 method public static android.support.v4.app.NotificationManagerCompat from(android.content.Context); 2267 method public static java.util.Set<java.lang.String> getEnabledListenerPackages(android.content.Context); 2268 method public void notify(int, android.app.Notification); 2269 method public void notify(java.lang.String, int, android.app.Notification); 2270 field public static final java.lang.String ACTION_BIND_SIDE_CHANNEL = "android.support.BIND_NOTIFICATION_SIDE_CHANNEL"; 2271 field public static final java.lang.String EXTRA_USE_SIDE_CHANNEL = "android.support.useSideChannel"; 2272 } 2273 2274 public class RemoteInput extends android.support.v4.app.RemoteInputCompatBase.RemoteInput { 2275 method public static void addResultsToIntent(android.support.v4.app.RemoteInput[], android.content.Intent, android.os.Bundle); 2276 method public boolean getAllowFreeFormInput(); 2277 method public java.lang.CharSequence[] getChoices(); 2278 method public android.os.Bundle getExtras(); 2279 method public java.lang.CharSequence getLabel(); 2280 method public java.lang.String getResultKey(); 2281 method public static android.os.Bundle getResultsFromIntent(android.content.Intent); 2282 field public static final java.lang.String EXTRA_RESULTS_DATA = "android.remoteinput.resultsData"; 2283 field public static final java.lang.String RESULTS_CLIP_LABEL = "android.remoteinput.results"; 2284 } 2285 2286 public static final class RemoteInput.Builder { 2287 ctor public RemoteInput.Builder(java.lang.String); 2288 method public android.support.v4.app.RemoteInput.Builder addExtras(android.os.Bundle); 2289 method public android.support.v4.app.RemoteInput build(); 2290 method public android.os.Bundle getExtras(); 2291 method public android.support.v4.app.RemoteInput.Builder setAllowFreeFormInput(boolean); 2292 method public android.support.v4.app.RemoteInput.Builder setChoices(java.lang.CharSequence[]); 2293 method public android.support.v4.app.RemoteInput.Builder setLabel(java.lang.CharSequence); 2294 } 2295 2296 class RemoteInputCompatBase { 2297 } 2298 2299 public static abstract class RemoteInputCompatBase.RemoteInput { 2300 ctor public RemoteInputCompatBase.RemoteInput(); 2301 method protected abstract boolean getAllowFreeFormInput(); 2302 method protected abstract java.lang.CharSequence[] getChoices(); 2303 method protected abstract android.os.Bundle getExtras(); 2304 method protected abstract java.lang.CharSequence getLabel(); 2305 method protected abstract java.lang.String getResultKey(); 2306 } 2307 2308 public class ServiceCompat { 2309 field public static final int START_STICKY = 1; // 0x1 2310 } 2311 2312 public class ShareCompat { 2313 ctor public ShareCompat(); 2314 method public static void configureMenuItem(android.view.MenuItem, android.support.v4.app.ShareCompat.IntentBuilder); 2315 method public static void configureMenuItem(android.view.Menu, int, android.support.v4.app.ShareCompat.IntentBuilder); 2316 method public static android.content.ComponentName getCallingActivity(android.app.Activity); 2317 method public static java.lang.String getCallingPackage(android.app.Activity); 2318 field public static final java.lang.String EXTRA_CALLING_ACTIVITY = "android.support.v4.app.EXTRA_CALLING_ACTIVITY"; 2319 field public static final java.lang.String EXTRA_CALLING_PACKAGE = "android.support.v4.app.EXTRA_CALLING_PACKAGE"; 2320 } 2321 2322 public static class ShareCompat.IntentBuilder { 2323 method public android.support.v4.app.ShareCompat.IntentBuilder addEmailBcc(java.lang.String); 2324 method public android.support.v4.app.ShareCompat.IntentBuilder addEmailBcc(java.lang.String[]); 2325 method public android.support.v4.app.ShareCompat.IntentBuilder addEmailCc(java.lang.String); 2326 method public android.support.v4.app.ShareCompat.IntentBuilder addEmailCc(java.lang.String[]); 2327 method public android.support.v4.app.ShareCompat.IntentBuilder addEmailTo(java.lang.String); 2328 method public android.support.v4.app.ShareCompat.IntentBuilder addEmailTo(java.lang.String[]); 2329 method public android.support.v4.app.ShareCompat.IntentBuilder addStream(android.net.Uri); 2330 method public android.content.Intent createChooserIntent(); 2331 method public static android.support.v4.app.ShareCompat.IntentBuilder from(android.app.Activity); 2332 method public android.content.Intent getIntent(); 2333 method public android.support.v4.app.ShareCompat.IntentBuilder setChooserTitle(java.lang.CharSequence); 2334 method public android.support.v4.app.ShareCompat.IntentBuilder setChooserTitle(int); 2335 method public android.support.v4.app.ShareCompat.IntentBuilder setEmailBcc(java.lang.String[]); 2336 method public android.support.v4.app.ShareCompat.IntentBuilder setEmailCc(java.lang.String[]); 2337 method public android.support.v4.app.ShareCompat.IntentBuilder setEmailTo(java.lang.String[]); 2338 method public android.support.v4.app.ShareCompat.IntentBuilder setHtmlText(java.lang.String); 2339 method public android.support.v4.app.ShareCompat.IntentBuilder setStream(android.net.Uri); 2340 method public android.support.v4.app.ShareCompat.IntentBuilder setSubject(java.lang.String); 2341 method public android.support.v4.app.ShareCompat.IntentBuilder setText(java.lang.CharSequence); 2342 method public android.support.v4.app.ShareCompat.IntentBuilder setType(java.lang.String); 2343 method public void startChooser(); 2344 } 2345 2346 public static class ShareCompat.IntentReader { 2347 method public static android.support.v4.app.ShareCompat.IntentReader from(android.app.Activity); 2348 method public android.content.ComponentName getCallingActivity(); 2349 method public android.graphics.drawable.Drawable getCallingActivityIcon(); 2350 method public android.graphics.drawable.Drawable getCallingApplicationIcon(); 2351 method public java.lang.CharSequence getCallingApplicationLabel(); 2352 method public java.lang.String getCallingPackage(); 2353 method public java.lang.String[] getEmailBcc(); 2354 method public java.lang.String[] getEmailCc(); 2355 method public java.lang.String[] getEmailTo(); 2356 method public java.lang.String getHtmlText(); 2357 method public android.net.Uri getStream(); 2358 method public android.net.Uri getStream(int); 2359 method public int getStreamCount(); 2360 method public java.lang.String getSubject(); 2361 method public java.lang.CharSequence getText(); 2362 method public java.lang.String getType(); 2363 method public boolean isMultipleShare(); 2364 method public boolean isShareIntent(); 2365 method public boolean isSingleShare(); 2366 } 2367 2368 public abstract class SharedElementCallback { 2369 ctor public SharedElementCallback(); 2370 method public android.os.Parcelable onCaptureSharedElementSnapshot(android.view.View, android.graphics.Matrix, android.graphics.RectF); 2371 method public android.view.View onCreateSnapshotView(android.content.Context, android.os.Parcelable); 2372 method public void onMapSharedElements(java.util.List<java.lang.String>, java.util.Map<java.lang.String, android.view.View>); 2373 method public void onRejectSharedElements(java.util.List<android.view.View>); 2374 method public void onSharedElementEnd(java.util.List<java.lang.String>, java.util.List<android.view.View>, java.util.List<android.view.View>); 2375 method public void onSharedElementStart(java.util.List<java.lang.String>, java.util.List<android.view.View>, java.util.List<android.view.View>); 2376 } 2377 2378 public class TaskStackBuilder implements java.lang.Iterable { 2379 method public android.support.v4.app.TaskStackBuilder addNextIntent(android.content.Intent); 2380 method public android.support.v4.app.TaskStackBuilder addNextIntentWithParentStack(android.content.Intent); 2381 method public android.support.v4.app.TaskStackBuilder addParentStack(android.app.Activity); 2382 method public android.support.v4.app.TaskStackBuilder addParentStack(java.lang.Class<?>); 2383 method public android.support.v4.app.TaskStackBuilder addParentStack(android.content.ComponentName); 2384 method public static android.support.v4.app.TaskStackBuilder create(android.content.Context); 2385 method public android.content.Intent editIntentAt(int); 2386 method public static deprecated android.support.v4.app.TaskStackBuilder from(android.content.Context); 2387 method public deprecated android.content.Intent getIntent(int); 2388 method public int getIntentCount(); 2389 method public android.content.Intent[] getIntents(); 2390 method public android.app.PendingIntent getPendingIntent(int, int); 2391 method public android.app.PendingIntent getPendingIntent(int, int, android.os.Bundle); 2392 method public deprecated java.util.Iterator<android.content.Intent> iterator(); 2393 method public void startActivities(); 2394 method public void startActivities(android.os.Bundle); 2395 } 2396 2397 public static abstract interface TaskStackBuilder.SupportParentable { 2398 method public abstract android.content.Intent getSupportParentActivityIntent(); 2399 } 2400 2401} 2402 2403package android.support.v4.content { 2404 2405 public abstract class AsyncTaskLoader extends android.support.v4.content.Loader { 2406 ctor public AsyncTaskLoader(android.content.Context); 2407 method public boolean cancelLoad(); 2408 method public abstract D loadInBackground(); 2409 method public void onCanceled(D); 2410 method protected D onLoadInBackground(); 2411 method public void setUpdateThrottle(long); 2412 } 2413 2414 public class ContextCompat { 2415 ctor public ContextCompat(); 2416 method public final java.io.File getCodeCacheDir(android.content.Context); 2417 method public static final android.graphics.drawable.Drawable getDrawable(android.content.Context, int); 2418 method public static java.io.File[] getExternalCacheDirs(android.content.Context); 2419 method public static java.io.File[] getExternalFilesDirs(android.content.Context, java.lang.String); 2420 method public final java.io.File getNoBackupFilesDir(android.content.Context); 2421 method public static java.io.File[] getObbDirs(android.content.Context); 2422 method public static boolean startActivities(android.content.Context, android.content.Intent[]); 2423 method public static boolean startActivities(android.content.Context, android.content.Intent[], android.os.Bundle); 2424 } 2425 2426 public class CursorLoader extends android.support.v4.content.AsyncTaskLoader { 2427 ctor public CursorLoader(android.content.Context); 2428 ctor public CursorLoader(android.content.Context, android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String); 2429 method public void deliverResult(android.database.Cursor); 2430 method public java.lang.String[] getProjection(); 2431 method public java.lang.String getSelection(); 2432 method public java.lang.String[] getSelectionArgs(); 2433 method public java.lang.String getSortOrder(); 2434 method public android.net.Uri getUri(); 2435 method public android.database.Cursor loadInBackground(); 2436 method public void onCanceled(android.database.Cursor); 2437 method public void setProjection(java.lang.String[]); 2438 method public void setSelection(java.lang.String); 2439 method public void setSelectionArgs(java.lang.String[]); 2440 method public void setSortOrder(java.lang.String); 2441 method public void setUri(android.net.Uri); 2442 } 2443 2444 public class FileProvider extends android.content.ContentProvider { 2445 ctor public FileProvider(); 2446 method public int delete(android.net.Uri, java.lang.String, java.lang.String[]); 2447 method public java.lang.String getType(android.net.Uri); 2448 method public static android.net.Uri getUriForFile(android.content.Context, java.lang.String, java.io.File); 2449 method public android.net.Uri insert(android.net.Uri, android.content.ContentValues); 2450 method public boolean onCreate(); 2451 method public android.database.Cursor query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String); 2452 method public int update(android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]); 2453 } 2454 2455 public class IntentCompat { 2456 method public static android.content.Intent makeMainActivity(android.content.ComponentName); 2457 method public static android.content.Intent makeMainSelectorActivity(java.lang.String, java.lang.String); 2458 method public static android.content.Intent makeRestartActivityTask(android.content.ComponentName); 2459 field public static final java.lang.String ACTION_EXTERNAL_APPLICATIONS_AVAILABLE = "android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE"; 2460 field public static final java.lang.String ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE = "android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE"; 2461 field public static final java.lang.String EXTRA_CHANGED_PACKAGE_LIST = "android.intent.extra.changed_package_list"; 2462 field public static final java.lang.String EXTRA_CHANGED_UID_LIST = "android.intent.extra.changed_uid_list"; 2463 field public static final java.lang.String EXTRA_HTML_TEXT = "android.intent.extra.HTML_TEXT"; 2464 field public static final int FLAG_ACTIVITY_CLEAR_TASK = 32768; // 0x8000 2465 field public static final int FLAG_ACTIVITY_TASK_ON_HOME = 16384; // 0x4000 2466 } 2467 2468 public class Loader { 2469 ctor public Loader(android.content.Context); 2470 method public void abandon(); 2471 method public void commitContentChanged(); 2472 method public java.lang.String dataToString(D); 2473 method public void deliverResult(D); 2474 method public void dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]); 2475 method public void forceLoad(); 2476 method public android.content.Context getContext(); 2477 method public int getId(); 2478 method public boolean isAbandoned(); 2479 method public boolean isReset(); 2480 method public boolean isStarted(); 2481 method protected void onAbandon(); 2482 method public void onContentChanged(); 2483 method protected void onForceLoad(); 2484 method protected void onReset(); 2485 method protected void onStartLoading(); 2486 method protected void onStopLoading(); 2487 method public void registerListener(int, android.support.v4.content.Loader.OnLoadCompleteListener<D>); 2488 method public void reset(); 2489 method public void rollbackContentChanged(); 2490 method public final void startLoading(); 2491 method public void stopLoading(); 2492 method public boolean takeContentChanged(); 2493 method public void unregisterListener(android.support.v4.content.Loader.OnLoadCompleteListener<D>); 2494 } 2495 2496 public final class Loader.ForceLoadContentObserver extends android.database.ContentObserver { 2497 ctor public Loader.ForceLoadContentObserver(); 2498 } 2499 2500 public static abstract interface Loader.OnLoadCompleteListener { 2501 method public abstract void onLoadComplete(android.support.v4.content.Loader<D>, D); 2502 } 2503 2504 public class LocalBroadcastManager { 2505 method public static android.support.v4.content.LocalBroadcastManager getInstance(android.content.Context); 2506 method public void registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter); 2507 method public boolean sendBroadcast(android.content.Intent); 2508 method public void sendBroadcastSync(android.content.Intent); 2509 method public void unregisterReceiver(android.content.BroadcastReceiver); 2510 } 2511 2512 public abstract class WakefulBroadcastReceiver extends android.content.BroadcastReceiver { 2513 ctor public WakefulBroadcastReceiver(); 2514 method public static boolean completeWakefulIntent(android.content.Intent); 2515 method public static android.content.ComponentName startWakefulService(android.content.Context, android.content.Intent); 2516 } 2517 2518} 2519 2520package android.support.v4.database { 2521 2522 public class DatabaseUtilsCompat { 2523 method public static java.lang.String[] appendSelectionArgs(java.lang.String[], java.lang.String[]); 2524 method public static java.lang.String concatenateWhere(java.lang.String, java.lang.String); 2525 } 2526 2527} 2528 2529package android.support.v4.graphics { 2530 2531 public class BitmapCompat { 2532 ctor public BitmapCompat(); 2533 method public static int getAllocationByteCount(android.graphics.Bitmap); 2534 method public static boolean hasMipMap(android.graphics.Bitmap); 2535 method public static void setHasMipMap(android.graphics.Bitmap, boolean); 2536 } 2537 2538 public class ColorUtils { 2539 method public static int HSLToColor(float[]); 2540 method public static void RGBToHSL(int, int, int, float[]); 2541 method public static double calculateContrast(int, int); 2542 method public static double calculateLuminance(int); 2543 method public static int calculateMinimumAlpha(int, int, float); 2544 method public static void colorToHSL(int, float[]); 2545 method public static int compositeColors(int, int); 2546 method public static int setAlphaComponent(int, int); 2547 } 2548 2549} 2550 2551package android.support.v4.graphics.drawable { 2552 2553 public class DrawableCompat { 2554 ctor public DrawableCompat(); 2555 method public static boolean isAutoMirrored(android.graphics.drawable.Drawable); 2556 method public static void jumpToCurrentState(android.graphics.drawable.Drawable); 2557 method public static void setAutoMirrored(android.graphics.drawable.Drawable, boolean); 2558 method public static void setHotspot(android.graphics.drawable.Drawable, float, float); 2559 method public static void setHotspotBounds(android.graphics.drawable.Drawable, int, int, int, int); 2560 method public static void setTint(android.graphics.drawable.Drawable, int); 2561 method public static void setTintList(android.graphics.drawable.Drawable, android.content.res.ColorStateList); 2562 method public static void setTintMode(android.graphics.drawable.Drawable, android.graphics.PorterDuff.Mode); 2563 method public static T unwrap(android.graphics.drawable.Drawable); 2564 method public static android.graphics.drawable.Drawable wrap(android.graphics.drawable.Drawable); 2565 } 2566 2567 public abstract class RoundedBitmapDrawable extends android.graphics.drawable.Drawable { 2568 method public void draw(android.graphics.Canvas); 2569 method public final android.graphics.Bitmap getBitmap(); 2570 method public float getCornerRadius(); 2571 method public int getGravity(); 2572 method public int getOpacity(); 2573 method public final android.graphics.Paint getPaint(); 2574 method public boolean hasAntiAlias(); 2575 method public boolean hasMipMap(); 2576 method public void setAlpha(int); 2577 method public void setAntiAlias(boolean); 2578 method public void setColorFilter(android.graphics.ColorFilter); 2579 method public void setCornerRadius(float); 2580 method public void setGravity(int); 2581 method public void setMipMap(boolean); 2582 method public void setTargetDensity(android.graphics.Canvas); 2583 method public void setTargetDensity(android.util.DisplayMetrics); 2584 method public void setTargetDensity(int); 2585 } 2586 2587 public class RoundedBitmapDrawableFactory { 2588 ctor public RoundedBitmapDrawableFactory(); 2589 method public static android.support.v4.graphics.drawable.RoundedBitmapDrawable create(android.content.res.Resources, android.graphics.Bitmap); 2590 method public static android.support.v4.graphics.drawable.RoundedBitmapDrawable create(android.content.res.Resources, java.lang.String); 2591 method public static android.support.v4.graphics.drawable.RoundedBitmapDrawable create(android.content.res.Resources, java.io.InputStream); 2592 } 2593 2594} 2595 2596package android.support.v4.hardware.display { 2597 2598 public abstract class DisplayManagerCompat { 2599 method public abstract android.view.Display getDisplay(int); 2600 method public abstract android.view.Display[] getDisplays(); 2601 method public abstract android.view.Display[] getDisplays(java.lang.String); 2602 method public static android.support.v4.hardware.display.DisplayManagerCompat getInstance(android.content.Context); 2603 field public static final java.lang.String DISPLAY_CATEGORY_PRESENTATION = "android.hardware.display.category.PRESENTATION"; 2604 } 2605 2606} 2607 2608package android.support.v4.media { 2609 2610 public final class MediaDescriptionCompat implements android.os.Parcelable { 2611 method public int describeContents(); 2612 method public static android.support.v4.media.MediaDescriptionCompat fromMediaDescription(java.lang.Object); 2613 method public java.lang.CharSequence getDescription(); 2614 method public android.os.Bundle getExtras(); 2615 method public android.graphics.Bitmap getIconBitmap(); 2616 method public android.net.Uri getIconUri(); 2617 method public java.lang.Object getMediaDescription(); 2618 method public java.lang.String getMediaId(); 2619 method public java.lang.CharSequence getSubtitle(); 2620 method public java.lang.CharSequence getTitle(); 2621 method public void writeToParcel(android.os.Parcel, int); 2622 field public static final android.os.Parcelable.Creator<android.support.v4.media.MediaDescriptionCompat> CREATOR; 2623 } 2624 2625 public static final class MediaDescriptionCompat.Builder { 2626 ctor public MediaDescriptionCompat.Builder(); 2627 method public android.support.v4.media.MediaDescriptionCompat build(); 2628 method public android.support.v4.media.MediaDescriptionCompat.Builder setDescription(java.lang.CharSequence); 2629 method public android.support.v4.media.MediaDescriptionCompat.Builder setExtras(android.os.Bundle); 2630 method public android.support.v4.media.MediaDescriptionCompat.Builder setIconBitmap(android.graphics.Bitmap); 2631 method public android.support.v4.media.MediaDescriptionCompat.Builder setIconUri(android.net.Uri); 2632 method public android.support.v4.media.MediaDescriptionCompat.Builder setMediaId(java.lang.String); 2633 method public android.support.v4.media.MediaDescriptionCompat.Builder setSubtitle(java.lang.CharSequence); 2634 method public android.support.v4.media.MediaDescriptionCompat.Builder setTitle(java.lang.CharSequence); 2635 } 2636 2637 public final class MediaMetadataCompat implements android.os.Parcelable { 2638 method public boolean containsKey(java.lang.String); 2639 method public int describeContents(); 2640 method public static android.support.v4.media.MediaMetadataCompat fromMediaMetadata(java.lang.Object); 2641 method public android.graphics.Bitmap getBitmap(java.lang.String); 2642 method public android.os.Bundle getBundle(); 2643 method public android.support.v4.media.MediaDescriptionCompat getDescription(); 2644 method public long getLong(java.lang.String); 2645 method public java.lang.Object getMediaMetadata(); 2646 method public android.support.v4.media.RatingCompat getRating(java.lang.String); 2647 method public java.lang.String getString(java.lang.String); 2648 method public java.lang.CharSequence getText(java.lang.String); 2649 method public java.util.Set<java.lang.String> keySet(); 2650 method public int size(); 2651 method public void writeToParcel(android.os.Parcel, int); 2652 field public static final android.os.Parcelable.Creator<android.support.v4.media.MediaMetadataCompat> CREATOR; 2653 field public static final java.lang.String METADATA_KEY_ALBUM = "android.media.metadata.ALBUM"; 2654 field public static final java.lang.String METADATA_KEY_ALBUM_ART = "android.media.metadata.ALBUM_ART"; 2655 field public static final java.lang.String METADATA_KEY_ALBUM_ARTIST = "android.media.metadata.ALBUM_ARTIST"; 2656 field public static final java.lang.String METADATA_KEY_ALBUM_ART_URI = "android.media.metadata.ALBUM_ART_URI"; 2657 field public static final java.lang.String METADATA_KEY_ART = "android.media.metadata.ART"; 2658 field public static final java.lang.String METADATA_KEY_ARTIST = "android.media.metadata.ARTIST"; 2659 field public static final java.lang.String METADATA_KEY_ART_URI = "android.media.metadata.ART_URI"; 2660 field public static final java.lang.String METADATA_KEY_AUTHOR = "android.media.metadata.AUTHOR"; 2661 field public static final java.lang.String METADATA_KEY_COMPILATION = "android.media.metadata.COMPILATION"; 2662 field public static final java.lang.String METADATA_KEY_COMPOSER = "android.media.metadata.COMPOSER"; 2663 field public static final java.lang.String METADATA_KEY_DATE = "android.media.metadata.DATE"; 2664 field public static final java.lang.String METADATA_KEY_DISC_NUMBER = "android.media.metadata.DISC_NUMBER"; 2665 field public static final java.lang.String METADATA_KEY_DISPLAY_DESCRIPTION = "android.media.metadata.DISPLAY_DESCRIPTION"; 2666 field public static final java.lang.String METADATA_KEY_DISPLAY_ICON = "android.media.metadata.DISPLAY_ICON"; 2667 field public static final java.lang.String METADATA_KEY_DISPLAY_ICON_URI = "android.media.metadata.DISPLAY_ICON_URI"; 2668 field public static final java.lang.String METADATA_KEY_DISPLAY_SUBTITLE = "android.media.metadata.DISPLAY_SUBTITLE"; 2669 field public static final java.lang.String METADATA_KEY_DISPLAY_TITLE = "android.media.metadata.DISPLAY_TITLE"; 2670 field public static final java.lang.String METADATA_KEY_DURATION = "android.media.metadata.DURATION"; 2671 field public static final java.lang.String METADATA_KEY_GENRE = "android.media.metadata.GENRE"; 2672 field public static final java.lang.String METADATA_KEY_MEDIA_ID = "android.media.metadata.MEDIA_ID"; 2673 field public static final java.lang.String METADATA_KEY_NUM_TRACKS = "android.media.metadata.NUM_TRACKS"; 2674 field public static final java.lang.String METADATA_KEY_RATING = "android.media.metadata.RATING"; 2675 field public static final java.lang.String METADATA_KEY_TITLE = "android.media.metadata.TITLE"; 2676 field public static final java.lang.String METADATA_KEY_TRACK_NUMBER = "android.media.metadata.TRACK_NUMBER"; 2677 field public static final java.lang.String METADATA_KEY_USER_RATING = "android.media.metadata.USER_RATING"; 2678 field public static final java.lang.String METADATA_KEY_WRITER = "android.media.metadata.WRITER"; 2679 field public static final java.lang.String METADATA_KEY_YEAR = "android.media.metadata.YEAR"; 2680 } 2681 2682 public static final class MediaMetadataCompat.Builder { 2683 ctor public MediaMetadataCompat.Builder(); 2684 ctor public MediaMetadataCompat.Builder(android.support.v4.media.MediaMetadataCompat); 2685 method public android.support.v4.media.MediaMetadataCompat build(); 2686 method public android.support.v4.media.MediaMetadataCompat.Builder putBitmap(java.lang.String, android.graphics.Bitmap); 2687 method public android.support.v4.media.MediaMetadataCompat.Builder putLong(java.lang.String, long); 2688 method public android.support.v4.media.MediaMetadataCompat.Builder putRating(java.lang.String, android.support.v4.media.RatingCompat); 2689 method public android.support.v4.media.MediaMetadataCompat.Builder putString(java.lang.String, java.lang.String); 2690 method public android.support.v4.media.MediaMetadataCompat.Builder putText(java.lang.String, java.lang.CharSequence); 2691 } 2692 2693 public final class RatingCompat implements android.os.Parcelable { 2694 method public int describeContents(); 2695 method public static android.support.v4.media.RatingCompat fromRating(java.lang.Object); 2696 method public float getPercentRating(); 2697 method public java.lang.Object getRating(); 2698 method public int getRatingStyle(); 2699 method public float getStarRating(); 2700 method public boolean hasHeart(); 2701 method public boolean isRated(); 2702 method public boolean isThumbUp(); 2703 method public static android.support.v4.media.RatingCompat newHeartRating(boolean); 2704 method public static android.support.v4.media.RatingCompat newPercentageRating(float); 2705 method public static android.support.v4.media.RatingCompat newStarRating(int, float); 2706 method public static android.support.v4.media.RatingCompat newThumbRating(boolean); 2707 method public static android.support.v4.media.RatingCompat newUnratedRating(int); 2708 method public void writeToParcel(android.os.Parcel, int); 2709 field public static final android.os.Parcelable.Creator<android.support.v4.media.RatingCompat> CREATOR; 2710 field public static final int RATING_3_STARS = 3; // 0x3 2711 field public static final int RATING_4_STARS = 4; // 0x4 2712 field public static final int RATING_5_STARS = 5; // 0x5 2713 field public static final int RATING_HEART = 1; // 0x1 2714 field public static final int RATING_NONE = 0; // 0x0 2715 field public static final int RATING_PERCENTAGE = 6; // 0x6 2716 field public static final int RATING_THUMB_UP_DOWN = 2; // 0x2 2717 } 2718 2719 public abstract class TransportController { 2720 ctor public TransportController(); 2721 method public abstract int getBufferPercentage(); 2722 method public abstract long getCurrentPosition(); 2723 method public abstract long getDuration(); 2724 method public abstract int getTransportControlFlags(); 2725 method public abstract boolean isPlaying(); 2726 method public abstract void pausePlaying(); 2727 method public abstract void registerStateListener(android.support.v4.media.TransportStateListener); 2728 method public abstract void seekTo(long); 2729 method public abstract void startPlaying(); 2730 method public abstract void stopPlaying(); 2731 method public abstract void unregisterStateListener(android.support.v4.media.TransportStateListener); 2732 } 2733 2734 public class TransportMediator extends android.support.v4.media.TransportController { 2735 ctor public TransportMediator(android.app.Activity, android.support.v4.media.TransportPerformer); 2736 ctor public TransportMediator(android.view.View, android.support.v4.media.TransportPerformer); 2737 method public void destroy(); 2738 method public boolean dispatchKeyEvent(android.view.KeyEvent); 2739 method public int getBufferPercentage(); 2740 method public long getCurrentPosition(); 2741 method public long getDuration(); 2742 method public java.lang.Object getRemoteControlClient(); 2743 method public int getTransportControlFlags(); 2744 method public boolean isPlaying(); 2745 method public void pausePlaying(); 2746 method public void refreshState(); 2747 method public void registerStateListener(android.support.v4.media.TransportStateListener); 2748 method public void seekTo(long); 2749 method public void startPlaying(); 2750 method public void stopPlaying(); 2751 method public void unregisterStateListener(android.support.v4.media.TransportStateListener); 2752 field public static final int FLAG_KEY_MEDIA_FAST_FORWARD = 64; // 0x40 2753 field public static final int FLAG_KEY_MEDIA_NEXT = 128; // 0x80 2754 field public static final int FLAG_KEY_MEDIA_PAUSE = 16; // 0x10 2755 field public static final int FLAG_KEY_MEDIA_PLAY = 4; // 0x4 2756 field public static final int FLAG_KEY_MEDIA_PLAY_PAUSE = 8; // 0x8 2757 field public static final int FLAG_KEY_MEDIA_PREVIOUS = 1; // 0x1 2758 field public static final int FLAG_KEY_MEDIA_REWIND = 2; // 0x2 2759 field public static final int FLAG_KEY_MEDIA_STOP = 32; // 0x20 2760 field public static final int KEYCODE_MEDIA_PAUSE = 127; // 0x7f 2761 field public static final int KEYCODE_MEDIA_PLAY = 126; // 0x7e 2762 field public static final int KEYCODE_MEDIA_RECORD = 130; // 0x82 2763 } 2764 2765 public abstract class TransportPerformer { 2766 ctor public TransportPerformer(); 2767 method public void onAudioFocusChange(int); 2768 method public int onGetBufferPercentage(); 2769 method public abstract long onGetCurrentPosition(); 2770 method public abstract long onGetDuration(); 2771 method public int onGetTransportControlFlags(); 2772 method public abstract boolean onIsPlaying(); 2773 method public boolean onMediaButtonDown(int, android.view.KeyEvent); 2774 method public boolean onMediaButtonUp(int, android.view.KeyEvent); 2775 method public abstract void onPause(); 2776 method public abstract void onSeekTo(long); 2777 method public abstract void onStart(); 2778 method public abstract void onStop(); 2779 } 2780 2781 public class TransportStateListener { 2782 ctor public TransportStateListener(); 2783 method public void onPlayingChanged(android.support.v4.media.TransportController); 2784 method public void onTransportControlsChanged(android.support.v4.media.TransportController); 2785 } 2786 2787 public abstract class VolumeProviderCompat { 2788 ctor public VolumeProviderCompat(int, int, int); 2789 method public final int getCurrentVolume(); 2790 method public final int getMaxVolume(); 2791 method public final int getVolumeControl(); 2792 method public java.lang.Object getVolumeProvider(); 2793 method public void onAdjustVolume(int); 2794 method public void onSetVolumeTo(int); 2795 method public void setCallback(android.support.v4.media.VolumeProviderCompat.Callback); 2796 method public final void setCurrentVolume(int); 2797 field public static final int VOLUME_CONTROL_ABSOLUTE = 2; // 0x2 2798 field public static final int VOLUME_CONTROL_FIXED = 0; // 0x0 2799 field public static final int VOLUME_CONTROL_RELATIVE = 1; // 0x1 2800 } 2801 2802 public static abstract class VolumeProviderCompat.Callback { 2803 ctor public VolumeProviderCompat.Callback(); 2804 method public abstract void onVolumeChanged(android.support.v4.media.VolumeProviderCompat); 2805 } 2806 2807} 2808 2809package android.support.v4.media.session { 2810 2811 public final class MediaControllerCompat { 2812 ctor public MediaControllerCompat(android.content.Context, android.support.v4.media.session.MediaSessionCompat); 2813 ctor public MediaControllerCompat(android.content.Context, android.support.v4.media.session.MediaSessionCompat.Token) throws android.os.RemoteException; 2814 method public void adjustVolume(int, int); 2815 method public boolean dispatchMediaButtonEvent(android.view.KeyEvent); 2816 method public android.os.Bundle getExtras(); 2817 method public long getFlags(); 2818 method public java.lang.Object getMediaController(); 2819 method public android.support.v4.media.MediaMetadataCompat getMetadata(); 2820 method public java.lang.String getPackageName(); 2821 method public android.support.v4.media.session.MediaControllerCompat.PlaybackInfo getPlaybackInfo(); 2822 method public android.support.v4.media.session.PlaybackStateCompat getPlaybackState(); 2823 method public java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem> getQueue(); 2824 method public java.lang.CharSequence getQueueTitle(); 2825 method public int getRatingType(); 2826 method public android.app.PendingIntent getSessionActivity(); 2827 method public android.support.v4.media.session.MediaSessionCompat.Token getSessionToken(); 2828 method public android.support.v4.media.session.MediaControllerCompat.TransportControls getTransportControls(); 2829 method public void registerCallback(android.support.v4.media.session.MediaControllerCompat.Callback); 2830 method public void registerCallback(android.support.v4.media.session.MediaControllerCompat.Callback, android.os.Handler); 2831 method public void sendCommand(java.lang.String, android.os.Bundle, android.os.ResultReceiver); 2832 method public void setVolumeTo(int, int); 2833 method public void unregisterCallback(android.support.v4.media.session.MediaControllerCompat.Callback); 2834 } 2835 2836 public static abstract class MediaControllerCompat.Callback implements android.os.IBinder.DeathRecipient { 2837 ctor public MediaControllerCompat.Callback(); 2838 method public void binderDied(); 2839 method public void onAudioInfoChanged(android.support.v4.media.session.MediaControllerCompat.PlaybackInfo); 2840 method public void onExtrasChanged(android.os.Bundle); 2841 method public void onMetadataChanged(android.support.v4.media.MediaMetadataCompat); 2842 method public void onPlaybackStateChanged(android.support.v4.media.session.PlaybackStateCompat); 2843 method public void onQueueChanged(java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>); 2844 method public void onQueueTitleChanged(java.lang.CharSequence); 2845 method public void onSessionDestroyed(); 2846 method public void onSessionEvent(java.lang.String, android.os.Bundle); 2847 } 2848 2849 public static final class MediaControllerCompat.PlaybackInfo { 2850 method public int getAudioStream(); 2851 method public int getCurrentVolume(); 2852 method public int getMaxVolume(); 2853 method public int getPlaybackType(); 2854 method public int getVolumeControl(); 2855 field public static final int PLAYBACK_TYPE_LOCAL = 1; // 0x1 2856 field public static final int PLAYBACK_TYPE_REMOTE = 2; // 0x2 2857 } 2858 2859 public static abstract class MediaControllerCompat.TransportControls { 2860 method public abstract void fastForward(); 2861 method public abstract void pause(); 2862 method public abstract void play(); 2863 method public abstract void playFromMediaId(java.lang.String, android.os.Bundle); 2864 method public abstract void playFromSearch(java.lang.String, android.os.Bundle); 2865 method public abstract void rewind(); 2866 method public abstract void seekTo(long); 2867 method public abstract void sendCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction, android.os.Bundle); 2868 method public abstract void sendCustomAction(java.lang.String, android.os.Bundle); 2869 method public abstract void setRating(android.support.v4.media.RatingCompat); 2870 method public abstract void skipToNext(); 2871 method public abstract void skipToPrevious(); 2872 method public abstract void skipToQueueItem(long); 2873 method public abstract void stop(); 2874 } 2875 2876 public class MediaSessionCompat { 2877 ctor public MediaSessionCompat(android.content.Context, java.lang.String, android.content.ComponentName, android.app.PendingIntent); 2878 method public void addOnActiveChangeListener(android.support.v4.media.session.MediaSessionCompat.OnActiveChangeListener); 2879 method public android.support.v4.media.session.MediaControllerCompat getController(); 2880 method public java.lang.Object getMediaSession(); 2881 method public java.lang.Object getRemoteControlClient(); 2882 method public android.support.v4.media.session.MediaSessionCompat.Token getSessionToken(); 2883 method public boolean isActive(); 2884 method public static android.support.v4.media.session.MediaSessionCompat obtain(android.content.Context, java.lang.Object); 2885 method public void release(); 2886 method public void removeOnActiveChangeListener(android.support.v4.media.session.MediaSessionCompat.OnActiveChangeListener); 2887 method public void sendSessionEvent(java.lang.String, android.os.Bundle); 2888 method public void setActive(boolean); 2889 method public void setCallback(android.support.v4.media.session.MediaSessionCompat.Callback); 2890 method public void setCallback(android.support.v4.media.session.MediaSessionCompat.Callback, android.os.Handler); 2891 method public void setExtras(android.os.Bundle); 2892 method public void setFlags(int); 2893 method public void setMediaButtonReceiver(android.app.PendingIntent); 2894 method public void setMetadata(android.support.v4.media.MediaMetadataCompat); 2895 method public void setPlaybackState(android.support.v4.media.session.PlaybackStateCompat); 2896 method public void setPlaybackToLocal(int); 2897 method public void setPlaybackToRemote(android.support.v4.media.VolumeProviderCompat); 2898 method public void setQueue(java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>); 2899 method public void setQueueTitle(java.lang.CharSequence); 2900 method public void setRatingType(int); 2901 method public void setSessionActivity(android.app.PendingIntent); 2902 field public static final int FLAG_HANDLES_MEDIA_BUTTONS = 1; // 0x1 2903 field public static final int FLAG_HANDLES_TRANSPORT_CONTROLS = 2; // 0x2 2904 } 2905 2906 public static abstract class MediaSessionCompat.Callback { 2907 ctor public MediaSessionCompat.Callback(); 2908 method public void onCommand(java.lang.String, android.os.Bundle, android.os.ResultReceiver); 2909 method public void onCustomAction(java.lang.String, android.os.Bundle); 2910 method public void onFastForward(); 2911 method public boolean onMediaButtonEvent(android.content.Intent); 2912 method public void onPause(); 2913 method public void onPlay(); 2914 method public void onPlayFromMediaId(java.lang.String, android.os.Bundle); 2915 method public void onPlayFromSearch(java.lang.String, android.os.Bundle); 2916 method public void onRewind(); 2917 method public void onSeekTo(long); 2918 method public void onSetRating(android.support.v4.media.RatingCompat); 2919 method public void onSkipToNext(); 2920 method public void onSkipToPrevious(); 2921 method public void onSkipToQueueItem(long); 2922 method public void onStop(); 2923 } 2924 2925 public static abstract interface MediaSessionCompat.OnActiveChangeListener { 2926 method public abstract void onActiveChanged(); 2927 } 2928 2929 public static final class MediaSessionCompat.QueueItem implements android.os.Parcelable { 2930 ctor public MediaSessionCompat.QueueItem(android.support.v4.media.MediaDescriptionCompat, long); 2931 method public int describeContents(); 2932 method public android.support.v4.media.MediaDescriptionCompat getDescription(); 2933 method public long getQueueId(); 2934 method public java.lang.Object getQueueItem(); 2935 method public static android.support.v4.media.session.MediaSessionCompat.QueueItem obtain(java.lang.Object); 2936 method public void writeToParcel(android.os.Parcel, int); 2937 field public static final android.os.Parcelable.Creator<android.support.v4.media.session.MediaSessionCompat.QueueItem> CREATOR; 2938 field public static final int UNKNOWN_ID = -1; // 0xffffffff 2939 } 2940 2941 public static final class MediaSessionCompat.Token implements android.os.Parcelable { 2942 method public int describeContents(); 2943 method public static android.support.v4.media.session.MediaSessionCompat.Token fromToken(java.lang.Object); 2944 method public java.lang.Object getToken(); 2945 method public void writeToParcel(android.os.Parcel, int); 2946 field public static final android.os.Parcelable.Creator<android.support.v4.media.session.MediaSessionCompat.Token> CREATOR; 2947 } 2948 2949 public class ParcelableVolumeInfo implements android.os.Parcelable { 2950 ctor public ParcelableVolumeInfo(int, int, int, int, int); 2951 ctor public ParcelableVolumeInfo(android.os.Parcel); 2952 method public int describeContents(); 2953 method public void writeToParcel(android.os.Parcel, int); 2954 field public static final android.os.Parcelable.Creator<android.support.v4.media.session.ParcelableVolumeInfo> CREATOR; 2955 field public int audioStream; 2956 field public int controlType; 2957 field public int currentVolume; 2958 field public int maxVolume; 2959 field public int volumeType; 2960 } 2961 2962 public final class PlaybackStateCompat implements android.os.Parcelable { 2963 method public int describeContents(); 2964 method public static android.support.v4.media.session.PlaybackStateCompat fromPlaybackState(java.lang.Object); 2965 method public long getActions(); 2966 method public long getBufferedPosition(); 2967 method public java.lang.CharSequence getErrorMessage(); 2968 method public long getLastPositionUpdateTime(); 2969 method public float getPlaybackSpeed(); 2970 method public java.lang.Object getPlaybackState(); 2971 method public long getPosition(); 2972 method public int getState(); 2973 method public void writeToParcel(android.os.Parcel, int); 2974 field public static final long ACTION_FAST_FORWARD = 64L; // 0x40L 2975 field public static final long ACTION_PAUSE = 2L; // 0x2L 2976 field public static final long ACTION_PLAY = 4L; // 0x4L 2977 field public static final long ACTION_PLAY_FROM_MEDIA_ID = 1024L; // 0x400L 2978 field public static final long ACTION_PLAY_FROM_SEARCH = 2048L; // 0x800L 2979 field public static final long ACTION_PLAY_PAUSE = 512L; // 0x200L 2980 field public static final long ACTION_REWIND = 8L; // 0x8L 2981 field public static final long ACTION_SEEK_TO = 256L; // 0x100L 2982 field public static final long ACTION_SET_RATING = 128L; // 0x80L 2983 field public static final long ACTION_SKIP_TO_NEXT = 32L; // 0x20L 2984 field public static final long ACTION_SKIP_TO_PREVIOUS = 16L; // 0x10L 2985 field public static final long ACTION_SKIP_TO_QUEUE_ITEM = 4096L; // 0x1000L 2986 field public static final long ACTION_STOP = 1L; // 0x1L 2987 field public static final android.os.Parcelable.Creator<android.support.v4.media.session.PlaybackStateCompat> CREATOR; 2988 field public static final long PLAYBACK_POSITION_UNKNOWN = -1L; // 0xffffffffffffffffL 2989 field public static final int STATE_BUFFERING = 6; // 0x6 2990 field public static final int STATE_ERROR = 7; // 0x7 2991 field public static final int STATE_FAST_FORWARDING = 4; // 0x4 2992 field public static final int STATE_NONE = 0; // 0x0 2993 field public static final int STATE_PAUSED = 2; // 0x2 2994 field public static final int STATE_PLAYING = 3; // 0x3 2995 field public static final int STATE_REWINDING = 5; // 0x5 2996 field public static final int STATE_SKIPPING_TO_NEXT = 10; // 0xa 2997 field public static final int STATE_SKIPPING_TO_PREVIOUS = 9; // 0x9 2998 field public static final int STATE_STOPPED = 1; // 0x1 2999 } 3000 3001 public static final class PlaybackStateCompat.Builder { 3002 ctor public PlaybackStateCompat.Builder(); 3003 ctor public PlaybackStateCompat.Builder(android.support.v4.media.session.PlaybackStateCompat); 3004 method public android.support.v4.media.session.PlaybackStateCompat build(); 3005 method public android.support.v4.media.session.PlaybackStateCompat.Builder setActions(long); 3006 method public android.support.v4.media.session.PlaybackStateCompat.Builder setBufferedPosition(long); 3007 method public android.support.v4.media.session.PlaybackStateCompat.Builder setErrorMessage(java.lang.CharSequence); 3008 method public android.support.v4.media.session.PlaybackStateCompat.Builder setState(int, long, float); 3009 method public android.support.v4.media.session.PlaybackStateCompat.Builder setState(int, long, float, long); 3010 } 3011 3012 public static final class PlaybackStateCompat.CustomAction implements android.os.Parcelable { 3013 method public int describeContents(); 3014 method public java.lang.String getAction(); 3015 method public android.os.Bundle getExtras(); 3016 method public int getIcon(); 3017 method public java.lang.CharSequence getName(); 3018 method public void writeToParcel(android.os.Parcel, int); 3019 field public static final android.os.Parcelable.Creator<android.support.v4.media.session.PlaybackStateCompat.CustomAction> CREATOR; 3020 } 3021 3022 public static final class PlaybackStateCompat.CustomAction.Builder { 3023 ctor public PlaybackStateCompat.CustomAction.Builder(java.lang.String, java.lang.CharSequence, int); 3024 method public android.support.v4.media.session.PlaybackStateCompat.CustomAction build(); 3025 method public android.support.v4.media.session.PlaybackStateCompat.CustomAction.Builder setExtras(android.os.Bundle); 3026 } 3027 3028} 3029 3030package android.support.v4.net { 3031 3032 public class ConnectivityManagerCompat { 3033 ctor public ConnectivityManagerCompat(); 3034 method public static android.net.NetworkInfo getNetworkInfoFromBroadcast(android.net.ConnectivityManager, android.content.Intent); 3035 method public static boolean isActiveNetworkMetered(android.net.ConnectivityManager); 3036 } 3037 3038 public class TrafficStatsCompat { 3039 ctor public TrafficStatsCompat(); 3040 method public static void clearThreadStatsTag(); 3041 method public static int getThreadStatsTag(); 3042 method public static void incrementOperationCount(int); 3043 method public static void incrementOperationCount(int, int); 3044 method public static void setThreadStatsTag(int); 3045 method public static void tagSocket(java.net.Socket) throws java.net.SocketException; 3046 method public static void untagSocket(java.net.Socket) throws java.net.SocketException; 3047 } 3048 3049} 3050 3051package android.support.v4.os { 3052 3053 public class AsyncTaskCompat { 3054 ctor public AsyncTaskCompat(); 3055 method public static android.os.AsyncTask<Params, Progress, Result> executeParallel(android.os.AsyncTask<Params, Progress, Result>, Params...); 3056 } 3057 3058 public class EnvironmentCompat { 3059 ctor public EnvironmentCompat(); 3060 method public static java.lang.String getStorageState(java.io.File); 3061 field public static final java.lang.String MEDIA_UNKNOWN = "unknown"; 3062 } 3063 3064 public class ParcelableCompat { 3065 ctor public ParcelableCompat(); 3066 method public static android.os.Parcelable.Creator<T> newCreator(android.support.v4.os.ParcelableCompatCreatorCallbacks<T>); 3067 } 3068 3069 public abstract interface ParcelableCompatCreatorCallbacks { 3070 method public abstract T createFromParcel(android.os.Parcel, java.lang.ClassLoader); 3071 method public abstract T[] newArray(int); 3072 } 3073 3074 public class TraceCompat { 3075 ctor public TraceCompat(); 3076 method public static void beginSection(java.lang.String); 3077 method public static void endSection(); 3078 } 3079 3080} 3081 3082package android.support.v4.print { 3083 3084 public final class PrintHelper { 3085 ctor public PrintHelper(android.content.Context); 3086 method public int getColorMode(); 3087 method public int getOrientation(); 3088 method public int getScaleMode(); 3089 method public void printBitmap(java.lang.String, android.graphics.Bitmap); 3090 method public void printBitmap(java.lang.String, android.graphics.Bitmap, android.support.v4.print.PrintHelper.OnPrintFinishCallback); 3091 method public void printBitmap(java.lang.String, android.net.Uri) throws java.io.FileNotFoundException; 3092 method public void printBitmap(java.lang.String, android.net.Uri, android.support.v4.print.PrintHelper.OnPrintFinishCallback) throws java.io.FileNotFoundException; 3093 method public void setColorMode(int); 3094 method public void setOrientation(int); 3095 method public void setScaleMode(int); 3096 method public static boolean systemSupportsPrint(); 3097 field public static final int COLOR_MODE_COLOR = 2; // 0x2 3098 field public static final int COLOR_MODE_MONOCHROME = 1; // 0x1 3099 field public static final int ORIENTATION_LANDSCAPE = 1; // 0x1 3100 field public static final int ORIENTATION_PORTRAIT = 2; // 0x2 3101 field public static final int SCALE_MODE_FILL = 2; // 0x2 3102 field public static final int SCALE_MODE_FIT = 1; // 0x1 3103 } 3104 3105 public static abstract interface PrintHelper.OnPrintFinishCallback { 3106 method public abstract void onFinish(); 3107 } 3108 3109} 3110 3111package android.support.v4.provider { 3112 3113 public abstract class DocumentFile { 3114 method public abstract boolean canRead(); 3115 method public abstract boolean canWrite(); 3116 method public abstract android.support.v4.provider.DocumentFile createDirectory(java.lang.String); 3117 method public abstract android.support.v4.provider.DocumentFile createFile(java.lang.String, java.lang.String); 3118 method public abstract boolean delete(); 3119 method public abstract boolean exists(); 3120 method public android.support.v4.provider.DocumentFile findFile(java.lang.String); 3121 method public static android.support.v4.provider.DocumentFile fromFile(java.io.File); 3122 method public static android.support.v4.provider.DocumentFile fromSingleUri(android.content.Context, android.net.Uri); 3123 method public static android.support.v4.provider.DocumentFile fromTreeUri(android.content.Context, android.net.Uri); 3124 method public abstract java.lang.String getName(); 3125 method public android.support.v4.provider.DocumentFile getParentFile(); 3126 method public abstract java.lang.String getType(); 3127 method public abstract android.net.Uri getUri(); 3128 method public abstract boolean isDirectory(); 3129 method public static boolean isDocumentUri(android.content.Context, android.net.Uri); 3130 method public abstract boolean isFile(); 3131 method public abstract long lastModified(); 3132 method public abstract long length(); 3133 method public abstract android.support.v4.provider.DocumentFile[] listFiles(); 3134 method public abstract boolean renameTo(java.lang.String); 3135 } 3136 3137} 3138 3139package android.support.v4.text { 3140 3141 public final class BidiFormatter { 3142 method public static android.support.v4.text.BidiFormatter getInstance(); 3143 method public static android.support.v4.text.BidiFormatter getInstance(boolean); 3144 method public static android.support.v4.text.BidiFormatter getInstance(java.util.Locale); 3145 method public boolean getStereoReset(); 3146 method public boolean isRtl(java.lang.String); 3147 method public boolean isRtlContext(); 3148 method public java.lang.String unicodeWrap(java.lang.String, android.support.v4.text.TextDirectionHeuristicCompat, boolean); 3149 method public java.lang.String unicodeWrap(java.lang.String, android.support.v4.text.TextDirectionHeuristicCompat); 3150 method public java.lang.String unicodeWrap(java.lang.String, boolean); 3151 method public java.lang.String unicodeWrap(java.lang.String); 3152 } 3153 3154 public static final class BidiFormatter.Builder { 3155 ctor public BidiFormatter.Builder(); 3156 ctor public BidiFormatter.Builder(boolean); 3157 ctor public BidiFormatter.Builder(java.util.Locale); 3158 method public android.support.v4.text.BidiFormatter build(); 3159 method public android.support.v4.text.BidiFormatter.Builder setTextDirectionHeuristic(android.support.v4.text.TextDirectionHeuristicCompat); 3160 method public android.support.v4.text.BidiFormatter.Builder stereoReset(boolean); 3161 } 3162 3163 public class ICUCompat { 3164 ctor public ICUCompat(); 3165 method public static java.lang.String addLikelySubtags(java.lang.String); 3166 method public static java.lang.String getScript(java.lang.String); 3167 } 3168 3169 public abstract interface TextDirectionHeuristicCompat { 3170 method public abstract boolean isRtl(char[], int, int); 3171 method public abstract boolean isRtl(java.lang.CharSequence, int, int); 3172 } 3173 3174 public class TextDirectionHeuristicsCompat { 3175 ctor public TextDirectionHeuristicsCompat(); 3176 field public static final android.support.v4.text.TextDirectionHeuristicCompat ANYRTL_LTR; 3177 field public static final android.support.v4.text.TextDirectionHeuristicCompat FIRSTSTRONG_LTR; 3178 field public static final android.support.v4.text.TextDirectionHeuristicCompat FIRSTSTRONG_RTL; 3179 field public static final android.support.v4.text.TextDirectionHeuristicCompat LOCALE; 3180 field public static final android.support.v4.text.TextDirectionHeuristicCompat LTR; 3181 field public static final android.support.v4.text.TextDirectionHeuristicCompat RTL; 3182 } 3183 3184 public class TextUtilsCompat { 3185 ctor public TextUtilsCompat(); 3186 method public static int getLayoutDirectionFromLocale(java.util.Locale); 3187 method public static java.lang.String htmlEncode(java.lang.String); 3188 field public static final java.util.Locale ROOT; 3189 } 3190 3191} 3192 3193package android.support.v4.util { 3194 3195 public class ArrayMap extends android.support.v4.util.SimpleArrayMap implements java.util.Map { 3196 ctor public ArrayMap(); 3197 ctor public ArrayMap(int); 3198 ctor public ArrayMap(android.support.v4.util.SimpleArrayMap); 3199 method public boolean containsAll(java.util.Collection<?>); 3200 method public java.util.Set<java.util.Map.Entry<K, V>> entrySet(); 3201 method public java.util.Set<K> keySet(); 3202 method public void putAll(java.util.Map<? extends K, ? extends V>); 3203 method public boolean removeAll(java.util.Collection<?>); 3204 method public boolean retainAll(java.util.Collection<?>); 3205 method public java.util.Collection<V> values(); 3206 } 3207 3208 public class AtomicFile { 3209 ctor public AtomicFile(java.io.File); 3210 method public void delete(); 3211 method public void failWrite(java.io.FileOutputStream); 3212 method public void finishWrite(java.io.FileOutputStream); 3213 method public java.io.File getBaseFile(); 3214 method public java.io.FileInputStream openRead() throws java.io.FileNotFoundException; 3215 method public byte[] readFully() throws java.io.IOException; 3216 method public java.io.FileOutputStream startWrite() throws java.io.IOException; 3217 } 3218 3219 public final class CircularArray { 3220 ctor public CircularArray(); 3221 ctor public CircularArray(int); 3222 method public void addFirst(E); 3223 method public void addLast(E); 3224 method public void clear(); 3225 method public E get(int); 3226 method public E getFirst(); 3227 method public E getLast(); 3228 method public boolean isEmpty(); 3229 method public E popFirst(); 3230 method public E popLast(); 3231 method public void removeFromEnd(int); 3232 method public void removeFromStart(int); 3233 method public int size(); 3234 } 3235 3236 public final class CircularIntArray { 3237 ctor public CircularIntArray(); 3238 ctor public CircularIntArray(int); 3239 method public void addFirst(int); 3240 method public void addLast(int); 3241 method public void clear(); 3242 method public int get(int); 3243 method public int getFirst(); 3244 method public int getLast(); 3245 method public boolean isEmpty(); 3246 method public int popFirst(); 3247 method public int popLast(); 3248 method public void removeFromEnd(int); 3249 method public void removeFromStart(int); 3250 method public int size(); 3251 } 3252 3253 public class LongSparseArray { 3254 ctor public LongSparseArray(); 3255 ctor public LongSparseArray(int); 3256 method public void append(long, E); 3257 method public void clear(); 3258 method public android.support.v4.util.LongSparseArray<E> clone(); 3259 method public void delete(long); 3260 method public E get(long); 3261 method public E get(long, E); 3262 method public int indexOfKey(long); 3263 method public int indexOfValue(E); 3264 method public long keyAt(int); 3265 method public void put(long, E); 3266 method public void remove(long); 3267 method public void removeAt(int); 3268 method public void setValueAt(int, E); 3269 method public int size(); 3270 method public E valueAt(int); 3271 } 3272 3273 public class LruCache { 3274 ctor public LruCache(int); 3275 method protected V create(K); 3276 method public final synchronized int createCount(); 3277 method protected void entryRemoved(boolean, K, V, V); 3278 method public final void evictAll(); 3279 method public final synchronized int evictionCount(); 3280 method public final V get(K); 3281 method public final synchronized int hitCount(); 3282 method public final synchronized int maxSize(); 3283 method public final synchronized int missCount(); 3284 method public final V put(K, V); 3285 method public final synchronized int putCount(); 3286 method public final V remove(K); 3287 method public void resize(int); 3288 method public final synchronized int size(); 3289 method protected int sizeOf(K, V); 3290 method public final synchronized java.util.Map<K, V> snapshot(); 3291 method public final synchronized java.lang.String toString(); 3292 method public void trimToSize(int); 3293 } 3294 3295 public class Pair { 3296 ctor public Pair(F, S); 3297 method public static android.support.v4.util.Pair<A, B> create(A, B); 3298 field public final F first; 3299 field public final S second; 3300 } 3301 3302 public final class Pools { 3303 } 3304 3305 public static abstract interface Pools.Pool { 3306 method public abstract T acquire(); 3307 method public abstract boolean release(T); 3308 } 3309 3310 public static class Pools.SimplePool implements android.support.v4.util.Pools.Pool { 3311 ctor public Pools.SimplePool(int); 3312 method public T acquire(); 3313 method public boolean release(T); 3314 } 3315 3316 public static class Pools.SynchronizedPool extends android.support.v4.util.Pools.SimplePool { 3317 ctor public Pools.SynchronizedPool(int); 3318 } 3319 3320 public class SimpleArrayMap { 3321 ctor public SimpleArrayMap(); 3322 ctor public SimpleArrayMap(int); 3323 ctor public SimpleArrayMap(android.support.v4.util.SimpleArrayMap); 3324 method public void clear(); 3325 method public boolean containsKey(java.lang.Object); 3326 method public boolean containsValue(java.lang.Object); 3327 method public void ensureCapacity(int); 3328 method public V get(java.lang.Object); 3329 method public int indexOfKey(java.lang.Object); 3330 method public boolean isEmpty(); 3331 method public K keyAt(int); 3332 method public V put(K, V); 3333 method public void putAll(android.support.v4.util.SimpleArrayMap<? extends K, ? extends V>); 3334 method public V remove(java.lang.Object); 3335 method public V removeAt(int); 3336 method public V setValueAt(int, V); 3337 method public int size(); 3338 method public V valueAt(int); 3339 } 3340 3341 public class SparseArrayCompat { 3342 ctor public SparseArrayCompat(); 3343 ctor public SparseArrayCompat(int); 3344 method public void append(int, E); 3345 method public void clear(); 3346 method public android.support.v4.util.SparseArrayCompat<E> clone(); 3347 method public void delete(int); 3348 method public E get(int); 3349 method public E get(int, E); 3350 method public int indexOfKey(int); 3351 method public int indexOfValue(E); 3352 method public int keyAt(int); 3353 method public void put(int, E); 3354 method public void remove(int); 3355 method public void removeAt(int); 3356 method public void removeAtRange(int, int); 3357 method public void setValueAt(int, E); 3358 method public int size(); 3359 method public E valueAt(int); 3360 } 3361 3362} 3363 3364package android.support.v4.view { 3365 3366 public class AccessibilityDelegateCompat { 3367 ctor public AccessibilityDelegateCompat(); 3368 method public boolean dispatchPopulateAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent); 3369 method public android.support.v4.view.accessibility.AccessibilityNodeProviderCompat getAccessibilityNodeProvider(android.view.View); 3370 method public void onInitializeAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent); 3371 method public void onInitializeAccessibilityNodeInfo(android.view.View, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat); 3372 method public void onPopulateAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent); 3373 method public boolean onRequestSendAccessibilityEvent(android.view.ViewGroup, android.view.View, android.view.accessibility.AccessibilityEvent); 3374 method public boolean performAccessibilityAction(android.view.View, int, android.os.Bundle); 3375 method public void sendAccessibilityEvent(android.view.View, int); 3376 method public void sendAccessibilityEventUnchecked(android.view.View, android.view.accessibility.AccessibilityEvent); 3377 } 3378 3379 public abstract class ActionProvider { 3380 ctor public ActionProvider(android.content.Context); 3381 method public android.content.Context getContext(); 3382 method public boolean hasSubMenu(); 3383 method public boolean isVisible(); 3384 method public abstract android.view.View onCreateActionView(); 3385 method public android.view.View onCreateActionView(android.view.MenuItem); 3386 method public boolean onPerformDefaultAction(); 3387 method public void onPrepareSubMenu(android.view.SubMenu); 3388 method public boolean overridesItemVisibility(); 3389 method public void refreshVisibility(); 3390 method public void setVisibilityListener(android.support.v4.view.ActionProvider.VisibilityListener); 3391 } 3392 3393 public static abstract interface ActionProvider.VisibilityListener { 3394 method public abstract void onActionProviderVisibilityChanged(boolean); 3395 } 3396 3397 public class GestureDetectorCompat { 3398 ctor public GestureDetectorCompat(android.content.Context, android.view.GestureDetector.OnGestureListener); 3399 ctor public GestureDetectorCompat(android.content.Context, android.view.GestureDetector.OnGestureListener, android.os.Handler); 3400 method public boolean isLongpressEnabled(); 3401 method public boolean onTouchEvent(android.view.MotionEvent); 3402 method public void setIsLongpressEnabled(boolean); 3403 method public void setOnDoubleTapListener(android.view.GestureDetector.OnDoubleTapListener); 3404 } 3405 3406 public class GravityCompat { 3407 ctor public GravityCompat(); 3408 method public static void apply(int, int, int, android.graphics.Rect, android.graphics.Rect, int); 3409 method public static void apply(int, int, int, android.graphics.Rect, int, int, android.graphics.Rect, int); 3410 method public static void applyDisplay(int, android.graphics.Rect, android.graphics.Rect, int); 3411 method public static int getAbsoluteGravity(int, int); 3412 field public static final int END = 8388613; // 0x800005 3413 field public static final int RELATIVE_HORIZONTAL_GRAVITY_MASK = 8388615; // 0x800007 3414 field public static final int RELATIVE_LAYOUT_DIRECTION = 8388608; // 0x800000 3415 field public static final int START = 8388611; // 0x800003 3416 } 3417 3418 public class InputDeviceCompat { 3419 ctor public InputDeviceCompat(); 3420 field public static final int SOURCE_ANY = -256; // 0xffffff00 3421 field public static final int SOURCE_CLASS_BUTTON = 1; // 0x1 3422 field public static final int SOURCE_CLASS_JOYSTICK = 16; // 0x10 3423 field public static final int SOURCE_CLASS_MASK = 255; // 0xff 3424 field public static final int SOURCE_CLASS_NONE = 0; // 0x0 3425 field public static final int SOURCE_CLASS_POINTER = 2; // 0x2 3426 field public static final int SOURCE_CLASS_POSITION = 8; // 0x8 3427 field public static final int SOURCE_CLASS_TRACKBALL = 4; // 0x4 3428 field public static final int SOURCE_DPAD = 513; // 0x201 3429 field public static final int SOURCE_GAMEPAD = 1025; // 0x401 3430 field public static final int SOURCE_HDMI = 33554433; // 0x2000001 3431 field public static final int SOURCE_JOYSTICK = 16777232; // 0x1000010 3432 field public static final int SOURCE_KEYBOARD = 257; // 0x101 3433 field public static final int SOURCE_MOUSE = 8194; // 0x2002 3434 field public static final int SOURCE_STYLUS = 16386; // 0x4002 3435 field public static final int SOURCE_TOUCHPAD = 1048584; // 0x100008 3436 field public static final int SOURCE_TOUCHSCREEN = 4098; // 0x1002 3437 field public static final int SOURCE_TOUCH_NAVIGATION = 2097152; // 0x200000 3438 field public static final int SOURCE_TRACKBALL = 65540; // 0x10004 3439 field public static final int SOURCE_UNKNOWN = 0; // 0x0 3440 } 3441 3442 public class KeyEventCompat { 3443 ctor public KeyEventCompat(); 3444 method public static boolean dispatch(android.view.KeyEvent, android.view.KeyEvent.Callback, java.lang.Object, java.lang.Object); 3445 method public static java.lang.Object getKeyDispatcherState(android.view.View); 3446 method public static boolean hasModifiers(android.view.KeyEvent, int); 3447 method public static boolean hasNoModifiers(android.view.KeyEvent); 3448 method public static boolean isTracking(android.view.KeyEvent); 3449 method public static boolean metaStateHasModifiers(int, int); 3450 method public static boolean metaStateHasNoModifiers(int); 3451 method public static int normalizeMetaState(int); 3452 method public static void startTracking(android.view.KeyEvent); 3453 } 3454 3455 public class LayoutInflaterCompat { 3456 method public static void setFactory(android.view.LayoutInflater, android.support.v4.view.LayoutInflaterFactory); 3457 } 3458 3459 public abstract interface LayoutInflaterFactory { 3460 method public abstract android.view.View onCreateView(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet); 3461 } 3462 3463 public class MarginLayoutParamsCompat { 3464 ctor public MarginLayoutParamsCompat(); 3465 method public static int getLayoutDirection(android.view.ViewGroup.MarginLayoutParams); 3466 method public static int getMarginEnd(android.view.ViewGroup.MarginLayoutParams); 3467 method public static int getMarginStart(android.view.ViewGroup.MarginLayoutParams); 3468 method public static boolean isMarginRelative(android.view.ViewGroup.MarginLayoutParams); 3469 method public static void resolveLayoutDirection(android.view.ViewGroup.MarginLayoutParams, int); 3470 method public static void setLayoutDirection(android.view.ViewGroup.MarginLayoutParams, int); 3471 method public static void setMarginEnd(android.view.ViewGroup.MarginLayoutParams, int); 3472 method public static void setMarginStart(android.view.ViewGroup.MarginLayoutParams, int); 3473 } 3474 3475 public class MenuCompat { 3476 ctor public MenuCompat(); 3477 method public static deprecated void setShowAsAction(android.view.MenuItem, int); 3478 } 3479 3480 public class MenuItemCompat { 3481 ctor public MenuItemCompat(); 3482 method public static boolean collapseActionView(android.view.MenuItem); 3483 method public static boolean expandActionView(android.view.MenuItem); 3484 method public static android.support.v4.view.ActionProvider getActionProvider(android.view.MenuItem); 3485 method public static android.view.View getActionView(android.view.MenuItem); 3486 method public static boolean isActionViewExpanded(android.view.MenuItem); 3487 method public static android.view.MenuItem setActionProvider(android.view.MenuItem, android.support.v4.view.ActionProvider); 3488 method public static android.view.MenuItem setActionView(android.view.MenuItem, android.view.View); 3489 method public static android.view.MenuItem setActionView(android.view.MenuItem, int); 3490 method public static android.view.MenuItem setOnActionExpandListener(android.view.MenuItem, android.support.v4.view.MenuItemCompat.OnActionExpandListener); 3491 method public static void setShowAsAction(android.view.MenuItem, int); 3492 field public static final int SHOW_AS_ACTION_ALWAYS = 2; // 0x2 3493 field public static final int SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW = 8; // 0x8 3494 field public static final int SHOW_AS_ACTION_IF_ROOM = 1; // 0x1 3495 field public static final int SHOW_AS_ACTION_NEVER = 0; // 0x0 3496 field public static final int SHOW_AS_ACTION_WITH_TEXT = 4; // 0x4 3497 } 3498 3499 public static abstract interface MenuItemCompat.OnActionExpandListener { 3500 method public abstract boolean onMenuItemActionCollapse(android.view.MenuItem); 3501 method public abstract boolean onMenuItemActionExpand(android.view.MenuItem); 3502 } 3503 3504 public class MotionEventCompat { 3505 ctor public MotionEventCompat(); 3506 method public static int findPointerIndex(android.view.MotionEvent, int); 3507 method public static int getActionIndex(android.view.MotionEvent); 3508 method public static int getActionMasked(android.view.MotionEvent); 3509 method public static float getAxisValue(android.view.MotionEvent, int); 3510 method public static float getAxisValue(android.view.MotionEvent, int, int); 3511 method public static int getPointerCount(android.view.MotionEvent); 3512 method public static int getPointerId(android.view.MotionEvent, int); 3513 method public static int getSource(android.view.MotionEvent); 3514 method public static float getX(android.view.MotionEvent, int); 3515 method public static float getY(android.view.MotionEvent, int); 3516 field public static final int ACTION_HOVER_ENTER = 9; // 0x9 3517 field public static final int ACTION_HOVER_EXIT = 10; // 0xa 3518 field public static final int ACTION_HOVER_MOVE = 7; // 0x7 3519 field public static final int ACTION_MASK = 255; // 0xff 3520 field public static final int ACTION_POINTER_DOWN = 5; // 0x5 3521 field public static final int ACTION_POINTER_INDEX_MASK = 65280; // 0xff00 3522 field public static final int ACTION_POINTER_INDEX_SHIFT = 8; // 0x8 3523 field public static final int ACTION_POINTER_UP = 6; // 0x6 3524 field public static final int ACTION_SCROLL = 8; // 0x8 3525 field public static final int AXIS_BRAKE = 23; // 0x17 3526 field public static final int AXIS_DISTANCE = 24; // 0x18 3527 field public static final int AXIS_GAS = 22; // 0x16 3528 field public static final int AXIS_GENERIC_1 = 32; // 0x20 3529 field public static final int AXIS_GENERIC_10 = 41; // 0x29 3530 field public static final int AXIS_GENERIC_11 = 42; // 0x2a 3531 field public static final int AXIS_GENERIC_12 = 43; // 0x2b 3532 field public static final int AXIS_GENERIC_13 = 44; // 0x2c 3533 field public static final int AXIS_GENERIC_14 = 45; // 0x2d 3534 field public static final int AXIS_GENERIC_15 = 46; // 0x2e 3535 field public static final int AXIS_GENERIC_16 = 47; // 0x2f 3536 field public static final int AXIS_GENERIC_2 = 33; // 0x21 3537 field public static final int AXIS_GENERIC_3 = 34; // 0x22 3538 field public static final int AXIS_GENERIC_4 = 35; // 0x23 3539 field public static final int AXIS_GENERIC_5 = 36; // 0x24 3540 field public static final int AXIS_GENERIC_6 = 37; // 0x25 3541 field public static final int AXIS_GENERIC_7 = 38; // 0x26 3542 field public static final int AXIS_GENERIC_8 = 39; // 0x27 3543 field public static final int AXIS_GENERIC_9 = 40; // 0x28 3544 field public static final int AXIS_HAT_X = 15; // 0xf 3545 field public static final int AXIS_HAT_Y = 16; // 0x10 3546 field public static final int AXIS_HSCROLL = 10; // 0xa 3547 field public static final int AXIS_LTRIGGER = 17; // 0x11 3548 field public static final int AXIS_ORIENTATION = 8; // 0x8 3549 field public static final int AXIS_PRESSURE = 2; // 0x2 3550 field public static final int AXIS_RTRIGGER = 18; // 0x12 3551 field public static final int AXIS_RUDDER = 20; // 0x14 3552 field public static final int AXIS_RX = 12; // 0xc 3553 field public static final int AXIS_RY = 13; // 0xd 3554 field public static final int AXIS_RZ = 14; // 0xe 3555 field public static final int AXIS_SIZE = 3; // 0x3 3556 field public static final int AXIS_THROTTLE = 19; // 0x13 3557 field public static final int AXIS_TILT = 25; // 0x19 3558 field public static final int AXIS_TOOL_MAJOR = 6; // 0x6 3559 field public static final int AXIS_TOOL_MINOR = 7; // 0x7 3560 field public static final int AXIS_TOUCH_MAJOR = 4; // 0x4 3561 field public static final int AXIS_TOUCH_MINOR = 5; // 0x5 3562 field public static final int AXIS_VSCROLL = 9; // 0x9 3563 field public static final int AXIS_WHEEL = 21; // 0x15 3564 field public static final int AXIS_X = 0; // 0x0 3565 field public static final int AXIS_Y = 1; // 0x1 3566 field public static final int AXIS_Z = 11; // 0xb 3567 } 3568 3569 public abstract interface NestedScrollingChild { 3570 method public abstract boolean dispatchNestedFling(float, float, boolean); 3571 method public abstract boolean dispatchNestedPreFling(float, float); 3572 method public abstract boolean dispatchNestedPreScroll(int, int, int[], int[]); 3573 method public abstract boolean dispatchNestedScroll(int, int, int, int, int[]); 3574 method public abstract boolean hasNestedScrollingParent(); 3575 method public abstract boolean isNestedScrollingEnabled(); 3576 method public abstract void setNestedScrollingEnabled(boolean); 3577 method public abstract boolean startNestedScroll(int); 3578 method public abstract void stopNestedScroll(); 3579 } 3580 3581 public class NestedScrollingChildHelper { 3582 ctor public NestedScrollingChildHelper(android.view.View); 3583 method public boolean dispatchNestedFling(float, float, boolean); 3584 method public boolean dispatchNestedPreFling(float, float); 3585 method public boolean dispatchNestedPreScroll(int, int, int[], int[]); 3586 method public boolean dispatchNestedScroll(int, int, int, int, int[]); 3587 method public boolean hasNestedScrollingParent(); 3588 method public boolean isNestedScrollingEnabled(); 3589 method public void onDetachedFromWindow(); 3590 method public void onStopNestedScroll(android.view.View); 3591 method public void setNestedScrollingEnabled(boolean); 3592 method public boolean startNestedScroll(int); 3593 method public void stopNestedScroll(); 3594 } 3595 3596 public abstract interface NestedScrollingParent { 3597 method public abstract int getNestedScrollAxes(); 3598 method public abstract boolean onNestedFling(android.view.View, float, float, boolean); 3599 method public abstract boolean onNestedPreFling(android.view.View, float, float); 3600 method public abstract void onNestedPreScroll(android.view.View, int, int, int[]); 3601 method public abstract void onNestedScroll(android.view.View, int, int, int, int); 3602 method public abstract void onNestedScrollAccepted(android.view.View, android.view.View, int); 3603 method public abstract boolean onStartNestedScroll(android.view.View, android.view.View, int); 3604 method public abstract void onStopNestedScroll(android.view.View); 3605 } 3606 3607 public class NestedScrollingParentHelper { 3608 ctor public NestedScrollingParentHelper(android.view.ViewGroup); 3609 method public int getNestedScrollAxes(); 3610 method public void onNestedScrollAccepted(android.view.View, android.view.View, int); 3611 method public void onStopNestedScroll(android.view.View); 3612 } 3613 3614 public abstract interface OnApplyWindowInsetsListener { 3615 method public abstract android.support.v4.view.WindowInsetsCompat onApplyWindowInsets(android.view.View, android.support.v4.view.WindowInsetsCompat); 3616 } 3617 3618 public abstract class PagerAdapter { 3619 ctor public PagerAdapter(); 3620 method public void destroyItem(android.view.ViewGroup, int, java.lang.Object); 3621 method public deprecated void destroyItem(android.view.View, int, java.lang.Object); 3622 method public void finishUpdate(android.view.ViewGroup); 3623 method public deprecated void finishUpdate(android.view.View); 3624 method public abstract int getCount(); 3625 method public int getItemPosition(java.lang.Object); 3626 method public java.lang.CharSequence getPageTitle(int); 3627 method public float getPageWidth(int); 3628 method public java.lang.Object instantiateItem(android.view.ViewGroup, int); 3629 method public deprecated java.lang.Object instantiateItem(android.view.View, int); 3630 method public abstract boolean isViewFromObject(android.view.View, java.lang.Object); 3631 method public void notifyDataSetChanged(); 3632 method public void registerDataSetObserver(android.database.DataSetObserver); 3633 method public void restoreState(android.os.Parcelable, java.lang.ClassLoader); 3634 method public android.os.Parcelable saveState(); 3635 method public void setPrimaryItem(android.view.ViewGroup, int, java.lang.Object); 3636 method public deprecated void setPrimaryItem(android.view.View, int, java.lang.Object); 3637 method public void startUpdate(android.view.ViewGroup); 3638 method public deprecated void startUpdate(android.view.View); 3639 method public void unregisterDataSetObserver(android.database.DataSetObserver); 3640 field public static final int POSITION_NONE = -2; // 0xfffffffe 3641 field public static final int POSITION_UNCHANGED = -1; // 0xffffffff 3642 } 3643 3644 public class PagerTabStrip extends android.support.v4.view.PagerTitleStrip { 3645 ctor public PagerTabStrip(android.content.Context); 3646 ctor public PagerTabStrip(android.content.Context, android.util.AttributeSet); 3647 method public boolean getDrawFullUnderline(); 3648 method public int getTabIndicatorColor(); 3649 method public void setDrawFullUnderline(boolean); 3650 method public void setTabIndicatorColor(int); 3651 method public void setTabIndicatorColorResource(int); 3652 } 3653 3654 public class PagerTitleStrip extends android.view.ViewGroup { 3655 ctor public PagerTitleStrip(android.content.Context); 3656 ctor public PagerTitleStrip(android.content.Context, android.util.AttributeSet); 3657 method public int getTextSpacing(); 3658 method protected void onLayout(boolean, int, int, int, int); 3659 method public void setGravity(int); 3660 method public void setNonPrimaryAlpha(float); 3661 method public void setTextColor(int); 3662 method public void setTextSize(int, float); 3663 method public void setTextSpacing(int); 3664 } 3665 3666 public class ScaleGestureDetectorCompat { 3667 method public static boolean isQuickScaleEnabled(java.lang.Object); 3668 method public static void setQuickScaleEnabled(java.lang.Object, boolean); 3669 } 3670 3671 public abstract interface ScrollingView { 3672 method public abstract int computeHorizontalScrollExtent(); 3673 method public abstract int computeHorizontalScrollOffset(); 3674 method public abstract int computeHorizontalScrollRange(); 3675 method public abstract int computeVerticalScrollExtent(); 3676 method public abstract int computeVerticalScrollOffset(); 3677 method public abstract int computeVerticalScrollRange(); 3678 } 3679 3680 public class VelocityTrackerCompat { 3681 ctor public VelocityTrackerCompat(); 3682 method public static float getXVelocity(android.view.VelocityTracker, int); 3683 method public static float getYVelocity(android.view.VelocityTracker, int); 3684 } 3685 3686 public class ViewCompat { 3687 ctor public ViewCompat(); 3688 method public static android.support.v4.view.ViewPropertyAnimatorCompat animate(android.view.View); 3689 method public static boolean canScrollHorizontally(android.view.View, int); 3690 method public static boolean canScrollVertically(android.view.View, int); 3691 method public static int combineMeasuredStates(int, int); 3692 method public static android.support.v4.view.WindowInsetsCompat dispatchApplyWindowInsets(android.view.View, android.support.v4.view.WindowInsetsCompat); 3693 method public static void dispatchFinishTemporaryDetach(android.view.View); 3694 method public static boolean dispatchNestedFling(android.view.View, float, float, boolean); 3695 method public static boolean dispatchNestedPreFling(android.view.View, float, float); 3696 method public static boolean dispatchNestedPreScroll(android.view.View, int, int, int[], int[]); 3697 method public static boolean dispatchNestedScroll(android.view.View, int, int, int, int, int[]); 3698 method public static void dispatchStartTemporaryDetach(android.view.View); 3699 method public static int getAccessibilityLiveRegion(android.view.View); 3700 method public static android.support.v4.view.accessibility.AccessibilityNodeProviderCompat getAccessibilityNodeProvider(android.view.View); 3701 method public static float getAlpha(android.view.View); 3702 method public static android.content.res.ColorStateList getBackgroundTintList(android.view.View); 3703 method public static android.graphics.PorterDuff.Mode getBackgroundTintMode(android.view.View); 3704 method public static float getElevation(android.view.View); 3705 method public static boolean getFitsSystemWindows(android.view.View); 3706 method public static int getImportantForAccessibility(android.view.View); 3707 method public static int getLabelFor(android.view.View); 3708 method public static int getLayerType(android.view.View); 3709 method public static int getLayoutDirection(android.view.View); 3710 method public static int getMeasuredHeightAndState(android.view.View); 3711 method public static int getMeasuredState(android.view.View); 3712 method public static int getMeasuredWidthAndState(android.view.View); 3713 method public static int getMinimumHeight(android.view.View); 3714 method public static int getMinimumWidth(android.view.View); 3715 method public static int getOverScrollMode(android.view.View); 3716 method public static int getPaddingEnd(android.view.View); 3717 method public static int getPaddingStart(android.view.View); 3718 method public static android.view.ViewParent getParentForAccessibility(android.view.View); 3719 method public static float getPivotX(android.view.View); 3720 method public static float getPivotY(android.view.View); 3721 method public static float getRotation(android.view.View); 3722 method public static float getRotationX(android.view.View); 3723 method public static float getRotationY(android.view.View); 3724 method public static float getScaleX(android.view.View); 3725 method public static float getScaleY(android.view.View); 3726 method public static java.lang.String getTransitionName(android.view.View); 3727 method public static float getTranslationX(android.view.View); 3728 method public static float getTranslationY(android.view.View); 3729 method public static float getTranslationZ(android.view.View); 3730 method public static int getWindowSystemUiVisibility(android.view.View); 3731 method public static float getX(android.view.View); 3732 method public static float getY(android.view.View); 3733 method public static float getZ(android.view.View); 3734 method public static boolean hasAccessibilityDelegate(android.view.View); 3735 method public static boolean hasNestedScrollingParent(android.view.View); 3736 method public static boolean hasTransientState(android.view.View); 3737 method public static boolean isLaidOut(android.view.View); 3738 method public static boolean isNestedScrollingEnabled(android.view.View); 3739 method public static boolean isOpaque(android.view.View); 3740 method public static boolean isPaddingRelative(android.view.View); 3741 method public static void jumpDrawablesToCurrentState(android.view.View); 3742 method public static android.support.v4.view.WindowInsetsCompat onApplyWindowInsets(android.view.View, android.support.v4.view.WindowInsetsCompat); 3743 method public static void onInitializeAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent); 3744 method public static void onInitializeAccessibilityNodeInfo(android.view.View, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat); 3745 method public static void onPopulateAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent); 3746 method public static boolean performAccessibilityAction(android.view.View, int, android.os.Bundle); 3747 method public static void postInvalidateOnAnimation(android.view.View); 3748 method public static void postInvalidateOnAnimation(android.view.View, int, int, int, int); 3749 method public static void postOnAnimation(android.view.View, java.lang.Runnable); 3750 method public static void postOnAnimationDelayed(android.view.View, java.lang.Runnable, long); 3751 method public static void requestApplyInsets(android.view.View); 3752 method public static int resolveSizeAndState(int, int, int); 3753 method public static void setAccessibilityDelegate(android.view.View, android.support.v4.view.AccessibilityDelegateCompat); 3754 method public static void setAccessibilityLiveRegion(android.view.View, int); 3755 method public static void setActivated(android.view.View, boolean); 3756 method public static void setAlpha(android.view.View, float); 3757 method public static void setBackgroundTintList(android.view.View, android.content.res.ColorStateList); 3758 method public static void setBackgroundTintMode(android.view.View, android.graphics.PorterDuff.Mode); 3759 method public static void setChildrenDrawingOrderEnabled(android.view.ViewGroup, boolean); 3760 method public static void setElevation(android.view.View, float); 3761 method public static void setFitsSystemWindows(android.view.View, boolean); 3762 method public static void setHasTransientState(android.view.View, boolean); 3763 method public static void setImportantForAccessibility(android.view.View, int); 3764 method public static void setLabelFor(android.view.View, int); 3765 method public static void setLayerPaint(android.view.View, android.graphics.Paint); 3766 method public static void setLayerType(android.view.View, int, android.graphics.Paint); 3767 method public static void setLayoutDirection(android.view.View, int); 3768 method public static void setNestedScrollingEnabled(android.view.View, boolean); 3769 method public static void setOnApplyWindowInsetsListener(android.view.View, android.support.v4.view.OnApplyWindowInsetsListener); 3770 method public static void setOverScrollMode(android.view.View, int); 3771 method public static void setPaddingRelative(android.view.View, int, int, int, int); 3772 method public static void setPivotX(android.view.View, float); 3773 method public static void setPivotY(android.view.View, float); 3774 method public static void setRotation(android.view.View, float); 3775 method public static void setRotationX(android.view.View, float); 3776 method public static void setRotationY(android.view.View, float); 3777 method public static void setSaveFromParentEnabled(android.view.View, boolean); 3778 method public static void setScaleX(android.view.View, float); 3779 method public static void setScaleY(android.view.View, float); 3780 method public static void setTransitionName(android.view.View, java.lang.String); 3781 method public static void setTranslationX(android.view.View, float); 3782 method public static void setTranslationY(android.view.View, float); 3783 method public static void setTranslationZ(android.view.View, float); 3784 method public static void setX(android.view.View, float); 3785 method public static void setY(android.view.View, float); 3786 method public static boolean startNestedScroll(android.view.View, int); 3787 method public static void stopNestedScroll(android.view.View); 3788 field public static final int ACCESSIBILITY_LIVE_REGION_ASSERTIVE = 2; // 0x2 3789 field public static final int ACCESSIBILITY_LIVE_REGION_NONE = 0; // 0x0 3790 field public static final int ACCESSIBILITY_LIVE_REGION_POLITE = 1; // 0x1 3791 field public static final int IMPORTANT_FOR_ACCESSIBILITY_AUTO = 0; // 0x0 3792 field public static final int IMPORTANT_FOR_ACCESSIBILITY_NO = 2; // 0x2 3793 field public static final int IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS = 4; // 0x4 3794 field public static final int IMPORTANT_FOR_ACCESSIBILITY_YES = 1; // 0x1 3795 field public static final int LAYER_TYPE_HARDWARE = 2; // 0x2 3796 field public static final int LAYER_TYPE_NONE = 0; // 0x0 3797 field public static final int LAYER_TYPE_SOFTWARE = 1; // 0x1 3798 field public static final int LAYOUT_DIRECTION_INHERIT = 2; // 0x2 3799 field public static final int LAYOUT_DIRECTION_LOCALE = 3; // 0x3 3800 field public static final int LAYOUT_DIRECTION_LTR = 0; // 0x0 3801 field public static final int LAYOUT_DIRECTION_RTL = 1; // 0x1 3802 field public static final int MEASURED_HEIGHT_STATE_SHIFT = 16; // 0x10 3803 field public static final int MEASURED_SIZE_MASK = 16777215; // 0xffffff 3804 field public static final int MEASURED_STATE_MASK = -16777216; // 0xff000000 3805 field public static final int MEASURED_STATE_TOO_SMALL = 16777216; // 0x1000000 3806 field public static final int OVER_SCROLL_ALWAYS = 0; // 0x0 3807 field public static final int OVER_SCROLL_IF_CONTENT_SCROLLS = 1; // 0x1 3808 field public static final int OVER_SCROLL_NEVER = 2; // 0x2 3809 field public static final int SCROLL_AXIS_HORIZONTAL = 1; // 0x1 3810 field public static final int SCROLL_AXIS_NONE = 0; // 0x0 3811 field public static final int SCROLL_AXIS_VERTICAL = 2; // 0x2 3812 } 3813 3814 public class ViewConfigurationCompat { 3815 ctor public ViewConfigurationCompat(); 3816 method public static int getScaledPagingTouchSlop(android.view.ViewConfiguration); 3817 method public static boolean hasPermanentMenuKey(android.view.ViewConfiguration); 3818 } 3819 3820 public class ViewGroupCompat { 3821 method public static int getLayoutMode(android.view.ViewGroup); 3822 method public static int getNestedScrollAxes(android.view.ViewGroup); 3823 method public static boolean isTransitionGroup(android.view.ViewGroup); 3824 method public static boolean onRequestSendAccessibilityEvent(android.view.ViewGroup, android.view.View, android.view.accessibility.AccessibilityEvent); 3825 method public static void setLayoutMode(android.view.ViewGroup, int); 3826 method public static void setMotionEventSplittingEnabled(android.view.ViewGroup, boolean); 3827 method public static void setTransitionGroup(android.view.ViewGroup, boolean); 3828 field public static final int LAYOUT_MODE_CLIP_BOUNDS = 0; // 0x0 3829 field public static final int LAYOUT_MODE_OPTICAL_BOUNDS = 1; // 0x1 3830 } 3831 3832 public class ViewPager extends android.view.ViewGroup { 3833 ctor public ViewPager(android.content.Context); 3834 ctor public ViewPager(android.content.Context, android.util.AttributeSet); 3835 method public boolean arrowScroll(int); 3836 method public boolean beginFakeDrag(); 3837 method protected boolean canScroll(android.view.View, boolean, int, int, int); 3838 method public void endFakeDrag(); 3839 method public boolean executeKeyEvent(android.view.KeyEvent); 3840 method public void fakeDragBy(float); 3841 method public android.support.v4.view.PagerAdapter getAdapter(); 3842 method public int getCurrentItem(); 3843 method public int getOffscreenPageLimit(); 3844 method public int getPageMargin(); 3845 method public boolean isFakeDragging(); 3846 method protected void onLayout(boolean, int, int, int, int); 3847 method protected void onPageScrolled(int, float, int); 3848 method public void onRestoreInstanceState(android.os.Parcelable); 3849 method public android.os.Parcelable onSaveInstanceState(); 3850 method public void setAdapter(android.support.v4.view.PagerAdapter); 3851 method public void setCurrentItem(int); 3852 method public void setCurrentItem(int, boolean); 3853 method public void setOffscreenPageLimit(int); 3854 method public void setOnPageChangeListener(android.support.v4.view.ViewPager.OnPageChangeListener); 3855 method public void setPageMargin(int); 3856 method public void setPageMarginDrawable(android.graphics.drawable.Drawable); 3857 method public void setPageMarginDrawable(int); 3858 method public void setPageTransformer(boolean, android.support.v4.view.ViewPager.PageTransformer); 3859 field public static final int SCROLL_STATE_DRAGGING = 1; // 0x1 3860 field public static final int SCROLL_STATE_IDLE = 0; // 0x0 3861 field public static final int SCROLL_STATE_SETTLING = 2; // 0x2 3862 } 3863 3864 public static class ViewPager.LayoutParams extends android.view.ViewGroup.LayoutParams { 3865 ctor public ViewPager.LayoutParams(); 3866 ctor public ViewPager.LayoutParams(android.content.Context, android.util.AttributeSet); 3867 field public int gravity; 3868 field public boolean isDecor; 3869 } 3870 3871 public static abstract interface ViewPager.OnPageChangeListener { 3872 method public abstract void onPageScrollStateChanged(int); 3873 method public abstract void onPageScrolled(int, float, int); 3874 method public abstract void onPageSelected(int); 3875 } 3876 3877 public static abstract interface ViewPager.PageTransformer { 3878 method public abstract void transformPage(android.view.View, float); 3879 } 3880 3881 public static class ViewPager.SavedState extends android.view.View.BaseSavedState { 3882 ctor public ViewPager.SavedState(android.os.Parcelable); 3883 field public static final android.os.Parcelable.Creator<android.support.v4.view.ViewPager.SavedState> CREATOR; 3884 } 3885 3886 public static class ViewPager.SimpleOnPageChangeListener implements android.support.v4.view.ViewPager.OnPageChangeListener { 3887 ctor public ViewPager.SimpleOnPageChangeListener(); 3888 method public void onPageScrollStateChanged(int); 3889 method public void onPageScrolled(int, float, int); 3890 method public void onPageSelected(int); 3891 } 3892 3893 public class ViewParentCompat { 3894 method public static boolean onNestedFling(android.view.ViewParent, android.view.View, float, float, boolean); 3895 method public static boolean onNestedPreFling(android.view.ViewParent, android.view.View, float, float); 3896 method public static void onNestedPreScroll(android.view.ViewParent, android.view.View, int, int, int[]); 3897 method public static void onNestedScroll(android.view.ViewParent, android.view.View, int, int, int, int); 3898 method public static void onNestedScrollAccepted(android.view.ViewParent, android.view.View, android.view.View, int); 3899 method public static boolean onStartNestedScroll(android.view.ViewParent, android.view.View, android.view.View, int); 3900 method public static void onStopNestedScroll(android.view.ViewParent, android.view.View); 3901 method public static boolean requestSendAccessibilityEvent(android.view.ViewParent, android.view.View, android.view.accessibility.AccessibilityEvent); 3902 } 3903 3904 public class ViewPropertyAnimatorCompat { 3905 method public android.support.v4.view.ViewPropertyAnimatorCompat alpha(float); 3906 method public android.support.v4.view.ViewPropertyAnimatorCompat alphaBy(float); 3907 method public void cancel(); 3908 method public long getDuration(); 3909 method public android.view.animation.Interpolator getInterpolator(); 3910 method public long getStartDelay(); 3911 method public android.support.v4.view.ViewPropertyAnimatorCompat rotation(float); 3912 method public android.support.v4.view.ViewPropertyAnimatorCompat rotationBy(float); 3913 method public android.support.v4.view.ViewPropertyAnimatorCompat rotationX(float); 3914 method public android.support.v4.view.ViewPropertyAnimatorCompat rotationXBy(float); 3915 method public android.support.v4.view.ViewPropertyAnimatorCompat rotationY(float); 3916 method public android.support.v4.view.ViewPropertyAnimatorCompat rotationYBy(float); 3917 method public android.support.v4.view.ViewPropertyAnimatorCompat scaleX(float); 3918 method public android.support.v4.view.ViewPropertyAnimatorCompat scaleXBy(float); 3919 method public android.support.v4.view.ViewPropertyAnimatorCompat scaleY(float); 3920 method public android.support.v4.view.ViewPropertyAnimatorCompat scaleYBy(float); 3921 method public android.support.v4.view.ViewPropertyAnimatorCompat setDuration(long); 3922 method public android.support.v4.view.ViewPropertyAnimatorCompat setInterpolator(android.view.animation.Interpolator); 3923 method public android.support.v4.view.ViewPropertyAnimatorCompat setListener(android.support.v4.view.ViewPropertyAnimatorListener); 3924 method public android.support.v4.view.ViewPropertyAnimatorCompat setStartDelay(long); 3925 method public android.support.v4.view.ViewPropertyAnimatorCompat setUpdateListener(android.support.v4.view.ViewPropertyAnimatorUpdateListener); 3926 method public void start(); 3927 method public android.support.v4.view.ViewPropertyAnimatorCompat translationX(float); 3928 method public android.support.v4.view.ViewPropertyAnimatorCompat translationXBy(float); 3929 method public android.support.v4.view.ViewPropertyAnimatorCompat translationY(float); 3930 method public android.support.v4.view.ViewPropertyAnimatorCompat translationYBy(float); 3931 method public android.support.v4.view.ViewPropertyAnimatorCompat withEndAction(java.lang.Runnable); 3932 method public android.support.v4.view.ViewPropertyAnimatorCompat withLayer(); 3933 method public android.support.v4.view.ViewPropertyAnimatorCompat withStartAction(java.lang.Runnable); 3934 method public android.support.v4.view.ViewPropertyAnimatorCompat x(float); 3935 method public android.support.v4.view.ViewPropertyAnimatorCompat xBy(float); 3936 method public android.support.v4.view.ViewPropertyAnimatorCompat y(float); 3937 method public android.support.v4.view.ViewPropertyAnimatorCompat yBy(float); 3938 } 3939 3940 public abstract interface ViewPropertyAnimatorListener { 3941 method public abstract void onAnimationCancel(android.view.View); 3942 method public abstract void onAnimationEnd(android.view.View); 3943 method public abstract void onAnimationStart(android.view.View); 3944 } 3945 3946 public class ViewPropertyAnimatorListenerAdapter implements android.support.v4.view.ViewPropertyAnimatorListener { 3947 ctor public ViewPropertyAnimatorListenerAdapter(); 3948 method public void onAnimationCancel(android.view.View); 3949 method public void onAnimationEnd(android.view.View); 3950 method public void onAnimationStart(android.view.View); 3951 } 3952 3953 public abstract interface ViewPropertyAnimatorUpdateListener { 3954 method public abstract void onAnimationUpdate(android.view.View); 3955 } 3956 3957 public class WindowCompat { 3958 ctor public WindowCompat(); 3959 field public static final int FEATURE_ACTION_BAR = 8; // 0x8 3960 field public static final int FEATURE_ACTION_BAR_OVERLAY = 9; // 0x9 3961 field public static final int FEATURE_ACTION_MODE_OVERLAY = 10; // 0xa 3962 } 3963 3964 public class WindowInsetsCompat { 3965 method public android.support.v4.view.WindowInsetsCompat consumeStableInsets(); 3966 method public android.support.v4.view.WindowInsetsCompat consumeSystemWindowInsets(); 3967 method public int getStableInsetBottom(); 3968 method public int getStableInsetLeft(); 3969 method public int getStableInsetRight(); 3970 method public int getStableInsetTop(); 3971 method public int getSystemWindowInsetBottom(); 3972 method public int getSystemWindowInsetLeft(); 3973 method public int getSystemWindowInsetRight(); 3974 method public int getSystemWindowInsetTop(); 3975 method public boolean hasInsets(); 3976 method public boolean hasStableInsets(); 3977 method public boolean hasSystemWindowInsets(); 3978 method public boolean isConsumed(); 3979 method public boolean isRound(); 3980 method public android.support.v4.view.WindowInsetsCompat replaceSystemWindowInsets(int, int, int, int); 3981 method public android.support.v4.view.WindowInsetsCompat replaceSystemWindowInsets(android.graphics.Rect); 3982 } 3983 3984} 3985 3986package android.support.v4.view.accessibility { 3987 3988 public class AccessibilityEventCompat { 3989 method public static void appendRecord(android.view.accessibility.AccessibilityEvent, android.support.v4.view.accessibility.AccessibilityRecordCompat); 3990 method public static android.support.v4.view.accessibility.AccessibilityRecordCompat asRecord(android.view.accessibility.AccessibilityEvent); 3991 method public static android.support.v4.view.accessibility.AccessibilityRecordCompat getRecord(android.view.accessibility.AccessibilityEvent, int); 3992 method public static int getRecordCount(android.view.accessibility.AccessibilityEvent); 3993 field public static final int TYPES_ALL_MASK = -1; // 0xffffffff 3994 field public static final int TYPE_ANNOUNCEMENT = 16384; // 0x4000 3995 field public static final int TYPE_GESTURE_DETECTION_END = 524288; // 0x80000 3996 field public static final int TYPE_GESTURE_DETECTION_START = 262144; // 0x40000 3997 field public static final int TYPE_TOUCH_EXPLORATION_GESTURE_END = 1024; // 0x400 3998 field public static final int TYPE_TOUCH_EXPLORATION_GESTURE_START = 512; // 0x200 3999 field public static final int TYPE_TOUCH_INTERACTION_END = 2097152; // 0x200000 4000 field public static final int TYPE_TOUCH_INTERACTION_START = 1048576; // 0x100000 4001 field public static final int TYPE_VIEW_ACCESSIBILITY_FOCUSED = 32768; // 0x8000 4002 field public static final int TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED = 65536; // 0x10000 4003 field public static final int TYPE_VIEW_HOVER_ENTER = 128; // 0x80 4004 field public static final int TYPE_VIEW_HOVER_EXIT = 256; // 0x100 4005 field public static final int TYPE_VIEW_SCROLLED = 4096; // 0x1000 4006 field public static final int TYPE_VIEW_TEXT_SELECTION_CHANGED = 8192; // 0x2000 4007 field public static final int TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY = 131072; // 0x20000 4008 field public static final int TYPE_WINDOW_CONTENT_CHANGED = 2048; // 0x800 4009 } 4010 4011 public class AccessibilityManagerCompat { 4012 ctor public AccessibilityManagerCompat(); 4013 method public static boolean addAccessibilityStateChangeListener(android.view.accessibility.AccessibilityManager, android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat); 4014 method public static java.util.List<android.accessibilityservice.AccessibilityServiceInfo> getEnabledAccessibilityServiceList(android.view.accessibility.AccessibilityManager, int); 4015 method public static java.util.List<android.accessibilityservice.AccessibilityServiceInfo> getInstalledAccessibilityServiceList(android.view.accessibility.AccessibilityManager); 4016 method public static boolean isTouchExplorationEnabled(android.view.accessibility.AccessibilityManager); 4017 method public static boolean removeAccessibilityStateChangeListener(android.view.accessibility.AccessibilityManager, android.support.v4.view.accessibility.AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat); 4018 } 4019 4020 public static abstract class AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat { 4021 ctor public AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat(); 4022 method public abstract void onAccessibilityStateChanged(boolean); 4023 } 4024 4025 public class AccessibilityNodeInfoCompat { 4026 ctor public AccessibilityNodeInfoCompat(java.lang.Object); 4027 method public void addAction(int); 4028 method public void addAction(android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat); 4029 method public void addChild(android.view.View); 4030 method public void addChild(android.view.View, int); 4031 method public java.util.List<android.support.v4.view.accessibility.AccessibilityNodeInfoCompat> findAccessibilityNodeInfosByText(java.lang.String); 4032 method public android.support.v4.view.accessibility.AccessibilityNodeInfoCompat findFocus(int); 4033 method public android.support.v4.view.accessibility.AccessibilityNodeInfoCompat focusSearch(int); 4034 method public java.util.List<android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat> getActionList(); 4035 method public int getActions(); 4036 method public void getBoundsInParent(android.graphics.Rect); 4037 method public void getBoundsInScreen(android.graphics.Rect); 4038 method public android.support.v4.view.accessibility.AccessibilityNodeInfoCompat getChild(int); 4039 method public int getChildCount(); 4040 method public java.lang.CharSequence getClassName(); 4041 method public android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat getCollectionInfo(); 4042 method public android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat getCollectionItemInfo(); 4043 method public java.lang.CharSequence getContentDescription(); 4044 method public java.lang.CharSequence getError(); 4045 method public java.lang.Object getInfo(); 4046 method public int getLiveRegion(); 4047 method public int getMovementGranularities(); 4048 method public java.lang.CharSequence getPackageName(); 4049 method public android.support.v4.view.accessibility.AccessibilityNodeInfoCompat getParent(); 4050 method public android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat getRangeInfo(); 4051 method public java.lang.CharSequence getText(); 4052 method public java.lang.String getViewIdResourceName(); 4053 method public int getWindowId(); 4054 method public boolean isAccessibilityFocused(); 4055 method public boolean isCheckable(); 4056 method public boolean isChecked(); 4057 method public boolean isClickable(); 4058 method public boolean isContentInvalid(); 4059 method public boolean isEnabled(); 4060 method public boolean isFocusable(); 4061 method public boolean isFocused(); 4062 method public boolean isLongClickable(); 4063 method public boolean isPassword(); 4064 method public boolean isScrollable(); 4065 method public boolean isSelected(); 4066 method public boolean isVisibleToUser(); 4067 method public static android.support.v4.view.accessibility.AccessibilityNodeInfoCompat obtain(android.view.View); 4068 method public static android.support.v4.view.accessibility.AccessibilityNodeInfoCompat obtain(android.view.View, int); 4069 method public static android.support.v4.view.accessibility.AccessibilityNodeInfoCompat obtain(); 4070 method public static android.support.v4.view.accessibility.AccessibilityNodeInfoCompat obtain(android.support.v4.view.accessibility.AccessibilityNodeInfoCompat); 4071 method public boolean performAction(int); 4072 method public boolean performAction(int, android.os.Bundle); 4073 method public void recycle(); 4074 method public void setAccessibilityFocused(boolean); 4075 method public void setBoundsInParent(android.graphics.Rect); 4076 method public void setBoundsInScreen(android.graphics.Rect); 4077 method public void setCheckable(boolean); 4078 method public void setChecked(boolean); 4079 method public void setClassName(java.lang.CharSequence); 4080 method public void setClickable(boolean); 4081 method public void setCollectionInfo(java.lang.Object); 4082 method public void setCollectionItemInfo(java.lang.Object); 4083 method public void setContentDescription(java.lang.CharSequence); 4084 method public void setContentInvalid(boolean); 4085 method public void setEnabled(boolean); 4086 method public void setError(java.lang.CharSequence); 4087 method public void setFocusable(boolean); 4088 method public void setFocused(boolean); 4089 method public void setLabelFor(android.view.View); 4090 method public void setLabelFor(android.view.View, int); 4091 method public void setLiveRegion(int); 4092 method public void setLongClickable(boolean); 4093 method public void setMovementGranularities(int); 4094 method public void setPackageName(java.lang.CharSequence); 4095 method public void setParent(android.view.View); 4096 method public void setParent(android.view.View, int); 4097 method public void setPassword(boolean); 4098 method public void setScrollable(boolean); 4099 method public void setSelected(boolean); 4100 method public void setSource(android.view.View); 4101 method public void setSource(android.view.View, int); 4102 method public void setText(java.lang.CharSequence); 4103 method public void setViewIdResourceName(java.lang.String); 4104 method public void setVisibleToUser(boolean); 4105 field public static final int ACTION_ACCESSIBILITY_FOCUS = 64; // 0x40 4106 field public static final java.lang.String ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN = "ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN"; 4107 field public static final java.lang.String ACTION_ARGUMENT_HTML_ELEMENT_STRING = "ACTION_ARGUMENT_HTML_ELEMENT_STRING"; 4108 field public static final java.lang.String ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT = "ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT"; 4109 field public static final java.lang.String ACTION_ARGUMENT_SELECTION_END_INT = "ACTION_ARGUMENT_SELECTION_END_INT"; 4110 field public static final java.lang.String ACTION_ARGUMENT_SELECTION_START_INT = "ACTION_ARGUMENT_SELECTION_START_INT"; 4111 field public static final java.lang.String ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE = "ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE"; 4112 field public static final int ACTION_CLEAR_ACCESSIBILITY_FOCUS = 128; // 0x80 4113 field public static final int ACTION_CLEAR_FOCUS = 2; // 0x2 4114 field public static final int ACTION_CLEAR_SELECTION = 8; // 0x8 4115 field public static final int ACTION_CLICK = 16; // 0x10 4116 field public static final int ACTION_COPY = 16384; // 0x4000 4117 field public static final int ACTION_CUT = 65536; // 0x10000 4118 field public static final int ACTION_FOCUS = 1; // 0x1 4119 field public static final int ACTION_LONG_CLICK = 32; // 0x20 4120 field public static final int ACTION_NEXT_AT_MOVEMENT_GRANULARITY = 256; // 0x100 4121 field public static final int ACTION_NEXT_HTML_ELEMENT = 1024; // 0x400 4122 field public static final int ACTION_PASTE = 32768; // 0x8000 4123 field public static final int ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY = 512; // 0x200 4124 field public static final int ACTION_PREVIOUS_HTML_ELEMENT = 2048; // 0x800 4125 field public static final int ACTION_SCROLL_BACKWARD = 8192; // 0x2000 4126 field public static final int ACTION_SCROLL_FORWARD = 4096; // 0x1000 4127 field public static final int ACTION_SELECT = 4; // 0x4 4128 field public static final int ACTION_SET_SELECTION = 131072; // 0x20000 4129 field public static final int ACTION_SET_TEXT = 2097152; // 0x200000 4130 field public static final int FOCUS_ACCESSIBILITY = 2; // 0x2 4131 field public static final int FOCUS_INPUT = 1; // 0x1 4132 field public static final int MOVEMENT_GRANULARITY_CHARACTER = 1; // 0x1 4133 field public static final int MOVEMENT_GRANULARITY_LINE = 4; // 0x4 4134 field public static final int MOVEMENT_GRANULARITY_PAGE = 16; // 0x10 4135 field public static final int MOVEMENT_GRANULARITY_PARAGRAPH = 8; // 0x8 4136 field public static final int MOVEMENT_GRANULARITY_WORD = 2; // 0x2 4137 } 4138 4139 public static class AccessibilityNodeInfoCompat.AccessibilityActionCompat { 4140 ctor public AccessibilityNodeInfoCompat.AccessibilityActionCompat(int, java.lang.CharSequence); 4141 method public int getId(); 4142 method public java.lang.CharSequence getLabel(); 4143 } 4144 4145 public static class AccessibilityNodeInfoCompat.CollectionInfoCompat { 4146 method public int getColumnCount(); 4147 method public int getRowCount(); 4148 method public boolean isHierarchical(); 4149 method public static android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat obtain(int, int, boolean, int); 4150 field public static final int SELECTION_MODE_MULTIPLE = 2; // 0x2 4151 field public static final int SELECTION_MODE_NONE = 0; // 0x0 4152 field public static final int SELECTION_MODE_SINGLE = 1; // 0x1 4153 } 4154 4155 public static class AccessibilityNodeInfoCompat.CollectionItemInfoCompat { 4156 method public int getColumnIndex(); 4157 method public int getColumnSpan(); 4158 method public int getRowIndex(); 4159 method public int getRowSpan(); 4160 method public boolean isHeading(); 4161 method public boolean isSelected(); 4162 method public static android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat obtain(int, int, int, int, boolean, boolean); 4163 } 4164 4165 public static class AccessibilityNodeInfoCompat.RangeInfoCompat { 4166 method public float getCurrent(); 4167 method public float getMax(); 4168 method public float getMin(); 4169 method public int getType(); 4170 field public static final int RANGE_TYPE_FLOAT = 1; // 0x1 4171 field public static final int RANGE_TYPE_INT = 0; // 0x0 4172 field public static final int RANGE_TYPE_PERCENT = 2; // 0x2 4173 } 4174 4175 public class AccessibilityNodeProviderCompat { 4176 ctor public AccessibilityNodeProviderCompat(); 4177 ctor public AccessibilityNodeProviderCompat(java.lang.Object); 4178 method public android.support.v4.view.accessibility.AccessibilityNodeInfoCompat createAccessibilityNodeInfo(int); 4179 method public java.util.List<android.support.v4.view.accessibility.AccessibilityNodeInfoCompat> findAccessibilityNodeInfosByText(java.lang.String, int); 4180 method public android.support.v4.view.accessibility.AccessibilityNodeInfoCompat findFocus(int); 4181 method public java.lang.Object getProvider(); 4182 method public boolean performAction(int, int, android.os.Bundle); 4183 } 4184 4185 public class AccessibilityRecordCompat { 4186 ctor public deprecated AccessibilityRecordCompat(java.lang.Object); 4187 method public int getAddedCount(); 4188 method public java.lang.CharSequence getBeforeText(); 4189 method public java.lang.CharSequence getClassName(); 4190 method public java.lang.CharSequence getContentDescription(); 4191 method public int getCurrentItemIndex(); 4192 method public int getFromIndex(); 4193 method public deprecated java.lang.Object getImpl(); 4194 method public int getItemCount(); 4195 method public int getMaxScrollX(); 4196 method public int getMaxScrollY(); 4197 method public android.os.Parcelable getParcelableData(); 4198 method public int getRemovedCount(); 4199 method public int getScrollX(); 4200 method public int getScrollY(); 4201 method public android.support.v4.view.accessibility.AccessibilityNodeInfoCompat getSource(); 4202 method public java.util.List<java.lang.CharSequence> getText(); 4203 method public int getToIndex(); 4204 method public int getWindowId(); 4205 method public boolean isChecked(); 4206 method public boolean isEnabled(); 4207 method public boolean isFullScreen(); 4208 method public boolean isPassword(); 4209 method public boolean isScrollable(); 4210 method public static android.support.v4.view.accessibility.AccessibilityRecordCompat obtain(android.support.v4.view.accessibility.AccessibilityRecordCompat); 4211 method public static android.support.v4.view.accessibility.AccessibilityRecordCompat obtain(); 4212 method public void recycle(); 4213 method public void setAddedCount(int); 4214 method public void setBeforeText(java.lang.CharSequence); 4215 method public void setChecked(boolean); 4216 method public void setClassName(java.lang.CharSequence); 4217 method public void setContentDescription(java.lang.CharSequence); 4218 method public void setCurrentItemIndex(int); 4219 method public void setEnabled(boolean); 4220 method public void setFromIndex(int); 4221 method public void setFullScreen(boolean); 4222 method public void setItemCount(int); 4223 method public void setMaxScrollX(int); 4224 method public void setMaxScrollY(int); 4225 method public void setParcelableData(android.os.Parcelable); 4226 method public void setPassword(boolean); 4227 method public void setRemovedCount(int); 4228 method public void setScrollX(int); 4229 method public void setScrollY(int); 4230 method public void setScrollable(boolean); 4231 method public void setSource(android.view.View); 4232 method public void setSource(android.view.View, int); 4233 method public void setToIndex(int); 4234 } 4235 4236} 4237 4238package android.support.v4.view.animation { 4239 4240 public class FastOutLinearInInterpolator extends android.support.v4.view.animation.LookupTableInterpolator { 4241 ctor public FastOutLinearInInterpolator(); 4242 } 4243 4244 public class FastOutSlowInInterpolator extends android.support.v4.view.animation.LookupTableInterpolator { 4245 ctor public FastOutSlowInInterpolator(); 4246 } 4247 4248 public class LinearOutSlowInInterpolator extends android.support.v4.view.animation.LookupTableInterpolator { 4249 ctor public LinearOutSlowInInterpolator(); 4250 } 4251 4252 abstract class LookupTableInterpolator implements android.view.animation.Interpolator { 4253 ctor public LookupTableInterpolator(float[]); 4254 method public float getInterpolation(float); 4255 } 4256 4257 public class PathInterpolatorCompat { 4258 method public static android.view.animation.Interpolator create(android.graphics.Path); 4259 method public static android.view.animation.Interpolator create(float, float); 4260 method public static android.view.animation.Interpolator create(float, float, float, float); 4261 } 4262 4263} 4264 4265package android.support.v4.widget { 4266 4267 public abstract class AutoScrollHelper implements android.view.View.OnTouchListener { 4268 ctor public AutoScrollHelper(android.view.View); 4269 method public abstract boolean canTargetScrollHorizontally(int); 4270 method public abstract boolean canTargetScrollVertically(int); 4271 method public boolean isEnabled(); 4272 method public boolean isExclusive(); 4273 method public boolean onTouch(android.view.View, android.view.MotionEvent); 4274 method public abstract void scrollTargetBy(int, int); 4275 method public android.support.v4.widget.AutoScrollHelper setActivationDelay(int); 4276 method public android.support.v4.widget.AutoScrollHelper setEdgeType(int); 4277 method public android.support.v4.widget.AutoScrollHelper setEnabled(boolean); 4278 method public android.support.v4.widget.AutoScrollHelper setExclusive(boolean); 4279 method public android.support.v4.widget.AutoScrollHelper setMaximumEdges(float, float); 4280 method public android.support.v4.widget.AutoScrollHelper setMaximumVelocity(float, float); 4281 method public android.support.v4.widget.AutoScrollHelper setMinimumVelocity(float, float); 4282 method public android.support.v4.widget.AutoScrollHelper setRampDownDuration(int); 4283 method public android.support.v4.widget.AutoScrollHelper setRampUpDuration(int); 4284 method public android.support.v4.widget.AutoScrollHelper setRelativeEdges(float, float); 4285 method public android.support.v4.widget.AutoScrollHelper setRelativeVelocity(float, float); 4286 field public static final int EDGE_TYPE_INSIDE = 0; // 0x0 4287 field public static final int EDGE_TYPE_INSIDE_EXTEND = 1; // 0x1 4288 field public static final int EDGE_TYPE_OUTSIDE = 2; // 0x2 4289 field public static final float NO_MAX = 3.4028235E38f; 4290 field public static final float NO_MIN = 0.0f; 4291 field public static final float RELATIVE_UNSPECIFIED = 0.0f; 4292 } 4293 4294 public class ContentLoadingProgressBar extends android.widget.ProgressBar { 4295 ctor public ContentLoadingProgressBar(android.content.Context); 4296 ctor public ContentLoadingProgressBar(android.content.Context, android.util.AttributeSet); 4297 method public void hide(); 4298 method public void onAttachedToWindow(); 4299 method public void onDetachedFromWindow(); 4300 method public void show(); 4301 } 4302 4303 public abstract class CursorAdapter extends android.widget.BaseAdapter { 4304 ctor public deprecated CursorAdapter(android.content.Context, android.database.Cursor); 4305 ctor public CursorAdapter(android.content.Context, android.database.Cursor, boolean); 4306 ctor public CursorAdapter(android.content.Context, android.database.Cursor, int); 4307 method public abstract void bindView(android.view.View, android.content.Context, android.database.Cursor); 4308 method public void changeCursor(android.database.Cursor); 4309 method public java.lang.CharSequence convertToString(android.database.Cursor); 4310 method public int getCount(); 4311 method public android.database.Cursor getCursor(); 4312 method public android.widget.Filter getFilter(); 4313 method public android.widget.FilterQueryProvider getFilterQueryProvider(); 4314 method public java.lang.Object getItem(int); 4315 method public long getItemId(int); 4316 method public android.view.View getView(int, android.view.View, android.view.ViewGroup); 4317 method protected deprecated void init(android.content.Context, android.database.Cursor, boolean); 4318 method public android.view.View newDropDownView(android.content.Context, android.database.Cursor, android.view.ViewGroup); 4319 method public abstract android.view.View newView(android.content.Context, android.database.Cursor, android.view.ViewGroup); 4320 method protected void onContentChanged(); 4321 method public android.database.Cursor runQueryOnBackgroundThread(java.lang.CharSequence); 4322 method public void setFilterQueryProvider(android.widget.FilterQueryProvider); 4323 method public android.database.Cursor swapCursor(android.database.Cursor); 4324 field public static final deprecated int FLAG_AUTO_REQUERY = 1; // 0x1 4325 field public static final int FLAG_REGISTER_CONTENT_OBSERVER = 2; // 0x2 4326 } 4327 4328 public class DrawerLayout extends android.view.ViewGroup { 4329 ctor public DrawerLayout(android.content.Context); 4330 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet); 4331 ctor public DrawerLayout(android.content.Context, android.util.AttributeSet, int); 4332 method public void closeDrawer(android.view.View); 4333 method public void closeDrawer(int); 4334 method public void closeDrawers(); 4335 method public int getDrawerLockMode(int); 4336 method public int getDrawerLockMode(android.view.View); 4337 method public java.lang.CharSequence getDrawerTitle(int); 4338 method public android.graphics.drawable.Drawable getStatusBarBackgroundDrawable(); 4339 method public boolean isDrawerOpen(android.view.View); 4340 method public boolean isDrawerOpen(int); 4341 method public boolean isDrawerVisible(android.view.View); 4342 method public boolean isDrawerVisible(int); 4343 method public void onDraw(android.graphics.Canvas); 4344 method protected void onLayout(boolean, int, int, int, int); 4345 method public void openDrawer(android.view.View); 4346 method public void openDrawer(int); 4347 method public void setDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener); 4348 method public void setDrawerLockMode(int); 4349 method public void setDrawerLockMode(int, int); 4350 method public void setDrawerLockMode(int, android.view.View); 4351 method public void setDrawerShadow(android.graphics.drawable.Drawable, int); 4352 method public void setDrawerShadow(int, int); 4353 method public void setDrawerTitle(int, java.lang.CharSequence); 4354 method public void setScrimColor(int); 4355 method public void setStatusBarBackground(android.graphics.drawable.Drawable); 4356 method public void setStatusBarBackground(int); 4357 method public void setStatusBarBackgroundColor(int); 4358 field public static final int LOCK_MODE_LOCKED_CLOSED = 1; // 0x1 4359 field public static final int LOCK_MODE_LOCKED_OPEN = 2; // 0x2 4360 field public static final int LOCK_MODE_UNLOCKED = 0; // 0x0 4361 field public static final int STATE_DRAGGING = 1; // 0x1 4362 field public static final int STATE_IDLE = 0; // 0x0 4363 field public static final int STATE_SETTLING = 2; // 0x2 4364 } 4365 4366 public static abstract interface DrawerLayout.DrawerListener { 4367 method public abstract void onDrawerClosed(android.view.View); 4368 method public abstract void onDrawerOpened(android.view.View); 4369 method public abstract void onDrawerSlide(android.view.View, float); 4370 method public abstract void onDrawerStateChanged(int); 4371 } 4372 4373 public static class DrawerLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 4374 ctor public DrawerLayout.LayoutParams(android.content.Context, android.util.AttributeSet); 4375 ctor public DrawerLayout.LayoutParams(int, int); 4376 ctor public DrawerLayout.LayoutParams(int, int, int); 4377 ctor public DrawerLayout.LayoutParams(android.support.v4.widget.DrawerLayout.LayoutParams); 4378 ctor public DrawerLayout.LayoutParams(android.view.ViewGroup.LayoutParams); 4379 ctor public DrawerLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 4380 field public int gravity; 4381 } 4382 4383 protected static class DrawerLayout.SavedState extends android.view.View.BaseSavedState { 4384 ctor public DrawerLayout.SavedState(android.os.Parcel); 4385 ctor public DrawerLayout.SavedState(android.os.Parcelable); 4386 field public static final android.os.Parcelable.Creator<android.support.v4.widget.DrawerLayout.SavedState> CREATOR; 4387 } 4388 4389 public static abstract class DrawerLayout.SimpleDrawerListener implements android.support.v4.widget.DrawerLayout.DrawerListener { 4390 ctor public DrawerLayout.SimpleDrawerListener(); 4391 method public void onDrawerClosed(android.view.View); 4392 method public void onDrawerOpened(android.view.View); 4393 method public void onDrawerSlide(android.view.View, float); 4394 method public void onDrawerStateChanged(int); 4395 } 4396 4397 public class EdgeEffectCompat { 4398 ctor public EdgeEffectCompat(android.content.Context); 4399 method public boolean draw(android.graphics.Canvas); 4400 method public void finish(); 4401 method public boolean isFinished(); 4402 method public boolean onAbsorb(int); 4403 method public deprecated boolean onPull(float); 4404 method public boolean onPull(float, float); 4405 method public boolean onRelease(); 4406 method public void setSize(int, int); 4407 } 4408 4409 public abstract class ExploreByTouchHelper extends android.support.v4.view.AccessibilityDelegateCompat { 4410 ctor public ExploreByTouchHelper(android.view.View); 4411 method public boolean dispatchHoverEvent(android.view.MotionEvent); 4412 method public int getFocusedVirtualView(); 4413 method protected abstract int getVirtualViewAt(float, float); 4414 method protected abstract void getVisibleVirtualViews(java.util.List<java.lang.Integer>); 4415 method public void invalidateRoot(); 4416 method public void invalidateVirtualView(int); 4417 method protected abstract boolean onPerformActionForVirtualView(int, int, android.os.Bundle); 4418 method protected abstract void onPopulateEventForVirtualView(int, android.view.accessibility.AccessibilityEvent); 4419 method protected abstract void onPopulateNodeForVirtualView(int, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat); 4420 method public boolean sendEventForVirtualView(int, int); 4421 field public static final int INVALID_ID = -2147483648; // 0x80000000 4422 } 4423 4424 public class ListPopupWindowCompat { 4425 method public static android.view.View.OnTouchListener createDragToOpenListener(java.lang.Object, android.view.View); 4426 } 4427 4428 public class ListViewAutoScrollHelper extends android.support.v4.widget.AutoScrollHelper { 4429 ctor public ListViewAutoScrollHelper(android.widget.ListView); 4430 method public boolean canTargetScrollHorizontally(int); 4431 method public boolean canTargetScrollVertically(int); 4432 method public void scrollTargetBy(int, int); 4433 } 4434 4435 public class NestedScrollView extends android.widget.FrameLayout implements android.support.v4.view.NestedScrollingChild android.support.v4.view.NestedScrollingParent { 4436 ctor public NestedScrollView(android.content.Context); 4437 ctor public NestedScrollView(android.content.Context, android.util.AttributeSet); 4438 ctor public NestedScrollView(android.content.Context, android.util.AttributeSet, int); 4439 method public boolean arrowScroll(int); 4440 method protected int computeScrollDeltaToGetChildRectOnScreen(android.graphics.Rect); 4441 method public boolean executeKeyEvent(android.view.KeyEvent); 4442 method public void fling(int); 4443 method public boolean fullScroll(int); 4444 method public int getMaxScrollAmount(); 4445 method public boolean isFillViewport(); 4446 method public boolean isSmoothScrollingEnabled(); 4447 method public void onAttachedToWindow(); 4448 method public boolean pageScroll(int); 4449 method public void setFillViewport(boolean); 4450 method public void setSmoothScrollingEnabled(boolean); 4451 method public final void smoothScrollBy(int, int); 4452 method public final void smoothScrollTo(int, int); 4453 } 4454 4455 public class PopupMenuCompat { 4456 method public static android.view.View.OnTouchListener getDragToOpenListener(java.lang.Object); 4457 } 4458 4459 public class PopupWindowCompat { 4460 method public static void showAsDropDown(android.widget.PopupWindow, android.view.View, int, int, int); 4461 } 4462 4463 public abstract class ResourceCursorAdapter extends android.support.v4.widget.CursorAdapter { 4464 ctor public deprecated ResourceCursorAdapter(android.content.Context, int, android.database.Cursor); 4465 ctor public ResourceCursorAdapter(android.content.Context, int, android.database.Cursor, boolean); 4466 ctor public ResourceCursorAdapter(android.content.Context, int, android.database.Cursor, int); 4467 method public android.view.View newView(android.content.Context, android.database.Cursor, android.view.ViewGroup); 4468 method public void setDropDownViewResource(int); 4469 method public void setViewResource(int); 4470 } 4471 4472 public class ScrollerCompat { 4473 method public void abortAnimation(); 4474 method public boolean computeScrollOffset(); 4475 method public static android.support.v4.widget.ScrollerCompat create(android.content.Context); 4476 method public static android.support.v4.widget.ScrollerCompat create(android.content.Context, android.view.animation.Interpolator); 4477 method public void fling(int, int, int, int, int, int, int, int); 4478 method public void fling(int, int, int, int, int, int, int, int, int, int); 4479 method public float getCurrVelocity(); 4480 method public int getCurrX(); 4481 method public int getCurrY(); 4482 method public int getFinalX(); 4483 method public int getFinalY(); 4484 method public boolean isFinished(); 4485 method public boolean isOverScrolled(); 4486 method public void notifyHorizontalEdgeReached(int, int, int); 4487 method public void notifyVerticalEdgeReached(int, int, int); 4488 method public void startScroll(int, int, int, int); 4489 method public void startScroll(int, int, int, int, int); 4490 } 4491 4492 public class SearchViewCompat { 4493 method public static java.lang.CharSequence getQuery(android.view.View); 4494 method public static boolean isIconified(android.view.View); 4495 method public static boolean isQueryRefinementEnabled(android.view.View); 4496 method public static boolean isSubmitButtonEnabled(android.view.View); 4497 method public static android.view.View newSearchView(android.content.Context); 4498 method public static void setIconified(android.view.View, boolean); 4499 method public static void setImeOptions(android.view.View, int); 4500 method public static void setInputType(android.view.View, int); 4501 method public static void setMaxWidth(android.view.View, int); 4502 method public static void setOnCloseListener(android.view.View, android.support.v4.widget.SearchViewCompat.OnCloseListenerCompat); 4503 method public static void setOnQueryTextListener(android.view.View, android.support.v4.widget.SearchViewCompat.OnQueryTextListenerCompat); 4504 method public static void setQuery(android.view.View, java.lang.CharSequence, boolean); 4505 method public static void setQueryHint(android.view.View, java.lang.CharSequence); 4506 method public static void setQueryRefinementEnabled(android.view.View, boolean); 4507 method public static void setSearchableInfo(android.view.View, android.content.ComponentName); 4508 method public static void setSubmitButtonEnabled(android.view.View, boolean); 4509 } 4510 4511 public static abstract class SearchViewCompat.OnCloseListenerCompat { 4512 ctor public SearchViewCompat.OnCloseListenerCompat(); 4513 method public boolean onClose(); 4514 } 4515 4516 public static abstract class SearchViewCompat.OnQueryTextListenerCompat { 4517 ctor public SearchViewCompat.OnQueryTextListenerCompat(); 4518 method public boolean onQueryTextChange(java.lang.String); 4519 method public boolean onQueryTextSubmit(java.lang.String); 4520 } 4521 4522 public class SimpleCursorAdapter extends android.support.v4.widget.ResourceCursorAdapter { 4523 ctor public deprecated SimpleCursorAdapter(android.content.Context, int, android.database.Cursor, java.lang.String[], int[]); 4524 ctor public SimpleCursorAdapter(android.content.Context, int, android.database.Cursor, java.lang.String[], int[], int); 4525 method public void bindView(android.view.View, android.content.Context, android.database.Cursor); 4526 method public void changeCursorAndColumns(android.database.Cursor, java.lang.String[], int[]); 4527 method public android.support.v4.widget.SimpleCursorAdapter.CursorToStringConverter getCursorToStringConverter(); 4528 method public int getStringConversionColumn(); 4529 method public android.support.v4.widget.SimpleCursorAdapter.ViewBinder getViewBinder(); 4530 method public void setCursorToStringConverter(android.support.v4.widget.SimpleCursorAdapter.CursorToStringConverter); 4531 method public void setStringConversionColumn(int); 4532 method public void setViewBinder(android.support.v4.widget.SimpleCursorAdapter.ViewBinder); 4533 method public void setViewImage(android.widget.ImageView, java.lang.String); 4534 method public void setViewText(android.widget.TextView, java.lang.String); 4535 } 4536 4537 public static abstract interface SimpleCursorAdapter.CursorToStringConverter { 4538 method public abstract java.lang.CharSequence convertToString(android.database.Cursor); 4539 } 4540 4541 public static abstract interface SimpleCursorAdapter.ViewBinder { 4542 method public abstract boolean setViewValue(android.view.View, android.database.Cursor, int); 4543 } 4544 4545 public class SlidingPaneLayout extends android.view.ViewGroup { 4546 ctor public SlidingPaneLayout(android.content.Context); 4547 ctor public SlidingPaneLayout(android.content.Context, android.util.AttributeSet); 4548 ctor public SlidingPaneLayout(android.content.Context, android.util.AttributeSet, int); 4549 method protected boolean canScroll(android.view.View, boolean, int, int, int); 4550 method public deprecated boolean canSlide(); 4551 method public boolean closePane(); 4552 method public int getCoveredFadeColor(); 4553 method public int getParallaxDistance(); 4554 method public int getSliderFadeColor(); 4555 method public boolean isOpen(); 4556 method public boolean isSlideable(); 4557 method protected void onLayout(boolean, int, int, int, int); 4558 method public boolean openPane(); 4559 method public void setCoveredFadeColor(int); 4560 method public void setPanelSlideListener(android.support.v4.widget.SlidingPaneLayout.PanelSlideListener); 4561 method public void setParallaxDistance(int); 4562 method public deprecated void setShadowDrawable(android.graphics.drawable.Drawable); 4563 method public void setShadowDrawableLeft(android.graphics.drawable.Drawable); 4564 method public void setShadowDrawableRight(android.graphics.drawable.Drawable); 4565 method public deprecated void setShadowResource(int); 4566 method public void setShadowResourceLeft(int); 4567 method public void setShadowResourceRight(int); 4568 method public void setSliderFadeColor(int); 4569 method public deprecated void smoothSlideClosed(); 4570 method public deprecated void smoothSlideOpen(); 4571 } 4572 4573 public static class SlidingPaneLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 4574 ctor public SlidingPaneLayout.LayoutParams(); 4575 ctor public SlidingPaneLayout.LayoutParams(int, int); 4576 ctor public SlidingPaneLayout.LayoutParams(android.view.ViewGroup.LayoutParams); 4577 ctor public SlidingPaneLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 4578 ctor public SlidingPaneLayout.LayoutParams(android.support.v4.widget.SlidingPaneLayout.LayoutParams); 4579 ctor public SlidingPaneLayout.LayoutParams(android.content.Context, android.util.AttributeSet); 4580 field public float weight; 4581 } 4582 4583 public static abstract interface SlidingPaneLayout.PanelSlideListener { 4584 method public abstract void onPanelClosed(android.view.View); 4585 method public abstract void onPanelOpened(android.view.View); 4586 method public abstract void onPanelSlide(android.view.View, float); 4587 } 4588 4589 public static class SlidingPaneLayout.SimplePanelSlideListener implements android.support.v4.widget.SlidingPaneLayout.PanelSlideListener { 4590 ctor public SlidingPaneLayout.SimplePanelSlideListener(); 4591 method public void onPanelClosed(android.view.View); 4592 method public void onPanelOpened(android.view.View); 4593 method public void onPanelSlide(android.view.View, float); 4594 } 4595 4596 public class Space extends android.view.View { 4597 ctor public Space(android.content.Context, android.util.AttributeSet, int); 4598 ctor public Space(android.content.Context, android.util.AttributeSet); 4599 ctor public Space(android.content.Context); 4600 } 4601 4602 public class SwipeRefreshLayout extends android.view.ViewGroup { 4603 ctor public SwipeRefreshLayout(android.content.Context); 4604 ctor public SwipeRefreshLayout(android.content.Context, android.util.AttributeSet); 4605 method public boolean canChildScrollUp(); 4606 method public int getProgressCircleDiameter(); 4607 method public boolean isRefreshing(); 4608 method protected void onLayout(boolean, int, int, int, int); 4609 method public void onMeasure(int, int); 4610 method public deprecated void setColorScheme(int...); 4611 method public void setColorSchemeColors(int...); 4612 method public void setColorSchemeResources(int...); 4613 method public void setDistanceToTriggerSync(int); 4614 method public void setOnRefreshListener(android.support.v4.widget.SwipeRefreshLayout.OnRefreshListener); 4615 method public deprecated void setProgressBackgroundColor(int); 4616 method public void setProgressBackgroundColorSchemeColor(int); 4617 method public void setProgressBackgroundColorSchemeResource(int); 4618 method public void setProgressViewEndTarget(boolean, int); 4619 method public void setProgressViewOffset(boolean, int, int); 4620 method public void setRefreshing(boolean); 4621 method public void setSize(int); 4622 field public static final int DEFAULT = 1; // 0x1 4623 field public static final int LARGE = 0; // 0x0 4624 field protected int mFrom; 4625 field protected int mOriginalOffsetTop; 4626 } 4627 4628 public static abstract interface SwipeRefreshLayout.OnRefreshListener { 4629 method public abstract void onRefresh(); 4630 } 4631 4632 public class TextViewCompat { 4633 method public static void setCompoundDrawablesRelative(android.widget.TextView, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable); 4634 method public static void setCompoundDrawablesRelativeWithIntrinsicBounds(android.widget.TextView, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable); 4635 method public static void setCompoundDrawablesRelativeWithIntrinsicBounds(android.widget.TextView, int, int, int, int); 4636 } 4637 4638 public class ViewDragHelper { 4639 method public void abort(); 4640 method protected boolean canScroll(android.view.View, boolean, int, int, int, int); 4641 method public void cancel(); 4642 method public void captureChildView(android.view.View, int); 4643 method public boolean checkTouchSlop(int); 4644 method public boolean checkTouchSlop(int, int); 4645 method public boolean continueSettling(boolean); 4646 method public static android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, android.support.v4.widget.ViewDragHelper.Callback); 4647 method public static android.support.v4.widget.ViewDragHelper create(android.view.ViewGroup, float, android.support.v4.widget.ViewDragHelper.Callback); 4648 method public android.view.View findTopChildUnder(int, int); 4649 method public void flingCapturedView(int, int, int, int); 4650 method public int getActivePointerId(); 4651 method public android.view.View getCapturedView(); 4652 method public int getEdgeSize(); 4653 method public float getMinVelocity(); 4654 method public int getTouchSlop(); 4655 method public int getViewDragState(); 4656 method public boolean isCapturedViewUnder(int, int); 4657 method public boolean isEdgeTouched(int); 4658 method public boolean isEdgeTouched(int, int); 4659 method public boolean isPointerDown(int); 4660 method public boolean isViewUnder(android.view.View, int, int); 4661 method public void processTouchEvent(android.view.MotionEvent); 4662 method public void setEdgeTrackingEnabled(int); 4663 method public void setMinVelocity(float); 4664 method public boolean settleCapturedViewAt(int, int); 4665 method public boolean shouldInterceptTouchEvent(android.view.MotionEvent); 4666 method public boolean smoothSlideViewTo(android.view.View, int, int); 4667 field public static final int DIRECTION_ALL = 3; // 0x3 4668 field public static final int DIRECTION_HORIZONTAL = 1; // 0x1 4669 field public static final int DIRECTION_VERTICAL = 2; // 0x2 4670 field public static final int EDGE_ALL = 15; // 0xf 4671 field public static final int EDGE_BOTTOM = 8; // 0x8 4672 field public static final int EDGE_LEFT = 1; // 0x1 4673 field public static final int EDGE_RIGHT = 2; // 0x2 4674 field public static final int EDGE_TOP = 4; // 0x4 4675 field public static final int INVALID_POINTER = -1; // 0xffffffff 4676 field public static final int STATE_DRAGGING = 1; // 0x1 4677 field public static final int STATE_IDLE = 0; // 0x0 4678 field public static final int STATE_SETTLING = 2; // 0x2 4679 } 4680 4681 public static abstract class ViewDragHelper.Callback { 4682 ctor public ViewDragHelper.Callback(); 4683 method public int clampViewPositionHorizontal(android.view.View, int, int); 4684 method public int clampViewPositionVertical(android.view.View, int, int); 4685 method public int getOrderedChildIndex(int); 4686 method public int getViewHorizontalDragRange(android.view.View); 4687 method public int getViewVerticalDragRange(android.view.View); 4688 method public void onEdgeDragStarted(int, int); 4689 method public boolean onEdgeLock(int); 4690 method public void onEdgeTouched(int, int); 4691 method public void onViewCaptured(android.view.View, int); 4692 method public void onViewDragStateChanged(int); 4693 method public void onViewPositionChanged(android.view.View, int, int, int, int); 4694 method public void onViewReleased(android.view.View, float, float); 4695 method public abstract boolean tryCaptureView(android.view.View, int); 4696 } 4697 4698} 4699 4700package android.support.v7.app { 4701 4702 public abstract class ActionBar { 4703 ctor public ActionBar(); 4704 method public abstract void addOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVisibilityListener); 4705 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab); 4706 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, boolean); 4707 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int); 4708 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int, boolean); 4709 method public abstract android.view.View getCustomView(); 4710 method public abstract int getDisplayOptions(); 4711 method public float getElevation(); 4712 method public abstract int getHeight(); 4713 method public int getHideOffset(); 4714 method public abstract deprecated int getNavigationItemCount(); 4715 method public abstract deprecated int getNavigationMode(); 4716 method public abstract deprecated int getSelectedNavigationIndex(); 4717 method public abstract deprecated android.support.v7.app.ActionBar.Tab getSelectedTab(); 4718 method public abstract java.lang.CharSequence getSubtitle(); 4719 method public abstract deprecated android.support.v7.app.ActionBar.Tab getTabAt(int); 4720 method public abstract deprecated int getTabCount(); 4721 method public android.content.Context getThemedContext(); 4722 method public abstract java.lang.CharSequence getTitle(); 4723 method public abstract void hide(); 4724 method public boolean isHideOnContentScrollEnabled(); 4725 method public abstract boolean isShowing(); 4726 method public abstract deprecated android.support.v7.app.ActionBar.Tab newTab(); 4727 method public abstract deprecated void removeAllTabs(); 4728 method public abstract void removeOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVisibilityListener); 4729 method public abstract deprecated void removeTab(android.support.v7.app.ActionBar.Tab); 4730 method public abstract deprecated void removeTabAt(int); 4731 method public abstract deprecated void selectTab(android.support.v7.app.ActionBar.Tab); 4732 method public abstract void setBackgroundDrawable(android.graphics.drawable.Drawable); 4733 method public abstract void setCustomView(android.view.View); 4734 method public abstract void setCustomView(android.view.View, android.support.v7.app.ActionBar.LayoutParams); 4735 method public abstract void setCustomView(int); 4736 method public abstract void setDisplayHomeAsUpEnabled(boolean); 4737 method public abstract void setDisplayOptions(int); 4738 method public abstract void setDisplayOptions(int, int); 4739 method public abstract void setDisplayShowCustomEnabled(boolean); 4740 method public abstract void setDisplayShowHomeEnabled(boolean); 4741 method public abstract void setDisplayShowTitleEnabled(boolean); 4742 method public abstract void setDisplayUseLogoEnabled(boolean); 4743 method public void setElevation(float); 4744 method public void setHideOffset(int); 4745 method public void setHideOnContentScrollEnabled(boolean); 4746 method public void setHomeActionContentDescription(java.lang.CharSequence); 4747 method public void setHomeActionContentDescription(int); 4748 method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable); 4749 method public void setHomeAsUpIndicator(int); 4750 method public void setHomeButtonEnabled(boolean); 4751 method public abstract void setIcon(int); 4752 method public abstract void setIcon(android.graphics.drawable.Drawable); 4753 method public abstract deprecated void setListNavigationCallbacks(android.widget.SpinnerAdapter, android.support.v7.app.ActionBar.OnNavigationListener); 4754 method public abstract void setLogo(int); 4755 method public abstract void setLogo(android.graphics.drawable.Drawable); 4756 method public abstract deprecated void setNavigationMode(int); 4757 method public abstract deprecated void setSelectedNavigationItem(int); 4758 method public void setSplitBackgroundDrawable(android.graphics.drawable.Drawable); 4759 method public void setStackedBackgroundDrawable(android.graphics.drawable.Drawable); 4760 method public abstract void setSubtitle(java.lang.CharSequence); 4761 method public abstract void setSubtitle(int); 4762 method public abstract void setTitle(java.lang.CharSequence); 4763 method public abstract void setTitle(int); 4764 method public abstract void show(); 4765 field public static final int DISPLAY_HOME_AS_UP = 4; // 0x4 4766 field public static final int DISPLAY_SHOW_CUSTOM = 16; // 0x10 4767 field public static final int DISPLAY_SHOW_HOME = 2; // 0x2 4768 field public static final int DISPLAY_SHOW_TITLE = 8; // 0x8 4769 field public static final int DISPLAY_USE_LOGO = 1; // 0x1 4770 field public static final deprecated int NAVIGATION_MODE_LIST = 1; // 0x1 4771 field public static final deprecated int NAVIGATION_MODE_STANDARD = 0; // 0x0 4772 field public static final deprecated int NAVIGATION_MODE_TABS = 2; // 0x2 4773 } 4774 4775 public static class ActionBar.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 4776 ctor public ActionBar.LayoutParams(android.content.Context, android.util.AttributeSet); 4777 ctor public ActionBar.LayoutParams(int, int); 4778 ctor public ActionBar.LayoutParams(int, int, int); 4779 ctor public ActionBar.LayoutParams(int); 4780 ctor public ActionBar.LayoutParams(android.support.v7.app.ActionBar.LayoutParams); 4781 ctor public ActionBar.LayoutParams(android.view.ViewGroup.LayoutParams); 4782 field public int gravity; 4783 } 4784 4785 public static abstract interface ActionBar.OnMenuVisibilityListener { 4786 method public abstract void onMenuVisibilityChanged(boolean); 4787 } 4788 4789 public static abstract deprecated interface ActionBar.OnNavigationListener { 4790 method public abstract boolean onNavigationItemSelected(int, long); 4791 } 4792 4793 public static abstract deprecated class ActionBar.Tab { 4794 ctor public ActionBar.Tab(); 4795 method public abstract java.lang.CharSequence getContentDescription(); 4796 method public abstract android.view.View getCustomView(); 4797 method public abstract android.graphics.drawable.Drawable getIcon(); 4798 method public abstract int getPosition(); 4799 method public abstract java.lang.Object getTag(); 4800 method public abstract java.lang.CharSequence getText(); 4801 method public abstract void select(); 4802 method public abstract android.support.v7.app.ActionBar.Tab setContentDescription(int); 4803 method public abstract android.support.v7.app.ActionBar.Tab setContentDescription(java.lang.CharSequence); 4804 method public abstract android.support.v7.app.ActionBar.Tab setCustomView(android.view.View); 4805 method public abstract android.support.v7.app.ActionBar.Tab setCustomView(int); 4806 method public abstract android.support.v7.app.ActionBar.Tab setIcon(android.graphics.drawable.Drawable); 4807 method public abstract android.support.v7.app.ActionBar.Tab setIcon(int); 4808 method public abstract android.support.v7.app.ActionBar.Tab setTabListener(android.support.v7.app.ActionBar.TabListener); 4809 method public abstract android.support.v7.app.ActionBar.Tab setTag(java.lang.Object); 4810 method public abstract android.support.v7.app.ActionBar.Tab setText(java.lang.CharSequence); 4811 method public abstract android.support.v7.app.ActionBar.Tab setText(int); 4812 field public static final int INVALID_POSITION = -1; // 0xffffffff 4813 } 4814 4815 public static abstract deprecated interface ActionBar.TabListener { 4816 method public abstract void onTabReselected(android.support.v7.app.ActionBar.Tab, android.support.v4.app.FragmentTransaction); 4817 method public abstract void onTabSelected(android.support.v7.app.ActionBar.Tab, android.support.v4.app.FragmentTransaction); 4818 method public abstract void onTabUnselected(android.support.v7.app.ActionBar.Tab, android.support.v4.app.FragmentTransaction); 4819 } 4820 4821 public deprecated class ActionBarActivity extends android.support.v7.app.AppCompatActivity { 4822 ctor public ActionBarActivity(); 4823 } 4824 4825 public class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.DrawerListener { 4826 ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, int, int); 4827 ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, android.support.v7.widget.Toolbar, int, int); 4828 method public android.view.View.OnClickListener getToolbarNavigationClickListener(); 4829 method public boolean isDrawerIndicatorEnabled(); 4830 method public void onConfigurationChanged(android.content.res.Configuration); 4831 method public void onDrawerClosed(android.view.View); 4832 method public void onDrawerOpened(android.view.View); 4833 method public void onDrawerSlide(android.view.View, float); 4834 method public void onDrawerStateChanged(int); 4835 method public boolean onOptionsItemSelected(android.view.MenuItem); 4836 method public void setDrawerIndicatorEnabled(boolean); 4837 method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable); 4838 method public void setHomeAsUpIndicator(int); 4839 method public void setToolbarNavigationClickListener(android.view.View.OnClickListener); 4840 method public void syncState(); 4841 } 4842 4843 public static abstract interface ActionBarDrawerToggle.Delegate { 4844 method public abstract android.content.Context getActionBarThemedContext(); 4845 method public abstract android.graphics.drawable.Drawable getThemeUpIndicator(); 4846 method public abstract boolean isNavigationVisible(); 4847 method public abstract void setActionBarDescription(int); 4848 method public abstract void setActionBarUpIndicator(android.graphics.drawable.Drawable, int); 4849 } 4850 4851 public static abstract interface ActionBarDrawerToggle.DelegateProvider { 4852 method public abstract android.support.v7.app.ActionBarDrawerToggle.Delegate getDrawerToggleDelegate(); 4853 } 4854 4855 public class AlertDialog extends android.support.v7.app.AppCompatDialog implements android.content.DialogInterface { 4856 ctor protected AlertDialog(android.content.Context); 4857 ctor protected AlertDialog(android.content.Context, int); 4858 ctor protected AlertDialog(android.content.Context, boolean, android.content.DialogInterface.OnCancelListener); 4859 method public android.widget.Button getButton(int); 4860 method public android.widget.ListView getListView(); 4861 method public void setButton(int, java.lang.CharSequence, android.os.Message); 4862 method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickListener); 4863 method public void setCustomTitle(android.view.View); 4864 method public void setIcon(int); 4865 method public void setIcon(android.graphics.drawable.Drawable); 4866 method public void setIconAttribute(int); 4867 method public void setMessage(java.lang.CharSequence); 4868 method public void setView(android.view.View); 4869 method public void setView(android.view.View, int, int, int, int); 4870 } 4871 4872 public static class AlertDialog.Builder { 4873 ctor public AlertDialog.Builder(android.content.Context); 4874 ctor public AlertDialog.Builder(android.content.Context, int); 4875 method public android.support.v7.app.AlertDialog create(); 4876 method public android.content.Context getContext(); 4877 method public android.support.v7.app.AlertDialog.Builder setAdapter(android.widget.ListAdapter, android.content.DialogInterface.OnClickListener); 4878 method public android.support.v7.app.AlertDialog.Builder setCancelable(boolean); 4879 method public android.support.v7.app.AlertDialog.Builder setCursor(android.database.Cursor, android.content.DialogInterface.OnClickListener, java.lang.String); 4880 method public android.support.v7.app.AlertDialog.Builder setCustomTitle(android.view.View); 4881 method public android.support.v7.app.AlertDialog.Builder setIcon(int); 4882 method public android.support.v7.app.AlertDialog.Builder setIcon(android.graphics.drawable.Drawable); 4883 method public android.support.v7.app.AlertDialog.Builder setIconAttribute(int); 4884 method public android.support.v7.app.AlertDialog.Builder setInverseBackgroundForced(boolean); 4885 method public android.support.v7.app.AlertDialog.Builder setItems(int, android.content.DialogInterface.OnClickListener); 4886 method public android.support.v7.app.AlertDialog.Builder setItems(java.lang.CharSequence[], android.content.DialogInterface.OnClickListener); 4887 method public android.support.v7.app.AlertDialog.Builder setMessage(int); 4888 method public android.support.v7.app.AlertDialog.Builder setMessage(java.lang.CharSequence); 4889 method public android.support.v7.app.AlertDialog.Builder setMultiChoiceItems(int, boolean[], android.content.DialogInterface.OnMultiChoiceClickListener); 4890 method public android.support.v7.app.AlertDialog.Builder setMultiChoiceItems(java.lang.CharSequence[], boolean[], android.content.DialogInterface.OnMultiChoiceClickListener); 4891 method public android.support.v7.app.AlertDialog.Builder setMultiChoiceItems(android.database.Cursor, java.lang.String, java.lang.String, android.content.DialogInterface.OnMultiChoiceClickListener); 4892 method public android.support.v7.app.AlertDialog.Builder setNegativeButton(int, android.content.DialogInterface.OnClickListener); 4893 method public android.support.v7.app.AlertDialog.Builder setNegativeButton(java.lang.CharSequence, android.content.DialogInterface.OnClickListener); 4894 method public android.support.v7.app.AlertDialog.Builder setNeutralButton(int, android.content.DialogInterface.OnClickListener); 4895 method public android.support.v7.app.AlertDialog.Builder setNeutralButton(java.lang.CharSequence, android.content.DialogInterface.OnClickListener); 4896 method public android.support.v7.app.AlertDialog.Builder setOnCancelListener(android.content.DialogInterface.OnCancelListener); 4897 method public android.support.v7.app.AlertDialog.Builder setOnDismissListener(android.content.DialogInterface.OnDismissListener); 4898 method public android.support.v7.app.AlertDialog.Builder setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener); 4899 method public android.support.v7.app.AlertDialog.Builder setOnKeyListener(android.content.DialogInterface.OnKeyListener); 4900 method public android.support.v7.app.AlertDialog.Builder setPositiveButton(int, android.content.DialogInterface.OnClickListener); 4901 method public android.support.v7.app.AlertDialog.Builder setPositiveButton(java.lang.CharSequence, android.content.DialogInterface.OnClickListener); 4902 method public android.support.v7.app.AlertDialog.Builder setSingleChoiceItems(int, int, android.content.DialogInterface.OnClickListener); 4903 method public android.support.v7.app.AlertDialog.Builder setSingleChoiceItems(android.database.Cursor, int, java.lang.String, android.content.DialogInterface.OnClickListener); 4904 method public android.support.v7.app.AlertDialog.Builder setSingleChoiceItems(java.lang.CharSequence[], int, android.content.DialogInterface.OnClickListener); 4905 method public android.support.v7.app.AlertDialog.Builder setSingleChoiceItems(android.widget.ListAdapter, int, android.content.DialogInterface.OnClickListener); 4906 method public android.support.v7.app.AlertDialog.Builder setTitle(int); 4907 method public android.support.v7.app.AlertDialog.Builder setTitle(java.lang.CharSequence); 4908 method public android.support.v7.app.AlertDialog.Builder setView(int); 4909 method public android.support.v7.app.AlertDialog.Builder setView(android.view.View); 4910 method public android.support.v7.app.AlertDialog show(); 4911 } 4912 4913 public class AppCompatActivity extends android.support.v4.app.FragmentActivity implements android.support.v7.app.ActionBarDrawerToggle.DelegateProvider android.support.v7.app.AppCompatCallback { 4914 ctor public AppCompatActivity(); 4915 method public android.support.v7.app.AppCompatDelegate getDelegate(); 4916 method public android.support.v7.app.ActionBarDrawerToggle.Delegate getDrawerToggleDelegate(); 4917 method public android.support.v7.app.ActionBar getSupportActionBar(); 4918 method public android.content.Intent getSupportParentActivityIntent(); 4919 method public void onCreateSupportNavigateUpTaskStack(android.support.v4.app.TaskStackBuilder); 4920 method public final boolean onMenuItemSelected(int, android.view.MenuItem); 4921 method public void onPrepareSupportNavigateUpTaskStack(android.support.v4.app.TaskStackBuilder); 4922 method public void onSupportActionModeFinished(android.support.v7.view.ActionMode); 4923 method public void onSupportActionModeStarted(android.support.v7.view.ActionMode); 4924 method public deprecated void onSupportContentChanged(); 4925 method public boolean onSupportNavigateUp(); 4926 method public void setSupportActionBar(android.support.v7.widget.Toolbar); 4927 method public deprecated void setSupportProgress(int); 4928 method public deprecated void setSupportProgressBarIndeterminate(boolean); 4929 method public deprecated void setSupportProgressBarIndeterminateVisibility(boolean); 4930 method public deprecated void setSupportProgressBarVisibility(boolean); 4931 method public android.support.v7.view.ActionMode startSupportActionMode(android.support.v7.view.ActionMode.Callback); 4932 method public void supportNavigateUpTo(android.content.Intent); 4933 method public boolean supportRequestWindowFeature(int); 4934 method public boolean supportShouldUpRecreateTask(android.content.Intent); 4935 } 4936 4937 public abstract interface AppCompatCallback { 4938 method public abstract void onSupportActionModeFinished(android.support.v7.view.ActionMode); 4939 method public abstract void onSupportActionModeStarted(android.support.v7.view.ActionMode); 4940 } 4941 4942 public abstract class AppCompatDelegate { 4943 method public abstract void addContentView(android.view.View, android.view.ViewGroup.LayoutParams); 4944 method public static android.support.v7.app.AppCompatDelegate create(android.app.Activity, android.support.v7.app.AppCompatCallback); 4945 method public static android.support.v7.app.AppCompatDelegate create(android.app.Dialog, android.support.v7.app.AppCompatCallback); 4946 method public abstract android.view.View createView(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet); 4947 method public abstract android.support.v7.app.ActionBarDrawerToggle.Delegate getDrawerToggleDelegate(); 4948 method public abstract android.view.MenuInflater getMenuInflater(); 4949 method public abstract android.support.v7.app.ActionBar getSupportActionBar(); 4950 method public abstract void installViewFactory(); 4951 method public abstract void invalidateOptionsMenu(); 4952 method public abstract void onConfigurationChanged(android.content.res.Configuration); 4953 method public abstract void onCreate(android.os.Bundle); 4954 method public abstract void onDestroy(); 4955 method public abstract void onPostCreate(android.os.Bundle); 4956 method public abstract void onPostResume(); 4957 method public abstract void onStop(); 4958 method public abstract boolean requestWindowFeature(int); 4959 method public abstract void setContentView(android.view.View); 4960 method public abstract void setContentView(int); 4961 method public abstract void setContentView(android.view.View, android.view.ViewGroup.LayoutParams); 4962 method public abstract void setSupportActionBar(android.support.v7.widget.Toolbar); 4963 method public abstract void setTitle(java.lang.CharSequence); 4964 method public abstract android.support.v7.view.ActionMode startSupportActionMode(android.support.v7.view.ActionMode.Callback); 4965 } 4966 4967 public class AppCompatDialog extends android.app.Dialog implements android.support.v7.app.AppCompatCallback { 4968 ctor public AppCompatDialog(android.content.Context); 4969 ctor public AppCompatDialog(android.content.Context, int); 4970 ctor protected AppCompatDialog(android.content.Context, boolean, android.content.DialogInterface.OnCancelListener); 4971 method public android.support.v7.app.AppCompatDelegate getDelegate(); 4972 method public android.support.v7.app.ActionBar getSupportActionBar(); 4973 method public void onSupportActionModeFinished(android.support.v7.view.ActionMode); 4974 method public void onSupportActionModeStarted(android.support.v7.view.ActionMode); 4975 method public boolean supportRequestWindowFeature(int); 4976 } 4977 4978} 4979 4980package android.support.v7.view { 4981 4982 public abstract class ActionMode { 4983 ctor public ActionMode(); 4984 method public abstract void finish(); 4985 method public abstract android.view.View getCustomView(); 4986 method public abstract android.view.Menu getMenu(); 4987 method public abstract android.view.MenuInflater getMenuInflater(); 4988 method public abstract java.lang.CharSequence getSubtitle(); 4989 method public java.lang.Object getTag(); 4990 method public abstract java.lang.CharSequence getTitle(); 4991 method public boolean getTitleOptionalHint(); 4992 method public abstract void invalidate(); 4993 method public boolean isTitleOptional(); 4994 method public abstract void setCustomView(android.view.View); 4995 method public abstract void setSubtitle(java.lang.CharSequence); 4996 method public abstract void setSubtitle(int); 4997 method public void setTag(java.lang.Object); 4998 method public abstract void setTitle(java.lang.CharSequence); 4999 method public abstract void setTitle(int); 5000 method public void setTitleOptionalHint(boolean); 5001 } 5002 5003 public static abstract interface ActionMode.Callback { 5004 method public abstract boolean onActionItemClicked(android.support.v7.view.ActionMode, android.view.MenuItem); 5005 method public abstract boolean onCreateActionMode(android.support.v7.view.ActionMode, android.view.Menu); 5006 method public abstract void onDestroyActionMode(android.support.v7.view.ActionMode); 5007 method public abstract boolean onPrepareActionMode(android.support.v7.view.ActionMode, android.view.Menu); 5008 } 5009 5010 public abstract interface CollapsibleActionView { 5011 method public abstract void onActionViewCollapsed(); 5012 method public abstract void onActionViewExpanded(); 5013 } 5014 5015} 5016 5017package android.support.v7.widget { 5018 5019 public class ActionMenuView extends android.support.v7.widget.LinearLayoutCompat { 5020 ctor public ActionMenuView(android.content.Context); 5021 ctor public ActionMenuView(android.content.Context, android.util.AttributeSet); 5022 method public void dismissPopupMenus(); 5023 method public android.view.Menu getMenu(); 5024 method public int getPopupTheme(); 5025 method public boolean hideOverflowMenu(); 5026 method public boolean isOverflowMenuShowing(); 5027 method public void onConfigurationChanged(android.content.res.Configuration); 5028 method public void onDetachedFromWindow(); 5029 method public void setOnMenuItemClickListener(android.support.v7.widget.ActionMenuView.OnMenuItemClickListener); 5030 method public void setPopupTheme(int); 5031 method public boolean showOverflowMenu(); 5032 } 5033 5034 public static class ActionMenuView.LayoutParams extends android.support.v7.widget.LinearLayoutCompat.LayoutParams { 5035 ctor public ActionMenuView.LayoutParams(android.content.Context, android.util.AttributeSet); 5036 ctor public ActionMenuView.LayoutParams(android.view.ViewGroup.LayoutParams); 5037 ctor public ActionMenuView.LayoutParams(android.support.v7.widget.ActionMenuView.LayoutParams); 5038 ctor public ActionMenuView.LayoutParams(int, int); 5039 field public int cellsUsed; 5040 field public boolean expandable; 5041 field public int extraPixels; 5042 field public boolean isOverflowButton; 5043 field public boolean preventEdgeOffset; 5044 } 5045 5046 public static abstract interface ActionMenuView.OnMenuItemClickListener { 5047 method public abstract boolean onMenuItemClick(android.view.MenuItem); 5048 } 5049 5050 public class AppCompatAutoCompleteTextView extends android.widget.AutoCompleteTextView { 5051 ctor public AppCompatAutoCompleteTextView(android.content.Context); 5052 ctor public AppCompatAutoCompleteTextView(android.content.Context, android.util.AttributeSet); 5053 ctor public AppCompatAutoCompleteTextView(android.content.Context, android.util.AttributeSet, int); 5054 } 5055 5056 public class AppCompatButton extends android.widget.Button { 5057 ctor public AppCompatButton(android.content.Context); 5058 ctor public AppCompatButton(android.content.Context, android.util.AttributeSet); 5059 ctor public AppCompatButton(android.content.Context, android.util.AttributeSet, int); 5060 } 5061 5062 public class AppCompatCheckBox extends android.widget.CheckBox { 5063 ctor public AppCompatCheckBox(android.content.Context); 5064 ctor public AppCompatCheckBox(android.content.Context, android.util.AttributeSet); 5065 ctor public AppCompatCheckBox(android.content.Context, android.util.AttributeSet, int); 5066 } 5067 5068 public class AppCompatCheckedTextView extends android.widget.CheckedTextView { 5069 ctor public AppCompatCheckedTextView(android.content.Context); 5070 ctor public AppCompatCheckedTextView(android.content.Context, android.util.AttributeSet); 5071 ctor public AppCompatCheckedTextView(android.content.Context, android.util.AttributeSet, int); 5072 } 5073 5074 public class AppCompatEditText extends android.widget.EditText { 5075 ctor public AppCompatEditText(android.content.Context); 5076 ctor public AppCompatEditText(android.content.Context, android.util.AttributeSet); 5077 ctor public AppCompatEditText(android.content.Context, android.util.AttributeSet, int); 5078 } 5079 5080 public class AppCompatMultiAutoCompleteTextView extends android.widget.MultiAutoCompleteTextView { 5081 ctor public AppCompatMultiAutoCompleteTextView(android.content.Context); 5082 ctor public AppCompatMultiAutoCompleteTextView(android.content.Context, android.util.AttributeSet); 5083 ctor public AppCompatMultiAutoCompleteTextView(android.content.Context, android.util.AttributeSet, int); 5084 } 5085 5086 public class AppCompatRadioButton extends android.widget.RadioButton { 5087 ctor public AppCompatRadioButton(android.content.Context); 5088 ctor public AppCompatRadioButton(android.content.Context, android.util.AttributeSet); 5089 ctor public AppCompatRadioButton(android.content.Context, android.util.AttributeSet, int); 5090 } 5091 5092 public class AppCompatRatingBar extends android.widget.RatingBar { 5093 ctor public AppCompatRatingBar(android.content.Context); 5094 ctor public AppCompatRatingBar(android.content.Context, android.util.AttributeSet); 5095 ctor public AppCompatRatingBar(android.content.Context, android.util.AttributeSet, int); 5096 } 5097 5098 public class AppCompatSpinner extends android.widget.Spinner { 5099 ctor public AppCompatSpinner(android.content.Context); 5100 ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet); 5101 ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet, int); 5102 } 5103 5104 public class AppCompatTextView extends android.widget.TextView { 5105 ctor public AppCompatTextView(android.content.Context); 5106 ctor public AppCompatTextView(android.content.Context, android.util.AttributeSet); 5107 ctor public AppCompatTextView(android.content.Context, android.util.AttributeSet, int); 5108 } 5109 5110 public class LinearLayoutCompat extends android.view.ViewGroup { 5111 ctor public LinearLayoutCompat(android.content.Context); 5112 ctor public LinearLayoutCompat(android.content.Context, android.util.AttributeSet); 5113 ctor public LinearLayoutCompat(android.content.Context, android.util.AttributeSet, int); 5114 method public int getBaselineAlignedChildIndex(); 5115 method public android.graphics.drawable.Drawable getDividerDrawable(); 5116 method public int getDividerPadding(); 5117 method public int getOrientation(); 5118 method public int getShowDividers(); 5119 method public float getWeightSum(); 5120 method public boolean isBaselineAligned(); 5121 method public boolean isMeasureWithLargestChildEnabled(); 5122 method protected void onLayout(boolean, int, int, int, int); 5123 method public void setBaselineAligned(boolean); 5124 method public void setBaselineAlignedChildIndex(int); 5125 method public void setDividerDrawable(android.graphics.drawable.Drawable); 5126 method public void setDividerPadding(int); 5127 method public void setGravity(int); 5128 method public void setHorizontalGravity(int); 5129 method public void setMeasureWithLargestChildEnabled(boolean); 5130 method public void setOrientation(int); 5131 method public void setShowDividers(int); 5132 method public void setVerticalGravity(int); 5133 method public void setWeightSum(float); 5134 field public static final int HORIZONTAL = 0; // 0x0 5135 field public static final int SHOW_DIVIDER_BEGINNING = 1; // 0x1 5136 field public static final int SHOW_DIVIDER_END = 4; // 0x4 5137 field public static final int SHOW_DIVIDER_MIDDLE = 2; // 0x2 5138 field public static final int SHOW_DIVIDER_NONE = 0; // 0x0 5139 field public static final int VERTICAL = 1; // 0x1 5140 } 5141 5142 public static class LinearLayoutCompat.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 5143 ctor public LinearLayoutCompat.LayoutParams(android.content.Context, android.util.AttributeSet); 5144 ctor public LinearLayoutCompat.LayoutParams(int, int); 5145 ctor public LinearLayoutCompat.LayoutParams(int, int, float); 5146 ctor public LinearLayoutCompat.LayoutParams(android.view.ViewGroup.LayoutParams); 5147 ctor public LinearLayoutCompat.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 5148 ctor public LinearLayoutCompat.LayoutParams(android.support.v7.widget.LinearLayoutCompat.LayoutParams); 5149 field public int gravity; 5150 field public float weight; 5151 } 5152 5153 public class ListPopupWindow { 5154 ctor public ListPopupWindow(android.content.Context); 5155 ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet); 5156 ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet, int); 5157 ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet, int, int); 5158 method public void clearListSelection(); 5159 method public android.view.View.OnTouchListener createDragToOpenListener(android.view.View); 5160 method public void dismiss(); 5161 method public android.view.View getAnchorView(); 5162 method public int getAnimationStyle(); 5163 method public android.graphics.drawable.Drawable getBackground(); 5164 method public int getHeight(); 5165 method public int getHorizontalOffset(); 5166 method public int getInputMethodMode(); 5167 method public android.widget.ListView getListView(); 5168 method public int getPromptPosition(); 5169 method public java.lang.Object getSelectedItem(); 5170 method public long getSelectedItemId(); 5171 method public int getSelectedItemPosition(); 5172 method public android.view.View getSelectedView(); 5173 method public int getSoftInputMode(); 5174 method public int getVerticalOffset(); 5175 method public int getWidth(); 5176 method public boolean isInputMethodNotNeeded(); 5177 method public boolean isModal(); 5178 method public boolean isShowing(); 5179 method public boolean onKeyDown(int, android.view.KeyEvent); 5180 method public boolean onKeyPreIme(int, android.view.KeyEvent); 5181 method public boolean onKeyUp(int, android.view.KeyEvent); 5182 method public boolean performItemClick(int); 5183 method public void postShow(); 5184 method public void setAdapter(android.widget.ListAdapter); 5185 method public void setAnchorView(android.view.View); 5186 method public void setAnimationStyle(int); 5187 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 5188 method public void setContentWidth(int); 5189 method public void setDropDownGravity(int); 5190 method public void setHeight(int); 5191 method public void setHorizontalOffset(int); 5192 method public void setInputMethodMode(int); 5193 method public void setListSelector(android.graphics.drawable.Drawable); 5194 method public void setModal(boolean); 5195 method public void setOnDismissListener(android.widget.PopupWindow.OnDismissListener); 5196 method public void setOnItemClickListener(android.widget.AdapterView.OnItemClickListener); 5197 method public void setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener); 5198 method public void setPromptPosition(int); 5199 method public void setPromptView(android.view.View); 5200 method public void setSelection(int); 5201 method public void setSoftInputMode(int); 5202 method public void setVerticalOffset(int); 5203 method public void setWidth(int); 5204 method public void show(); 5205 field public static final int INPUT_METHOD_FROM_FOCUSABLE = 0; // 0x0 5206 field public static final int INPUT_METHOD_NEEDED = 1; // 0x1 5207 field public static final int INPUT_METHOD_NOT_NEEDED = 2; // 0x2 5208 field public static final int MATCH_PARENT = -1; // 0xffffffff 5209 field public static final int POSITION_PROMPT_ABOVE = 0; // 0x0 5210 field public static final int POSITION_PROMPT_BELOW = 1; // 0x1 5211 field public static final int WRAP_CONTENT = -2; // 0xfffffffe 5212 } 5213 5214 public class PopupMenu { 5215 ctor public PopupMenu(android.content.Context, android.view.View); 5216 ctor public PopupMenu(android.content.Context, android.view.View, int); 5217 ctor public PopupMenu(android.content.Context, android.view.View, int, int, int); 5218 method public void dismiss(); 5219 method public android.view.View.OnTouchListener getDragToOpenListener(); 5220 method public android.view.Menu getMenu(); 5221 method public android.view.MenuInflater getMenuInflater(); 5222 method public void inflate(int); 5223 method public void setOnDismissListener(android.support.v7.widget.PopupMenu.OnDismissListener); 5224 method public void setOnMenuItemClickListener(android.support.v7.widget.PopupMenu.OnMenuItemClickListener); 5225 method public void show(); 5226 } 5227 5228 public static abstract interface PopupMenu.OnDismissListener { 5229 method public abstract void onDismiss(android.support.v7.widget.PopupMenu); 5230 } 5231 5232 public static abstract interface PopupMenu.OnMenuItemClickListener { 5233 method public abstract boolean onMenuItemClick(android.view.MenuItem); 5234 } 5235 5236 public class SearchView extends android.support.v7.widget.LinearLayoutCompat implements android.support.v7.view.CollapsibleActionView { 5237 ctor public SearchView(android.content.Context); 5238 ctor public SearchView(android.content.Context, android.util.AttributeSet); 5239 ctor public SearchView(android.content.Context, android.util.AttributeSet, int); 5240 method public int getImeOptions(); 5241 method public int getInputType(); 5242 method public int getMaxWidth(); 5243 method public java.lang.CharSequence getQuery(); 5244 method public java.lang.CharSequence getQueryHint(); 5245 method public android.support.v4.widget.CursorAdapter getSuggestionsAdapter(); 5246 method public boolean isIconfiedByDefault(); 5247 method public boolean isIconified(); 5248 method public boolean isQueryRefinementEnabled(); 5249 method public boolean isSubmitButtonEnabled(); 5250 method public void onActionViewCollapsed(); 5251 method public void onActionViewExpanded(); 5252 method public void setIconified(boolean); 5253 method public void setIconifiedByDefault(boolean); 5254 method public void setImeOptions(int); 5255 method public void setInputType(int); 5256 method public void setMaxWidth(int); 5257 method public void setOnCloseListener(android.support.v7.widget.SearchView.OnCloseListener); 5258 method public void setOnQueryTextFocusChangeListener(android.view.View.OnFocusChangeListener); 5259 method public void setOnQueryTextListener(android.support.v7.widget.SearchView.OnQueryTextListener); 5260 method public void setOnSearchClickListener(android.view.View.OnClickListener); 5261 method public void setOnSuggestionListener(android.support.v7.widget.SearchView.OnSuggestionListener); 5262 method public void setQuery(java.lang.CharSequence, boolean); 5263 method public void setQueryHint(java.lang.CharSequence); 5264 method public void setQueryRefinementEnabled(boolean); 5265 method public void setSearchableInfo(android.app.SearchableInfo); 5266 method public void setSubmitButtonEnabled(boolean); 5267 method public void setSuggestionsAdapter(android.support.v4.widget.CursorAdapter); 5268 } 5269 5270 public static abstract interface SearchView.OnCloseListener { 5271 method public abstract boolean onClose(); 5272 } 5273 5274 public static abstract interface SearchView.OnQueryTextListener { 5275 method public abstract boolean onQueryTextChange(java.lang.String); 5276 method public abstract boolean onQueryTextSubmit(java.lang.String); 5277 } 5278 5279 public static abstract interface SearchView.OnSuggestionListener { 5280 method public abstract boolean onSuggestionClick(int); 5281 method public abstract boolean onSuggestionSelect(int); 5282 } 5283 5284 public class ShareActionProvider extends android.support.v4.view.ActionProvider { 5285 ctor public ShareActionProvider(android.content.Context); 5286 method public android.view.View onCreateActionView(); 5287 method public void setOnShareTargetSelectedListener(android.support.v7.widget.ShareActionProvider.OnShareTargetSelectedListener); 5288 method public void setShareHistoryFileName(java.lang.String); 5289 method public void setShareIntent(android.content.Intent); 5290 field public static final java.lang.String DEFAULT_SHARE_HISTORY_FILE_NAME = "share_history.xml"; 5291 } 5292 5293 public static abstract interface ShareActionProvider.OnShareTargetSelectedListener { 5294 method public abstract boolean onShareTargetSelected(android.support.v7.widget.ShareActionProvider, android.content.Intent); 5295 } 5296 5297 public class SwitchCompat extends android.widget.CompoundButton { 5298 ctor public SwitchCompat(android.content.Context); 5299 ctor public SwitchCompat(android.content.Context, android.util.AttributeSet); 5300 ctor public SwitchCompat(android.content.Context, android.util.AttributeSet, int); 5301 method public boolean getShowText(); 5302 method public boolean getSplitTrack(); 5303 method public int getSwitchMinWidth(); 5304 method public int getSwitchPadding(); 5305 method public java.lang.CharSequence getTextOff(); 5306 method public java.lang.CharSequence getTextOn(); 5307 method public android.graphics.drawable.Drawable getThumbDrawable(); 5308 method public int getThumbTextPadding(); 5309 method public android.graphics.drawable.Drawable getTrackDrawable(); 5310 method public void onMeasure(int, int); 5311 method public void setShowText(boolean); 5312 method public void setSplitTrack(boolean); 5313 method public void setSwitchMinWidth(int); 5314 method public void setSwitchPadding(int); 5315 method public void setSwitchTextAppearance(android.content.Context, int); 5316 method public void setSwitchTypeface(android.graphics.Typeface, int); 5317 method public void setSwitchTypeface(android.graphics.Typeface); 5318 method public void setTextOff(java.lang.CharSequence); 5319 method public void setTextOn(java.lang.CharSequence); 5320 method public void setThumbDrawable(android.graphics.drawable.Drawable); 5321 method public void setThumbResource(int); 5322 method public void setThumbTextPadding(int); 5323 method public void setTrackDrawable(android.graphics.drawable.Drawable); 5324 method public void setTrackResource(int); 5325 } 5326 5327 public class Toolbar extends android.view.ViewGroup { 5328 ctor public Toolbar(android.content.Context); 5329 ctor public Toolbar(android.content.Context, android.util.AttributeSet); 5330 ctor public Toolbar(android.content.Context, android.util.AttributeSet, int); 5331 method public void collapseActionView(); 5332 method public void dismissPopupMenus(); 5333 method public int getContentInsetEnd(); 5334 method public int getContentInsetLeft(); 5335 method public int getContentInsetRight(); 5336 method public int getContentInsetStart(); 5337 method public android.graphics.drawable.Drawable getLogo(); 5338 method public java.lang.CharSequence getLogoDescription(); 5339 method public android.view.Menu getMenu(); 5340 method public java.lang.CharSequence getNavigationContentDescription(); 5341 method public android.graphics.drawable.Drawable getNavigationIcon(); 5342 method public int getPopupTheme(); 5343 method public java.lang.CharSequence getSubtitle(); 5344 method public java.lang.CharSequence getTitle(); 5345 method public boolean hasExpandedActionView(); 5346 method public boolean hideOverflowMenu(); 5347 method public void inflateMenu(int); 5348 method public boolean isOverflowMenuShowing(); 5349 method protected void onLayout(boolean, int, int, int, int); 5350 method public void setContentInsetsAbsolute(int, int); 5351 method public void setContentInsetsRelative(int, int); 5352 method public void setLogo(int); 5353 method public void setLogo(android.graphics.drawable.Drawable); 5354 method public void setLogoDescription(int); 5355 method public void setLogoDescription(java.lang.CharSequence); 5356 method public void setNavigationContentDescription(int); 5357 method public void setNavigationContentDescription(java.lang.CharSequence); 5358 method public void setNavigationIcon(int); 5359 method public void setNavigationIcon(android.graphics.drawable.Drawable); 5360 method public void setNavigationOnClickListener(android.view.View.OnClickListener); 5361 method public void setOnMenuItemClickListener(android.support.v7.widget.Toolbar.OnMenuItemClickListener); 5362 method public void setPopupTheme(int); 5363 method public void setSubtitle(int); 5364 method public void setSubtitle(java.lang.CharSequence); 5365 method public void setSubtitleTextAppearance(android.content.Context, int); 5366 method public void setSubtitleTextColor(int); 5367 method public void setTitle(int); 5368 method public void setTitle(java.lang.CharSequence); 5369 method public void setTitleTextAppearance(android.content.Context, int); 5370 method public void setTitleTextColor(int); 5371 method public boolean showOverflowMenu(); 5372 } 5373 5374 public static class Toolbar.LayoutParams extends android.support.v7.app.ActionBar.LayoutParams { 5375 ctor public Toolbar.LayoutParams(android.content.Context, android.util.AttributeSet); 5376 ctor public Toolbar.LayoutParams(int, int); 5377 ctor public Toolbar.LayoutParams(int, int, int); 5378 ctor public Toolbar.LayoutParams(int); 5379 ctor public Toolbar.LayoutParams(android.support.v7.widget.Toolbar.LayoutParams); 5380 ctor public Toolbar.LayoutParams(android.support.v7.app.ActionBar.LayoutParams); 5381 ctor public Toolbar.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 5382 ctor public Toolbar.LayoutParams(android.view.ViewGroup.LayoutParams); 5383 } 5384 5385 public static abstract interface Toolbar.OnMenuItemClickListener { 5386 method public abstract boolean onMenuItemClick(android.view.MenuItem); 5387 } 5388 5389} 5390 5391package android.support.v7.widget { 5392 5393 public class CardView extends android.widget.FrameLayout { 5394 ctor public CardView(android.content.Context); 5395 ctor public CardView(android.content.Context, android.util.AttributeSet); 5396 ctor public CardView(android.content.Context, android.util.AttributeSet, int); 5397 method public float getCardElevation(); 5398 method public int getContentPaddingBottom(); 5399 method public int getContentPaddingLeft(); 5400 method public int getContentPaddingRight(); 5401 method public int getContentPaddingTop(); 5402 method public float getMaxCardElevation(); 5403 method public boolean getPreventCornerOverlap(); 5404 method public float getRadius(); 5405 method public boolean getUseCompatPadding(); 5406 method public void setCardBackgroundColor(int); 5407 method public void setCardElevation(float); 5408 method public void setContentPadding(int, int, int, int); 5409 method public void setMaxCardElevation(float); 5410 method public void setPreventCornerOverlap(boolean); 5411 method public void setRadius(float); 5412 method public void setUseCompatPadding(boolean); 5413 } 5414 5415} 5416 5417package android.support.v7.widget { 5418 5419 public class GridLayout extends android.view.ViewGroup { 5420 ctor public GridLayout(android.content.Context, android.util.AttributeSet, int); 5421 ctor public GridLayout(android.content.Context, android.util.AttributeSet); 5422 ctor public GridLayout(android.content.Context); 5423 method public int getAlignmentMode(); 5424 method public int getColumnCount(); 5425 method public int getOrientation(); 5426 method public android.util.Printer getPrinter(); 5427 method public int getRowCount(); 5428 method public boolean getUseDefaultMargins(); 5429 method public boolean isColumnOrderPreserved(); 5430 method public boolean isRowOrderPreserved(); 5431 method protected void onLayout(boolean, int, int, int, int); 5432 method public void setAlignmentMode(int); 5433 method public void setColumnCount(int); 5434 method public void setColumnOrderPreserved(boolean); 5435 method public void setOrientation(int); 5436 method public void setPrinter(android.util.Printer); 5437 method public void setRowCount(int); 5438 method public void setRowOrderPreserved(boolean); 5439 method public void setUseDefaultMargins(boolean); 5440 method public static android.support.v7.widget.GridLayout.Spec spec(int, int, android.support.v7.widget.GridLayout.Alignment, float); 5441 method public static android.support.v7.widget.GridLayout.Spec spec(int, android.support.v7.widget.GridLayout.Alignment, float); 5442 method public static android.support.v7.widget.GridLayout.Spec spec(int, int, float); 5443 method public static android.support.v7.widget.GridLayout.Spec spec(int, float); 5444 method public static android.support.v7.widget.GridLayout.Spec spec(int, int, android.support.v7.widget.GridLayout.Alignment); 5445 method public static android.support.v7.widget.GridLayout.Spec spec(int, android.support.v7.widget.GridLayout.Alignment); 5446 method public static android.support.v7.widget.GridLayout.Spec spec(int, int); 5447 method public static android.support.v7.widget.GridLayout.Spec spec(int); 5448 field public static final int ALIGN_BOUNDS = 0; // 0x0 5449 field public static final int ALIGN_MARGINS = 1; // 0x1 5450 field public static final android.support.v7.widget.GridLayout.Alignment BASELINE; 5451 field public static final android.support.v7.widget.GridLayout.Alignment BOTTOM; 5452 field public static final android.support.v7.widget.GridLayout.Alignment CENTER; 5453 field public static final android.support.v7.widget.GridLayout.Alignment END; 5454 field public static final android.support.v7.widget.GridLayout.Alignment FILL; 5455 field public static final int HORIZONTAL = 0; // 0x0 5456 field public static final android.support.v7.widget.GridLayout.Alignment LEFT; 5457 field public static final android.support.v7.widget.GridLayout.Alignment RIGHT; 5458 field public static final android.support.v7.widget.GridLayout.Alignment START; 5459 field public static final android.support.v7.widget.GridLayout.Alignment TOP; 5460 field public static final int UNDEFINED = -2147483648; // 0x80000000 5461 field public static final int VERTICAL = 1; // 0x1 5462 } 5463 5464 public static abstract class GridLayout.Alignment { 5465 } 5466 5467 public static class GridLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 5468 ctor public GridLayout.LayoutParams(android.support.v7.widget.GridLayout.Spec, android.support.v7.widget.GridLayout.Spec); 5469 ctor public GridLayout.LayoutParams(); 5470 ctor public GridLayout.LayoutParams(android.view.ViewGroup.LayoutParams); 5471 ctor public GridLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 5472 ctor public GridLayout.LayoutParams(android.support.v7.widget.GridLayout.LayoutParams); 5473 ctor public GridLayout.LayoutParams(android.content.Context, android.util.AttributeSet); 5474 method public void setGravity(int); 5475 field public android.support.v7.widget.GridLayout.Spec columnSpec; 5476 field public android.support.v7.widget.GridLayout.Spec rowSpec; 5477 } 5478 5479 public static class GridLayout.Spec { 5480 method public android.support.v7.widget.GridLayout.Alignment getAbsoluteAlignment(boolean); 5481 } 5482 5483 public final deprecated class Space extends android.support.v4.widget.Space { 5484 ctor public Space(android.content.Context); 5485 ctor public Space(android.content.Context, android.util.AttributeSet); 5486 ctor public Space(android.content.Context, android.util.AttributeSet, int); 5487 } 5488 5489} 5490 5491package android.support.v7.app { 5492 5493 public class MediaRouteActionProvider extends android.support.v4.view.ActionProvider { 5494 ctor public MediaRouteActionProvider(android.content.Context); 5495 method public android.support.v7.app.MediaRouteDialogFactory getDialogFactory(); 5496 method public android.support.v7.app.MediaRouteButton getMediaRouteButton(); 5497 method public android.support.v7.media.MediaRouteSelector getRouteSelector(); 5498 method public android.view.View onCreateActionView(); 5499 method public android.support.v7.app.MediaRouteButton onCreateMediaRouteButton(); 5500 method public void setDialogFactory(android.support.v7.app.MediaRouteDialogFactory); 5501 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector); 5502 } 5503 5504 public class MediaRouteButton extends android.view.View { 5505 ctor public MediaRouteButton(android.content.Context); 5506 ctor public MediaRouteButton(android.content.Context, android.util.AttributeSet); 5507 ctor public MediaRouteButton(android.content.Context, android.util.AttributeSet, int); 5508 method public android.support.v7.app.MediaRouteDialogFactory getDialogFactory(); 5509 method public android.support.v7.media.MediaRouteSelector getRouteSelector(); 5510 method public void onAttachedToWindow(); 5511 method public void onDetachedFromWindow(); 5512 method public void setDialogFactory(android.support.v7.app.MediaRouteDialogFactory); 5513 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector); 5514 method public boolean showDialog(); 5515 } 5516 5517 public class MediaRouteChooserDialog extends android.app.Dialog { 5518 ctor public MediaRouteChooserDialog(android.content.Context); 5519 ctor public MediaRouteChooserDialog(android.content.Context, int); 5520 method public android.support.v7.media.MediaRouteSelector getRouteSelector(); 5521 method public boolean onFilterRoute(android.support.v7.media.MediaRouter.RouteInfo); 5522 method public void onFilterRoutes(java.util.List<android.support.v7.media.MediaRouter.RouteInfo>); 5523 method public void refreshRoutes(); 5524 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector); 5525 } 5526 5527 public class MediaRouteChooserDialogFragment extends android.support.v4.app.DialogFragment { 5528 ctor public MediaRouteChooserDialogFragment(); 5529 method public android.support.v7.media.MediaRouteSelector getRouteSelector(); 5530 method public android.support.v7.app.MediaRouteChooserDialog onCreateChooserDialog(android.content.Context, android.os.Bundle); 5531 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector); 5532 } 5533 5534 public class MediaRouteControllerDialog extends android.app.Dialog { 5535 ctor public MediaRouteControllerDialog(android.content.Context); 5536 ctor public MediaRouteControllerDialog(android.content.Context, int); 5537 method public android.view.View getMediaControlView(); 5538 method public android.support.v4.media.session.MediaSessionCompat.Token getMediaSession(); 5539 method public android.support.v7.media.MediaRouter.RouteInfo getRoute(); 5540 method public android.view.View onCreateMediaControlView(android.os.Bundle); 5541 } 5542 5543 public class MediaRouteControllerDialogFragment extends android.support.v4.app.DialogFragment { 5544 ctor public MediaRouteControllerDialogFragment(); 5545 method public android.support.v7.app.MediaRouteControllerDialog onCreateControllerDialog(android.content.Context, android.os.Bundle); 5546 } 5547 5548 public class MediaRouteDialogFactory { 5549 ctor public MediaRouteDialogFactory(); 5550 method public static android.support.v7.app.MediaRouteDialogFactory getDefault(); 5551 method public android.support.v7.app.MediaRouteChooserDialogFragment onCreateChooserDialogFragment(); 5552 method public android.support.v7.app.MediaRouteControllerDialogFragment onCreateControllerDialogFragment(); 5553 } 5554 5555 public class MediaRouteDiscoveryFragment extends android.support.v4.app.Fragment { 5556 ctor public MediaRouteDiscoveryFragment(); 5557 method public android.support.v7.media.MediaRouter getMediaRouter(); 5558 method public android.support.v7.media.MediaRouteSelector getRouteSelector(); 5559 method public android.support.v7.media.MediaRouter.Callback onCreateCallback(); 5560 method public int onPrepareCallbackFlags(); 5561 method public void setRouteSelector(android.support.v7.media.MediaRouteSelector); 5562 } 5563 5564} 5565 5566package android.support.v7.media { 5567 5568 public final class MediaControlIntent { 5569 field public static final java.lang.String ACTION_END_SESSION = "android.media.intent.action.END_SESSION"; 5570 field public static final java.lang.String ACTION_ENQUEUE = "android.media.intent.action.ENQUEUE"; 5571 field public static final java.lang.String ACTION_GET_SESSION_STATUS = "android.media.intent.action.GET_SESSION_STATUS"; 5572 field public static final java.lang.String ACTION_GET_STATUS = "android.media.intent.action.GET_STATUS"; 5573 field public static final java.lang.String ACTION_PAUSE = "android.media.intent.action.PAUSE"; 5574 field public static final java.lang.String ACTION_PLAY = "android.media.intent.action.PLAY"; 5575 field public static final java.lang.String ACTION_REMOVE = "android.media.intent.action.REMOVE"; 5576 field public static final java.lang.String ACTION_RESUME = "android.media.intent.action.RESUME"; 5577 field public static final java.lang.String ACTION_SEEK = "android.media.intent.action.SEEK"; 5578 field public static final java.lang.String ACTION_START_SESSION = "android.media.intent.action.START_SESSION"; 5579 field public static final java.lang.String ACTION_STOP = "android.media.intent.action.STOP"; 5580 field public static final java.lang.String CATEGORY_LIVE_AUDIO = "android.media.intent.category.LIVE_AUDIO"; 5581 field public static final java.lang.String CATEGORY_LIVE_VIDEO = "android.media.intent.category.LIVE_VIDEO"; 5582 field public static final java.lang.String CATEGORY_REMOTE_PLAYBACK = "android.media.intent.category.REMOTE_PLAYBACK"; 5583 field public static final int ERROR_INVALID_ITEM_ID = 3; // 0x3 5584 field public static final int ERROR_INVALID_SESSION_ID = 2; // 0x2 5585 field public static final int ERROR_UNKNOWN = 0; // 0x0 5586 field public static final int ERROR_UNSUPPORTED_OPERATION = 1; // 0x1 5587 field public static final java.lang.String EXTRA_ERROR_CODE = "android.media.intent.extra.ERROR_CODE"; 5588 field public static final java.lang.String EXTRA_ITEM_CONTENT_POSITION = "android.media.intent.extra.ITEM_POSITION"; 5589 field public static final java.lang.String EXTRA_ITEM_HTTP_HEADERS = "android.media.intent.extra.HTTP_HEADERS"; 5590 field public static final java.lang.String EXTRA_ITEM_ID = "android.media.intent.extra.ITEM_ID"; 5591 field public static final java.lang.String EXTRA_ITEM_METADATA = "android.media.intent.extra.ITEM_METADATA"; 5592 field public static final java.lang.String EXTRA_ITEM_STATUS = "android.media.intent.extra.ITEM_STATUS"; 5593 field public static final java.lang.String EXTRA_ITEM_STATUS_UPDATE_RECEIVER = "android.media.intent.extra.ITEM_STATUS_UPDATE_RECEIVER"; 5594 field public static final java.lang.String EXTRA_SESSION_ID = "android.media.intent.extra.SESSION_ID"; 5595 field public static final java.lang.String EXTRA_SESSION_STATUS = "android.media.intent.extra.SESSION_STATUS"; 5596 field public static final java.lang.String EXTRA_SESSION_STATUS_UPDATE_RECEIVER = "android.media.intent.extra.SESSION_STATUS_UPDATE_RECEIVER"; 5597 } 5598 5599 public final class MediaItemMetadata { 5600 field public static final java.lang.String KEY_ALBUM_ARTIST = "android.media.metadata.ALBUM_ARTIST"; 5601 field public static final java.lang.String KEY_ALBUM_TITLE = "android.media.metadata.ALBUM_TITLE"; 5602 field public static final java.lang.String KEY_ARTIST = "android.media.metadata.ARTIST"; 5603 field public static final java.lang.String KEY_ARTWORK_URI = "android.media.metadata.ARTWORK_URI"; 5604 field public static final java.lang.String KEY_AUTHOR = "android.media.metadata.AUTHOR"; 5605 field public static final java.lang.String KEY_COMPOSER = "android.media.metadata.COMPOSER"; 5606 field public static final java.lang.String KEY_DISC_NUMBER = "android.media.metadata.DISC_NUMBER"; 5607 field public static final java.lang.String KEY_DURATION = "android.media.metadata.DURATION"; 5608 field public static final java.lang.String KEY_TITLE = "android.media.metadata.TITLE"; 5609 field public static final java.lang.String KEY_TRACK_NUMBER = "android.media.metadata.TRACK_NUMBER"; 5610 field public static final java.lang.String KEY_YEAR = "android.media.metadata.YEAR"; 5611 } 5612 5613 public final class MediaItemStatus { 5614 method public android.os.Bundle asBundle(); 5615 method public static android.support.v7.media.MediaItemStatus fromBundle(android.os.Bundle); 5616 method public long getContentDuration(); 5617 method public long getContentPosition(); 5618 method public android.os.Bundle getExtras(); 5619 method public int getPlaybackState(); 5620 method public long getTimestamp(); 5621 field public static final java.lang.String EXTRA_HTTP_RESPONSE_HEADERS = "android.media.status.extra.HTTP_RESPONSE_HEADERS"; 5622 field public static final java.lang.String EXTRA_HTTP_STATUS_CODE = "android.media.status.extra.HTTP_STATUS_CODE"; 5623 field public static final int PLAYBACK_STATE_BUFFERING = 3; // 0x3 5624 field public static final int PLAYBACK_STATE_CANCELED = 5; // 0x5 5625 field public static final int PLAYBACK_STATE_ERROR = 7; // 0x7 5626 field public static final int PLAYBACK_STATE_FINISHED = 4; // 0x4 5627 field public static final int PLAYBACK_STATE_INVALIDATED = 6; // 0x6 5628 field public static final int PLAYBACK_STATE_PAUSED = 2; // 0x2 5629 field public static final int PLAYBACK_STATE_PENDING = 0; // 0x0 5630 field public static final int PLAYBACK_STATE_PLAYING = 1; // 0x1 5631 } 5632 5633 public static final class MediaItemStatus.Builder { 5634 ctor public MediaItemStatus.Builder(int); 5635 ctor public MediaItemStatus.Builder(android.support.v7.media.MediaItemStatus); 5636 method public android.support.v7.media.MediaItemStatus build(); 5637 method public android.support.v7.media.MediaItemStatus.Builder setContentDuration(long); 5638 method public android.support.v7.media.MediaItemStatus.Builder setContentPosition(long); 5639 method public android.support.v7.media.MediaItemStatus.Builder setExtras(android.os.Bundle); 5640 method public android.support.v7.media.MediaItemStatus.Builder setPlaybackState(int); 5641 method public android.support.v7.media.MediaItemStatus.Builder setTimestamp(long); 5642 } 5643 5644 public final class MediaRouteDescriptor { 5645 method public android.os.Bundle asBundle(); 5646 method public boolean canDisconnectAndKeepPlaying(); 5647 method public static android.support.v7.media.MediaRouteDescriptor fromBundle(android.os.Bundle); 5648 method public java.util.List<android.content.IntentFilter> getControlFilters(); 5649 method public java.lang.String getDescription(); 5650 method public android.os.Bundle getExtras(); 5651 method public java.lang.String getId(); 5652 method public java.lang.String getName(); 5653 method public int getPlaybackStream(); 5654 method public int getPlaybackType(); 5655 method public int getPresentationDisplayId(); 5656 method public android.content.IntentSender getSettingsActivity(); 5657 method public int getVolume(); 5658 method public int getVolumeHandling(); 5659 method public int getVolumeMax(); 5660 method public boolean isConnecting(); 5661 method public boolean isEnabled(); 5662 method public boolean isValid(); 5663 } 5664 5665 public static final class MediaRouteDescriptor.Builder { 5666 ctor public MediaRouteDescriptor.Builder(java.lang.String, java.lang.String); 5667 ctor public MediaRouteDescriptor.Builder(android.support.v7.media.MediaRouteDescriptor); 5668 method public android.support.v7.media.MediaRouteDescriptor.Builder addControlFilter(android.content.IntentFilter); 5669 method public android.support.v7.media.MediaRouteDescriptor.Builder addControlFilters(java.util.Collection<android.content.IntentFilter>); 5670 method public android.support.v7.media.MediaRouteDescriptor build(); 5671 method public android.support.v7.media.MediaRouteDescriptor.Builder setCanDisconnect(boolean); 5672 method public android.support.v7.media.MediaRouteDescriptor.Builder setConnecting(boolean); 5673 method public android.support.v7.media.MediaRouteDescriptor.Builder setDescription(java.lang.String); 5674 method public android.support.v7.media.MediaRouteDescriptor.Builder setEnabled(boolean); 5675 method public android.support.v7.media.MediaRouteDescriptor.Builder setExtras(android.os.Bundle); 5676 method public android.support.v7.media.MediaRouteDescriptor.Builder setId(java.lang.String); 5677 method public android.support.v7.media.MediaRouteDescriptor.Builder setName(java.lang.String); 5678 method public android.support.v7.media.MediaRouteDescriptor.Builder setPlaybackStream(int); 5679 method public android.support.v7.media.MediaRouteDescriptor.Builder setPlaybackType(int); 5680 method public android.support.v7.media.MediaRouteDescriptor.Builder setPresentationDisplayId(int); 5681 method public android.support.v7.media.MediaRouteDescriptor.Builder setSettingsActivity(android.content.IntentSender); 5682 method public android.support.v7.media.MediaRouteDescriptor.Builder setVolume(int); 5683 method public android.support.v7.media.MediaRouteDescriptor.Builder setVolumeHandling(int); 5684 method public android.support.v7.media.MediaRouteDescriptor.Builder setVolumeMax(int); 5685 } 5686 5687 public final class MediaRouteDiscoveryRequest { 5688 ctor public MediaRouteDiscoveryRequest(android.support.v7.media.MediaRouteSelector, boolean); 5689 method public android.os.Bundle asBundle(); 5690 method public static android.support.v7.media.MediaRouteDiscoveryRequest fromBundle(android.os.Bundle); 5691 method public android.support.v7.media.MediaRouteSelector getSelector(); 5692 method public boolean isActiveScan(); 5693 method public boolean isValid(); 5694 } 5695 5696 public abstract class MediaRouteProvider { 5697 ctor public MediaRouteProvider(android.content.Context); 5698 method public final android.content.Context getContext(); 5699 method public final android.support.v7.media.MediaRouteProviderDescriptor getDescriptor(); 5700 method public final android.support.v7.media.MediaRouteDiscoveryRequest getDiscoveryRequest(); 5701 method public final android.os.Handler getHandler(); 5702 method public final android.support.v7.media.MediaRouteProvider.ProviderMetadata getMetadata(); 5703 method public android.support.v7.media.MediaRouteProvider.RouteController onCreateRouteController(java.lang.String); 5704 method public void onDiscoveryRequestChanged(android.support.v7.media.MediaRouteDiscoveryRequest); 5705 method public final void setCallback(android.support.v7.media.MediaRouteProvider.Callback); 5706 method public final void setDescriptor(android.support.v7.media.MediaRouteProviderDescriptor); 5707 method public final void setDiscoveryRequest(android.support.v7.media.MediaRouteDiscoveryRequest); 5708 } 5709 5710 public static abstract class MediaRouteProvider.Callback { 5711 ctor public MediaRouteProvider.Callback(); 5712 method public void onDescriptorChanged(android.support.v7.media.MediaRouteProvider, android.support.v7.media.MediaRouteProviderDescriptor); 5713 } 5714 5715 public static final class MediaRouteProvider.ProviderMetadata { 5716 method public android.content.ComponentName getComponentName(); 5717 method public java.lang.String getPackageName(); 5718 } 5719 5720 public static abstract class MediaRouteProvider.RouteController { 5721 ctor public MediaRouteProvider.RouteController(); 5722 method public boolean onControlRequest(android.content.Intent, android.support.v7.media.MediaRouter.ControlRequestCallback); 5723 method public void onRelease(); 5724 method public void onSelect(); 5725 method public void onSetVolume(int); 5726 method public void onUnselect(); 5727 method public void onUnselect(int); 5728 method public void onUpdateVolume(int); 5729 } 5730 5731 public final class MediaRouteProviderDescriptor { 5732 method public android.os.Bundle asBundle(); 5733 method public static android.support.v7.media.MediaRouteProviderDescriptor fromBundle(android.os.Bundle); 5734 method public java.util.List<android.support.v7.media.MediaRouteDescriptor> getRoutes(); 5735 method public boolean isValid(); 5736 } 5737 5738 public static final class MediaRouteProviderDescriptor.Builder { 5739 ctor public MediaRouteProviderDescriptor.Builder(); 5740 ctor public MediaRouteProviderDescriptor.Builder(android.support.v7.media.MediaRouteProviderDescriptor); 5741 method public android.support.v7.media.MediaRouteProviderDescriptor.Builder addRoute(android.support.v7.media.MediaRouteDescriptor); 5742 method public android.support.v7.media.MediaRouteProviderDescriptor.Builder addRoutes(java.util.Collection<android.support.v7.media.MediaRouteDescriptor>); 5743 method public android.support.v7.media.MediaRouteProviderDescriptor build(); 5744 } 5745 5746 public abstract class MediaRouteProviderService extends android.app.Service { 5747 ctor public MediaRouteProviderService(); 5748 method public android.support.v7.media.MediaRouteProvider getMediaRouteProvider(); 5749 method public android.os.IBinder onBind(android.content.Intent); 5750 method public abstract android.support.v7.media.MediaRouteProvider onCreateMediaRouteProvider(); 5751 field public static final java.lang.String SERVICE_INTERFACE = "android.media.MediaRouteProviderService"; 5752 } 5753 5754 public final class MediaRouteSelector { 5755 method public android.os.Bundle asBundle(); 5756 method public boolean contains(android.support.v7.media.MediaRouteSelector); 5757 method public static android.support.v7.media.MediaRouteSelector fromBundle(android.os.Bundle); 5758 method public java.util.List<java.lang.String> getControlCategories(); 5759 method public boolean hasControlCategory(java.lang.String); 5760 method public boolean isEmpty(); 5761 method public boolean isValid(); 5762 method public boolean matchesControlFilters(java.util.List<android.content.IntentFilter>); 5763 field public static final android.support.v7.media.MediaRouteSelector EMPTY; 5764 } 5765 5766 public static final class MediaRouteSelector.Builder { 5767 ctor public MediaRouteSelector.Builder(); 5768 ctor public MediaRouteSelector.Builder(android.support.v7.media.MediaRouteSelector); 5769 method public android.support.v7.media.MediaRouteSelector.Builder addControlCategories(java.util.Collection<java.lang.String>); 5770 method public android.support.v7.media.MediaRouteSelector.Builder addControlCategory(java.lang.String); 5771 method public android.support.v7.media.MediaRouteSelector.Builder addSelector(android.support.v7.media.MediaRouteSelector); 5772 method public android.support.v7.media.MediaRouteSelector build(); 5773 } 5774 5775 public final class MediaRouter { 5776 method public void addCallback(android.support.v7.media.MediaRouteSelector, android.support.v7.media.MediaRouter.Callback); 5777 method public void addCallback(android.support.v7.media.MediaRouteSelector, android.support.v7.media.MediaRouter.Callback, int); 5778 method public void addProvider(android.support.v7.media.MediaRouteProvider); 5779 method public void addRemoteControlClient(java.lang.Object); 5780 method public android.support.v7.media.MediaRouter.RouteInfo getDefaultRoute(); 5781 method public static android.support.v7.media.MediaRouter getInstance(android.content.Context); 5782 method public android.support.v4.media.session.MediaSessionCompat.Token getMediaSessionToken(); 5783 method public java.util.List<android.support.v7.media.MediaRouter.ProviderInfo> getProviders(); 5784 method public java.util.List<android.support.v7.media.MediaRouter.RouteInfo> getRoutes(); 5785 method public android.support.v7.media.MediaRouter.RouteInfo getSelectedRoute(); 5786 method public boolean isRouteAvailable(android.support.v7.media.MediaRouteSelector, int); 5787 method public void removeCallback(android.support.v7.media.MediaRouter.Callback); 5788 method public void removeProvider(android.support.v7.media.MediaRouteProvider); 5789 method public void removeRemoteControlClient(java.lang.Object); 5790 method public void selectRoute(android.support.v7.media.MediaRouter.RouteInfo); 5791 method public void setMediaSession(java.lang.Object); 5792 method public void setMediaSessionCompat(android.support.v4.media.session.MediaSessionCompat); 5793 method public void unselect(int); 5794 method public android.support.v7.media.MediaRouter.RouteInfo updateSelectedRoute(android.support.v7.media.MediaRouteSelector); 5795 field public static final int AVAILABILITY_FLAG_IGNORE_DEFAULT_ROUTE = 1; // 0x1 5796 field public static final int AVAILABILITY_FLAG_REQUIRE_MATCH = 2; // 0x2 5797 field public static final int CALLBACK_FLAG_FORCE_DISCOVERY = 8; // 0x8 5798 field public static final int CALLBACK_FLAG_PERFORM_ACTIVE_SCAN = 1; // 0x1 5799 field public static final int CALLBACK_FLAG_REQUEST_DISCOVERY = 4; // 0x4 5800 field public static final int CALLBACK_FLAG_UNFILTERED_EVENTS = 2; // 0x2 5801 field public static final int UNSELECT_REASON_DISCONNECTED = 1; // 0x1 5802 field public static final int UNSELECT_REASON_ROUTE_CHANGED = 3; // 0x3 5803 field public static final int UNSELECT_REASON_STOPPED = 2; // 0x2 5804 field public static final int UNSELECT_REASON_UNKNOWN = 0; // 0x0 5805 } 5806 5807 public static abstract class MediaRouter.Callback { 5808 ctor public MediaRouter.Callback(); 5809 method public void onProviderAdded(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.ProviderInfo); 5810 method public void onProviderChanged(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.ProviderInfo); 5811 method public void onProviderRemoved(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.ProviderInfo); 5812 method public void onRouteAdded(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo); 5813 method public void onRouteChanged(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo); 5814 method public void onRoutePresentationDisplayChanged(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo); 5815 method public void onRouteRemoved(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo); 5816 method public void onRouteSelected(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo); 5817 method public void onRouteUnselected(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo); 5818 method public void onRouteVolumeChanged(android.support.v7.media.MediaRouter, android.support.v7.media.MediaRouter.RouteInfo); 5819 } 5820 5821 public static abstract class MediaRouter.ControlRequestCallback { 5822 ctor public MediaRouter.ControlRequestCallback(); 5823 method public void onError(java.lang.String, android.os.Bundle); 5824 method public void onResult(android.os.Bundle); 5825 } 5826 5827 public static final class MediaRouter.ProviderInfo { 5828 method public android.content.ComponentName getComponentName(); 5829 method public java.lang.String getPackageName(); 5830 method public android.support.v7.media.MediaRouteProvider getProviderInstance(); 5831 method public java.util.List<android.support.v7.media.MediaRouter.RouteInfo> getRoutes(); 5832 } 5833 5834 public static final class MediaRouter.RouteInfo { 5835 method public boolean canDisconnect(); 5836 method public java.util.List<android.content.IntentFilter> getControlFilters(); 5837 method public java.lang.String getDescription(); 5838 method public android.os.Bundle getExtras(); 5839 method public java.lang.String getId(); 5840 method public java.lang.String getName(); 5841 method public int getPlaybackStream(); 5842 method public int getPlaybackType(); 5843 method public android.view.Display getPresentationDisplay(); 5844 method public android.support.v7.media.MediaRouter.ProviderInfo getProvider(); 5845 method public android.content.IntentSender getSettingsIntent(); 5846 method public int getVolume(); 5847 method public int getVolumeHandling(); 5848 method public int getVolumeMax(); 5849 method public boolean isConnecting(); 5850 method public boolean isDefault(); 5851 method public boolean isEnabled(); 5852 method public boolean isSelected(); 5853 method public boolean matchesSelector(android.support.v7.media.MediaRouteSelector); 5854 method public void requestSetVolume(int); 5855 method public void requestUpdateVolume(int); 5856 method public void select(); 5857 method public void sendControlRequest(android.content.Intent, android.support.v7.media.MediaRouter.ControlRequestCallback); 5858 method public boolean supportsControlAction(java.lang.String, java.lang.String); 5859 method public boolean supportsControlCategory(java.lang.String); 5860 method public boolean supportsControlRequest(android.content.Intent); 5861 field public static final int PLAYBACK_TYPE_LOCAL = 0; // 0x0 5862 field public static final int PLAYBACK_TYPE_REMOTE = 1; // 0x1 5863 field public static final int PLAYBACK_VOLUME_FIXED = 0; // 0x0 5864 field public static final int PLAYBACK_VOLUME_VARIABLE = 1; // 0x1 5865 } 5866 5867 public final class MediaSessionStatus { 5868 method public android.os.Bundle asBundle(); 5869 method public static android.support.v7.media.MediaSessionStatus fromBundle(android.os.Bundle); 5870 method public android.os.Bundle getExtras(); 5871 method public int getSessionState(); 5872 method public long getTimestamp(); 5873 method public boolean isQueuePaused(); 5874 field public static final int SESSION_STATE_ACTIVE = 0; // 0x0 5875 field public static final int SESSION_STATE_ENDED = 1; // 0x1 5876 field public static final int SESSION_STATE_INVALIDATED = 2; // 0x2 5877 } 5878 5879 public static final class MediaSessionStatus.Builder { 5880 ctor public MediaSessionStatus.Builder(int); 5881 ctor public MediaSessionStatus.Builder(android.support.v7.media.MediaSessionStatus); 5882 method public android.support.v7.media.MediaSessionStatus build(); 5883 method public android.support.v7.media.MediaSessionStatus.Builder setExtras(android.os.Bundle); 5884 method public android.support.v7.media.MediaSessionStatus.Builder setQueuePaused(boolean); 5885 method public android.support.v7.media.MediaSessionStatus.Builder setSessionState(int); 5886 method public android.support.v7.media.MediaSessionStatus.Builder setTimestamp(long); 5887 } 5888 5889 public class RemotePlaybackClient { 5890 ctor public RemotePlaybackClient(android.content.Context, android.support.v7.media.MediaRouter.RouteInfo); 5891 method public void endSession(android.os.Bundle, android.support.v7.media.RemotePlaybackClient.SessionActionCallback); 5892 method public void enqueue(android.net.Uri, java.lang.String, android.os.Bundle, long, android.os.Bundle, android.support.v7.media.RemotePlaybackClient.ItemActionCallback); 5893 method public java.lang.String getSessionId(); 5894 method public void getSessionStatus(android.os.Bundle, android.support.v7.media.RemotePlaybackClient.SessionActionCallback); 5895 method public void getStatus(java.lang.String, android.os.Bundle, android.support.v7.media.RemotePlaybackClient.ItemActionCallback); 5896 method public boolean hasSession(); 5897 method public boolean isQueuingSupported(); 5898 method public boolean isRemotePlaybackSupported(); 5899 method public boolean isSessionManagementSupported(); 5900 method public void pause(android.os.Bundle, android.support.v7.media.RemotePlaybackClient.SessionActionCallback); 5901 method public void play(android.net.Uri, java.lang.String, android.os.Bundle, long, android.os.Bundle, android.support.v7.media.RemotePlaybackClient.ItemActionCallback); 5902 method public void release(); 5903 method public void remove(java.lang.String, android.os.Bundle, android.support.v7.media.RemotePlaybackClient.ItemActionCallback); 5904 method public void resume(android.os.Bundle, android.support.v7.media.RemotePlaybackClient.SessionActionCallback); 5905 method public void seek(java.lang.String, long, android.os.Bundle, android.support.v7.media.RemotePlaybackClient.ItemActionCallback); 5906 method public void setSessionId(java.lang.String); 5907 method public void setStatusCallback(android.support.v7.media.RemotePlaybackClient.StatusCallback); 5908 method public void startSession(android.os.Bundle, android.support.v7.media.RemotePlaybackClient.SessionActionCallback); 5909 method public void stop(android.os.Bundle, android.support.v7.media.RemotePlaybackClient.SessionActionCallback); 5910 } 5911 5912 public static abstract class RemotePlaybackClient.ActionCallback { 5913 ctor public RemotePlaybackClient.ActionCallback(); 5914 method public void onError(java.lang.String, int, android.os.Bundle); 5915 } 5916 5917 public static abstract class RemotePlaybackClient.ItemActionCallback extends android.support.v7.media.RemotePlaybackClient.ActionCallback { 5918 ctor public RemotePlaybackClient.ItemActionCallback(); 5919 method public void onResult(android.os.Bundle, java.lang.String, android.support.v7.media.MediaSessionStatus, java.lang.String, android.support.v7.media.MediaItemStatus); 5920 } 5921 5922 public static abstract class RemotePlaybackClient.SessionActionCallback extends android.support.v7.media.RemotePlaybackClient.ActionCallback { 5923 ctor public RemotePlaybackClient.SessionActionCallback(); 5924 method public void onResult(android.os.Bundle, java.lang.String, android.support.v7.media.MediaSessionStatus); 5925 } 5926 5927 public static abstract class RemotePlaybackClient.StatusCallback { 5928 ctor public RemotePlaybackClient.StatusCallback(); 5929 method public void onItemStatusChanged(android.os.Bundle, java.lang.String, android.support.v7.media.MediaSessionStatus, java.lang.String, android.support.v7.media.MediaItemStatus); 5930 method public void onSessionChanged(java.lang.String); 5931 method public void onSessionStatusChanged(android.os.Bundle, java.lang.String, android.support.v7.media.MediaSessionStatus); 5932 } 5933 5934} 5935 5936package android.support.v7.graphics { 5937 5938 public final class Palette { 5939 method public static android.support.v7.graphics.Palette.Builder from(android.graphics.Bitmap); 5940 method public static android.support.v7.graphics.Palette from(java.util.List<android.support.v7.graphics.Palette.Swatch>); 5941 method public static deprecated android.support.v7.graphics.Palette generate(android.graphics.Bitmap); 5942 method public static deprecated android.support.v7.graphics.Palette generate(android.graphics.Bitmap, int); 5943 method public static deprecated android.os.AsyncTask<android.graphics.Bitmap, java.lang.Void, android.support.v7.graphics.Palette> generateAsync(android.graphics.Bitmap, android.support.v7.graphics.Palette.PaletteAsyncListener); 5944 method public static deprecated android.os.AsyncTask<android.graphics.Bitmap, java.lang.Void, android.support.v7.graphics.Palette> generateAsync(android.graphics.Bitmap, int, android.support.v7.graphics.Palette.PaletteAsyncListener); 5945 method public int getDarkMutedColor(int); 5946 method public android.support.v7.graphics.Palette.Swatch getDarkMutedSwatch(); 5947 method public int getDarkVibrantColor(int); 5948 method public android.support.v7.graphics.Palette.Swatch getDarkVibrantSwatch(); 5949 method public int getLightMutedColor(int); 5950 method public android.support.v7.graphics.Palette.Swatch getLightMutedSwatch(); 5951 method public int getLightVibrantColor(int); 5952 method public android.support.v7.graphics.Palette.Swatch getLightVibrantSwatch(); 5953 method public int getMutedColor(int); 5954 method public android.support.v7.graphics.Palette.Swatch getMutedSwatch(); 5955 method public java.util.List<android.support.v7.graphics.Palette.Swatch> getSwatches(); 5956 method public int getVibrantColor(int); 5957 method public android.support.v7.graphics.Palette.Swatch getVibrantSwatch(); 5958 } 5959 5960 public static final class Palette.Builder { 5961 ctor public Palette.Builder(android.graphics.Bitmap); 5962 ctor public Palette.Builder(java.util.List<android.support.v7.graphics.Palette.Swatch>); 5963 method public android.support.v7.graphics.Palette generate(); 5964 method public android.os.AsyncTask<android.graphics.Bitmap, java.lang.Void, android.support.v7.graphics.Palette> generate(android.support.v7.graphics.Palette.PaletteAsyncListener); 5965 method public android.support.v7.graphics.Palette.Builder maximumColorCount(int); 5966 method public android.support.v7.graphics.Palette.Builder resizeBitmapSize(int); 5967 } 5968 5969 public static abstract interface Palette.PaletteAsyncListener { 5970 method public abstract void onGenerated(android.support.v7.graphics.Palette); 5971 } 5972 5973 public static final class Palette.Swatch { 5974 ctor public Palette.Swatch(int, int); 5975 method public int getBodyTextColor(); 5976 method public float[] getHsl(); 5977 method public int getPopulation(); 5978 method public int getRgb(); 5979 method public int getTitleTextColor(); 5980 } 5981 5982} 5983 5984package android.support.v7.util { 5985 5986 public class SortedList { 5987 ctor public SortedList(java.lang.Class<T>, android.support.v7.util.SortedList.Callback<T>); 5988 ctor public SortedList(java.lang.Class<T>, android.support.v7.util.SortedList.Callback<T>, int); 5989 method public int add(T); 5990 method public void beginBatchedUpdates(); 5991 method public void endBatchedUpdates(); 5992 method public T get(int) throws java.lang.IndexOutOfBoundsException; 5993 method public int indexOf(T); 5994 method public void recalculatePositionOfItemAt(int); 5995 method public boolean remove(T); 5996 method public T removeItemAt(int); 5997 method public int size(); 5998 method public void updateItemAt(int, T); 5999 field public static final int INVALID_POSITION = -1; // 0xffffffff 6000 } 6001 6002 public static class SortedList.BatchedCallback extends android.support.v7.util.SortedList.Callback { 6003 ctor public SortedList.BatchedCallback(android.support.v7.util.SortedList.Callback<T2>); 6004 method public boolean areContentsTheSame(T2, T2); 6005 method public boolean areItemsTheSame(T2, T2); 6006 method public int compare(T2, T2); 6007 method public void dispatchLastEvent(); 6008 method public void onChanged(int, int); 6009 method public void onInserted(int, int); 6010 method public void onMoved(int, int); 6011 method public void onRemoved(int, int); 6012 } 6013 6014 public static abstract class SortedList.Callback { 6015 ctor public SortedList.Callback(); 6016 method public abstract boolean areContentsTheSame(T2, T2); 6017 method public abstract boolean areItemsTheSame(T2, T2); 6018 method public abstract int compare(T2, T2); 6019 method public abstract void onChanged(int, int); 6020 method public abstract void onInserted(int, int); 6021 method public abstract void onMoved(int, int); 6022 method public abstract void onRemoved(int, int); 6023 } 6024 6025} 6026 6027package android.support.v7.widget { 6028 6029 public class DefaultItemAnimator extends android.support.v7.widget.RecyclerView.ItemAnimator { 6030 ctor public DefaultItemAnimator(); 6031 method public boolean animateAdd(android.support.v7.widget.RecyclerView.ViewHolder); 6032 method public boolean animateChange(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int); 6033 method public boolean animateMove(android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int); 6034 method public boolean animateRemove(android.support.v7.widget.RecyclerView.ViewHolder); 6035 method public void endAnimation(android.support.v7.widget.RecyclerView.ViewHolder); 6036 method public void endAnimations(); 6037 method public boolean isRunning(); 6038 method public void runPendingAnimations(); 6039 } 6040 6041 public class GridLayoutManager extends android.support.v7.widget.LinearLayoutManager { 6042 ctor public GridLayoutManager(android.content.Context, int); 6043 ctor public GridLayoutManager(android.content.Context, int, int, boolean); 6044 method public int getSpanCount(); 6045 method public android.support.v7.widget.GridLayoutManager.SpanSizeLookup getSpanSizeLookup(); 6046 method public void setSpanCount(int); 6047 method public void setSpanSizeLookup(android.support.v7.widget.GridLayoutManager.SpanSizeLookup); 6048 field public static final int DEFAULT_SPAN_COUNT = -1; // 0xffffffff 6049 } 6050 6051 public static final class GridLayoutManager.DefaultSpanSizeLookup extends android.support.v7.widget.GridLayoutManager.SpanSizeLookup { 6052 ctor public GridLayoutManager.DefaultSpanSizeLookup(); 6053 method public int getSpanSize(int); 6054 } 6055 6056 public static class GridLayoutManager.LayoutParams extends android.support.v7.widget.RecyclerView.LayoutParams { 6057 ctor public GridLayoutManager.LayoutParams(android.content.Context, android.util.AttributeSet); 6058 ctor public GridLayoutManager.LayoutParams(int, int); 6059 ctor public GridLayoutManager.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 6060 ctor public GridLayoutManager.LayoutParams(android.view.ViewGroup.LayoutParams); 6061 ctor public GridLayoutManager.LayoutParams(android.support.v7.widget.RecyclerView.LayoutParams); 6062 method public int getSpanIndex(); 6063 method public int getSpanSize(); 6064 field public static final int INVALID_SPAN_ID = -1; // 0xffffffff 6065 } 6066 6067 public static abstract class GridLayoutManager.SpanSizeLookup { 6068 ctor public GridLayoutManager.SpanSizeLookup(); 6069 method public int getSpanGroupIndex(int, int); 6070 method public int getSpanIndex(int, int); 6071 method public abstract int getSpanSize(int); 6072 method public void invalidateSpanIndexCache(); 6073 method public boolean isSpanIndexCacheEnabled(); 6074 method public void setSpanIndexCacheEnabled(boolean); 6075 } 6076 6077 public class LinearLayoutManager extends android.support.v7.widget.RecyclerView.LayoutManager { 6078 ctor public LinearLayoutManager(android.content.Context); 6079 ctor public LinearLayoutManager(android.content.Context, int, boolean); 6080 method public android.graphics.PointF computeScrollVectorForPosition(int); 6081 method public int findFirstCompletelyVisibleItemPosition(); 6082 method public int findFirstVisibleItemPosition(); 6083 method public int findLastCompletelyVisibleItemPosition(); 6084 method public int findLastVisibleItemPosition(); 6085 method public android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams(); 6086 method protected int getExtraLayoutSpace(android.support.v7.widget.RecyclerView.State); 6087 method public int getOrientation(); 6088 method public boolean getRecycleChildrenOnDetach(); 6089 method public boolean getReverseLayout(); 6090 method public boolean getStackFromEnd(); 6091 method protected boolean isLayoutRTL(); 6092 method public boolean isSmoothScrollbarEnabled(); 6093 method public void scrollToPositionWithOffset(int, int); 6094 method public void setOrientation(int); 6095 method public void setRecycleChildrenOnDetach(boolean); 6096 method public void setReverseLayout(boolean); 6097 method public void setSmoothScrollbarEnabled(boolean); 6098 method public void setStackFromEnd(boolean); 6099 field public static final int HORIZONTAL = 0; // 0x0 6100 field public static final int INVALID_OFFSET = -2147483648; // 0x80000000 6101 field public static final int VERTICAL = 1; // 0x1 6102 } 6103 6104 protected static class LinearLayoutManager.LayoutChunkResult { 6105 ctor protected LinearLayoutManager.LayoutChunkResult(); 6106 field public int mConsumed; 6107 field public boolean mFinished; 6108 field public boolean mFocusable; 6109 field public boolean mIgnoreConsumed; 6110 } 6111 6112 public abstract class LinearSmoothScroller extends android.support.v7.widget.RecyclerView.SmoothScroller { 6113 ctor public LinearSmoothScroller(android.content.Context); 6114 method public int calculateDtToFit(int, int, int, int, int); 6115 method public int calculateDxToMakeVisible(android.view.View, int); 6116 method public int calculateDyToMakeVisible(android.view.View, int); 6117 method protected float calculateSpeedPerPixel(android.util.DisplayMetrics); 6118 method protected int calculateTimeForDeceleration(int); 6119 method protected int calculateTimeForScrolling(int); 6120 method public abstract android.graphics.PointF computeScrollVectorForPosition(int); 6121 method protected int getHorizontalSnapPreference(); 6122 method protected int getVerticalSnapPreference(); 6123 method protected void onSeekTargetStep(int, int, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action); 6124 method protected void onStart(); 6125 method protected void onStop(); 6126 method protected void onTargetFound(android.view.View, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action); 6127 method protected void updateActionForInterimTarget(android.support.v7.widget.RecyclerView.SmoothScroller.Action); 6128 field public static final int SNAP_TO_ANY = 0; // 0x0 6129 field public static final int SNAP_TO_END = 1; // 0x1 6130 field public static final int SNAP_TO_START = -1; // 0xffffffff 6131 field protected final android.view.animation.DecelerateInterpolator mDecelerateInterpolator; 6132 field protected int mInterimTargetDx; 6133 field protected int mInterimTargetDy; 6134 field protected final android.view.animation.LinearInterpolator mLinearInterpolator; 6135 field protected android.graphics.PointF mTargetVector; 6136 } 6137 6138 public abstract class OrientationHelper { 6139 method public static android.support.v7.widget.OrientationHelper createHorizontalHelper(android.support.v7.widget.RecyclerView.LayoutManager); 6140 method public static android.support.v7.widget.OrientationHelper createOrientationHelper(android.support.v7.widget.RecyclerView.LayoutManager, int); 6141 method public static android.support.v7.widget.OrientationHelper createVerticalHelper(android.support.v7.widget.RecyclerView.LayoutManager); 6142 method public abstract int getDecoratedEnd(android.view.View); 6143 method public abstract int getDecoratedMeasurement(android.view.View); 6144 method public abstract int getDecoratedMeasurementInOther(android.view.View); 6145 method public abstract int getDecoratedStart(android.view.View); 6146 method public abstract int getEnd(); 6147 method public abstract int getEndAfterPadding(); 6148 method public abstract int getEndPadding(); 6149 method public abstract int getStartAfterPadding(); 6150 method public abstract int getTotalSpace(); 6151 method public int getTotalSpaceChange(); 6152 method public abstract void offsetChild(android.view.View, int); 6153 method public abstract void offsetChildren(int); 6154 method public void onLayoutComplete(); 6155 field public static final int HORIZONTAL = 0; // 0x0 6156 field public static final int VERTICAL = 1; // 0x1 6157 field protected final android.support.v7.widget.RecyclerView.LayoutManager mLayoutManager; 6158 } 6159 6160 public class RecyclerView extends android.view.ViewGroup { 6161 ctor public RecyclerView(android.content.Context); 6162 ctor public RecyclerView(android.content.Context, android.util.AttributeSet); 6163 ctor public RecyclerView(android.content.Context, android.util.AttributeSet, int); 6164 method public void addItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration, int); 6165 method public void addItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration); 6166 method public void addOnItemTouchListener(android.support.v7.widget.RecyclerView.OnItemTouchListener); 6167 method public void addOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener); 6168 method public void clearOnScrollListeners(); 6169 method public int computeHorizontalScrollExtent(); 6170 method public int computeHorizontalScrollOffset(); 6171 method public int computeHorizontalScrollRange(); 6172 method public int computeVerticalScrollExtent(); 6173 method public int computeVerticalScrollOffset(); 6174 method public int computeVerticalScrollRange(); 6175 method public android.view.View findChildViewUnder(float, float); 6176 method public android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForAdapterPosition(int); 6177 method public android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForItemId(long); 6178 method public android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForLayoutPosition(int); 6179 method public deprecated android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForPosition(int); 6180 method public boolean fling(int, int); 6181 method public android.support.v7.widget.RecyclerView.Adapter getAdapter(); 6182 method public int getChildAdapterPosition(android.view.View); 6183 method public long getChildItemId(android.view.View); 6184 method public int getChildLayoutPosition(android.view.View); 6185 method public deprecated int getChildPosition(android.view.View); 6186 method public android.support.v7.widget.RecyclerView.ViewHolder getChildViewHolder(android.view.View); 6187 method public android.support.v7.widget.RecyclerViewAccessibilityDelegate getCompatAccessibilityDelegate(); 6188 method public android.support.v7.widget.RecyclerView.ItemAnimator getItemAnimator(); 6189 method public android.support.v7.widget.RecyclerView.LayoutManager getLayoutManager(); 6190 method public android.support.v7.widget.RecyclerView.RecycledViewPool getRecycledViewPool(); 6191 method public int getScrollState(); 6192 method public boolean hasFixedSize(); 6193 method public boolean hasPendingAdapterUpdates(); 6194 method public void invalidateItemDecorations(); 6195 method public void offsetChildrenHorizontal(int); 6196 method public void offsetChildrenVertical(int); 6197 method public void onChildAttachedToWindow(android.view.View); 6198 method public void onChildDetachedFromWindow(android.view.View); 6199 method public void onDraw(android.graphics.Canvas); 6200 method protected void onLayout(boolean, int, int, int, int); 6201 method public void onScrollStateChanged(int); 6202 method public void onScrolled(int, int); 6203 method public void removeItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration); 6204 method public void removeOnItemTouchListener(android.support.v7.widget.RecyclerView.OnItemTouchListener); 6205 method public void removeOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener); 6206 method public void scrollToPosition(int); 6207 method public void setAccessibilityDelegateCompat(android.support.v7.widget.RecyclerViewAccessibilityDelegate); 6208 method public void setAdapter(android.support.v7.widget.RecyclerView.Adapter); 6209 method public void setHasFixedSize(boolean); 6210 method public void setItemAnimator(android.support.v7.widget.RecyclerView.ItemAnimator); 6211 method public void setItemViewCacheSize(int); 6212 method public void setLayoutManager(android.support.v7.widget.RecyclerView.LayoutManager); 6213 method public deprecated void setOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener); 6214 method public void setRecycledViewPool(android.support.v7.widget.RecyclerView.RecycledViewPool); 6215 method public void setRecyclerListener(android.support.v7.widget.RecyclerView.RecyclerListener); 6216 method public void setScrollingTouchSlop(int); 6217 method public void setViewCacheExtension(android.support.v7.widget.RecyclerView.ViewCacheExtension); 6218 method public void smoothScrollBy(int, int); 6219 method public void smoothScrollToPosition(int); 6220 method public void stopScroll(); 6221 method public void swapAdapter(android.support.v7.widget.RecyclerView.Adapter, boolean); 6222 field public static final int HORIZONTAL = 0; // 0x0 6223 field public static final int INVALID_TYPE = -1; // 0xffffffff 6224 field public static final long NO_ID = -1L; // 0xffffffffffffffffL 6225 field public static final int NO_POSITION = -1; // 0xffffffff 6226 field public static final int SCROLL_STATE_DRAGGING = 1; // 0x1 6227 field public static final int SCROLL_STATE_IDLE = 0; // 0x0 6228 field public static final int SCROLL_STATE_SETTLING = 2; // 0x2 6229 field public static final int TOUCH_SLOP_DEFAULT = 0; // 0x0 6230 field public static final int TOUCH_SLOP_PAGING = 1; // 0x1 6231 field public static final int VERTICAL = 1; // 0x1 6232 } 6233 6234 public static abstract class RecyclerView.Adapter { 6235 ctor public RecyclerView.Adapter(); 6236 method public final void bindViewHolder(VH, int); 6237 method public final VH createViewHolder(android.view.ViewGroup, int); 6238 method public abstract int getItemCount(); 6239 method public long getItemId(int); 6240 method public int getItemViewType(int); 6241 method public final boolean hasObservers(); 6242 method public final boolean hasStableIds(); 6243 method public final void notifyDataSetChanged(); 6244 method public final void notifyItemChanged(int); 6245 method public final void notifyItemInserted(int); 6246 method public final void notifyItemMoved(int, int); 6247 method public final void notifyItemRangeChanged(int, int); 6248 method public final void notifyItemRangeInserted(int, int); 6249 method public final void notifyItemRangeRemoved(int, int); 6250 method public final void notifyItemRemoved(int); 6251 method public void onAttachedToRecyclerView(android.support.v7.widget.RecyclerView); 6252 method public abstract void onBindViewHolder(VH, int); 6253 method public abstract VH onCreateViewHolder(android.view.ViewGroup, int); 6254 method public void onDetachedFromRecyclerView(android.support.v7.widget.RecyclerView); 6255 method public boolean onFailedToRecycleView(VH); 6256 method public void onViewAttachedToWindow(VH); 6257 method public void onViewDetachedFromWindow(VH); 6258 method public void onViewRecycled(VH); 6259 method public void registerAdapterDataObserver(android.support.v7.widget.RecyclerView.AdapterDataObserver); 6260 method public void setHasStableIds(boolean); 6261 method public void unregisterAdapterDataObserver(android.support.v7.widget.RecyclerView.AdapterDataObserver); 6262 } 6263 6264 public static abstract class RecyclerView.AdapterDataObserver { 6265 ctor public RecyclerView.AdapterDataObserver(); 6266 method public void onChanged(); 6267 method public void onItemRangeChanged(int, int); 6268 method public void onItemRangeInserted(int, int); 6269 method public void onItemRangeMoved(int, int, int); 6270 method public void onItemRangeRemoved(int, int); 6271 } 6272 6273 public static abstract class RecyclerView.ItemAnimator { 6274 ctor public RecyclerView.ItemAnimator(); 6275 method public abstract boolean animateAdd(android.support.v7.widget.RecyclerView.ViewHolder); 6276 method public abstract boolean animateChange(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int); 6277 method public abstract boolean animateMove(android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int); 6278 method public abstract boolean animateRemove(android.support.v7.widget.RecyclerView.ViewHolder); 6279 method public final void dispatchAddFinished(android.support.v7.widget.RecyclerView.ViewHolder); 6280 method public final void dispatchAddStarting(android.support.v7.widget.RecyclerView.ViewHolder); 6281 method public final void dispatchAnimationsFinished(); 6282 method public final void dispatchChangeFinished(android.support.v7.widget.RecyclerView.ViewHolder, boolean); 6283 method public final void dispatchChangeStarting(android.support.v7.widget.RecyclerView.ViewHolder, boolean); 6284 method public final void dispatchMoveFinished(android.support.v7.widget.RecyclerView.ViewHolder); 6285 method public final void dispatchMoveStarting(android.support.v7.widget.RecyclerView.ViewHolder); 6286 method public final void dispatchRemoveFinished(android.support.v7.widget.RecyclerView.ViewHolder); 6287 method public final void dispatchRemoveStarting(android.support.v7.widget.RecyclerView.ViewHolder); 6288 method public abstract void endAnimation(android.support.v7.widget.RecyclerView.ViewHolder); 6289 method public abstract void endAnimations(); 6290 method public long getAddDuration(); 6291 method public long getChangeDuration(); 6292 method public long getMoveDuration(); 6293 method public long getRemoveDuration(); 6294 method public boolean getSupportsChangeAnimations(); 6295 method public abstract boolean isRunning(); 6296 method public final boolean isRunning(android.support.v7.widget.RecyclerView.ItemAnimator.ItemAnimatorFinishedListener); 6297 method public void onAddFinished(android.support.v7.widget.RecyclerView.ViewHolder); 6298 method public void onAddStarting(android.support.v7.widget.RecyclerView.ViewHolder); 6299 method public void onChangeFinished(android.support.v7.widget.RecyclerView.ViewHolder, boolean); 6300 method public void onChangeStarting(android.support.v7.widget.RecyclerView.ViewHolder, boolean); 6301 method public void onMoveFinished(android.support.v7.widget.RecyclerView.ViewHolder); 6302 method public void onMoveStarting(android.support.v7.widget.RecyclerView.ViewHolder); 6303 method public void onRemoveFinished(android.support.v7.widget.RecyclerView.ViewHolder); 6304 method public void onRemoveStarting(android.support.v7.widget.RecyclerView.ViewHolder); 6305 method public abstract void runPendingAnimations(); 6306 method public void setAddDuration(long); 6307 method public void setChangeDuration(long); 6308 method public void setMoveDuration(long); 6309 method public void setRemoveDuration(long); 6310 method public void setSupportsChangeAnimations(boolean); 6311 } 6312 6313 public static abstract interface RecyclerView.ItemAnimator.ItemAnimatorFinishedListener { 6314 method public abstract void onAnimationsFinished(); 6315 } 6316 6317 public static abstract class RecyclerView.ItemDecoration { 6318 ctor public RecyclerView.ItemDecoration(); 6319 method public deprecated void getItemOffsets(android.graphics.Rect, int, android.support.v7.widget.RecyclerView); 6320 method public void getItemOffsets(android.graphics.Rect, android.view.View, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State); 6321 method public void onDraw(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State); 6322 method public deprecated void onDraw(android.graphics.Canvas, android.support.v7.widget.RecyclerView); 6323 method public void onDrawOver(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State); 6324 method public deprecated void onDrawOver(android.graphics.Canvas, android.support.v7.widget.RecyclerView); 6325 } 6326 6327 public static abstract class RecyclerView.LayoutManager { 6328 ctor public RecyclerView.LayoutManager(); 6329 method public void addDisappearingView(android.view.View); 6330 method public void addDisappearingView(android.view.View, int); 6331 method public void addView(android.view.View); 6332 method public void addView(android.view.View, int); 6333 method public void assertInLayoutOrScroll(java.lang.String); 6334 method public void assertNotInLayoutOrScroll(java.lang.String); 6335 method public void attachView(android.view.View, int, android.support.v7.widget.RecyclerView.LayoutParams); 6336 method public void attachView(android.view.View, int); 6337 method public void attachView(android.view.View); 6338 method public void calculateItemDecorationsForChild(android.view.View, android.graphics.Rect); 6339 method public boolean canScrollHorizontally(); 6340 method public boolean canScrollVertically(); 6341 method public boolean checkLayoutParams(android.support.v7.widget.RecyclerView.LayoutParams); 6342 method public int computeHorizontalScrollExtent(android.support.v7.widget.RecyclerView.State); 6343 method public int computeHorizontalScrollOffset(android.support.v7.widget.RecyclerView.State); 6344 method public int computeHorizontalScrollRange(android.support.v7.widget.RecyclerView.State); 6345 method public int computeVerticalScrollExtent(android.support.v7.widget.RecyclerView.State); 6346 method public int computeVerticalScrollOffset(android.support.v7.widget.RecyclerView.State); 6347 method public int computeVerticalScrollRange(android.support.v7.widget.RecyclerView.State); 6348 method public void detachAndScrapAttachedViews(android.support.v7.widget.RecyclerView.Recycler); 6349 method public void detachAndScrapView(android.view.View, android.support.v7.widget.RecyclerView.Recycler); 6350 method public void detachAndScrapViewAt(int, android.support.v7.widget.RecyclerView.Recycler); 6351 method public void detachView(android.view.View); 6352 method public void detachViewAt(int); 6353 method public void endAnimation(android.view.View); 6354 method public android.view.View findViewByPosition(int); 6355 method public abstract android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams(); 6356 method public android.support.v7.widget.RecyclerView.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams); 6357 method public android.support.v7.widget.RecyclerView.LayoutParams generateLayoutParams(android.content.Context, android.util.AttributeSet); 6358 method public int getBaseline(); 6359 method public int getBottomDecorationHeight(android.view.View); 6360 method public android.view.View getChildAt(int); 6361 method public int getChildCount(); 6362 method public static int getChildMeasureSpec(int, int, int, boolean); 6363 method public boolean getClipToPadding(); 6364 method public int getColumnCountForAccessibility(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 6365 method public int getDecoratedBottom(android.view.View); 6366 method public int getDecoratedLeft(android.view.View); 6367 method public int getDecoratedMeasuredHeight(android.view.View); 6368 method public int getDecoratedMeasuredWidth(android.view.View); 6369 method public int getDecoratedRight(android.view.View); 6370 method public int getDecoratedTop(android.view.View); 6371 method public android.view.View getFocusedChild(); 6372 method public int getHeight(); 6373 method public int getItemCount(); 6374 method public int getItemViewType(android.view.View); 6375 method public int getLayoutDirection(); 6376 method public int getLeftDecorationWidth(android.view.View); 6377 method public int getMinimumHeight(); 6378 method public int getMinimumWidth(); 6379 method public int getPaddingBottom(); 6380 method public int getPaddingEnd(); 6381 method public int getPaddingLeft(); 6382 method public int getPaddingRight(); 6383 method public int getPaddingStart(); 6384 method public int getPaddingTop(); 6385 method public int getPosition(android.view.View); 6386 method public int getRightDecorationWidth(android.view.View); 6387 method public int getRowCountForAccessibility(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 6388 method public int getSelectionModeForAccessibility(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 6389 method public int getTopDecorationHeight(android.view.View); 6390 method public int getWidth(); 6391 method public boolean hasFocus(); 6392 method public void ignoreView(android.view.View); 6393 method public boolean isAttachedToWindow(); 6394 method public boolean isFocused(); 6395 method public boolean isLayoutHierarchical(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 6396 method public boolean isSmoothScrolling(); 6397 method public void layoutDecorated(android.view.View, int, int, int, int); 6398 method public void measureChild(android.view.View, int, int); 6399 method public void measureChildWithMargins(android.view.View, int, int); 6400 method public void moveView(int, int); 6401 method public void offsetChildrenHorizontal(int); 6402 method public void offsetChildrenVertical(int); 6403 method public void onAdapterChanged(android.support.v7.widget.RecyclerView.Adapter, android.support.v7.widget.RecyclerView.Adapter); 6404 method public boolean onAddFocusables(android.support.v7.widget.RecyclerView, java.util.ArrayList<android.view.View>, int, int); 6405 method public void onAttachedToWindow(android.support.v7.widget.RecyclerView); 6406 method public deprecated void onDetachedFromWindow(android.support.v7.widget.RecyclerView); 6407 method public void onDetachedFromWindow(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.Recycler); 6408 method public android.view.View onFocusSearchFailed(android.view.View, int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 6409 method public void onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent); 6410 method public void onInitializeAccessibilityEvent(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.view.accessibility.AccessibilityEvent); 6411 method public void onInitializeAccessibilityNodeInfo(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat); 6412 method public void onInitializeAccessibilityNodeInfoForItem(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.view.View, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat); 6413 method public android.view.View onInterceptFocusSearch(android.view.View, int); 6414 method public void onItemsAdded(android.support.v7.widget.RecyclerView, int, int); 6415 method public void onItemsChanged(android.support.v7.widget.RecyclerView); 6416 method public void onItemsMoved(android.support.v7.widget.RecyclerView, int, int, int); 6417 method public void onItemsRemoved(android.support.v7.widget.RecyclerView, int, int); 6418 method public void onItemsUpdated(android.support.v7.widget.RecyclerView, int, int); 6419 method public void onLayoutChildren(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 6420 method public void onMeasure(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, int, int); 6421 method public deprecated boolean onRequestChildFocus(android.support.v7.widget.RecyclerView, android.view.View, android.view.View); 6422 method public boolean onRequestChildFocus(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State, android.view.View, android.view.View); 6423 method public void onRestoreInstanceState(android.os.Parcelable); 6424 method public android.os.Parcelable onSaveInstanceState(); 6425 method public void onScrollStateChanged(int); 6426 method public boolean performAccessibilityAction(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, int, android.os.Bundle); 6427 method public boolean performAccessibilityActionForItem(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.view.View, int, android.os.Bundle); 6428 method public void postOnAnimation(java.lang.Runnable); 6429 method public void removeAllViews(); 6430 method public void removeAndRecycleAllViews(android.support.v7.widget.RecyclerView.Recycler); 6431 method public void removeAndRecycleView(android.view.View, android.support.v7.widget.RecyclerView.Recycler); 6432 method public void removeAndRecycleViewAt(int, android.support.v7.widget.RecyclerView.Recycler); 6433 method public boolean removeCallbacks(java.lang.Runnable); 6434 method public void removeDetachedView(android.view.View); 6435 method public void removeView(android.view.View); 6436 method public void removeViewAt(int); 6437 method public boolean requestChildRectangleOnScreen(android.support.v7.widget.RecyclerView, android.view.View, android.graphics.Rect, boolean); 6438 method public void requestLayout(); 6439 method public void requestSimpleAnimationsInNextLayout(); 6440 method public int scrollHorizontallyBy(int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 6441 method public void scrollToPosition(int); 6442 method public int scrollVerticallyBy(int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 6443 method public void setMeasuredDimension(int, int); 6444 method public void smoothScrollToPosition(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State, int); 6445 method public void startSmoothScroll(android.support.v7.widget.RecyclerView.SmoothScroller); 6446 method public void stopIgnoringView(android.view.View); 6447 method public boolean supportsPredictiveItemAnimations(); 6448 } 6449 6450 public static class RecyclerView.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 6451 ctor public RecyclerView.LayoutParams(android.content.Context, android.util.AttributeSet); 6452 ctor public RecyclerView.LayoutParams(int, int); 6453 ctor public RecyclerView.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 6454 ctor public RecyclerView.LayoutParams(android.view.ViewGroup.LayoutParams); 6455 ctor public RecyclerView.LayoutParams(android.support.v7.widget.RecyclerView.LayoutParams); 6456 method public int getViewAdapterPosition(); 6457 method public int getViewLayoutPosition(); 6458 method public deprecated int getViewPosition(); 6459 method public boolean isItemChanged(); 6460 method public boolean isItemRemoved(); 6461 method public boolean isViewInvalid(); 6462 method public boolean viewNeedsUpdate(); 6463 } 6464 6465 public static abstract interface RecyclerView.OnItemTouchListener { 6466 method public abstract boolean onInterceptTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent); 6467 method public abstract void onTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent); 6468 } 6469 6470 public static abstract class RecyclerView.OnScrollListener { 6471 ctor public RecyclerView.OnScrollListener(); 6472 method public void onScrollStateChanged(android.support.v7.widget.RecyclerView, int); 6473 method public void onScrolled(android.support.v7.widget.RecyclerView, int, int); 6474 } 6475 6476 public static class RecyclerView.RecycledViewPool { 6477 ctor public RecyclerView.RecycledViewPool(); 6478 method public void clear(); 6479 method public android.support.v7.widget.RecyclerView.ViewHolder getRecycledView(int); 6480 method public void putRecycledView(android.support.v7.widget.RecyclerView.ViewHolder); 6481 method public void setMaxRecycledViews(int, int); 6482 } 6483 6484 public final class RecyclerView.Recycler { 6485 ctor public RecyclerView.Recycler(); 6486 method public void bindViewToPosition(android.view.View, int); 6487 method public void clear(); 6488 method public int convertPreLayoutPositionToPostLayout(int); 6489 method public java.util.List<android.support.v7.widget.RecyclerView.ViewHolder> getScrapList(); 6490 method public android.view.View getViewForPosition(int); 6491 method public void recycleView(android.view.View); 6492 method public void setViewCacheSize(int); 6493 } 6494 6495 public static abstract interface RecyclerView.RecyclerListener { 6496 method public abstract void onViewRecycled(android.support.v7.widget.RecyclerView.ViewHolder); 6497 } 6498 6499 public static abstract class RecyclerView.SmoothScroller { 6500 ctor public RecyclerView.SmoothScroller(); 6501 method public android.view.View findViewByPosition(int); 6502 method public int getChildCount(); 6503 method public int getChildPosition(android.view.View); 6504 method public android.support.v7.widget.RecyclerView.LayoutManager getLayoutManager(); 6505 method public int getTargetPosition(); 6506 method public void instantScrollToPosition(int); 6507 method public boolean isPendingInitialRun(); 6508 method public boolean isRunning(); 6509 method protected void normalize(android.graphics.PointF); 6510 method protected void onChildAttachedToWindow(android.view.View); 6511 method protected abstract void onSeekTargetStep(int, int, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action); 6512 method protected abstract void onStart(); 6513 method protected abstract void onStop(); 6514 method protected abstract void onTargetFound(android.view.View, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action); 6515 method public void setTargetPosition(int); 6516 method protected final void stop(); 6517 } 6518 6519 public static class RecyclerView.SmoothScroller.Action { 6520 ctor public RecyclerView.SmoothScroller.Action(int, int); 6521 ctor public RecyclerView.SmoothScroller.Action(int, int, int); 6522 ctor public RecyclerView.SmoothScroller.Action(int, int, int, android.view.animation.Interpolator); 6523 method public int getDuration(); 6524 method public int getDx(); 6525 method public int getDy(); 6526 method public android.view.animation.Interpolator getInterpolator(); 6527 method public void setDuration(int); 6528 method public void setDx(int); 6529 method public void setDy(int); 6530 method public void setInterpolator(android.view.animation.Interpolator); 6531 method public void update(int, int, int, android.view.animation.Interpolator); 6532 field public static final int UNDEFINED_DURATION = -2147483648; // 0x80000000 6533 } 6534 6535 public static class RecyclerView.State { 6536 ctor public RecyclerView.State(); 6537 method public boolean didStructureChange(); 6538 method public T get(int); 6539 method public int getItemCount(); 6540 method public int getTargetScrollPosition(); 6541 method public boolean hasTargetScrollPosition(); 6542 method public boolean isPreLayout(); 6543 method public void onViewIgnored(android.support.v7.widget.RecyclerView.ViewHolder); 6544 method public void put(int, java.lang.Object); 6545 method public void remove(int); 6546 method public boolean willRunPredictiveAnimations(); 6547 method public boolean willRunSimpleAnimations(); 6548 } 6549 6550 public static abstract class RecyclerView.ViewCacheExtension { 6551 ctor public RecyclerView.ViewCacheExtension(); 6552 method public abstract android.view.View getViewForPositionAndType(android.support.v7.widget.RecyclerView.Recycler, int, int); 6553 } 6554 6555 public static abstract class RecyclerView.ViewHolder { 6556 ctor public RecyclerView.ViewHolder(android.view.View); 6557 method public final int getAdapterPosition(); 6558 method public final long getItemId(); 6559 method public final int getItemViewType(); 6560 method public final int getLayoutPosition(); 6561 method public final int getOldPosition(); 6562 method public final deprecated int getPosition(); 6563 method public final boolean isRecyclable(); 6564 method public final void setIsRecyclable(boolean); 6565 field public final android.view.View itemView; 6566 } 6567 6568 public class RecyclerViewAccessibilityDelegate extends android.support.v4.view.AccessibilityDelegateCompat { 6569 ctor public RecyclerViewAccessibilityDelegate(android.support.v7.widget.RecyclerView); 6570 } 6571 6572 public class StaggeredGridLayoutManager extends android.support.v7.widget.RecyclerView.LayoutManager { 6573 ctor public StaggeredGridLayoutManager(int, int); 6574 method public int[] findFirstCompletelyVisibleItemPositions(int[]); 6575 method public int[] findFirstVisibleItemPositions(int[]); 6576 method public int[] findLastCompletelyVisibleItemPositions(int[]); 6577 method public int[] findLastVisibleItemPositions(int[]); 6578 method public android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams(); 6579 method public int getGapStrategy(); 6580 method public int getOrientation(); 6581 method public boolean getReverseLayout(); 6582 method public int getSpanCount(); 6583 method public void invalidateSpanAssignments(); 6584 method public void scrollToPositionWithOffset(int, int); 6585 method public void setGapStrategy(int); 6586 method public void setOrientation(int); 6587 method public void setReverseLayout(boolean); 6588 method public void setSpanCount(int); 6589 field public static final deprecated int GAP_HANDLING_LAZY = 1; // 0x1 6590 field public static final int GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS = 2; // 0x2 6591 field public static final int GAP_HANDLING_NONE = 0; // 0x0 6592 field public static final int HORIZONTAL = 0; // 0x0 6593 field public static final java.lang.String TAG = "StaggeredGridLayoutManager"; 6594 field public static final int VERTICAL = 1; // 0x1 6595 } 6596 6597 public static class StaggeredGridLayoutManager.LayoutParams extends android.support.v7.widget.RecyclerView.LayoutParams { 6598 ctor public StaggeredGridLayoutManager.LayoutParams(android.content.Context, android.util.AttributeSet); 6599 ctor public StaggeredGridLayoutManager.LayoutParams(int, int); 6600 ctor public StaggeredGridLayoutManager.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 6601 ctor public StaggeredGridLayoutManager.LayoutParams(android.view.ViewGroup.LayoutParams); 6602 ctor public StaggeredGridLayoutManager.LayoutParams(android.support.v7.widget.RecyclerView.LayoutParams); 6603 method public final int getSpanIndex(); 6604 method public boolean isFullSpan(); 6605 method public void setFullSpan(boolean); 6606 field public static final int INVALID_SPAN_ID = -1; // 0xffffffff 6607 } 6608 6609} 6610 6611package android.support.v7.widget.util { 6612 6613 public abstract class SortedListAdapterCallback extends android.support.v7.util.SortedList.Callback { 6614 ctor public SortedListAdapterCallback(android.support.v7.widget.RecyclerView.Adapter); 6615 method public void onChanged(int, int); 6616 method public void onInserted(int, int); 6617 method public void onMoved(int, int); 6618 method public void onRemoved(int, int); 6619 } 6620 6621} 6622 6623