Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/widget/
DSizeAdaptiveLayout.java156 if (DEBUG) Log.d(TAG, "active min: " + lp.minHeight + " max: " + lp.maxHeight); in onMeasure()
175 if (lp.maxHeight != SizeAdaptiveLayout.LayoutParams.UNBOUNDED) { in clampSizeToBounds()
176 height = Math.min(height, lp.maxHeight); in clampSizeToBounds()
205 " max: " + lp.maxHeight); in selectActiveChild()
206 if (lp.maxHeight == SizeAdaptiveLayout.LayoutParams.UNBOUNDED && in selectActiveChild()
210 if (lp.maxHeight > tallestViewSize) { in selectActiveChild()
211 tallestViewSize = lp.maxHeight; in selectActiveChild()
219 heightSize >= lp.minHeight && heightSize <= lp.maxHeight) { in selectActiveChild()
322 public int maxHeight; field in SizeAdaptiveLayout.LayoutParams
349 maxHeight = a.getLayoutDimension(MAX_VALID_HEIGHT, UNBOUNDED); in LayoutParams()
[all …]
DActionBarOverlayLayout.java247 int maxHeight = 0;
258 maxHeight = Math.max(maxHeight,
268 maxHeight = Math.max(maxHeight,
331 maxHeight = Math.max(maxHeight,
337 maxHeight += getPaddingTop() + getPaddingBottom();
340 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
344 resolveSizeAndState(maxHeight, heightMeasureSpec,
DActionBarContainer.java282 final int maxHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
285 maxHeight)); in onMeasure()
DActionBarContextView.java338 int maxHeight = mContentHeight > 0 ? in onMeasure() local
343 final int height = maxHeight - verticalPadding; in onMeasure()
398 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java192 int maxHeight = heightSize; in onMeasure() local
201 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) { in onMeasure()
202 maxHeight = lp.maxHeight; in onMeasure()
209 maxHeight -= hPadding; in onMeasure()
218 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height); in onMeasure()
253 public int maxHeight; field in KeyguardSecurityViewFlipper.LayoutParams
263 maxHeight = other.maxHeight; in LayoutParams()
273 maxHeight = a.getDimensionPixelSize( in LayoutParams()
DMultiPaneChallengeLayout.java260 if (lp.maxHeight >= 0) { in onMeasure()
262 Math.min(lp.maxHeight, insetHeight), MeasureSpec.EXACTLY); in onMeasure()
321 if (lp.maxHeight >= 0) { in onMeasure()
323 Math.min(lp.maxHeight, MeasureSpec.getSize(adjustedHeightSpec)), in onMeasure()
499 public int maxHeight = -1; field in MultiPaneChallengeLayout.LayoutParams
519 maxHeight = a.getDimensionPixelSize( in LayoutParams()
573 maxHeight = source.maxHeight; in LayoutParams()
/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.java303 int maxHeight = 0; in onMeasure() local
314 maxHeight = Math.max(maxHeight, in onMeasure()
328 maxHeight += getPaddingTopWithForeground() + getPaddingBottomWithForeground(); in onMeasure()
331 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
337 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure()
342 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
DLinearLayout.java960 int maxHeight = 0; in measureHorizontal() local
1103 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal()
1137 maxHeight = Math.max(maxHeight, ascent + descent); in measureHorizontal()
1190 maxHeight = -1; in measureHorizontal()
1255 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal()
1293 maxHeight = Math.max(maxHeight, ascent + descent); in measureHorizontal()
1323 maxHeight = alternativeMaxHeight; in measureHorizontal()
1326 maxHeight += mPaddingTop + mPaddingBottom; in measureHorizontal()
1329 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in measureHorizontal()
1332 resolveSizeAndState(maxHeight, heightMeasureSpec, in measureHorizontal()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DTargetDrawable.java125 int maxHeight = 0; in resizeDrawables() local
129 maxHeight = Math.max(maxHeight, childDrawable.getIntrinsicHeight()); in resizeDrawables()
132 + maxWidth + "x" + maxHeight); in resizeDrawables()
133 d.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
137 + maxWidth + "x" + maxHeight); in resizeDrawables()
138 childDrawable.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
/frameworks/volley/src/com/android/volley/toolbox/
DImageLoader.java153 public boolean isCached(String requestUrl, int maxWidth, int maxHeight) {
156 String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight);
187 int maxWidth, int maxHeight) {
191 final String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight);
225 }, maxWidth, maxHeight,
476 private static String getCacheKey(String url, int maxWidth, int maxHeight) {
478 .append("#H").append(maxHeight).append(url).toString();
DImageRequest.java69 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, in ImageRequest() argument
77 mMaxHeight = maxHeight; in ImageRequest()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java226 int maxHeight = 0; in onMeasure() local
236 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); in onMeasure()
244 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure()
247 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
251 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DSizeAdaptiveLayoutTest.java134 lp.maxHeight = 500; in testOpenTooBig()
185 int height = (int) lp.maxHeight + 10; in testOpenOneUOnlyLarge()
233 int height = (int) lp.maxHeight + 10; in testOpenFourUOnlyLarge()
267 smallParams.maxHeight + 10 < largeParams.minHeight); in testOpenIntoAGap()
268 int height = (int) smallParams.maxHeight + 10; in testOpenIntoAGap()
288 int height = (int) smallParams.maxHeight; in testOpenIntoAnOverlap()
400 int endHeight = (int) smallParams.maxHeight; in testResizeWithAnimation()
/frameworks/volley/tests/src/com/android/volley/toolbox/
DImageRequestTest.java61 private void verifyResize(NetworkResponse networkResponse, int maxWidth, int maxHeight, in verifyResize() argument
64 "", null, maxWidth, maxHeight, Config.RGB_565, null); in verifyResize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java62 int maxHeight = getResources().getDimensionPixelSize(R.dimen.notification_row_max_height); in onAttachedToWindow() local
63 mExpandHelper = new ExpandHelper(mContext, latestItems, minHeight, maxHeight); in onAttachedToWindow()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DListPopupWindow.java1036 final int maxHeight = getMaxAvailableHeight( in buildDropDown() local
1040 return maxHeight + padding; in buildDropDown()
1063 0, DropDownListView.NO_POSITION, maxHeight - otherHeights, -1); in buildDropDown()
1278 int endPosition, final int maxHeight, in measureHeightOfChildrenCompat() argument
1333 if (returnedHeight >= maxHeight) { in measureHeightOfChildrenCompat()
1339 && (returnedHeight != maxHeight) // i'th child did not fit completely in measureHeightOfChildrenCompat()
1341 : maxHeight; in measureHeightOfChildrenCompat()
DActionBarContainer.java246 final int maxHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
249 maxHeight)); in onMeasure()
DActionBarContextView.java309 int maxHeight = mContentHeight > 0 ? in onMeasure() local
314 final int height = maxHeight - verticalPadding; in onMeasure()
372 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DStraightenFilter.java141 float maxHeight = (float) Math.max(Math.abs(p0.y), Math.abs(p1.y)); in updateParameters() local
144 mHeight / maxHeight); in updateParameters()
/frameworks/base/media/java/android/media/videoeditor/
DMediaProperties.java383 final int maxHeight = veProfile.maxOutputVideoFrameHeight; in getSupportedResolutions() local
391 (resolutions[i].second <= maxHeight)) { in getSupportedResolutions()
/frameworks/rs/
DrsFont.h173 … CacheTextureLine(uint32_t maxHeight, uint32_t maxWidth, uint32_t currentRow, uint32_t currentCol) in CacheTextureLine()
174 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow), in CacheTextureLine()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHeadsUpNotificationView.java130 int maxHeight = getResources().getDimensionPixelSize(R.dimen.notification_row_max_height); in onAttachedToWindow() local
131 mExpandHelper = new ExpandHelper(mContext, this, minHeight, maxHeight); in onAttachedToWindow()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java262 int maxHeight) { in updateAppWidgetSize() argument
263 updateAppWidgetSize(newOptions, minWidth, minHeight, maxWidth, maxHeight, false); in updateAppWidgetSize()
270 int maxHeight, boolean ignorePadding) { in updateAppWidgetSize() argument
287 int newMaxHeight = maxHeight - (ignorePadding ? 0 : yPaddingDips); in updateAppWidgetSize()
/frameworks/wilhelm/src/android/
DVideoCodec_to_android.cpp189 pDescr->maxHeight = 0; in android_videoCodec_getProfileLevelCombination()

12