Home
last modified time | relevance | path

Searched refs:mDrawerLayout (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarDrawerToggle.java115 private final DrawerLayout mDrawerLayout; field in ActionBarDrawerToggle
216 mDrawerLayout = drawerLayout; in ActionBarDrawerToggle()
239 if (mDrawerLayout.isDrawerOpen(GravityCompat.START)) { in syncState()
246 mDrawerLayout.isDrawerOpen(GravityCompat.START) ? in syncState()
285 if (mDrawerLayout.isDrawerVisible(GravityCompat.START)) { in toggle()
286 mDrawerLayout.closeDrawer(GravityCompat.START); in toggle()
288 mDrawerLayout.openDrawer(GravityCompat.START); in toggle()
331 indicator = mDrawerLayout.getResources().getDrawable(resId); in setHomeAsUpIndicator()
358 mDrawerLayout.isDrawerOpen(GravityCompat.START) ? in setDrawerIndicatorEnabled()
/frameworks/support/v4/java/android/support/v4/app/
DActionBarDrawerToggle.java194 private final DrawerLayout mDrawerLayout; field in ActionBarDrawerToggle
271 mDrawerLayout = drawerLayout; in ActionBarDrawerToggle()
292 if (mDrawerLayout.isDrawerOpen(GravityCompat.START)) { in syncState()
299 setActionBarUpIndicator(mSlider, mDrawerLayout.isDrawerOpen(GravityCompat.START) ? in syncState()
362 setActionBarUpIndicator(mSlider, mDrawerLayout.isDrawerOpen(GravityCompat.START) ? in setDrawerIndicatorEnabled()
406 if (mDrawerLayout.isDrawerVisible(GravityCompat.START)) { in onOptionsItemSelected()
407 mDrawerLayout.closeDrawer(GravityCompat.START); in onOptionsItemSelected()
409 mDrawerLayout.openDrawer(GravityCompat.START); in onOptionsItemSelected()
/frameworks/base/docs/html/training/implementing-navigation/
Dnav-drawer.jd127 private DrawerLayout mDrawerLayout;
137 mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
198 mDrawerLayout.closeDrawer(mDrawerList);
241 private DrawerLayout mDrawerLayout;
254 mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
255 mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
274 mDrawerLayout.setDrawerListener(mDrawerToggle);
281 boolean drawerOpen = mDrawerLayout.isDrawerOpen(mDrawerList);
322 private DrawerLayout mDrawerLayout;
329 mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsActivity.java86 private DrawerLayout mDrawerLayout; field in DocumentsActivity
125 mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout); in onCreate()
127 mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout, in onCreate()
130 mDrawerLayout.setDrawerListener(mDrawerListener); in onCreate()
163 mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED); in onCreate()
381 mDrawerLayout.openDrawer(mRootsDrawer); in setRootsDrawerOpen()
383 mDrawerLayout.closeDrawer(mRootsDrawer); in setRootsDrawerOpen()
392 return mDrawerLayout.isDrawerOpen(mRootsDrawer); in isRootsDrawerOpen()
414 if (!mShowAsDialog && mDrawerLayout.getDrawerLockMode(mRootsDrawer) == in updateActionBar()