HomeSort by relevance Sort by last modified time
    Searched full:bottomsheet (Results 1 - 18 of 18) sorted by null

  /frameworks/support/design/tests/src/android/support/design/widget/
BottomSheetDialogTest.java 58 FrameLayout bottomSheet = (FrameLayout) mDialog
60 assertThat(bottomSheet, is(notNullValue()));
61 BottomSheetBehavior<FrameLayout> behavior = BottomSheetBehavior.from(bottomSheet);
96 FrameLayout bottomSheet = (FrameLayout) mDialog
98 CoordinatorLayout coordinator = (CoordinatorLayout) bottomSheet.getParent();
99 BottomSheetBehavior<FrameLayout> behavior = BottomSheetBehavior.from(bottomSheet);
100 assertThat(bottomSheet, is(notNullValue()));
104 assertThat(bottomSheet.getHeight(), is(lessThan(behavior.getPeekHeight())));
106 assertThat(bottomSheet.getTop(),
107 is(coordinator.getHeight() - bottomSheet.getHeight()))
    [all...]
BottomSheetBehaviorWithInsetsTest.java 41 ViewGroup bottomSheet = activity.mBottomSheet;
42 assertThat(bottomSheet.getTop(),
BottomSheetBehaviorTest.java 77 public void onStateChanged(@NonNull View bottomSheet,
87 public void onSlide(@NonNull View bottomSheet, float slideOffset) {
277 ViewGroup bottomSheet = getBottomSheet();
278 assertThat(bottomSheet.getTop(),
433 // Make the bottomsheet invisible
464 final ViewGroup bottomSheet = getBottomSheet();
471 bottomSheet.addView(scroll, new ViewGroup.LayoutParams(
  /frameworks/support/samples/SupportDesignDemos/res/values/
strings.xml 28 <string name="design_bottomsheet_persistent">BottomSheet/Persistent</string>
29 <string name="design_bottomsheet_hideable">BottomSheet/Hideable</string>
30 <string name="design_bottomsheet_with_fab">BottomSheet/With FAB</string>
31 <string name="design_bottomsheet_scroll">BottomSheet/With ScrollView in background</string>
32 <string name="design_bottomsheet_with_fragment">BottomSheet/With Fragment</string>
33 <string name="design_bottomsheet_dynamic_content">BottomSheet/Dynamic content</string>
34 <string name="design_bottomsheet_modal">BottomSheet/Modal</string>
35 <string name="design_bottomsheet_modal_skip_collapsed">BottomSheet/Modal (Skip collapsed)</string>
styles.xml 59 <style name="BottomSheetStyle" parent="Widget.Design.BottomSheet.Modal">
  /frameworks/support/design/res/values/
themes.xml 22 <item name="bottomSheetStyle">@style/Widget.Design.BottomSheet.Modal</item>
28 <item name="bottomSheetStyle">@style/Widget.Design.BottomSheet.Modal</item>
styles.xml 129 <style name="Widget.Design.BottomSheet.Modal" parent="android:Widget">
  /prebuilts/sdk/current/support/design/res/values/
themes.xml 22 <item name="bottomSheetStyle">@style/Widget.Design.BottomSheet.Modal</item>
28 <item name="bottomSheetStyle">@style/Widget.Design.BottomSheet.Modal</item>
styles.xml 129 <style name="Widget.Design.BottomSheet.Modal" parent="android:Widget">
  /frameworks/support/design/src/android/support/design/widget/
BottomSheetDialog.java 112 FrameLayout bottomSheet = (FrameLayout) coordinator.findViewById(R.id.design_bottom_sheet);
113 mBehavior = BottomSheetBehavior.from(bottomSheet);
117 bottomSheet.addView(view);
119 bottomSheet.addView(view, params);
166 public void onStateChanged(@NonNull View bottomSheet,
174 public void onSlide(@NonNull View bottomSheet, float slideOffset) {
BottomSheetBehavior.java 63 * @param bottomSheet The bottom sheet view.
68 public abstract void onStateChanged(@NonNull View bottomSheet, @State int newState);
73 * @param bottomSheet The bottom sheet view.
79 public abstract void onSlide(@NonNull View bottomSheet, float slideOffset);
569 View bottomSheet = mViewRef.get();
570 if (bottomSheet != null && mCallback != null) {
571 mCallback.onStateChanged(bottomSheet, state);
718 View bottomSheet = mViewRef.get();
719 if (bottomSheet != null && mCallback != null) {
721 mCallback.onSlide(bottomSheet, (float) (mMaxOffset - top) / mPeekHeight)
    [all...]
FloatingActionButton.java 664 private boolean updateFabVisibilityForBottomSheet(View bottomSheet,
666 if (!shouldUpdateVisibility(bottomSheet, child)) {
671 if (bottomSheet.getTop() < child.getHeight() / 2 + lp.topMargin) {
  /frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
BottomSheetHideable.java 52 public void onStateChanged(@NonNull View bottomSheet,
68 public void onSlide(@NonNull View bottomSheet, float slideOffset) {
BottomSheetWithFab.java 63 public void onStateChanged(@NonNull View bottomSheet,
79 public void onSlide(@NonNull View bottomSheet, float slideOffset) {
  /frameworks/support/design/res-public/values/
public_styles.xml 34 <public type="style" name="Widget.Design.BottomSheet.Modal"/>
  /prebuilts/sdk/current/support/design/res-public/values/
public_styles.xml 34 <public type="style" name="Widget.Design.BottomSheet.Modal"/>
  /packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
LiveWallpaperPreview.java 153 public void onStateChanged(View bottomSheet, int newState) {
167 public void onSlide(View bottomSheet, float slideOffset) {
  /prebuilts/sdk/current/support/design/libs/
android-support-design.jar 

Completed in 246 milliseconds