Home
last modified time | relevance | path

Searched refs:mMinWidth (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeEffect.java89 private final int mMinWidth; field in EdgeEffect
140 mMinWidth = (int) (context.getResources().getDisplayMetrics().density * MIN_WIDTH + 0.5f); in EdgeEffect()
321 if (mWidth < mMinWidth) { in draw()
323 int glowLeft = (mWidth - mMinWidth)/2; in draw()
335 if (mWidth < mMinWidth) { in draw()
337 int edgeLeft = (mWidth - mMinWidth)/2; in draw()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DActionableToastBar.java93 private int mMinWidth; field in ActionableToastBar
114 mMinWidth = getResources().getDimensionPixelOffset(R.dimen.snack_bar_min_width); in ActionableToastBar()
172 } else if (mMinWidth >= 0 && mMaxWidth >= 0) { in onMeasure()
176 if (getMeasuredWidth() < mMinWidth) { in onMeasure()
177 widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(mMinWidth, MeasureSpec.EXACTLY); in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DRecyclerViewFastScroller.java75 private final int mMinWidth; field in RecyclerViewFastScroller
140 mWidth = mMinWidth = res.getDimensionPixelSize(R.dimen.fastscroll_track_min_width); in RecyclerViewFastScroller()
337 isScrolling ? mMaxWidth : mMinWidth); in showActiveScrollbar()