/frameworks/support/design/tests/src/android/support/design/widget/ |
CustomSnackbarMainContent.java | 28 private final int mMaxWidth; 42 mMaxWidth = context.getResources().getDimensionPixelSize(R.dimen.custom_snackbar_max_width); 49 if ((mMaxWidth > 0) && (getMeasuredWidth() > mMaxWidth)) { 50 super.onMeasure(MeasureSpec.makeMeasureSpec(mMaxWidth, MeasureSpec.EXACTLY),
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
CustomSnackbarMainContent.java | 29 private final int mMaxWidth; 43 mMaxWidth = context.getResources().getDimensionPixelSize(R.dimen.custom_snackbar_max_width); 50 if ((mMaxWidth > 0) && (getMeasuredWidth() > mMaxWidth)) { 51 super.onMeasure(MeasureSpec.makeMeasureSpec(mMaxWidth, MeasureSpec.EXACTLY),
|
/frameworks/base/media/java/android/media/tv/ |
TvStreamConfig.java | 36 private int mMaxWidth; 79 return mMaxWidth; 106 dest.writeInt(mMaxWidth); 117 private Integer mMaxWidth; 135 mMaxWidth = maxWidth; 150 if (mStreamId == null || mType == null || mMaxWidth == null || mMaxHeight == null 158 config.mMaxWidth = mMaxWidth; 174 && config.mMaxWidth == mMaxWidth [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
CenteredLinearLayout.java | 29 private final int mMaxWidth; 34 mMaxWidth = a.getDimensionPixelSize(R.styleable.CenteredLinearLayout_max_width, 0); 44 if (mMaxWidth > 0 && parentWidth > mMaxWidth) { 46 widthMeasureSpec = MeasureSpec.makeMeasureSpec(mMaxWidth, measureMode);
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
ArrayInitializerFormatter.java | 23 private final int mMaxWidth; 38 mMaxWidth = width - indent.length(); 87 if (mBufferedLen != 0 && nextLen < mMaxWidth) {
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
ImageRequest.java | 47 private final int mMaxWidth; 79 mMaxWidth = maxWidth; 174 if (mMaxWidth == 0 && mMaxHeight == 0) { 185 int desiredWidth = getResizedDimension(mMaxWidth, mMaxHeight, 187 int desiredHeight = getResizedDimension(mMaxHeight, mMaxWidth,
|
/frameworks/support/design/src/android/support/design/internal/ |
SnackbarContentLayout.java | 41 private int mMaxWidth; 51 mMaxWidth = a.getDimensionPixelSize(R.styleable.SnackbarLayout_android_maxWidth, -1); 76 if (mMaxWidth > 0 && getMeasuredWidth() > mMaxWidth) { 77 widthMeasureSpec = MeasureSpec.makeMeasureSpec(mMaxWidth, MeasureSpec.EXACTLY);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
CandidateTextView.java | 46 private int mMaxWidth; 84 mMaxWidth = maxWidth; 134 if (width >= mMaxWidth) { 135 setWidth(mMaxWidth); 136 width = mMaxWidth;
|
/packages/apps/TV/src/com/android/tv/util/ |
ImageLoader.java | 264 protected final int mMaxWidth; 277 .needToReload(mMaxWidth, mMaxHeight); 283 + ", reqWidth=" + mMaxWidth 296 || (other.mMaxWidth != Integer.MAX_VALUE && mMaxWidth >= other.mMaxWidth * 2); 315 mMaxWidth = maxWidth; 355 return this.getClass().getSimpleName() + "(" + mKey + " " + mMaxWidth + "x" + mMaxHeight 370 .decodeSampledBitmapFromUriString(mAppContext, getKey(), mMaxWidth, mMaxHeight); 403 return BitmapUtils.createScaledBitmapInfo(getKey(), original, mMaxWidth, mMaxHeight) [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
FillContentLayout.java | 45 private int mMaxWidth; 70 mMaxWidth = a.getDimensionPixelSize(R.styleable.SuwFillContentLayout_android_maxWidth, -1); 97 Math.min(mMaxWidth, parentWidth),
|
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/ |
PreferenceImageView.java | 35 private int mMaxWidth = Integer.MAX_VALUE; 68 mMaxWidth = maxWidth; 74 return mMaxWidth;
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
RecyclerViewFastScroller.java | 66 private final int mMaxWidth; 128 mMaxWidth = res.getDimensionPixelSize(R.dimen.fastscroll_track_max_width); 311 isScrolling ? mMaxWidth : mMinWidth); 337 return x >= (getWidth() - mMaxWidth) / 2 && x <= (getWidth() + mMaxWidth) / 2; 353 mMaxWidth, mRv.getScrollbarTrackHeight() - mMaxWidth - height);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ActionableToastBar.java | 96 private int mMaxWidth; 115 mMaxWidth = getResources().getDimensionPixelOffset(R.dimen.snack_bar_max_width); 172 } else if (mMinWidth >= 0 && mMaxWidth >= 0) { 179 } else if (getMeasuredWidth() > mMaxWidth) { 180 widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(mMaxWidth, MeasureSpec.EXACTLY);
|
/packages/apps/TV/src/com/android/tv/tuner/layout/ |
ScaledLayout.java | 53 private final int mMaxWidth; 71 mMaxWidth = size.x; 182 scaleWidth > mMaxWidth ? mMaxWidth : scaleWidth, MeasureSpec.EXACTLY);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyButtonRipple.java | 60 private int mMaxWidth; 72 mMaxWidth = ctx.getResources().getDimensionPixelSize(R.dimen.key_button_ripple_max_width); 300 return Math.min(size, mMaxWidth);
|
/frameworks/support/design/src/android/support/design/widget/ |
NavigationView.java | 89 private int mMaxWidth; 123 mMaxWidth = a.getDimensionPixelSize(R.styleable.NavigationView_android_maxWidth, 0); 220 Math.min(MeasureSpec.getSize(widthSpec), mMaxWidth), MeasureSpec.EXACTLY); 223 widthSpec = MeasureSpec.makeMeasureSpec(mMaxWidth, MeasureSpec.EXACTLY);
|
/frameworks/rs/ |
rsFont.h | 168 uint32_t mMaxWidth; 174 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow),
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
CameraManager.java | 713 private final int mMaxWidth; 727 mMaxWidth = maxWidth; 740 if ((left.width <= mMaxWidth && left.height <= mMaxHeight) 741 != (right.width <= mMaxWidth && right.height <= mMaxHeight)) { 742 return left.width <= mMaxWidth ? PREFER_LEFT : PREFER_RIGHT;
|
/frameworks/base/core/java/android/widget/ |
NumberPicker.java | 249 private int mMaxWidth; 655 mMaxWidth = attributesArray.getDimensionPixelSize( 657 if (mMinWidth != SIZE_UNSPECIFIED && mMaxWidth != SIZE_UNSPECIFIED 658 && mMinWidth > mMaxWidth) { 662 mComputeMaxWidth = (mMaxWidth == SIZE_UNSPECIFIED); 818 final int newWidthMeasureSpec = makeMeasureSpec(widthMeasureSpec, mMaxWidth); [all...] |
SearchView.java | 153 private int mMaxWidth; 752 mMaxWidth = maxpixels; 765 return mMaxWidth; 782 if (mMaxWidth > 0) { 783 width = Math.min(mMaxWidth, width); 790 if (mMaxWidth > 0) { 791 width = Math.min(mMaxWidth, width); 796 width = mMaxWidth > 0 ? mMaxWidth : getPreferredWidth(); [all...] |
ImageView.java | 104 private int mMaxWidth = Integer.MAX_VALUE; 353 return mMaxWidth; 378 mMaxWidth = maxWidth; [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
SearchView.java | 164 private int mMaxWidth; 762 mMaxWidth = maxpixels; 775 return mMaxWidth; 792 if (mMaxWidth > 0) { 793 width = Math.min(mMaxWidth, width); 800 if (mMaxWidth > 0) { 801 width = Math.min(mMaxWidth, width); 806 width = mMaxWidth > 0 ? mMaxWidth : getPreferredWidth(); [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
CameraManager.java | [all...] |
/frameworks/av/media/libstagefright/httplive/ |
LiveSession.h | 209 int32_t mMaxWidth;
|
/frameworks/base/core/java/com/android/internal/widget/ |
ResolverDrawerLayout.java | 54 private int mMaxWidth; 131 mMaxWidth = a.getDimensionPixelSize(R.styleable.ResolverDrawerLayout_maxWidth, -1); 754 if (mMaxWidth >= 0) { 755 widthSize = Math.min(widthSize, mMaxWidth); [all...] |