Searched refs:maxHeight (Results 1 - 25 of 44) sorted by relevance

12

/frameworks/base/core/java/android/widget/
H A DAbsoluteLayout.java59 int maxHeight = 0;
79 maxHeight = Math.max(maxHeight, childBottom);
85 maxHeight += mPaddingTop + mPaddingBottom;
88 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
92 resolveSizeAndState(maxHeight, heightMeasureSpec, 0));
H A DFrameLayout.java303 int maxHeight = 0;
314 maxHeight = Math.max(maxHeight,
328 maxHeight += getPaddingTopWithForeground() + getPaddingBottomWithForeground();
331 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
337 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight());
342 resolveSizeAndState(maxHeight, heightMeasureSpec,
H A DLinearLayout.java960 int maxHeight = 0;
1103 maxHeight = Math.max(maxHeight, childHeight);
1137 maxHeight = Math.max(maxHeight, ascent + descent);
1190 maxHeight = -1;
1255 maxHeight = Math.max(maxHeight, childHeight);
1293 maxHeight = Math.max(maxHeight, ascen
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java192 int maxHeight = heightSize;
201 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) {
202 maxHeight = lp.maxHeight;
209 maxHeight -= hPadding;
218 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height);
253 public int maxHeight; field in class:KeyguardSecurityViewFlipper.LayoutParams
263 maxHeight
[all...]
H A DMultiPaneChallengeLayout.java260 if (lp.maxHeight >= 0) {
262 Math.min(lp.maxHeight, insetHeight), MeasureSpec.EXACTLY);
321 if (lp.maxHeight >= 0) {
323 Math.min(lp.maxHeight, MeasureSpec.getSize(adjustedHeightSpec)),
499 public int maxHeight = -1; field in class:MultiPaneChallengeLayout.LayoutParams
519 maxHeight = a.getDimensionPixelSize(
573 maxHeight = source.maxHeight;
/frameworks/base/core/java/com/android/internal/widget/
H A DSizeAdaptiveLayout.java156 if (DEBUG) Log.d(TAG, "active min: " + lp.minHeight + " max: " + lp.maxHeight);
175 if (lp.maxHeight != SizeAdaptiveLayout.LayoutParams.UNBOUNDED) {
176 height = Math.min(height, lp.maxHeight);
205 " max: " + lp.maxHeight);
206 if (lp.maxHeight == SizeAdaptiveLayout.LayoutParams.UNBOUNDED &&
210 if (lp.maxHeight > tallestViewSize) {
211 tallestViewSize = lp.maxHeight;
219 heightSize >= lp.minHeight && heightSize <= lp.maxHeight) {
322 public int maxHeight; field in class:SizeAdaptiveLayout.LayoutParams
325 * Constant value for maxHeight tha
370 LayoutParams(int width, int height, int minHeight, int maxHeight) argument
[all...]
H A 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, getSuggestedMinimumHeigh
[all...]
H A DActionBarContainer.java282 final int maxHeight = MeasureSpec.getSize(heightMeasureSpec);
285 maxHeight));
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTargetDrawable.java125 int maxHeight = 0;
129 maxHeight = Math.max(maxHeight, childDrawable.getIntrinsicHeight());
132 + maxWidth + "x" + maxHeight);
133 d.setBounds(0, 0, maxWidth, maxHeight);
137 + maxWidth + "x" + maxHeight);
138 childDrawable.setBounds(0, 0, maxWidth, maxHeight);
/frameworks/volley/src/com/android/volley/toolbox/
H A DImageLoader.java150 * @param maxHeight The maximum height of the returned image.
153 public boolean isCached(String requestUrl, int maxWidth, int maxHeight) { argument
156 String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight);
182 * @param maxHeight The maximum height of the returned image.
187 int maxWidth, int maxHeight) {
191 final String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight);
225 }, maxWidth, maxHeight,
474 * @param maxHeight The max-height of the output.
476 private static String getCacheKey(String url, int maxWidth, int maxHeight) { argument
478 .append("#H").append(maxHeight)
186 get(String requestUrl, ImageListener imageListener, int maxWidth, int maxHeight) argument
[all...]
H A DImageRequest.java64 * @param maxHeight Maximum height to decode this bitmap to, or zero for
69 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, argument
77 mMaxHeight = maxHeight;
/frameworks/volley/tests/src/com/android/volley/toolbox/
H A DImageRequestTest.java61 private void verifyResize(NetworkResponse networkResponse, int maxWidth, int maxHeight, argument
64 "", null, maxWidth, maxHeight, Config.RGB_565, null);
/frameworks/base/core/java/android/app/
H A DFragmentBreadCrumbs.java226 int maxHeight = 0;
236 maxHeight = Math.max(maxHeight, child.getMeasuredHeight());
244 maxHeight += mPaddingTop + mPaddingBottom;
247 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
251 resolveSizeAndState(maxHeight, heightMeasureSpec,
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DSizeAdaptiveLayoutTest.java134 lp.maxHeight = 500;
185 int height = (int) lp.maxHeight + 10;
233 int height = (int) lp.maxHeight + 10;
267 smallParams.maxHeight + 10 < largeParams.minHeight);
268 int height = (int) smallParams.maxHeight + 10;
288 int height = (int) smallParams.maxHeight;
400 int endHeight = (int) smallParams.maxHeight;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DStraightenFilter.java141 float maxHeight = (float) Math.max(Math.abs(p0.y), Math.abs(p1.y));
144 mHeight / maxHeight);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowView.java62 int maxHeight = getResources().getDimensionPixelSize(R.dimen.notification_row_max_height);
63 mExpandHelper = new ExpandHelper(mContext, latestItems, minHeight, maxHeight);
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaProperties.java383 final int maxHeight = veProfile.maxOutputVideoFrameHeight;
391 (resolutions[i].second <= maxHeight)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DHeadsUpNotificationView.java130 int maxHeight = getResources().getDimensionPixelSize(R.dimen.notification_row_max_height);
131 mExpandHelper = new ExpandHelper(mContext, this, minHeight, maxHeight);
/frameworks/rs/
H A DrsFont.h173 CacheTextureLine(uint32_t maxHeight, uint32_t maxWidth, uint32_t currentRow, uint32_t currentCol) argument
174 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow),
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarContainer.java246 final int maxHeight = MeasureSpec.getSize(heightMeasureSpec);
249 maxHeight));
H A DListPopupWindow.java1036 final int maxHeight = getMaxAvailableHeight(
1040 return maxHeight + padding;
1063 0, DropDownListView.NO_POSITION, maxHeight - otherHeights, -1);
1253 * with this ListView's padding and divider heights included. If maxHeight is provided, the
1254 * measuring will stop when the current height reaches maxHeight.
1262 * @param maxHeight The maximum height that will be returned (if all the
1278 int endPosition, final int maxHeight,
1299 // The previous height value that was less than maxHeight and contained
1333 if (returnedHeight >= maxHeight) {
1335 // maxHeight, the
1277 measureHeightOfChildrenCompat(int widthMeasureSpec, int startPosition, int endPosition, final int maxHeight, int disallowPartialChildPosition) argument
[all...]
H A DActionBarContextView.java309 int maxHeight = mContentHeight > 0 ?
314 final int height = maxHeight - verticalPadding;
372 setMeasuredDimension(contentWidth, maxHeight);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java258 * @param maxHeight The maximum height in dips that the widget will be displayed at.
262 int maxHeight) {
263 updateAppWidgetSize(newOptions, minWidth, minHeight, maxWidth, maxHeight, false);
270 int maxHeight, boolean ignorePadding) {
287 int newMaxHeight = maxHeight - (ignorePadding ? 0 : yPaddingDips);
261 updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, int maxHeight) argument
269 updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, int maxHeight, boolean ignorePadding) argument
/frameworks/wilhelm/src/android/
H A DVideoCodec_to_android.cpp189 pDescr->maxHeight = 0;
/frameworks/base/core/java/android/view/
H A DIWindowManager.aidl210 int maxHeight, boolean force565);

Completed in 602 milliseconds

12