/cts/tests/tests/widget/src/android/widget/cts/ |
SlidingDrawerTest.java | 84 SlidingDrawer drawer = (SlidingDrawer) mActivity.findViewById(R.id.drawer); local 85 View handle = drawer.getHandle(); 91 SlidingDrawer drawer = (SlidingDrawer) mActivity.findViewById(R.id.drawer); local 92 View content = drawer.getContent(); 99 SlidingDrawer drawer = (SlidingDrawer) mActivity.findViewById(R.id.drawer); local 100 View content = drawer.getContent(); 101 assertFalse(drawer.isOpened()) 114 final SlidingDrawer drawer = (SlidingDrawer) mActivity.findViewById(R.id.drawer); local 158 final SlidingDrawer drawer = (SlidingDrawer) mActivity.findViewById(R.id.drawer); local 212 SlidingDrawer drawer = (SlidingDrawer) mActivity.findViewById(R.id.drawer); local 228 SlidingDrawer drawer = (SlidingDrawer) mActivity.findViewById(R.id.drawer); local 255 SlidingDrawer drawer = (SlidingDrawer) mActivity.findViewById(R.id.drawer); local 267 SlidingDrawer drawer = (SlidingDrawer) mActivity.findViewById(R.id.drawer); local 281 final SlidingDrawer drawer = (SlidingDrawer) mActivity.findViewById(R.id.drawer); local [all...] |
/frameworks/base/docs/html/design/patterns/ |
navigation-drawer.jd | 1 page.title=Navigation Drawer 6 <a class="notice-developers" href="{@docRoot}training/implementing-navigation/nav-drawer.html"> 9 <p>Creating a Navigation Drawer</p> 14 <p>The navigation drawer is a panel that transitions in from the left edge of the screen and 18 <h4>Displaying the navigation drawer</h4> 20 <p>The user can bring the navigation drawer onto the screen by swiping from the left edge of the 23 <p>As the navigation drawer expands, it overlays the content but not the action bar. When the 24 drawer is fully extended, the action bar adjusts its content by replacing the current action 26 the navigation drawer. The overflow menu with the standard action items for Settings and Help 31 The user can open the drawer panel by touching the navigation drawer indicator [all...] |
/frameworks/base/docs/html/training/implementing-navigation/ |
nav-drawer.jd | 1 page.title=Creating a Navigation Drawer 13 <li><a href="#DrawerLayout">Create a Drawer Layout</a></li> 14 <li><a href="#Init">Initialize the Drawer List</a></li> 39 <p>The navigation drawer is a panel that displays the app?s main navigation options 44 <p>This lesson describes how to implement a navigation drawer using the 49 <p><strong>Navigation Drawer Design</strong></p> 50 <p>Before you decide to use a navigation drawer in your app, you should understand the use 52 <a href="{@docRoot}design/patterns/navigation-drawer.html">Navigation Drawer</a> design guide.</p> 56 <h2 id="DrawerLayout">Create a Drawer Layout</h2 [all...] |
index.jd | 45 implement navigation patterns with tabs, swipe views, and a navigation drawer. You should also 62 <dt><strong><a href="nav-drawer.html">Creating a Navigation Drawer</a></strong></dt> 63 <dd>Learn how to build an interface with a hidden navigation drawer on the side
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
DrawerFragment.java | 23 * A drawer that is shown in one pane mode, as a pull-out from the left. All the 26 * The drawer shows a list of accounts, the recent folders, and a list of top-level folders for 31 * Once it has this information, the drawer sets itself up to observe for changes and allows the 34 * The drawer is always instantiated through XML resources: in one_pane_activity.xml and in 39 * The only way a drawer is constructed is through XML layouts, and so it needs no constructor 44 // Drawer is always divided: it shows groups for inboxes, recent folders and all other 47 // The drawer also switches accounts, so don't hide accounts.
|
AccountController.java | 86 * Registers to receive changes upon drawer closing when a changeAccount is called. 97 * close the drawer and then wait for {@link DataSetObservable#notifyChanged()}. 109 * @return <code>true</code> if the drawer pull action is enabled, <code>false</code> otherwise
|
/frameworks/support/v4/java/android/support/v4/widget/ |
DrawerLayout.java | 48 * interactive "drawer" views to be pulled out from the edge of the window. 50 * <p>Drawer positioning and layout is controlled using the <code>android:layout_gravity</code> 51 * attribute on child views corresponding to which side of the view you want the drawer 60 * <p>{@link DrawerListener} can be used to monitor the state and motion of drawer views. 80 * Indicates that a drawer is currently being dragged by the user. 85 * Indicates that a drawer is in the process of settling to a final position. 90 * The drawer is unlocked. 95 * The drawer is locked closed. The user may not open it, though 101 * The drawer is locked open. The user may not close it, though the app 111 * Length of time to delay before peeking the drawer 1445 final View drawer = findDrawerWithGravity(mAbsGravity); local [all...] |
/development/samples/training/NavigationDrawer/src/com/example/android/navigationdrawerexample/ |
MainActivity.java | 47 * <p>When a navigation (left) drawer is present, the host activity should detect presses of 48 * the action bar's Up affordance as a signal to open and close the navigation drawer. The 50 * Items within the drawer should fall into one of two categories:</p> 57 * <li><strong>Selective Up</strong>. The drawer allows the user to choose an alternate 61 * This is the only form of navigation drawer that should be used outside of the root 89 // set a custom shadow that overlays the main content when the drawer opens 91 // set up the drawer's list view with items and click listener 96 // enable ActionBar app icon to behave as action to toggle nav drawer 101 // between the sliding drawer and the action bar app icon 105 R.drawable.ic_drawer, /* nav drawer image to replace 'Up' caret * [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
revisionHistory.css | 29 .outline-disclosure.revision-history-drawer { 34 .outline-disclosure.revision-history-drawer ol { 40 .outline-disclosure.revision-history-drawer > ol { 44 .outline-disclosure.revision-history-drawer li { 51 .outline-disclosure.revision-history-drawer li.parent { 66 .outline-disclosure.revision-history-drawer .revision-history-line { 71 .revision-history-drawer .webkit-line-number { 76 .revision-history-drawer li.revision-history-revision {
|
ConsolePanel.js | 49 if (WebInspector.drawer.visible) { 50 WebInspector.drawer.hide(WebInspector.Drawer.AnimationType.Immediately); 59 WebInspector.drawer.show(this._view, WebInspector.Drawer.AnimationType.Immediately);
|
Drawer.js | 33 WebInspector.Drawer = function() 35 this.element = document.getElementById("drawer"); 46 this._drawerBodyElement.id = "drawer-body"; 49 this._drawerContentsElement.id = "drawer-contents"; 52 this._footerElementContainer.id = "drawer-footer"; 61 document.body.enableStyleClass("drawer-overlay", drawerIsOverlay); 64 WebInspector.Drawer.AnimationType = { 70 WebInspector.Drawer.prototype = { 100 document.body.addStyleClass("drawer-visible"); 131 if (animationType === WebInspector.Drawer.AnimationType.Immediately [all...] |
inspector.js | 102 var animationType = window.event && window.event.shiftKey ? WebInspector.Drawer.AnimationType.Slow : WebInspector.Drawer.AnimationType.Normal; 122 drawerStatusBarHeader.className = "drawer-header status-bar-item"; 130 var drawerViewAnchor = document.getElementById("drawer-view-anchor"); 133 this.drawer.show(view, WebInspector.Drawer.AnimationType.Immediately); 141 // Once drawer is closed console should be shown if it was shown before current view replaced it in drawer. 145 this.drawer.hide(WebInspector.Drawer.AnimationType.Immediately) [all...] |
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
DrawerLayoutActivity.java | 44 * in both dimensions. Each drawer should define a reasonable width and match_parent for height. 45 * Drawer views should be positioned after the content view in your layout to preserve proper 48 * <p>When a navigation (left) drawer is present, the host activity should detect presses of 49 * the action bar's Up affordance as a signal to open and close the navigation drawer. 50 * Items within the drawer should fall into one of two categories.</p> 57 * <li><strong>Selective Up</strong>. The drawer allows the user to choose an alternate 61 * This is the only form of navigation drawer that should be used outside of the root 100 // prescribed interactions between a top-level sliding drawer and the action bar. 116 * The action bar home/up action should open or close the drawer. 133 * the primary content text. The drawer is closed when a selection is made [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
DrawerClosedObserver.java | 26 * Observes when the drawer is closed for the purpose of computing after the drawer is, 40 * Initialize the {@link DrawerClosedObserver} object to receive calls when the drawer 51 * On drawer closed, execute necessary actions. In the case of {@link FolderListFragment}, this
|
/development/samples/training/NavigationDrawer/res/values/ |
strings.xml | 18 <string name="app_name">Navigation Drawer Example</string> 29 <string name="drawer_open">Open navigation drawer</string> 30 <string name="drawer_close">Close navigation drawer</string>
|
/frameworks/base/docs/html/design/get-started/ |
ui-overview.jd | 86 interrupting the user. Open the notifications drawer by swiping down on the status bar. Touching a 102 <p>Swiping a notification right or left removes it from the notification drawer.</p> 119 <p>A typical Android app uses action bars, and many apps will include a navigation drawer.</p> 128 <h4>Navigation Drawer</h4> 129 <p>If your app's structure is more complex, the navigation drawer can display the main navigation 130 options. The navigation drawer expands from the left edge of the screen, overlaying the content 132 <p><a href="{@docRoot}design/patterns/navigation-drawer.html">More on the Navigation Drawer</a></p>
|
/frameworks/base/core/java/android/widget/ |
SlidingDrawer.java | 54 * android:id="@+id/drawer" 146 * Callback invoked when the drawer is opened. 150 * Invoked when the drawer becomes fully open. 156 * Callback invoked when the drawer is closed. 160 * Invoked when the drawer becomes fully closed. 166 * Callback invoked when the drawer is scrolled. 170 * Invoked when the user starts dragging/flinging the drawer's handle. 175 * Invoked when the user stops dragging/flinging the drawer's handle. 710 * Toggles the drawer open and close. Takes effect immediately. 729 * Toggles the drawer open and close with an animation [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
ActionBarDrawerToggle.java | 175 * The provided drawer indicator drawable will animate slightly off-screen as the drawer 176 * is opened, indicating that in the open state the drawer will move off-screen when pressed 177 * and in the closed state the drawer will move on-screen when pressed.</p> 179 * <p>String resources must be provided to describe the open/close drawer actions for 182 * @param activity The Activity hosting the drawer 184 * @param drawerImageRes A Drawable resource to use as the drawer indicator 185 * @param openDrawerContentDescRes A String resource to describe the "open drawer" action 187 * @param closeDrawerContentDescRes A String resource to describe the "close drawer" action 213 * Synchronize the state of the drawer indicator/affordance with the linked DrawerLayout [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
completionvalues1-expected-completion30.txt | 5 android:animateOnClick : Indicates whether the drawer should be opened/closed with an animation when the user clicks the handle. [boolean]
|
/development/samples/Support4Demos/res/layout/ |
drawer_layout.xml | 41 this as a sliding drawer on the starting side, which is 42 left for left-to-right locales. The drawer is given a fixed
|
/development/samples/training/NavigationDrawer/res/layout/ |
activity_main.xml | 33 this as a sliding drawer on the left side for left-to-right 35 The drawer is given a fixed width in dp and extends the full height of
|
/cts/tests/res/layout/ |
sliding_drawer_layout.xml | 22 android:id="@+id/drawer"
|
/packages/apps/UnifiedEmail/res/layout/ |
drawer_empty_view.xml | 20 <!--Empty view shown in the drawer when we are waiting for folders to initialize. -->
|
/development/samples/Support4Demos/res/values/ |
strings.xml | 159 <string name="drawer_layout_support">Widget/Drawer layout</string> 161 <string name="drawer_layout_summary">This activity illustrates the use of sliding drawers. The drawer may be pulled out from the starting edge, which is left on left-to-right locales, with an edge swipe. If this demo is running on Ice Cream Sandwich or newer you may tap the icon at the starting side of the action bar to open the drawer as well.</string> 163 <string name="drawer_open">Open navigation drawer</string> 164 <string name="drawer_close">Close navigation drawer</string>
|
/packages/apps/UnifiedEmail/src/com/android/mail/adapter/ |
DrawerItem.java | 54 /** True if the drawer item represents the current account, false otherwise */ 116 * Creates a drawer item with every instance variable specified. 125 * @param account the account object, for an account drawer element 151 * @return a drawer item for the folder. 173 * @param account the account to create a drawer item for 176 * @return a drawer item for the account. 198 * @return a drawer item for the header. 219 * @return a drawer item with an indeterminate progress indicator. 259 * increment this appropriately once adding more types as drawer items
|