Searched refs:mMaxWidth (Results 1 – 7 of 7) sorted by relevance
/packages/apps/TV/src/com/android/tv/util/images/ |
D | ImageLoader.java | 272 protected final int mMaxWidth; field in ImageLoader.LoadBitmapTask 285 bitmapInfo != null && bitmapInfo.needToReload(mMaxWidth, mMaxHeight); in isReloadNeeded() 296 + mMaxWidth in isReloadNeeded() 308 || (other.mMaxWidth != Integer.MAX_VALUE && mMaxWidth >= other.mMaxWidth * 2); in isReloadNeeded() 330 mMaxWidth = maxWidth; in LoadBitmapTask() 372 + mMaxWidth in toString() 393 mAppContext, getKey(), mMaxWidth, mMaxHeight); in doGetBitmapInBackground() 422 : BitmapUtils.createScaledBitmapInfo(getKey(), bm, mMaxWidth, mMaxHeight); in doGetBitmapInBackground()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
D | CenteredLinearLayout.java | 29 private final int mMaxWidth; field in CenteredLinearLayout 34 mMaxWidth = a.getDimensionPixelSize(R.styleable.CenteredLinearLayout_max_width, 0); in CenteredLinearLayout() 44 if (mMaxWidth > 0 && parentWidth > mMaxWidth) { in onMeasure() 46 widthMeasureSpec = MeasureSpec.makeMeasureSpec(mMaxWidth, measureMode); in onMeasure()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ActionableToastBar.java | 96 private int mMaxWidth; field in ActionableToastBar 115 mMaxWidth = getResources().getDimensionPixelOffset(R.dimen.snack_bar_max_width); in ActionableToastBar() 172 } else if (mMinWidth >= 0 && mMaxWidth >= 0) { in onMeasure() 179 } else if (getMeasuredWidth() > mMaxWidth) { in onMeasure() 180 widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(mMaxWidth, MeasureSpec.EXACTLY); in onMeasure()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | RecyclerViewFastScroller.java | 76 private final int mMaxWidth; field in RecyclerViewFastScroller 141 mMaxWidth = res.getDimensionPixelSize(R.dimen.fastscroll_track_max_width); in RecyclerViewFastScroller() 337 isScrolling ? mMaxWidth : mMinWidth); in showActiveScrollbar() 363 return x >= (getWidth() - mMaxWidth) / 2 && x <= (getWidth() + mMaxWidth) / 2; in isNearScrollBar()
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
D | ArrayInitializerFormatter.java | 23 private final int mMaxWidth; field in ArrayInitializerFormatter 38 mMaxWidth = width - indent.length(); in ArrayInitializerFormatter() 87 if (mBufferedLen != 0 && nextLen < mMaxWidth) { in outElement()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/layout/ |
D | ScaledLayout.java | 47 private final int mMaxWidth; field in ScaledLayout 65 mMaxWidth = size.x; in ScaledLayout() 189 scaleWidth > mMaxWidth ? mMaxWidth : scaleWidth, MeasureSpec.EXACTLY); in onMeasure()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraManager.java | 1040 private final int mMaxWidth; field in CameraManager.SizeComparator 1051 mMaxWidth = maxWidth; in SizeComparator() 1064 if ((left.width <= mMaxWidth && left.height <= mMaxHeight) != in compare() 1065 (right.width <= mMaxWidth && right.height <= mMaxHeight)) { in compare() 1066 return left.width <= mMaxWidth ? PREFER_LEFT : PREFER_RIGHT; in compare()
|