Home
last modified time | relevance | path

Searched refs:maxHeight (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/widget/
DAbsoluteLayout.java59 int maxHeight = 0; in onMeasure() local
79 maxHeight = Math.max(maxHeight, childBottom); in onMeasure()
85 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure()
88 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
92 resolveSizeAndState(maxHeight, heightMeasureSpec, 0)); in onMeasure()
DFrameLayout.java286 int maxHeight = 0; in onMeasure() local
297 maxHeight = Math.max(maxHeight, in onMeasure()
311 maxHeight += getPaddingTopWithForeground() + getPaddingBottomWithForeground(); in onMeasure()
314 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
320 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure()
325 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
DLinearLayout.java925 int maxHeight = 0; in measureHorizontal() local
1068 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal()
1102 maxHeight = Math.max(maxHeight, ascent + descent); in measureHorizontal()
1155 maxHeight = -1; in measureHorizontal()
1220 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal()
1258 maxHeight = Math.max(maxHeight, ascent + descent); in measureHorizontal()
1288 maxHeight = alternativeMaxHeight; in measureHorizontal()
1291 maxHeight += mPaddingTop + mPaddingBottom; in measureHorizontal()
1294 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in measureHorizontal()
1297 resolveSizeAndState(maxHeight, heightMeasureSpec, in measureHorizontal()
DListPopupWindow.java1088 final int maxHeight = mPopup.getMaxAvailableHeight( in buildDropDown() local
1092 return maxHeight + padding; in buildDropDown()
1096 0, ListView.NO_POSITION, maxHeight - otherHeights, -1); in buildDropDown()
DStackView.java1135 int maxHeight = 0;
1148 if (childMeasuredHeight > maxHeight) {
1149 maxHeight = childMeasuredHeight;
1162 if (maxHeight > 0 && count > 0 && maxHeight < childHeight) {
1163 mNewPerspectiveShiftY = measuredHeight - maxHeight;
DImageView.java285 public void setMaxHeight(int maxHeight) { in setMaxHeight() argument
286 mMaxHeight = maxHeight; in setMaxHeight()
DListView.java1221 final int maxHeight, int disallowPartialChildPosition) { in measureHeightOfChildren() argument
1261 if (returnedHeight >= maxHeight) { in measureHeightOfChildren()
1267 && (returnedHeight != maxHeight) // i'th child did not fit completely in measureHeightOfChildren()
1269 : maxHeight; in measureHeightOfChildren()
DTextView.java2607 public void setMaxHeight(int maxHeight) { in setMaxHeight() argument
2608 mMaximum = maxHeight; in setMaxHeight()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DTargetDrawable.java138 int maxHeight = 0; in resizeDrawables() local
142 maxHeight = Math.max(maxHeight, childDrawable.getIntrinsicHeight()); in resizeDrawables()
145 + maxWidth + "x" + maxHeight); in resizeDrawables()
146 d.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
150 + maxWidth + "x" + maxHeight); in resizeDrawables()
151 childDrawable.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java178 int maxHeight = 0; in onMeasure() local
188 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); in onMeasure()
196 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure()
199 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
203 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
/frameworks/base/media/java/android/media/videoeditor/
DMediaProperties.java383 final int maxHeight = veProfile.maxOutputVideoFrameHeight; in getSupportedResolutions() local
391 (resolutions[i].second <= maxHeight)) { in getSupportedResolutions()
DMediaArtistNativeHelper.java2691 private int populateMediaItemProperties(MediaItem m, int index, int maxHeight) { in populateMediaItemProperties() argument
2696 if (((MediaVideoItem)m).getHeight() > maxHeight) { in populateMediaItemProperties()
2697 maxHeight = ((MediaVideoItem)m).getHeight(); in populateMediaItemProperties()
2702 if (((MediaImageItem)m).getScaledHeight() > maxHeight) { in populateMediaItemProperties()
2703 maxHeight = ((MediaImageItem)m).getScaledHeight(); in populateMediaItemProperties()
2714 return maxHeight; in populateMediaItemProperties()
2835 int maxHeight = 0; in previewStoryBoard() local
2883 maxHeight = populateMediaItemProperties(lMediaItem, previewIndex, maxHeight); in previewStoryBoard()
2977 .getAspectRatio(), maxHeight); in previewStoryBoard()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContainer.java184 final int maxHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
187 maxHeight)); in onMeasure()
DActionBarContextView.java334 int maxHeight = mContentHeight > 0 ? in onMeasure() local
339 final int height = maxHeight - verticalPadding; in onMeasure()
383 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
DActionBarView.java810 int maxHeight = mContentHeight > 0 ? in onMeasure() local
816 final int height = maxHeight - verticalPadding; in onMeasure()
957 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
/frameworks/base/libs/rs/
DrsFont.h172 … CacheTextureLine(uint32_t maxHeight, uint32_t maxWidth, uint32_t currentRow, uint32_t currentCol) in CacheTextureLine()
173 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow), in CacheTextureLine()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java848 private Bitmap scaleBitmapIfTooBig(Bitmap bitmap, int maxWidth, int maxHeight) { in scaleBitmapIfTooBig() argument
852 if (width > maxWidth || height > maxHeight) { in scaleBitmapIfTooBig()
853 float scale = Math.min((float) maxWidth / width, (float) maxHeight / height); in scaleBitmapIfTooBig()
/frameworks/base/libs/hwui/
DFontRenderer.h244 CacheTextureLine(uint16_t maxWidth, uint16_t maxHeight, uint32_t currentRow, in CacheTextureLine()
246 mMaxHeight(maxHeight), in CacheTextureLine()
/frameworks/base/opengl/tests/hwc/
DhwcCommit.cpp254 uint32_t maxHeight; member
262 uint32_t maxHeight; member
494 measPtr->df.maxHeight = dfMaxHeight(format->format); in main()
495 testPrintI(" dfMaxHeight: %u", measPtr->df.maxHeight); in main()
515 measPtr->sc.maxHeight = scMaxHeight(format->format, measPtr->df.maxDim); in main()
516 testPrintI(" scMaxHeight: %s%u", (measPtr->sc.maxHeight in main()
518 measPtr->sc.maxHeight); in main()
/frameworks/base/core/java/android/view/
DIWindowManager.aidl211 Bitmap screenshotApplications(IBinder appToken, int maxWidth, int maxHeight); in screenshotApplications() argument
/frameworks/base/core/java/android/webkit/
DWebView.java8595 int maxHeight = contentToViewDimension(data.mContentHeight);
8601 height + ",maxHeight=" + maxHeight +
8609 (Math.min(maxHeight, y + viewHeight) - viewHeight));
/frameworks/base/api/
Dcurrent.txt656 field public static final int maxHeight = 16843040; // 0x1010120
D14.txt656 field public static final int maxHeight = 16843040; // 0x1010120