Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DCenteredLinearLayout.java29 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/TV/src/com/android/tv/util/
DImageLoader.java265 protected final int mMaxWidth; field in ImageLoader.LoadBitmapTask
278 .needToReload(mMaxWidth, mMaxHeight); in isReloadNeeded()
284 + ", reqWidth=" + mMaxWidth in isReloadNeeded()
296 return mMaxHeight >= other.mMaxHeight * 2 || mMaxWidth >= other.mMaxWidth * 2; in isReloadNeeded()
315 mMaxWidth = maxWidth; in LoadBitmapTask()
355 return this.getClass().getSimpleName() + "(" + mKey + " " + mMaxWidth + "x" + mMaxHeight in toString()
370 .decodeSampledBitmapFromUriString(mAppContext, getKey(), mMaxWidth, mMaxHeight); in doGetBitmapInBackground()
403 return BitmapUtils.createScaledBitmapInfo(getKey(), original, mMaxWidth, mMaxHeight); in doGetBitmapInBackground()
/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/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DArrayInitializerFormatter.java23 private final int mMaxWidth; field in ArrayInitializerFormatter
38 mMaxWidth = width - indent.length(); in ArrayInitializerFormatter()
87 if (mBufferedLen != 0 && nextLen < mMaxWidth) { in outElement()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DActionableToastBar.java96 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/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java1040 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()