Home
last modified time | relevance | path

Searched refs:mMargin (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthPanelController.java62 private int mMargin; field in AuthPanelController
72 final int bottom = Math.min(top + mContentHeight, mContainerHeight - mMargin); in getOutline()
82 return mMargin; in getLeftBound()
84 return mContainerWidth - mContentWidth - mMargin; in getLeftBound()
94 return Math.max(mContainerHeight - mContentHeight - mMargin, mMargin); in getTopBound()
97 return Math.max((mContainerHeight - mContentHeight) / 2, mMargin); in getTopBound()
158 ValueAnimator marginAnimator = ValueAnimator.ofInt(mMargin, margin); in updateForContentDimensions()
160 mMargin = (int) animation.getAnimatedValue(); in updateForContentDimensions()
190 mMargin = margin; in updateForContentDimensions()
211 mMargin = (int) context.getResources() in AuthPanelController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DFloatingRotationButton.java46 private final int mMargin; field in FloatingRotationButton
63 mMargin = Math.max(res.getDimensionPixelSize(R.dimen.floating_rotation_button_min_margin), in FloatingRotationButton()
92 mMargin, mMargin, WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL, flags, in show()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuView.java109 private int mMargin; field in AccessibilityFloatingMenuView
487 new Rect(marginStartEnd, mMargin, marginStartEnd + getLayoutWidth(), in onTouched()
488 mMargin + getLayoutHeight()); in onTouched()
504 event.setLocation(currentX - mMargin, currentY - mMargin); in onTouched()
552 mMargin = in updateDimensions()
737 layoutParams.setMargins(marginStartEnd, mMargin, marginStartEnd, mMargin); in updateMarginWith()
835 ? mMargin : 0; in getMarginStartEndWith()
862 return mScreenHeight - mMargin * 2; in getMaxLayoutHeight()
878 return Math.min(mScreenHeight, mMargin * 2 + getLayoutHeight()); in getWindowHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputBaseAdapter.java61 private int mMargin; field in MediaOutputBaseAdapter
79 mMargin = mContext.getResources().getDimensionPixelSize( in onCreateViewHolder()
166 params.topMargin = topMargin ? mMargin : 0; in setMargin()
167 params.bottomMargin = bottomMargin ? mMargin : 0; in setMargin()