Lines Matching refs:indicator

61  * {@link Activity#onPostCreate(android.os.Bundle) onPostCreate} to synchronize the indicator
96 * @return Up indicator drawable as defined in the Activity's theme, or null if one is not
103 * Set the Action Bar's up indicator drawable and content description.
105 * @param upDrawable - Drawable to set as up indicator
111 * Set the Action Bar's up indicator content description.
149 * The provided drawer indicator drawable will animate slightly off-screen as the drawer
158 * @param drawerImageRes A Drawable resource to use as the drawer indicator
180 * The provided drawer indicator drawable will animate slightly off-screen as the drawer
189 * @param animate True to animate the drawer indicator along with the drawer's position.
191 * @param drawerImageRes A Drawable resource to use as the drawer indicator
221 * Synchronize the state of the drawer indicator/affordance with the linked DrawerLayout.
243 * Set the up indicator to display when the drawer indicator is not
249 * @param indicator A drawable to use for the up indicator, or null to use
253 public void setHomeAsUpIndicator(Drawable indicator) {
254 if (indicator == null) {
258 mHomeAsUpIndicator = indicator;
268 * Set the up indicator to display when the drawer indicator is not
274 * @param resId Resource ID of a drawable to use for the up indicator, or 0
279 Drawable indicator = null;
281 indicator = ContextCompat.getDrawable(mActivity, resId);
284 setHomeAsUpIndicator(indicator);
288 * Enable or disable the drawer indicator. The indicator defaults to enabled.
290 * <p>When the indicator is disabled, the <code>ActionBar</code> will revert to displaying
291 * the home-as-up indicator provided by the <code>Activity</code>'s theme in the
310 * @return true if the enhanced drawer indicator is enabled, false otherwise
462 Log.w(TAG, "Couldn't set home-as-up indicator via JB-MR2 API", e);
467 Log.w(TAG, "Couldn't set home-as-up indicator");