1 package android.support.v7.app { 2 3 public abstract class ActionBar { 4 ctor public ActionBar(); 5 method public abstract void addOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVisibilityListener); 6 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab); 7 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, boolean); 8 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int); 9 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int, boolean); 10 method public abstract android.view.View getCustomView(); 11 method public abstract int getDisplayOptions(); 12 method public float getElevation(); 13 method public abstract int getHeight(); 14 method public int getHideOffset(); 15 method public abstract deprecated int getNavigationItemCount(); 16 method public abstract deprecated int getNavigationMode(); 17 method public abstract deprecated int getSelectedNavigationIndex(); 18 method public abstract deprecated android.support.v7.app.ActionBar.Tab getSelectedTab(); 19 method public abstract java.lang.CharSequence getSubtitle(); 20 method public abstract deprecated android.support.v7.app.ActionBar.Tab getTabAt(int); 21 method public abstract deprecated int getTabCount(); 22 method public android.content.Context getThemedContext(); 23 method public abstract java.lang.CharSequence getTitle(); 24 method public abstract void hide(); 25 method public boolean isHideOnContentScrollEnabled(); 26 method public abstract boolean isShowing(); 27 method public abstract deprecated android.support.v7.app.ActionBar.Tab newTab(); 28 method public abstract deprecated void removeAllTabs(); 29 method public abstract void removeOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVisibilityListener); 30 method public abstract deprecated void removeTab(android.support.v7.app.ActionBar.Tab); 31 method public abstract deprecated void removeTabAt(int); 32 method public abstract deprecated void selectTab(android.support.v7.app.ActionBar.Tab); 33 method public abstract void setBackgroundDrawable(android.graphics.drawable.Drawable); 34 method public abstract void setCustomView(android.view.View); 35 method public abstract void setCustomView(android.view.View, android.support.v7.app.ActionBar.LayoutParams); 36 method public abstract void setCustomView(int); 37 method public abstract void setDisplayHomeAsUpEnabled(boolean); 38 method public abstract void setDisplayOptions(int); 39 method public abstract void setDisplayOptions(int, int); 40 method public abstract void setDisplayShowCustomEnabled(boolean); 41 method public abstract void setDisplayShowHomeEnabled(boolean); 42 method public abstract void setDisplayShowTitleEnabled(boolean); 43 method public abstract void setDisplayUseLogoEnabled(boolean); 44 method public void setElevation(float); 45 method public void setHideOffset(int); 46 method public void setHideOnContentScrollEnabled(boolean); 47 method public void setHomeActionContentDescription(java.lang.CharSequence); 48 method public void setHomeActionContentDescription(int); 49 method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable); 50 method public void setHomeAsUpIndicator(int); 51 method public void setHomeButtonEnabled(boolean); 52 method public abstract void setIcon(int); 53 method public abstract void setIcon(android.graphics.drawable.Drawable); 54 method public abstract deprecated void setListNavigationCallbacks(android.widget.SpinnerAdapter, android.support.v7.app.ActionBar.OnNavigationListener); 55 method public abstract void setLogo(int); 56 method public abstract void setLogo(android.graphics.drawable.Drawable); 57 method public abstract deprecated void setNavigationMode(int); 58 method public abstract deprecated void setSelectedNavigationItem(int); 59 method public void setSplitBackgroundDrawable(android.graphics.drawable.Drawable); 60 method public void setStackedBackgroundDrawable(android.graphics.drawable.Drawable); 61 method public abstract void setSubtitle(java.lang.CharSequence); 62 method public abstract void setSubtitle(int); 63 method public abstract void setTitle(java.lang.CharSequence); 64 method public abstract void setTitle(int); 65 method public abstract void show(); 66 field public static final int DISPLAY_HOME_AS_UP = 4; // 0x4 67 field public static final int DISPLAY_SHOW_CUSTOM = 16; // 0x10 68 field public static final int DISPLAY_SHOW_HOME = 2; // 0x2 69 field public static final int DISPLAY_SHOW_TITLE = 8; // 0x8 70 field public static final int DISPLAY_USE_LOGO = 1; // 0x1 71 field public static final deprecated int NAVIGATION_MODE_LIST = 1; // 0x1 72 field public static final deprecated int NAVIGATION_MODE_STANDARD = 0; // 0x0 73 field public static final deprecated int NAVIGATION_MODE_TABS = 2; // 0x2 74 } 75 76 public static class ActionBar.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 77 ctor public ActionBar.LayoutParams(android.content.Context, android.util.AttributeSet); 78 ctor public ActionBar.LayoutParams(int, int); 79 ctor public ActionBar.LayoutParams(int, int, int); 80 ctor public ActionBar.LayoutParams(int); 81 ctor public ActionBar.LayoutParams(android.support.v7.app.ActionBar.LayoutParams); 82 ctor public ActionBar.LayoutParams(android.view.ViewGroup.LayoutParams); 83 field public int gravity; 84 } 85 86 public static abstract interface ActionBar.OnMenuVisibilityListener { 87 method public abstract void onMenuVisibilityChanged(boolean); 88 } 89 90 public static abstract deprecated interface ActionBar.OnNavigationListener { 91 method public abstract boolean onNavigationItemSelected(int, long); 92 } 93 94 public static abstract deprecated class ActionBar.Tab { 95 ctor public ActionBar.Tab(); 96 method public abstract java.lang.CharSequence getContentDescription(); 97 method public abstract android.view.View getCustomView(); 98 method public abstract android.graphics.drawable.Drawable getIcon(); 99 method public abstract int getPosition(); 100 method public abstract java.lang.Object getTag(); 101 method public abstract java.lang.CharSequence getText(); 102 method public abstract void select(); 103 method public abstract android.support.v7.app.ActionBar.Tab setContentDescription(int); 104 method public abstract android.support.v7.app.ActionBar.Tab setContentDescription(java.lang.CharSequence); 105 method public abstract android.support.v7.app.ActionBar.Tab setCustomView(android.view.View); 106 method public abstract android.support.v7.app.ActionBar.Tab setCustomView(int); 107 method public abstract android.support.v7.app.ActionBar.Tab setIcon(android.graphics.drawable.Drawable); 108 method public abstract android.support.v7.app.ActionBar.Tab setIcon(int); 109 method public abstract android.support.v7.app.ActionBar.Tab setTabListener(android.support.v7.app.ActionBar.TabListener); 110 method public abstract android.support.v7.app.ActionBar.Tab setTag(java.lang.Object); 111 method public abstract android.support.v7.app.ActionBar.Tab setText(java.lang.CharSequence); 112 method public abstract android.support.v7.app.ActionBar.Tab setText(int); 113 field public static final int INVALID_POSITION = -1; // 0xffffffff 114 } 115 116 public static abstract deprecated interface ActionBar.TabListener { 117 method public abstract void onTabReselected(android.support.v7.app.ActionBar.Tab, android.support.v4.app.FragmentTransaction); 118 method public abstract void onTabSelected(android.support.v7.app.ActionBar.Tab, android.support.v4.app.FragmentTransaction); 119 method public abstract void onTabUnselected(android.support.v7.app.ActionBar.Tab, android.support.v4.app.FragmentTransaction); 120 } 121 122 public class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.DrawerListener { 123 ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, int, int); 124 ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, android.support.v7.widget.Toolbar, int, int); 125 method public android.support.v7.graphics.drawable.DrawerArrowDrawable getDrawerArrowDrawable(); 126 method public android.view.View.OnClickListener getToolbarNavigationClickListener(); 127 method public boolean isDrawerIndicatorEnabled(); 128 method public boolean isDrawerSlideAnimationEnabled(); 129 method public void onConfigurationChanged(android.content.res.Configuration); 130 method public void onDrawerClosed(android.view.View); 131 method public void onDrawerOpened(android.view.View); 132 method public void onDrawerSlide(android.view.View, float); 133 method public void onDrawerStateChanged(int); 134 method public boolean onOptionsItemSelected(android.view.MenuItem); 135 method public void setDrawerArrowDrawable(android.support.v7.graphics.drawable.DrawerArrowDrawable); 136 method public void setDrawerIndicatorEnabled(boolean); 137 method public void setDrawerSlideAnimationEnabled(boolean); 138 method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable); 139 method public void setHomeAsUpIndicator(int); 140 method public void setToolbarNavigationClickListener(android.view.View.OnClickListener); 141 method public void syncState(); 142 } 143 144 public static abstract interface ActionBarDrawerToggle.Delegate { 145 method public abstract android.content.Context getActionBarThemedContext(); 146 method public abstract android.graphics.drawable.Drawable getThemeUpIndicator(); 147 method public abstract boolean isNavigationVisible(); 148 method public abstract void setActionBarDescription(int); 149 method public abstract void setActionBarUpIndicator(android.graphics.drawable.Drawable, int); 150 } 151 152 public static abstract interface ActionBarDrawerToggle.DelegateProvider { 153 method public abstract android.support.v7.app.ActionBarDrawerToggle.Delegate getDrawerToggleDelegate(); 154 } 155 156 public class AlertDialog extends android.support.v7.app.AppCompatDialog implements android.content.DialogInterface { 157 ctor protected AlertDialog(android.content.Context); 158 ctor protected AlertDialog(android.content.Context, int); 159 ctor protected AlertDialog(android.content.Context, boolean, android.content.DialogInterface.OnCancelListener); 160 method public android.widget.Button getButton(int); 161 method public android.widget.ListView getListView(); 162 method public void setButton(int, java.lang.CharSequence, android.os.Message); 163 method public void setButton(int, java.lang.CharSequence, android.content.DialogInterface.OnClickListener); 164 method public void setButton(int, java.lang.CharSequence, android.graphics.drawable.Drawable, android.content.DialogInterface.OnClickListener); 165 method public void setCustomTitle(android.view.View); 166 method public void setIcon(int); 167 method public void setIcon(android.graphics.drawable.Drawable); 168 method public void setIconAttribute(int); 169 method public void setMessage(java.lang.CharSequence); 170 method public void setView(android.view.View); 171 method public void setView(android.view.View, int, int, int, int); 172 } 173 174 public static class AlertDialog.Builder { 175 ctor public AlertDialog.Builder(android.content.Context); 176 ctor public AlertDialog.Builder(android.content.Context, int); 177 method public android.support.v7.app.AlertDialog create(); 178 method public android.content.Context getContext(); 179 method public android.support.v7.app.AlertDialog.Builder setAdapter(android.widget.ListAdapter, android.content.DialogInterface.OnClickListener); 180 method public android.support.v7.app.AlertDialog.Builder setCancelable(boolean); 181 method public android.support.v7.app.AlertDialog.Builder setCursor(android.database.Cursor, android.content.DialogInterface.OnClickListener, java.lang.String); 182 method public android.support.v7.app.AlertDialog.Builder setCustomTitle(android.view.View); 183 method public android.support.v7.app.AlertDialog.Builder setIcon(int); 184 method public android.support.v7.app.AlertDialog.Builder setIcon(android.graphics.drawable.Drawable); 185 method public android.support.v7.app.AlertDialog.Builder setIconAttribute(int); 186 method public deprecated android.support.v7.app.AlertDialog.Builder setInverseBackgroundForced(boolean); 187 method public android.support.v7.app.AlertDialog.Builder setItems(int, android.content.DialogInterface.OnClickListener); 188 method public android.support.v7.app.AlertDialog.Builder setItems(java.lang.CharSequence[], android.content.DialogInterface.OnClickListener); 189 method public android.support.v7.app.AlertDialog.Builder setMessage(int); 190 method public android.support.v7.app.AlertDialog.Builder setMessage(java.lang.CharSequence); 191 method public android.support.v7.app.AlertDialog.Builder setMultiChoiceItems(int, boolean[], android.content.DialogInterface.OnMultiChoiceClickListener); 192 method public android.support.v7.app.AlertDialog.Builder setMultiChoiceItems(java.lang.CharSequence[], boolean[], android.content.DialogInterface.OnMultiChoiceClickListener); 193 method public android.support.v7.app.AlertDialog.Builder setMultiChoiceItems(android.database.Cursor, java.lang.String, java.lang.String, android.content.DialogInterface.OnMultiChoiceClickListener); 194 method public android.support.v7.app.AlertDialog.Builder setNegativeButton(int, android.content.DialogInterface.OnClickListener); 195 method public android.support.v7.app.AlertDialog.Builder setNegativeButton(java.lang.CharSequence, android.content.DialogInterface.OnClickListener); 196 method public android.support.v7.app.AlertDialog.Builder setNegativeButtonIcon(android.graphics.drawable.Drawable); 197 method public android.support.v7.app.AlertDialog.Builder setNeutralButton(int, android.content.DialogInterface.OnClickListener); 198 method public android.support.v7.app.AlertDialog.Builder setNeutralButton(java.lang.CharSequence, android.content.DialogInterface.OnClickListener); 199 method public android.support.v7.app.AlertDialog.Builder setNeutralButtonIcon(android.graphics.drawable.Drawable); 200 method public android.support.v7.app.AlertDialog.Builder setOnCancelListener(android.content.DialogInterface.OnCancelListener); 201 method public android.support.v7.app.AlertDialog.Builder setOnDismissListener(android.content.DialogInterface.OnDismissListener); 202 method public android.support.v7.app.AlertDialog.Builder setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener); 203 method public android.support.v7.app.AlertDialog.Builder setOnKeyListener(android.content.DialogInterface.OnKeyListener); 204 method public android.support.v7.app.AlertDialog.Builder setPositiveButton(int, android.content.DialogInterface.OnClickListener); 205 method public android.support.v7.app.AlertDialog.Builder setPositiveButton(java.lang.CharSequence, android.content.DialogInterface.OnClickListener); 206 method public android.support.v7.app.AlertDialog.Builder setPositiveButtonIcon(android.graphics.drawable.Drawable); 207 method public android.support.v7.app.AlertDialog.Builder setSingleChoiceItems(int, int, android.content.DialogInterface.OnClickListener); 208 method public android.support.v7.app.AlertDialog.Builder setSingleChoiceItems(android.database.Cursor, int, java.lang.String, android.content.DialogInterface.OnClickListener); 209 method public android.support.v7.app.AlertDialog.Builder setSingleChoiceItems(java.lang.CharSequence[], int, android.content.DialogInterface.OnClickListener); 210 method public android.support.v7.app.AlertDialog.Builder setSingleChoiceItems(android.widget.ListAdapter, int, android.content.DialogInterface.OnClickListener); 211 method public android.support.v7.app.AlertDialog.Builder setTitle(int); 212 method public android.support.v7.app.AlertDialog.Builder setTitle(java.lang.CharSequence); 213 method public android.support.v7.app.AlertDialog.Builder setView(int); 214 method public android.support.v7.app.AlertDialog.Builder setView(android.view.View); 215 method public android.support.v7.app.AlertDialog show(); 216 } 217 218 public class AppCompatActivity extends android.support.v4.app.FragmentActivity implements android.support.v7.app.ActionBarDrawerToggle.DelegateProvider android.support.v7.app.AppCompatCallback android.support.v4.app.TaskStackBuilder.SupportParentable { 219 ctor public AppCompatActivity(); 220 method public android.support.v7.app.AppCompatDelegate getDelegate(); 221 method public android.support.v7.app.ActionBarDrawerToggle.Delegate getDrawerToggleDelegate(); 222 method public android.support.v7.app.ActionBar getSupportActionBar(); 223 method public android.content.Intent getSupportParentActivityIntent(); 224 method public void onCreateSupportNavigateUpTaskStack(android.support.v4.app.TaskStackBuilder); 225 method public final boolean onMenuItemSelected(int, android.view.MenuItem); 226 method public void onPrepareSupportNavigateUpTaskStack(android.support.v4.app.TaskStackBuilder); 227 method public void onSupportActionModeFinished(android.support.v7.view.ActionMode); 228 method public void onSupportActionModeStarted(android.support.v7.view.ActionMode); 229 method public deprecated void onSupportContentChanged(); 230 method public boolean onSupportNavigateUp(); 231 method public android.support.v7.view.ActionMode onWindowStartingSupportActionMode(android.support.v7.view.ActionMode.Callback); 232 method public void setSupportActionBar(android.support.v7.widget.Toolbar); 233 method public deprecated void setSupportProgress(int); 234 method public deprecated void setSupportProgressBarIndeterminate(boolean); 235 method public deprecated void setSupportProgressBarIndeterminateVisibility(boolean); 236 method public deprecated void setSupportProgressBarVisibility(boolean); 237 method public android.support.v7.view.ActionMode startSupportActionMode(android.support.v7.view.ActionMode.Callback); 238 method public void supportInvalidateOptionsMenu(); 239 method public void supportNavigateUpTo(android.content.Intent); 240 method public boolean supportRequestWindowFeature(int); 241 method public boolean supportShouldUpRecreateTask(android.content.Intent); 242 } 243 244 public abstract interface AppCompatCallback { 245 method public abstract void onSupportActionModeFinished(android.support.v7.view.ActionMode); 246 method public abstract void onSupportActionModeStarted(android.support.v7.view.ActionMode); 247 method public abstract android.support.v7.view.ActionMode onWindowStartingSupportActionMode(android.support.v7.view.ActionMode.Callback); 248 } 249 250 public abstract class AppCompatDelegate { 251 method public abstract void addContentView(android.view.View, android.view.ViewGroup.LayoutParams); 252 method public abstract boolean applyDayNight(); 253 method public static android.support.v7.app.AppCompatDelegate create(android.app.Activity, android.support.v7.app.AppCompatCallback); 254 method public static android.support.v7.app.AppCompatDelegate create(android.app.Dialog, android.support.v7.app.AppCompatCallback); 255 method public abstract android.view.View createView(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet); 256 method public abstract <T extends android.view.View> T findViewById(int); 257 method public static int getDefaultNightMode(); 258 method public abstract android.support.v7.app.ActionBarDrawerToggle.Delegate getDrawerToggleDelegate(); 259 method public abstract android.view.MenuInflater getMenuInflater(); 260 method public abstract android.support.v7.app.ActionBar getSupportActionBar(); 261 method public abstract boolean hasWindowFeature(int); 262 method public abstract void installViewFactory(); 263 method public abstract void invalidateOptionsMenu(); 264 method public static boolean isCompatVectorFromResourcesEnabled(); 265 method public abstract boolean isHandleNativeActionModesEnabled(); 266 method public abstract void onConfigurationChanged(android.content.res.Configuration); 267 method public abstract void onCreate(android.os.Bundle); 268 method public abstract void onDestroy(); 269 method public abstract void onPostCreate(android.os.Bundle); 270 method public abstract void onPostResume(); 271 method public abstract void onSaveInstanceState(android.os.Bundle); 272 method public abstract void onStart(); 273 method public abstract void onStop(); 274 method public abstract boolean requestWindowFeature(int); 275 method public static void setCompatVectorFromResourcesEnabled(boolean); 276 method public abstract void setContentView(android.view.View); 277 method public abstract void setContentView(int); 278 method public abstract void setContentView(android.view.View, android.view.ViewGroup.LayoutParams); 279 method public static void setDefaultNightMode(int); 280 method public abstract void setHandleNativeActionModesEnabled(boolean); 281 method public abstract void setLocalNightMode(int); 282 method public abstract void setSupportActionBar(android.support.v7.widget.Toolbar); 283 method public abstract void setTitle(java.lang.CharSequence); 284 method public abstract android.support.v7.view.ActionMode startSupportActionMode(android.support.v7.view.ActionMode.Callback); 285 field public static final int FEATURE_ACTION_MODE_OVERLAY = 10; // 0xa 286 field public static final int FEATURE_SUPPORT_ACTION_BAR = 108; // 0x6c 287 field public static final int FEATURE_SUPPORT_ACTION_BAR_OVERLAY = 109; // 0x6d 288 field public static final int MODE_NIGHT_AUTO = 0; // 0x0 289 field public static final int MODE_NIGHT_FOLLOW_SYSTEM = -1; // 0xffffffff 290 field public static final int MODE_NIGHT_NO = 1; // 0x1 291 field public static final int MODE_NIGHT_YES = 2; // 0x2 292 } 293 294 public class AppCompatDialog extends android.app.Dialog implements android.support.v7.app.AppCompatCallback { 295 ctor public AppCompatDialog(android.content.Context); 296 ctor public AppCompatDialog(android.content.Context, int); 297 ctor protected AppCompatDialog(android.content.Context, boolean, android.content.DialogInterface.OnCancelListener); 298 method public android.support.v7.app.AppCompatDelegate getDelegate(); 299 method public android.support.v7.app.ActionBar getSupportActionBar(); 300 method public void onSupportActionModeFinished(android.support.v7.view.ActionMode); 301 method public void onSupportActionModeStarted(android.support.v7.view.ActionMode); 302 method public android.support.v7.view.ActionMode onWindowStartingSupportActionMode(android.support.v7.view.ActionMode.Callback); 303 method public boolean supportRequestWindowFeature(int); 304 } 305 306 public class AppCompatDialogFragment extends android.support.v4.app.DialogFragment { 307 ctor public AppCompatDialogFragment(); 308 } 309 310 public class AppCompatViewInflater { 311 ctor public AppCompatViewInflater(); 312 method protected android.support.v7.widget.AppCompatAutoCompleteTextView createAutoCompleteTextView(android.content.Context, android.util.AttributeSet); 313 method protected android.support.v7.widget.AppCompatButton createButton(android.content.Context, android.util.AttributeSet); 314 method protected android.support.v7.widget.AppCompatCheckBox createCheckBox(android.content.Context, android.util.AttributeSet); 315 method protected android.support.v7.widget.AppCompatCheckedTextView createCheckedTextView(android.content.Context, android.util.AttributeSet); 316 method protected android.support.v7.widget.AppCompatEditText createEditText(android.content.Context, android.util.AttributeSet); 317 method protected android.support.v7.widget.AppCompatImageButton createImageButton(android.content.Context, android.util.AttributeSet); 318 method protected android.support.v7.widget.AppCompatImageView createImageView(android.content.Context, android.util.AttributeSet); 319 method protected android.support.v7.widget.AppCompatMultiAutoCompleteTextView createMultiAutoCompleteTextView(android.content.Context, android.util.AttributeSet); 320 method protected android.support.v7.widget.AppCompatRadioButton createRadioButton(android.content.Context, android.util.AttributeSet); 321 method protected android.support.v7.widget.AppCompatRatingBar createRatingBar(android.content.Context, android.util.AttributeSet); 322 method protected android.support.v7.widget.AppCompatSeekBar createSeekBar(android.content.Context, android.util.AttributeSet); 323 method protected android.support.v7.widget.AppCompatSpinner createSpinner(android.content.Context, android.util.AttributeSet); 324 method protected android.support.v7.widget.AppCompatTextView createTextView(android.content.Context, android.util.AttributeSet); 325 method protected android.view.View createView(android.content.Context, java.lang.String, android.util.AttributeSet); 326 } 327 328 } 329 330 package android.support.v7.content.res { 331 332 public final class AppCompatResources { 333 method public static android.content.res.ColorStateList getColorStateList(android.content.Context, int); 334 method public static android.graphics.drawable.Drawable getDrawable(android.content.Context, int); 335 } 336 337 } 338 339 package android.support.v7.graphics.drawable { 340 341 public class DrawerArrowDrawable extends android.graphics.drawable.Drawable { 342 ctor public DrawerArrowDrawable(android.content.Context); 343 method public void draw(android.graphics.Canvas); 344 method public float getArrowHeadLength(); 345 method public float getArrowShaftLength(); 346 method public float getBarLength(); 347 method public float getBarThickness(); 348 method public int getColor(); 349 method public int getDirection(); 350 method public float getGapSize(); 351 method public int getOpacity(); 352 method public final android.graphics.Paint getPaint(); 353 method public float getProgress(); 354 method public boolean isSpinEnabled(); 355 method public void setAlpha(int); 356 method public void setArrowHeadLength(float); 357 method public void setArrowShaftLength(float); 358 method public void setBarLength(float); 359 method public void setBarThickness(float); 360 method public void setColor(int); 361 method public void setColorFilter(android.graphics.ColorFilter); 362 method public void setDirection(int); 363 method public void setGapSize(float); 364 method public void setProgress(float); 365 method public void setSpinEnabled(boolean); 366 method public void setVerticalMirror(boolean); 367 field public static final int ARROW_DIRECTION_END = 3; // 0x3 368 field public static final int ARROW_DIRECTION_LEFT = 0; // 0x0 369 field public static final int ARROW_DIRECTION_RIGHT = 1; // 0x1 370 field public static final int ARROW_DIRECTION_START = 2; // 0x2 371 } 372 373 } 374 375 package android.support.v7.view { 376 377 public abstract class ActionMode { 378 ctor public ActionMode(); 379 method public abstract void finish(); 380 method public abstract android.view.View getCustomView(); 381 method public abstract android.view.Menu getMenu(); 382 method public abstract android.view.MenuInflater getMenuInflater(); 383 method public abstract java.lang.CharSequence getSubtitle(); 384 method public java.lang.Object getTag(); 385 method public abstract java.lang.CharSequence getTitle(); 386 method public boolean getTitleOptionalHint(); 387 method public abstract void invalidate(); 388 method public boolean isTitleOptional(); 389 method public abstract void setCustomView(android.view.View); 390 method public abstract void setSubtitle(java.lang.CharSequence); 391 method public abstract void setSubtitle(int); 392 method public void setTag(java.lang.Object); 393 method public abstract void setTitle(java.lang.CharSequence); 394 method public abstract void setTitle(int); 395 method public void setTitleOptionalHint(boolean); 396 } 397 398 public static abstract interface ActionMode.Callback { 399 method public abstract boolean onActionItemClicked(android.support.v7.view.ActionMode, android.view.MenuItem); 400 method public abstract boolean onCreateActionMode(android.support.v7.view.ActionMode, android.view.Menu); 401 method public abstract void onDestroyActionMode(android.support.v7.view.ActionMode); 402 method public abstract boolean onPrepareActionMode(android.support.v7.view.ActionMode, android.view.Menu); 403 } 404 405 public abstract interface CollapsibleActionView { 406 method public abstract void onActionViewCollapsed(); 407 method public abstract void onActionViewExpanded(); 408 } 409 410 public class ContextThemeWrapper extends android.content.ContextWrapper { 411 ctor public ContextThemeWrapper(); 412 ctor public ContextThemeWrapper(android.content.Context, int); 413 ctor public ContextThemeWrapper(android.content.Context, android.content.res.Resources.Theme); 414 method public void applyOverrideConfiguration(android.content.res.Configuration); 415 method public int getThemeResId(); 416 method protected void onApplyThemeResource(android.content.res.Resources.Theme, int, boolean); 417 } 418 419 } 420 421 package android.support.v7.widget { 422 423 public class ActionMenuView extends android.support.v7.widget.LinearLayoutCompat { 424 ctor public ActionMenuView(android.content.Context); 425 ctor public ActionMenuView(android.content.Context, android.util.AttributeSet); 426 method public void dismissPopupMenus(); 427 method protected android.support.v7.widget.ActionMenuView.LayoutParams generateDefaultLayoutParams(); 428 method public android.support.v7.widget.ActionMenuView.LayoutParams generateLayoutParams(android.util.AttributeSet); 429 method protected android.support.v7.widget.ActionMenuView.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams); 430 method public android.view.Menu getMenu(); 431 method public android.graphics.drawable.Drawable getOverflowIcon(); 432 method public int getPopupTheme(); 433 method public boolean hideOverflowMenu(); 434 method public boolean isOverflowMenuShowing(); 435 method public void onConfigurationChanged(android.content.res.Configuration); 436 method public void onDetachedFromWindow(); 437 method public void setOnMenuItemClickListener(android.support.v7.widget.ActionMenuView.OnMenuItemClickListener); 438 method public void setOverflowIcon(android.graphics.drawable.Drawable); 439 method public void setPopupTheme(int); 440 method public boolean showOverflowMenu(); 441 } 442 443 public static class ActionMenuView.LayoutParams extends android.support.v7.widget.LinearLayoutCompat.LayoutParams { 444 ctor public ActionMenuView.LayoutParams(android.content.Context, android.util.AttributeSet); 445 ctor public ActionMenuView.LayoutParams(android.view.ViewGroup.LayoutParams); 446 ctor public ActionMenuView.LayoutParams(android.support.v7.widget.ActionMenuView.LayoutParams); 447 ctor public ActionMenuView.LayoutParams(int, int); 448 field public int cellsUsed; 449 field public boolean expandable; 450 field public int extraPixels; 451 field public boolean isOverflowButton; 452 field public boolean preventEdgeOffset; 453 } 454 455 public static abstract interface ActionMenuView.OnMenuItemClickListener { 456 method public abstract boolean onMenuItemClick(android.view.MenuItem); 457 } 458 459 public class AppCompatAutoCompleteTextView extends android.widget.AutoCompleteTextView implements android.support.v4.view.TintableBackgroundView { 460 ctor public AppCompatAutoCompleteTextView(android.content.Context); 461 ctor public AppCompatAutoCompleteTextView(android.content.Context, android.util.AttributeSet); 462 ctor public AppCompatAutoCompleteTextView(android.content.Context, android.util.AttributeSet, int); 463 method public android.content.res.ColorStateList getSupportBackgroundTintList(); 464 method public android.graphics.PorterDuff.Mode getSupportBackgroundTintMode(); 465 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 466 method public void setSupportBackgroundTintList(android.content.res.ColorStateList); 467 method public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode); 468 method public void setTextAppearance(android.content.Context, int); 469 } 470 471 public class AppCompatButton extends android.widget.Button implements android.support.v4.widget.AutoSizeableTextView android.support.v4.view.TintableBackgroundView { 472 ctor public AppCompatButton(android.content.Context); 473 ctor public AppCompatButton(android.content.Context, android.util.AttributeSet); 474 ctor public AppCompatButton(android.content.Context, android.util.AttributeSet, int); 475 method public android.content.res.ColorStateList getSupportBackgroundTintList(); 476 method public android.graphics.PorterDuff.Mode getSupportBackgroundTintMode(); 477 method public void setAutoSizeTextTypeUniformWithConfiguration(int, int, int, int) throws java.lang.IllegalArgumentException; 478 method public void setAutoSizeTextTypeUniformWithPresetSizes(int[], int) throws java.lang.IllegalArgumentException; 479 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 480 method public void setSupportAllCaps(boolean); 481 method public void setSupportBackgroundTintList(android.content.res.ColorStateList); 482 method public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode); 483 method public void setTextAppearance(android.content.Context, int); 484 } 485 486 public class AppCompatCheckBox extends android.widget.CheckBox implements android.support.v4.widget.TintableCompoundButton { 487 ctor public AppCompatCheckBox(android.content.Context); 488 ctor public AppCompatCheckBox(android.content.Context, android.util.AttributeSet); 489 ctor public AppCompatCheckBox(android.content.Context, android.util.AttributeSet, int); 490 method public android.content.res.ColorStateList getSupportButtonTintList(); 491 method public android.graphics.PorterDuff.Mode getSupportButtonTintMode(); 492 method public void setSupportButtonTintList(android.content.res.ColorStateList); 493 method public void setSupportButtonTintMode(android.graphics.PorterDuff.Mode); 494 } 495 496 public class AppCompatCheckedTextView extends android.widget.CheckedTextView { 497 ctor public AppCompatCheckedTextView(android.content.Context); 498 ctor public AppCompatCheckedTextView(android.content.Context, android.util.AttributeSet); 499 ctor public AppCompatCheckedTextView(android.content.Context, android.util.AttributeSet, int); 500 method public void setTextAppearance(android.content.Context, int); 501 } 502 503 public class AppCompatEditText extends android.widget.EditText implements android.support.v4.view.TintableBackgroundView { 504 ctor public AppCompatEditText(android.content.Context); 505 ctor public AppCompatEditText(android.content.Context, android.util.AttributeSet); 506 ctor public AppCompatEditText(android.content.Context, android.util.AttributeSet, int); 507 method public android.content.res.ColorStateList getSupportBackgroundTintList(); 508 method public android.graphics.PorterDuff.Mode getSupportBackgroundTintMode(); 509 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 510 method public void setSupportBackgroundTintList(android.content.res.ColorStateList); 511 method public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode); 512 method public void setTextAppearance(android.content.Context, int); 513 } 514 515 public class AppCompatImageButton extends android.widget.ImageButton implements android.support.v4.view.TintableBackgroundView android.support.v4.widget.TintableImageSourceView { 516 ctor public AppCompatImageButton(android.content.Context); 517 ctor public AppCompatImageButton(android.content.Context, android.util.AttributeSet); 518 ctor public AppCompatImageButton(android.content.Context, android.util.AttributeSet, int); 519 method public android.content.res.ColorStateList getSupportBackgroundTintList(); 520 method public android.graphics.PorterDuff.Mode getSupportBackgroundTintMode(); 521 method public android.content.res.ColorStateList getSupportImageTintList(); 522 method public android.graphics.PorterDuff.Mode getSupportImageTintMode(); 523 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 524 method public void setSupportBackgroundTintList(android.content.res.ColorStateList); 525 method public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode); 526 method public void setSupportImageTintList(android.content.res.ColorStateList); 527 method public void setSupportImageTintMode(android.graphics.PorterDuff.Mode); 528 } 529 530 public class AppCompatImageView extends android.widget.ImageView implements android.support.v4.view.TintableBackgroundView android.support.v4.widget.TintableImageSourceView { 531 ctor public AppCompatImageView(android.content.Context); 532 ctor public AppCompatImageView(android.content.Context, android.util.AttributeSet); 533 ctor public AppCompatImageView(android.content.Context, android.util.AttributeSet, int); 534 method public android.content.res.ColorStateList getSupportBackgroundTintList(); 535 method public android.graphics.PorterDuff.Mode getSupportBackgroundTintMode(); 536 method public android.content.res.ColorStateList getSupportImageTintList(); 537 method public android.graphics.PorterDuff.Mode getSupportImageTintMode(); 538 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 539 method public void setSupportBackgroundTintList(android.content.res.ColorStateList); 540 method public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode); 541 method public void setSupportImageTintList(android.content.res.ColorStateList); 542 method public void setSupportImageTintMode(android.graphics.PorterDuff.Mode); 543 } 544 545 public class AppCompatMultiAutoCompleteTextView extends android.widget.MultiAutoCompleteTextView implements android.support.v4.view.TintableBackgroundView { 546 ctor public AppCompatMultiAutoCompleteTextView(android.content.Context); 547 ctor public AppCompatMultiAutoCompleteTextView(android.content.Context, android.util.AttributeSet); 548 ctor public AppCompatMultiAutoCompleteTextView(android.content.Context, android.util.AttributeSet, int); 549 method public android.content.res.ColorStateList getSupportBackgroundTintList(); 550 method public android.graphics.PorterDuff.Mode getSupportBackgroundTintMode(); 551 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 552 method public void setSupportBackgroundTintList(android.content.res.ColorStateList); 553 method public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode); 554 method public void setTextAppearance(android.content.Context, int); 555 } 556 557 public class AppCompatRadioButton extends android.widget.RadioButton implements android.support.v4.widget.TintableCompoundButton { 558 ctor public AppCompatRadioButton(android.content.Context); 559 ctor public AppCompatRadioButton(android.content.Context, android.util.AttributeSet); 560 ctor public AppCompatRadioButton(android.content.Context, android.util.AttributeSet, int); 561 method public android.content.res.ColorStateList getSupportButtonTintList(); 562 method public android.graphics.PorterDuff.Mode getSupportButtonTintMode(); 563 method public void setSupportButtonTintList(android.content.res.ColorStateList); 564 method public void setSupportButtonTintMode(android.graphics.PorterDuff.Mode); 565 } 566 567 public class AppCompatRatingBar extends android.widget.RatingBar { 568 ctor public AppCompatRatingBar(android.content.Context); 569 ctor public AppCompatRatingBar(android.content.Context, android.util.AttributeSet); 570 ctor public AppCompatRatingBar(android.content.Context, android.util.AttributeSet, int); 571 } 572 573 public class AppCompatSeekBar extends android.widget.SeekBar { 574 ctor public AppCompatSeekBar(android.content.Context); 575 ctor public AppCompatSeekBar(android.content.Context, android.util.AttributeSet); 576 ctor public AppCompatSeekBar(android.content.Context, android.util.AttributeSet, int); 577 } 578 579 public class AppCompatSpinner extends android.widget.Spinner implements android.support.v4.view.TintableBackgroundView { 580 ctor public AppCompatSpinner(android.content.Context); 581 ctor public AppCompatSpinner(android.content.Context, int); 582 ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet); 583 ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet, int); 584 ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet, int, int); 585 ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet, int, int, android.content.res.Resources.Theme); 586 method public android.content.res.ColorStateList getSupportBackgroundTintList(); 587 method public android.graphics.PorterDuff.Mode getSupportBackgroundTintMode(); 588 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 589 method public void setSupportBackgroundTintList(android.content.res.ColorStateList); 590 method public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode); 591 } 592 593 public class AppCompatTextView extends android.widget.TextView implements android.support.v4.widget.AutoSizeableTextView android.support.v4.view.TintableBackgroundView { 594 ctor public AppCompatTextView(android.content.Context); 595 ctor public AppCompatTextView(android.content.Context, android.util.AttributeSet); 596 ctor public AppCompatTextView(android.content.Context, android.util.AttributeSet, int); 597 method public android.content.res.ColorStateList getSupportBackgroundTintList(); 598 method public android.graphics.PorterDuff.Mode getSupportBackgroundTintMode(); 599 method public void setAutoSizeTextTypeUniformWithConfiguration(int, int, int, int) throws java.lang.IllegalArgumentException; 600 method public void setAutoSizeTextTypeUniformWithPresetSizes(int[], int) throws java.lang.IllegalArgumentException; 601 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 602 method public void setSupportBackgroundTintList(android.content.res.ColorStateList); 603 method public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode); 604 method public void setTextAppearance(android.content.Context, int); 605 } 606 607 public class LinearLayoutCompat extends android.view.ViewGroup { 608 ctor public LinearLayoutCompat(android.content.Context); 609 ctor public LinearLayoutCompat(android.content.Context, android.util.AttributeSet); 610 ctor public LinearLayoutCompat(android.content.Context, android.util.AttributeSet, int); 611 method protected android.support.v7.widget.LinearLayoutCompat.LayoutParams generateDefaultLayoutParams(); 612 method public android.support.v7.widget.LinearLayoutCompat.LayoutParams generateLayoutParams(android.util.AttributeSet); 613 method protected android.support.v7.widget.LinearLayoutCompat.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams); 614 method public int getBaselineAlignedChildIndex(); 615 method public android.graphics.drawable.Drawable getDividerDrawable(); 616 method public int getDividerPadding(); 617 method public int getGravity(); 618 method public int getOrientation(); 619 method public int getShowDividers(); 620 method public float getWeightSum(); 621 method public boolean isBaselineAligned(); 622 method public boolean isMeasureWithLargestChildEnabled(); 623 method public void setBaselineAligned(boolean); 624 method public void setBaselineAlignedChildIndex(int); 625 method public void setDividerDrawable(android.graphics.drawable.Drawable); 626 method public void setDividerPadding(int); 627 method public void setGravity(int); 628 method public void setHorizontalGravity(int); 629 method public void setMeasureWithLargestChildEnabled(boolean); 630 method public void setOrientation(int); 631 method public void setShowDividers(int); 632 method public void setVerticalGravity(int); 633 method public void setWeightSum(float); 634 field public static final int HORIZONTAL = 0; // 0x0 635 field public static final int SHOW_DIVIDER_BEGINNING = 1; // 0x1 636 field public static final int SHOW_DIVIDER_END = 4; // 0x4 637 field public static final int SHOW_DIVIDER_MIDDLE = 2; // 0x2 638 field public static final int SHOW_DIVIDER_NONE = 0; // 0x0 639 field public static final int VERTICAL = 1; // 0x1 640 } 641 642 public static class LinearLayoutCompat.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 643 ctor public LinearLayoutCompat.LayoutParams(android.content.Context, android.util.AttributeSet); 644 ctor public LinearLayoutCompat.LayoutParams(int, int); 645 ctor public LinearLayoutCompat.LayoutParams(int, int, float); 646 ctor public LinearLayoutCompat.LayoutParams(android.view.ViewGroup.LayoutParams); 647 ctor public LinearLayoutCompat.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 648 ctor public LinearLayoutCompat.LayoutParams(android.support.v7.widget.LinearLayoutCompat.LayoutParams); 649 field public int gravity; 650 field public float weight; 651 } 652 653 public class ListPopupWindow { 654 ctor public ListPopupWindow(android.content.Context); 655 ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet); 656 ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet, int); 657 ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet, int, int); 658 method public void clearListSelection(); 659 method public android.view.View.OnTouchListener createDragToOpenListener(android.view.View); 660 method public void dismiss(); 661 method public android.view.View getAnchorView(); 662 method public int getAnimationStyle(); 663 method public android.graphics.drawable.Drawable getBackground(); 664 method public int getHeight(); 665 method public int getHorizontalOffset(); 666 method public int getInputMethodMode(); 667 method public android.widget.ListView getListView(); 668 method public int getPromptPosition(); 669 method public java.lang.Object getSelectedItem(); 670 method public long getSelectedItemId(); 671 method public int getSelectedItemPosition(); 672 method public android.view.View getSelectedView(); 673 method public int getSoftInputMode(); 674 method public int getVerticalOffset(); 675 method public int getWidth(); 676 method public boolean isInputMethodNotNeeded(); 677 method public boolean isModal(); 678 method public boolean isShowing(); 679 method public boolean onKeyDown(int, android.view.KeyEvent); 680 method public boolean onKeyPreIme(int, android.view.KeyEvent); 681 method public boolean onKeyUp(int, android.view.KeyEvent); 682 method public boolean performItemClick(int); 683 method public void postShow(); 684 method public void setAdapter(android.widget.ListAdapter); 685 method public void setAnchorView(android.view.View); 686 method public void setAnimationStyle(int); 687 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 688 method public void setContentWidth(int); 689 method public void setDropDownGravity(int); 690 method public void setHeight(int); 691 method public void setHorizontalOffset(int); 692 method public void setInputMethodMode(int); 693 method public void setListSelector(android.graphics.drawable.Drawable); 694 method public void setModal(boolean); 695 method public void setOnDismissListener(android.widget.PopupWindow.OnDismissListener); 696 method public void setOnItemClickListener(android.widget.AdapterView.OnItemClickListener); 697 method public void setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener); 698 method public void setPromptPosition(int); 699 method public void setPromptView(android.view.View); 700 method public void setSelection(int); 701 method public void setSoftInputMode(int); 702 method public void setVerticalOffset(int); 703 method public void setWidth(int); 704 method public void setWindowLayoutType(int); 705 method public void show(); 706 field public static final int INPUT_METHOD_FROM_FOCUSABLE = 0; // 0x0 707 field public static final int INPUT_METHOD_NEEDED = 1; // 0x1 708 field public static final int INPUT_METHOD_NOT_NEEDED = 2; // 0x2 709 field public static final int MATCH_PARENT = -1; // 0xffffffff 710 field public static final int POSITION_PROMPT_ABOVE = 0; // 0x0 711 field public static final int POSITION_PROMPT_BELOW = 1; // 0x1 712 field public static final int WRAP_CONTENT = -2; // 0xfffffffe 713 } 714 715 public class PopupMenu { 716 ctor public PopupMenu(android.content.Context, android.view.View); 717 ctor public PopupMenu(android.content.Context, android.view.View, int); 718 ctor public PopupMenu(android.content.Context, android.view.View, int, int, int); 719 method public void dismiss(); 720 method public android.view.View.OnTouchListener getDragToOpenListener(); 721 method public int getGravity(); 722 method public android.view.Menu getMenu(); 723 method public android.view.MenuInflater getMenuInflater(); 724 method public void inflate(int); 725 method public void setGravity(int); 726 method public void setOnDismissListener(android.support.v7.widget.PopupMenu.OnDismissListener); 727 method public void setOnMenuItemClickListener(android.support.v7.widget.PopupMenu.OnMenuItemClickListener); 728 method public void show(); 729 } 730 731 public static abstract interface PopupMenu.OnDismissListener { 732 method public abstract void onDismiss(android.support.v7.widget.PopupMenu); 733 } 734 735 public static abstract interface PopupMenu.OnMenuItemClickListener { 736 method public abstract boolean onMenuItemClick(android.view.MenuItem); 737 } 738 739 public class SearchView extends android.support.v7.widget.LinearLayoutCompat implements android.support.v7.view.CollapsibleActionView { 740 ctor public SearchView(android.content.Context); 741 ctor public SearchView(android.content.Context, android.util.AttributeSet); 742 ctor public SearchView(android.content.Context, android.util.AttributeSet, int); 743 method public int getImeOptions(); 744 method public int getInputType(); 745 method public int getMaxWidth(); 746 method public java.lang.CharSequence getQuery(); 747 method public java.lang.CharSequence getQueryHint(); 748 method public android.support.v4.widget.CursorAdapter getSuggestionsAdapter(); 749 method public boolean isIconfiedByDefault(); 750 method public boolean isIconified(); 751 method public boolean isQueryRefinementEnabled(); 752 method public boolean isSubmitButtonEnabled(); 753 method public void onActionViewCollapsed(); 754 method public void onActionViewExpanded(); 755 method public void setIconified(boolean); 756 method public void setIconifiedByDefault(boolean); 757 method public void setImeOptions(int); 758 method public void setInputType(int); 759 method public void setMaxWidth(int); 760 method public void setOnCloseListener(android.support.v7.widget.SearchView.OnCloseListener); 761 method public void setOnQueryTextFocusChangeListener(android.view.View.OnFocusChangeListener); 762 method public void setOnQueryTextListener(android.support.v7.widget.SearchView.OnQueryTextListener); 763 method public void setOnSearchClickListener(android.view.View.OnClickListener); 764 method public void setOnSuggestionListener(android.support.v7.widget.SearchView.OnSuggestionListener); 765 method public void setQuery(java.lang.CharSequence, boolean); 766 method public void setQueryHint(java.lang.CharSequence); 767 method public void setQueryRefinementEnabled(boolean); 768 method public void setSearchableInfo(android.app.SearchableInfo); 769 method public void setSubmitButtonEnabled(boolean); 770 method public void setSuggestionsAdapter(android.support.v4.widget.CursorAdapter); 771 } 772 773 public static abstract interface SearchView.OnCloseListener { 774 method public abstract boolean onClose(); 775 } 776 777 public static abstract interface SearchView.OnQueryTextListener { 778 method public abstract boolean onQueryTextChange(java.lang.String); 779 method public abstract boolean onQueryTextSubmit(java.lang.String); 780 } 781 782 public static abstract interface SearchView.OnSuggestionListener { 783 method public abstract boolean onSuggestionClick(int); 784 method public abstract boolean onSuggestionSelect(int); 785 } 786 787 public class ShareActionProvider extends android.support.v4.view.ActionProvider { 788 ctor public ShareActionProvider(android.content.Context); 789 method public android.view.View onCreateActionView(); 790 method public void setOnShareTargetSelectedListener(android.support.v7.widget.ShareActionProvider.OnShareTargetSelectedListener); 791 method public void setShareHistoryFileName(java.lang.String); 792 method public void setShareIntent(android.content.Intent); 793 field public static final java.lang.String DEFAULT_SHARE_HISTORY_FILE_NAME = "share_history.xml"; 794 } 795 796 public static abstract interface ShareActionProvider.OnShareTargetSelectedListener { 797 method public abstract boolean onShareTargetSelected(android.support.v7.widget.ShareActionProvider, android.content.Intent); 798 } 799 800 public class SwitchCompat extends android.widget.CompoundButton { 801 ctor public SwitchCompat(android.content.Context); 802 ctor public SwitchCompat(android.content.Context, android.util.AttributeSet); 803 ctor public SwitchCompat(android.content.Context, android.util.AttributeSet, int); 804 method public boolean getShowText(); 805 method public boolean getSplitTrack(); 806 method public int getSwitchMinWidth(); 807 method public int getSwitchPadding(); 808 method public java.lang.CharSequence getTextOff(); 809 method public java.lang.CharSequence getTextOn(); 810 method public android.graphics.drawable.Drawable getThumbDrawable(); 811 method public int getThumbTextPadding(); 812 method public android.content.res.ColorStateList getThumbTintList(); 813 method public android.graphics.PorterDuff.Mode getThumbTintMode(); 814 method public android.graphics.drawable.Drawable getTrackDrawable(); 815 method public android.content.res.ColorStateList getTrackTintList(); 816 method public android.graphics.PorterDuff.Mode getTrackTintMode(); 817 method public void onMeasure(int, int); 818 method public void setShowText(boolean); 819 method public void setSplitTrack(boolean); 820 method public void setSwitchMinWidth(int); 821 method public void setSwitchPadding(int); 822 method public void setSwitchTextAppearance(android.content.Context, int); 823 method public void setSwitchTypeface(android.graphics.Typeface, int); 824 method public void setSwitchTypeface(android.graphics.Typeface); 825 method public void setTextOff(java.lang.CharSequence); 826 method public void setTextOn(java.lang.CharSequence); 827 method public void setThumbDrawable(android.graphics.drawable.Drawable); 828 method public void setThumbResource(int); 829 method public void setThumbTextPadding(int); 830 method public void setThumbTintList(android.content.res.ColorStateList); 831 method public void setThumbTintMode(android.graphics.PorterDuff.Mode); 832 method public void setTrackDrawable(android.graphics.drawable.Drawable); 833 method public void setTrackResource(int); 834 method public void setTrackTintList(android.content.res.ColorStateList); 835 method public void setTrackTintMode(android.graphics.PorterDuff.Mode); 836 } 837 838 public abstract interface ThemedSpinnerAdapter implements android.widget.SpinnerAdapter { 839 method public abstract android.content.res.Resources.Theme getDropDownViewTheme(); 840 method public abstract void setDropDownViewTheme(android.content.res.Resources.Theme); 841 } 842 843 public static final class ThemedSpinnerAdapter.Helper { 844 ctor public ThemedSpinnerAdapter.Helper(android.content.Context); 845 method public android.view.LayoutInflater getDropDownViewInflater(); 846 method public android.content.res.Resources.Theme getDropDownViewTheme(); 847 method public void setDropDownViewTheme(android.content.res.Resources.Theme); 848 } 849 850 public class Toolbar extends android.view.ViewGroup { 851 ctor public Toolbar(android.content.Context); 852 ctor public Toolbar(android.content.Context, android.util.AttributeSet); 853 ctor public Toolbar(android.content.Context, android.util.AttributeSet, int); 854 method public void collapseActionView(); 855 method public void dismissPopupMenus(); 856 method protected android.support.v7.widget.Toolbar.LayoutParams generateDefaultLayoutParams(); 857 method public android.support.v7.widget.Toolbar.LayoutParams generateLayoutParams(android.util.AttributeSet); 858 method protected android.support.v7.widget.Toolbar.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams); 859 method public int getContentInsetEnd(); 860 method public int getContentInsetEndWithActions(); 861 method public int getContentInsetLeft(); 862 method public int getContentInsetRight(); 863 method public int getContentInsetStart(); 864 method public int getContentInsetStartWithNavigation(); 865 method public int getCurrentContentInsetEnd(); 866 method public int getCurrentContentInsetLeft(); 867 method public int getCurrentContentInsetRight(); 868 method public int getCurrentContentInsetStart(); 869 method public android.graphics.drawable.Drawable getLogo(); 870 method public java.lang.CharSequence getLogoDescription(); 871 method public android.view.Menu getMenu(); 872 method public java.lang.CharSequence getNavigationContentDescription(); 873 method public android.graphics.drawable.Drawable getNavigationIcon(); 874 method public android.graphics.drawable.Drawable getOverflowIcon(); 875 method public int getPopupTheme(); 876 method public java.lang.CharSequence getSubtitle(); 877 method public java.lang.CharSequence getTitle(); 878 method public int getTitleMarginBottom(); 879 method public int getTitleMarginEnd(); 880 method public int getTitleMarginStart(); 881 method public int getTitleMarginTop(); 882 method public boolean hasExpandedActionView(); 883 method public boolean hideOverflowMenu(); 884 method public void inflateMenu(int); 885 method public boolean isOverflowMenuShowing(); 886 method public void setContentInsetEndWithActions(int); 887 method public void setContentInsetStartWithNavigation(int); 888 method public void setContentInsetsAbsolute(int, int); 889 method public void setContentInsetsRelative(int, int); 890 method public void setLogo(int); 891 method public void setLogo(android.graphics.drawable.Drawable); 892 method public void setLogoDescription(int); 893 method public void setLogoDescription(java.lang.CharSequence); 894 method public void setNavigationContentDescription(int); 895 method public void setNavigationContentDescription(java.lang.CharSequence); 896 method public void setNavigationIcon(int); 897 method public void setNavigationIcon(android.graphics.drawable.Drawable); 898 method public void setNavigationOnClickListener(android.view.View.OnClickListener); 899 method public void setOnMenuItemClickListener(android.support.v7.widget.Toolbar.OnMenuItemClickListener); 900 method public void setOverflowIcon(android.graphics.drawable.Drawable); 901 method public void setPopupTheme(int); 902 method public void setSubtitle(int); 903 method public void setSubtitle(java.lang.CharSequence); 904 method public void setSubtitleTextAppearance(android.content.Context, int); 905 method public void setSubtitleTextColor(int); 906 method public void setTitle(int); 907 method public void setTitle(java.lang.CharSequence); 908 method public void setTitleMargin(int, int, int, int); 909 method public void setTitleMarginBottom(int); 910 method public void setTitleMarginEnd(int); 911 method public void setTitleMarginStart(int); 912 method public void setTitleMarginTop(int); 913 method public void setTitleTextAppearance(android.content.Context, int); 914 method public void setTitleTextColor(int); 915 method public boolean showOverflowMenu(); 916 } 917 918 public static class Toolbar.LayoutParams extends android.support.v7.app.ActionBar.LayoutParams { 919 ctor public Toolbar.LayoutParams(android.content.Context, android.util.AttributeSet); 920 ctor public Toolbar.LayoutParams(int, int); 921 ctor public Toolbar.LayoutParams(int, int, int); 922 ctor public Toolbar.LayoutParams(int); 923 ctor public Toolbar.LayoutParams(android.support.v7.widget.Toolbar.LayoutParams); 924 ctor public Toolbar.LayoutParams(android.support.v7.app.ActionBar.LayoutParams); 925 ctor public Toolbar.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 926 ctor public Toolbar.LayoutParams(android.view.ViewGroup.LayoutParams); 927 } 928 929 public static abstract interface Toolbar.OnMenuItemClickListener { 930 method public abstract boolean onMenuItemClick(android.view.MenuItem); 931 } 932 933 public static class Toolbar.SavedState extends android.support.v4.view.AbsSavedState { 934 ctor public Toolbar.SavedState(android.os.Parcel); 935 ctor public Toolbar.SavedState(android.os.Parcel, java.lang.ClassLoader); 936 ctor public Toolbar.SavedState(android.os.Parcelable); 937 field public static final android.os.Parcelable.Creator<android.support.v7.widget.Toolbar.SavedState> CREATOR; 938 } 939 940 public class TooltipCompat { 941 method public static void setTooltipText(android.view.View, java.lang.CharSequence); 942 } 943 944 } 945 946