Lines Matching refs:to

10  * Unless required by applicable law or agreed to in writing, software
48 * your activity, you can enable an action mode that offers actions specific to the selected
54 * <p>For information about how to use the action bar, including how to add action items, navigation
63 * will dispatch onOptionsItemSelected to the host Activity with
71 * e.g. this might be presented to the user as a dropdown list.
83 * navigation modes to use a wider logo in place of the standard icon.
101 * e.g. show an arrow to the left indicating the action that will be taken.
103 * Set this flag if selecting the 'home' button in the action bar to return
104 * up by a single level in your UI rather than back to the top level or front page.
135 * Allow the title to wrap onto multiple lines if space is available
148 * translate well to provided navigation modes.
150 * @param view Custom navigation view to place in the ActionBar.
162 * translate well to provided navigation modes.</p>
165 * the custom view to be displayed.</p>
167 * @param view Custom navigation view to place in the ActionBar.
182 * translate well to provided navigation modes.</p>
185 * the custom view to be displayed.</p>
187 * @param resId Resource ID of a layout to inflate into the ActionBar.
194 * Set the icon to display in the 'home' section of the action bar.
201 * @param resId Resource ID of a drawable to show as an icon.
209 * Set the icon to display in the 'home' section of the action bar.
216 * @param icon Drawable to show as an icon.
224 * Set the logo to display in the 'home' section of the action bar.
231 * @param resId Resource ID of a drawable to show as a logo.
239 * Set the logo to display in the 'home' section of the action bar.
246 * @param logo Drawable to show as a logo.
262 * @param adapter An adapter that will provide views both to display
274 * @param position Position of the item to select.
296 * @param title Title to set
307 * @param resId Resource ID of title string to set
316 * {@link #DISPLAY_SHOW_TITLE} is set. Set to null to disable the
319 * @param subtitle Subtitle to set
330 * @param resId Resource ID of subtitle string to set
362 * Set whether to display the activity logo rather than the activity icon.
367 * @param useLogo true to use the activity logo, false to use the activity icon.
375 * Set whether to include the application home affordance in the action bar.
380 * @param showHome true to show home, false otherwise.
389 * Set this to true if selecting "home" returns up by a single level in your UI
390 * rather than back to the top level or front page.
394 * @param showHomeAsUp true to show the user that selecting home will return one
395 * level up rather than to the top level of the app.
407 * @param showTitle true to display a title/subtitle if present.
492 * @param mode The new mode to set.
508 * <p>Very often tabs will be used to switch between {@link Fragment}
522 * If this is the first tab to be added it will become the selected tab.
524 * @param tab Tab to add
531 * @param tab Tab to add
538 * <code>position</code>. If this is the first tab to be added it will become
541 * @param tab The tab to add
550 * @param tab The tab to add
560 * @param tab The tab to remove
568 * @param position Position of the tab to remove
580 * <p>Note: If you want to select by index, use {@link #setSelectedNavigationItem(int)}.</p>
582 * @param tab Tab to select
619 * content to fit the new space available.
631 * content to fit the new space available.
634 * ActionBar using the overlay feature to hide through
636 * Hiding the ActionBar through this system UI flag allows you to more
647 * Add a listener that will respond to menu visibility change events.
649 * @param listener The new listener to add
657 * @param listener A listener to remove that was previously added
666 * <p>This defaults to true for packages targeting &lt; API 14. For packages targeting
667 * API 14 or greater, the application should call this method to enable interaction
673 * @param enabled true to enable the home button, false to disable the home button.
698 * Set an alternate drawable to display next to the icon/logo/title
700 * this mode to display an alternate selection for up navigation, such as a sliding drawer.
702 * <p>If you pass <code>null</code> to this method, the default drawable from the theme
707 * to provide a correct description of the action for accessibility support.</p>
709 * @param indicator A drawable to use for the up indicator, or null to use the theme's default
718 * Set an alternate drawable to display next to the icon/logo/title
720 * this mode to display an alternate selection for up navigation, such as a sliding drawer.
722 * <p>If you pass <code>0</code> to this method, the default drawable from the theme
727 * to provide a correct description of the action for accessibility support.</p>
729 * @param resId Resource ID of a drawable to use for the up indicator, or null
730 * to use the theme's default
745 * indicator using {@link #setHomeAsUpIndicator(int)} to indicate more specific
746 * functionality such as a sliding drawer, you should also set this to accurately
749 * <p>Setting this to <code>null</code> will use the system default description.</p>
764 * indicator using {@link #setHomeAsUpIndicator(int)} to indicate more specific
765 * functionality such as a sliding drawer, you should also set this to accurately
768 * <p>Setting this to <code>0</code> will use the system default description.</p>
770 * @param resId Resource ID of a string to use as the new description
797 * Called when an action bar menu is shown or hidden. Applications may want to use
798 * this to tune auto-hiding behavior for the action bar or pause/resume video playback,
845 * @param icon The drawable to use as an icon
853 * @param resId Resource ID referring to the drawable to use as an icon
860 * room to display the entire string.
862 * @param text The text to display
869 * room to display the entire string.
871 * @param resId A resource ID referring to the text that should be displayed
877 * Set a custom view to be used for this tab. This overrides values set by
880 * @param view Custom view to be used as a tab.
886 * Set a custom view to be used for this tab. This overrides values set by
889 * @param layoutResId A layout resource to inflate and use as a custom tab view
902 * Give this Tab an arbitrary object to hold for later use.
904 * @param obj Object to store
915 * Set the {@link TabListener} that will handle switching to and from this tab.
916 * All tabs must have a TabListener set before being added to the ActionBar.
918 * @param listener Listener to handle tab selection events
924 * Select this tab. Only valid if the tab has been added to the action bar.
932 * @param resId A resource ID referring to the description text
968 * @param ft A {@link FragmentTransaction} for queuing fragment operations to execute
971 * being added to the back stack.
979 * @param ft A {@link FragmentTransaction} for queuing fragment operations to execute
982 * support being added to the back stack.
988 * Some applications may use this action to return to the top level of a category.
991 * @param ft A {@link FragmentTransaction} for queuing fragment operations to execute
993 * being added to the back stack.
1010 @ViewDebug.IntToString(from = -1, to = "NONE"),
1011 @ViewDebug.IntToString(from = Gravity.NO_GRAVITY, to = "NONE"),
1012 @ViewDebug.IntToString(from = Gravity.TOP, to = "TOP"),
1013 @ViewDebug.IntToString(from = Gravity.BOTTOM, to = "BOTTOM"),
1014 @ViewDebug.IntToString(from = Gravity.LEFT, to = "LEFT"),
1015 @ViewDebug.IntToString(from = Gravity.RIGHT, to = "RIGHT"),
1016 @ViewDebug.IntToString(from = Gravity.START, to = "START"),
1017 @ViewDebug.IntToString(from = Gravity.END, to = "END"),
1018 @ViewDebug.IntToString(from = Gravity.CENTER_VERTICAL, to = "CENTER_VERTICAL"),
1019 @ViewDebug.IntToString(from = Gravity.FILL_VERTICAL, to = "FILL_VERTICAL"),
1020 @ViewDebug.IntToString(from = Gravity.CENTER_HORIZONTAL, to = "CENTER_HORIZONTAL"),
1021 @ViewDebug.IntToString(from = Gravity.FILL_HORIZONTAL, to = "FILL_HORIZONTAL"),
1022 @ViewDebug.IntToString(from = Gravity.CENTER, to = "CENTER"),
1023 @ViewDebug.IntToString(from = Gravity.FILL, to = "FILL")