Home
last modified time | relevance | path

Searched refs:mMaxWidth (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Mms/src/com/android/mms/layout/
DHVGALayoutParameters.java35 private static int mMaxWidth; field in HVGALayoutParameters
49 mMaxWidth = (int) (context.getResources().getConfiguration().screenWidthDp * scale + 0.5f); in HVGALayoutParameters()
55 mImageHeightPortrait = (int) (mMaxWidth * .90f); in HVGALayoutParameters()
56 mTextHeightPortrait = (int) (mMaxWidth * .10f); in HVGALayoutParameters()
59 Log.v(TAG, "HVGALayoutParameters mMaxWidth: " + mMaxWidth + in HVGALayoutParameters()
70 return mType == HVGA_LANDSCAPE ? mMaxWidth in getWidth()
76 : mMaxWidth; in getHeight()
/packages/apps/Email/src/com/android/email/view/
DSizeBoundingFrameLayout.java32 private int mMaxWidth = DIMENSION_DEFAULT; field in SizeBoundingFrameLayout
52 mMaxWidth = a.getDimensionPixelSize( in initFromAttributeSet()
61 mMaxWidth = maxWidth; in setMaxWidth()
67 return mMaxWidth; in getMaxWidth()
89 if (mMaxWidth >= 0) { in onMeasure()
92 widthSize = Math.min(widthSize, mMaxWidth); in onMeasure()
96 widthSize = mMaxWidth; in onMeasure()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DCandidateTextView.java46 private int mMaxWidth; field in CandidateTextView
84 mMaxWidth = maxWidth; in CandidateTextView()
134 if (width >= mMaxWidth) { in setCustomCandidate()
135 setWidth(mMaxWidth); in setCustomCandidate()
136 width = mMaxWidth; in setCustomCandidate()
/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/
DArrayInitializerFormatter.java23 private final int mMaxWidth; field in ArrayInitializerFormatter
34 mMaxWidth = width - indent.length(); in ArrayInitializerFormatter()
74 if (mBufferedLen != 0 && nextLen < mMaxWidth) { in outElement()
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
DProgressBar.java195 int mMaxWidth; field in ProgressBar
267 mMaxWidth = a.getDimensionPixelSize(R.styleable.ProgressBar_maxWidth, mMaxWidth); in ProgressBar()
409 mMaxWidth = 48; in initProgressBar()
1011 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); in onMeasure()
DAbsSeekBar.java244 int trackWidth = Math.min(mMaxWidth, w - mPaddingLeft - mPaddingRight);
380 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));