/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
D | BottomSheetDynamicContent.java | 41 private BottomSheetBehavior<RecyclerView> mBehavior; field in BottomSheetDynamicContent 51 if (mBehavior != null) { 52 mBehavior.setState(BottomSheetBehavior.STATE_EXPANDED); 60 if (mBehavior != null) { 61 mBehavior.setState(BottomSheetBehavior.STATE_EXPANDED); 66 if (mBehavior != null) { 67 mBehavior.setState(BottomSheetBehavior.STATE_EXPANDED); 71 if (mBehavior != null) { 72 mBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED); 91 mBehavior = BottomSheetBehavior.from(list); in onCreate()
|
D | BottomSheetUsageBase.java | 35 protected BottomSheetBehavior<LinearLayout> mBehavior; field in BottomSheetUsageBase 42 mBehavior = BottomSheetBehavior.from((LinearLayout) findViewById(R.id.bottom_sheet)); in onCreate() 47 if (mBehavior != null) { in onBackPressed() 48 int state = mBehavior.getState(); in onBackPressed() 51 mBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED); in onBackPressed()
|
D | BottomSheetWithFab.java | 40 if (v.getId() == R.id.toggle && mBehavior != null) { 42 if (mBehavior.getState() == BottomSheetBehavior.STATE_HIDDEN) { 43 mBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED); 45 mBehavior.setState(BottomSheetBehavior.STATE_HIDDEN); 61 mBehavior.setBottomSheetCallback(new BottomSheetBehavior.BottomSheetCallback() { in onCreate()
|
D | BottomSheetHideable.java | 50 mBehavior.setBottomSheetCallback(new BottomSheetBehavior.BottomSheetCallback() { in onCreate() 77 if (v.getId() == R.id.toggle && mBehavior != null) { 79 if (mBehavior.getState() == BottomSheetBehavior.STATE_HIDDEN) { 80 mBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED); 82 mBehavior.setState(BottomSheetBehavior.STATE_HIDDEN);
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioFormatAdapter.h | 64 mBehavior = behavior; in configure() 80 if (mBehavior == EFFECT_BUFFER_ACCESS_WRITE) { in process() 85 } else if (mBehavior == EFFECT_BUFFER_ACCESS_ACCUMULATE) { in process() 114 uint32_t mBehavior; variable 150 if (mBehavior == EFFECT_BUFFER_ACCESS_WRITE) { in ConvertOutput() 154 } else if (mBehavior == EFFECT_BUFFER_ACCESS_ACCUMULATE) { in ConvertOutput()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | BottomSheetDialog.java | 44 private BottomSheetBehavior<FrameLayout> mBehavior; field in BottomSheetDialog 102 if (mBehavior != null) { in setCancelable() 103 mBehavior.setHideable(cancelable); in setCancelable() 111 if (mBehavior != null) { in onStart() 112 mBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED); in onStart() 135 mBehavior = BottomSheetBehavior.from(bottomSheet); in wrapInBottomSheet() 136 mBehavior.setBottomSheetCallback(mBottomSheetCallback); in wrapInBottomSheet() 137 mBehavior.setHideable(mCancelable); in wrapInBottomSheet()
|
D | CoordinatorLayout.java | 1206 if (lp.mBehavior != null) { in drawChild() 1207 final float scrimAlpha = lp.mBehavior.getScrimOpacity(this, child); in drawChild() 1212 mScrimPaint.setColor(lp.mBehavior.getScrimColor(this, child)); in drawChild() 2662 Behavior mBehavior; field in CoordinatorLayout.LayoutParams 2751 mBehavior = parseBehavior(context, attrs, a.getString( in LayoutParams() 2756 if (mBehavior != null) { in LayoutParams() 2758 mBehavior.onAttachedToLayoutParams(this); in LayoutParams() 2807 return mBehavior; in getBehavior() 2820 if (mBehavior != behavior) { in setBehavior() 2821 if (mBehavior != null) { in setBehavior() [all …]
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | BottomSheetBehaviorTouchTest.java | 46 private BottomSheetBehavior<FrameLayout> mBehavior; field in BottomSheetBehaviorTouchTest 77 mBehavior = new BottomSheetBehavior<>(); in setUpBottomSheet() 78 mBehavior.setPeekHeight(PEEK_HEIGHT); in setUpBottomSheet() 79 params.setBehavior(mBehavior); in setUpBottomSheet() 86 assertThat(mBehavior, is(sameInstance(BottomSheetBehavior.from(mBottomSheet)))); in testSetUp()
|
D | BottomSheetBehaviorActivity.java | 32 BottomSheetBehavior mBehavior; field in BottomSheetBehaviorActivity 45 mBehavior = BottomSheetBehavior.from(mBottomSheet); in onContentViewSet() 52 mBehavior.setState(initialState); in onContentViewSet()
|
D | BottomSheetBehaviorWithInsetsTest.java | 40 assertThat(activity.mBehavior.getState(), is(BottomSheetBehavior.STATE_COLLAPSED)); in testFitsSystemWindows() 43 is(activity.mCoordinatorLayout.getHeight() - activity.mBehavior.getPeekHeight())); in testFitsSystemWindows()
|
D | BottomSheetBehaviorInitialStateTest.java | 49 assertThat(activity.mBehavior.getState(), is(BottomSheetBehavior.STATE_EXPANDED)); in testSetStateExpanded() 62 assertThat(activity.mBehavior.getState(), is(BottomSheetBehavior.STATE_HIDDEN)); in testSetStateHidden()
|
D | BottomSheetBehaviorTest.java | 798 return mActivityTestRule.getActivity().mBehavior; in getBehavior()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | BaseWrapContentWithAspectRatioTest.java | 53 MeasureBehavior mBehavior; field in BaseWrapContentWithAspectRatioTest.LoggingView 56 mBehavior = behavior; in setBehavior() 78 mBehavior.onMeasure(this, widthMeasureSpec, heightMeasureSpec); in onMeasure() 84 mBehavior.onLayout(changed, left, top, right, bottom); in onLayout() 92 mBehavior.setLayoutParams(this); in prepareLayoutParams()
|
D | BaseWrapContentTest.java | 469 return casted.mView.mBehavior.getId(); in getItemId()
|
/frameworks/base/core/java/android/widget/ |
D | ProgressBar.java | 182 private int mBehavior; field in ProgressBar 264 mBehavior = a.getInt(R.styleable.ProgressBar_indeterminateBehavior, mBehavior); in ProgressBar() 537 mBehavior = AlphaAnimation.RESTART; in initProgressBar() 1628 mAnimation.setRepeatMode(mBehavior); in startAnimation()
|