Home
last modified time | relevance | path

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

/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/
DNavigationDrawerActivity.java69 private DrawerLayout mDrawerLayout; field in NavigationDrawerActivity
84 mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout); in onCreate()
88 mDrawerLayout.setDrawerShadow(R.drawable.drawer_shadow, GravityCompat.START); in onCreate()
102 mDrawerLayout, /* DrawerLayout object */ in onCreate()
117 mDrawerLayout.setDrawerListener(mDrawerToggle); in onCreate()
136 boolean drawerOpen = mDrawerLayout.isDrawerOpen(mDrawerList); in onPrepareOptionsMenu()
183 mDrawerLayout.closeDrawer(mDrawerList); in selectItem()
/development/samples/training/NavigationDrawer/src/com/example/android/navigationdrawerexample/
DMainActivity.java71 private DrawerLayout mDrawerLayout; field in MainActivity
86 mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout); in onCreate()
90 mDrawerLayout.setDrawerShadow(R.drawable.drawer_shadow, GravityCompat.START); in onCreate()
104 mDrawerLayout, /* DrawerLayout object */ in onCreate()
119 mDrawerLayout.setDrawerListener(mDrawerToggle); in onCreate()
137 boolean drawerOpen = mDrawerLayout.isDrawerOpen(mDrawerList); in onPrepareOptionsMenu()
188 mDrawerLayout.closeDrawer(mDrawerList); in selectItem()