HomeSort by relevance Sort by last modified time
    Searched refs:mMaxWidth (Results 1 - 18 of 18) sorted by null

  /packages/apps/Mms/src/com/android/mms/layout/
HVGALayoutParameters.java 35 private static int mMaxWidth;
49 mMaxWidth = (int) (context.getResources().getConfiguration().screenWidthDp * scale + 0.5f);
55 mImageHeightPortrait = (int) (mMaxWidth * .90f);
56 mTextHeightPortrait = (int) (mMaxWidth * .10f);
59 Log.v(TAG, "HVGALayoutParameters mMaxWidth: " + mMaxWidth +
70 return mType == HVGA_LANDSCAPE ? mMaxWidth
76 : mMaxWidth;
  /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);
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
PrintDialogFrame.java 25 public final int mMaxWidth;
31 mMaxWidth = context.getResources().getDimensionPixelSize(
43 measuredWidth = mMaxWidth;
48 measuredWidth = Math.min(mMaxWidth, receivedWidth);
  /packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
ArrayInitializerFormatter.java 23 private final int mMaxWidth;
34 mMaxWidth = width - indent.length();
74 if (mBufferedLen != 0 && nextLen < mMaxWidth) {
  /frameworks/volley/src/com/android/volley/toolbox/
ImageRequest.java 46 private final int mMaxWidth;
76 mMaxWidth = maxWidth;
141 if (mMaxWidth == 0 && mMaxHeight == 0) {
152 int desiredWidth = getResizedDimension(mMaxWidth, mMaxHeight,
154 int desiredHeight = getResizedDimension(mMaxHeight, mMaxWidth,
  /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;
  /frameworks/rs/
rsFont.h 168 uint32_t mMaxWidth;
174 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow),
rsFont.cpp 486 (1.0f - (float)mCacheLines[i]->mCurrentCol/(float)mCacheLines[i]->mMaxWidth)*100.0f);
729 remainingCapacity += (mCacheLines[i]->mMaxWidth - mCacheLines[i]->mCurrentCol);
730 totalPixels += mCacheLines[i]->mMaxWidth;
849 if (mCurrentCol + (uint32_t)bitmap->width < mMaxWidth) {
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ProgressBarICS.java 78 int mMaxWidth;
142 mMaxWidth = a.getDimensionPixelSize(10, mMaxWidth);
250 mMaxWidth = 48;
809 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
  /frameworks/base/core/java/android/widget/
SearchView.java 125 private int mMaxWidth;
691 mMaxWidth = maxpixels;
704 return mMaxWidth;
721 if (mMaxWidth > 0) {
722 width = Math.min(mMaxWidth, width);
729 if (mMaxWidth > 0) {
730 width = Math.min(mMaxWidth, width);
735 width = mMaxWidth > 0 ? mMaxWidth : getPreferredWidth();
    [all...]
NumberPicker.java 238 private int mMaxWidth;
604 mMaxWidth = attributesArray.getDimensionPixelSize(
606 if (mMinWidth != SIZE_UNSPECIFIED && mMaxWidth != SIZE_UNSPECIFIED
607 && mMinWidth > mMaxWidth) {
611 mComputeMaxWidth = (mMaxWidth == SIZE_UNSPECIFIED);
760 final int newWidthMeasureSpec = makeMeasureSpec(widthMeasureSpec, mMaxWidth);
    [all...]
ImageView.java 72 private int mMaxWidth = Integer.MAX_VALUE;
271 return mMaxWidth;
296 mMaxWidth = maxWidth;
813 widthSize = resolveAdjustedSize(w + pleft + pright, mMaxWidth, widthMeasureSpec);
834 widthSize = resolveAdjustedSize(newWidth, mMaxWidth, widthMeasureSpec);
    [all...]
ProgressBar.java 198 int mMaxWidth;
274 mMaxWidth = a.getDimensionPixelSize(R.styleable.ProgressBar_maxWidth, mMaxWidth);
420 mMaxWidth = 48;
    [all...]
AbsSeekBar.java 345 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
TextView.java 532 private int mMaxWidth = Integer.MAX_VALUE;
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
SearchView.java 136 private int mMaxWidth;
722 mMaxWidth = maxpixels;
735 return mMaxWidth;
752 if (mMaxWidth > 0) {
753 width = Math.min(mMaxWidth, width);
760 if (mMaxWidth > 0) {
761 width = Math.min(mMaxWidth, width);
766 width = mMaxWidth > 0 ? mMaxWidth : getPreferredWidth();
    [all...]
  /packages/apps/MusicFX/src/com/android/musicfx/seekbar/
ProgressBar.java 195 int mMaxWidth;
267 mMaxWidth = a.getDimensionPixelSize(R.styleable.ProgressBar_maxWidth, mMaxWidth);
409 mMaxWidth = 48;
    [all...]
AbsSeekBar.java 244 int trackWidth = Math.min(mMaxWidth, w - mPaddingLeft - mPaddingRight);
380 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));

Completed in 313 milliseconds