Home
last modified time | relevance | path

Searched refs:drawer (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/support/wear/src/android/support/wear/internal/widget/drawer/
DMultiPagePresenter.java17 package android.support.wear.internal.widget.drawer;
22 import android.support.wear.widget.drawer.WearableNavigationDrawerView;
23 import android.support.wear.widget.drawer.WearableNavigationDrawerView.WearableNavigationDrawerAdap…
47 void initialize(WearableNavigationDrawerView drawer, in initialize() argument
71 public MultiPagePresenter(WearableNavigationDrawerView drawer, Ui ui, in MultiPagePresenter() argument
73 if (drawer == null) { in MultiPagePresenter()
79 mDrawer = drawer; in MultiPagePresenter()
81 mUi.initialize(drawer, this); in MultiPagePresenter()
DMultiPageUi.java17 package android.support.wear.internal.widget.drawer;
25 import android.support.wear.widget.drawer.PageIndicatorView;
26 import android.support.wear.widget.drawer.WearableNavigationDrawerView;
27 import android.support.wear.widget.drawer.WearableNavigationDrawerView.WearableNavigationDrawerAdap…
52 WearableNavigationDrawerView drawer, WearableNavigationDrawerPresenter presenter) { in initialize() argument
53 if (drawer == null) { in initialize()
61 LayoutInflater inflater = LayoutInflater.from(drawer.getContext()); in initialize()
63 inflater.inflate(R.layout.navigation_drawer_view, drawer, false /* attachToRoot */); in initialize()
73 drawer.setDrawerContent(content); in initialize()
DWearableNavigationDrawerPresenter.java17 package android.support.wear.internal.widget.drawer;
22 import android.support.wear.widget.drawer.WearableNavigationDrawerView.OnItemSelectedListener;
23 import android.support.wear.widget.drawer.WearableNavigationDrawerView.WearableNavigationDrawerAdap…
DSinglePagePresenter.java17 package android.support.wear.internal.widget.drawer;
23 import android.support.wear.widget.drawer.WearableNavigationDrawerView;
24 import android.support.wear.widget.drawer.WearableNavigationDrawerView.WearableNavigationDrawerAdap…
Dpackage-info.java20 package android.support.wear.internal.widget.drawer;
DSinglePageUi.java17 package android.support.wear.internal.widget.drawer;
29 import android.support.wear.widget.drawer.WearableNavigationDrawerView;
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DWearableDrawerLayout.java17 package android.support.wear.widget.drawer;
19 import static android.support.wear.widget.drawer.WearableDrawerView.STATE_IDLE;
20 import static android.support.wear.widget.drawer.WearableDrawerView.STATE_SETTLING;
33 import android.support.wear.widget.drawer.FlingWatcherFactory.FlingListener;
34 import android.support.wear.widget.drawer.FlingWatcherFactory.FlingWatcher;
35 import android.support.wear.widget.drawer.WearableDrawerView.DrawerState;
260 private static void animatePeekVisibleAfterBeingClosed(WearableDrawerView drawer) { in animatePeekVisibleAfterBeingClosed() argument
261 final View content = drawer.getDrawerContent(); in animatePeekVisibleAfterBeingClosed()
276 ViewGroup peek = drawer.getPeekContainer(); in animatePeekVisibleAfterBeingClosed()
286 drawer.setIsPeeking(true); in animatePeekVisibleAfterBeingClosed()
[all …]
DWearableNavigationDrawerView.java17 package android.support.wear.widget.drawer;
31 import android.support.wear.internal.widget.drawer.MultiPagePresenter;
32 import android.support.wear.internal.widget.drawer.MultiPageUi;
33 import android.support.wear.internal.widget.drawer.SinglePagePresenter;
34 import android.support.wear.internal.widget.drawer.SinglePageUi;
35 import android.support.wear.internal.widget.drawer.WearableNavigationDrawerPresenter;
DRecyclerViewFlingWatcher.java17 package android.support.wear.widget.drawer;
23 import android.support.wear.widget.drawer.FlingWatcherFactory.FlingListener;
24 import android.support.wear.widget.drawer.FlingWatcherFactory.FlingWatcher;
DAbsListViewFlingWatcher.java17 package android.support.wear.widget.drawer;
21 import android.support.wear.widget.drawer.FlingWatcherFactory.FlingListener;
22 import android.support.wear.widget.drawer.FlingWatcherFactory.FlingWatcher;
DScrollViewFlingWatcher.java17 package android.support.wear.widget.drawer;
23 import android.support.wear.widget.drawer.FlingWatcherFactory.FlingListener;
24 import android.support.wear.widget.drawer.FlingWatcherFactory.FlingWatcher;
DNestedScrollViewFlingWatcher.java17 package android.support.wear.widget.drawer;
25 import android.support.wear.widget.drawer.FlingWatcherFactory.FlingListener;
26 import android.support.wear.widget.drawer.FlingWatcherFactory.FlingWatcher;
DWearableDrawerController.java17 package android.support.wear.widget.drawer;
DFlingWatcherFactory.java17 package android.support.wear.widget.drawer;
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNavigationDrawerActivity.java36 DrawerLayout drawer = findViewById(R.id.drawer_layout); in onCreate() local
38 this, drawer, toolbar, R.string.navigation_drawer_open, in onCreate()
40 drawer.setDrawerListener(toggle); in onCreate()
49 DrawerLayout drawer = findViewById(R.id.drawer_layout); in onNavigationItemSelected() local
50 drawer.closeDrawer(GravityCompat.START); in onNavigationItemSelected()
DClippedListActivity.java40 DrawerLayout drawer = findViewById(R.id.drawer_layout); in onCreate() local
42 this, drawer, toolbar, R.string.navigation_drawer_open, in onCreate()
44 drawer.setDrawerListener(toggle); in onCreate()
62 DrawerLayout drawer = findViewById(R.id.drawer_layout); in onNavigationItemSelected() local
63 drawer.closeDrawer(GravityCompat.START); in onNavigationItemSelected()
/frameworks/support/wear/tests/src/android/support/wear/widget/drawer/
DWearableDrawerLayoutEspressoTest.java17 package android.support.wear.widget.drawer;
44 import android.support.wear.widget.drawer.DrawerTestActivity.DrawerStyle;
392 private void peekDrawer(final WearableDrawerView drawer) { in peekDrawer() argument
393 drawer.post(new Runnable() { in peekDrawer()
396 drawer.getController().peekDrawer(); in peekDrawer()
401 private void openDrawer(final WearableDrawerView drawer) { in openDrawer() argument
402 drawer.post(new Runnable() { in openDrawer()
405 drawer.getController().openDrawer(); in openDrawer()
428 WearableDrawerView drawer = (WearableDrawerView) view;
429 return drawer.isClosed() == isClosed;
[all …]
DDrawerTestActivity.java17 package android.support.wear.widget.drawer;
27 import android.support.wear.widget.drawer.WearableDrawerLayout.DrawerStateCallback;
28 import android.support.wear.widget.drawer.WearableNavigationDrawerView.WearableNavigationDrawerAdap…
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DDrawerLayoutActions.java64 public void onDrawerClosed(View drawer) { in onDrawerClosed() argument
73 public void onDrawerOpened(View drawer) { in onDrawerOpened() argument
82 public void onDrawerSlide(View drawer, float slideOffset) { in onDrawerSlide() argument
117 final DrawerLayout drawer = (DrawerLayout) view; in wrap() local
120 drawer.addDrawerListener(customListener); in wrap()
138 drawer.removeDrawerListener(customListener); in wrap()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DSuggestionParserTest.java28 import com.android.settingslib.drawer.Tile;
29 import com.android.settingslib.drawer.TileUtilsTest;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DCategoryKey.java16 package com.android.settingslib.drawer;
DDashboardCategory.java17 package com.android.settingslib.drawer;
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DCategoryKeyTest.java17 package com.android.settingslib.drawer;
/frameworks/support/core-ui/java/android/support/v4/widget/
DDrawerLayout.java1733 public boolean isDrawerOpen(View drawer) { in isDrawerOpen() argument
1734 if (!isDrawerView(drawer)) { in isDrawerOpen()
1735 throw new IllegalArgumentException("View " + drawer + " is not a drawer"); in isDrawerOpen()
1737 LayoutParams drawerLp = (LayoutParams) drawer.getLayoutParams(); in isDrawerOpen()
1766 public boolean isDrawerVisible(View drawer) { in isDrawerVisible() argument
1767 if (!isDrawerView(drawer)) { in isDrawerVisible()
1768 throw new IllegalArgumentException("View " + drawer + " is not a drawer"); in isDrawerVisible()
1770 return ((LayoutParams) drawer.getLayoutParams()).onScreen > 0; in isDrawerVisible()
2179 final View drawer = findDrawerWithGravity(mAbsGravity); in onEdgeLock() local
2180 if (drawer != null && !isDrawerOpen(drawer)) { in onEdgeLock()
[all …]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawer/
DSettingsDrawerActivityTest.java17 package com.android.settingslib.drawer;

12