Searched refs:maxHeight (Results 1 - 25 of 36) 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...]
H A DListPopupWindow.java1098 final int maxHeight = mPopup.getMaxAvailableHeight(
1102 return maxHeight + padding;
1124 0, ListView.NO_POSITION, maxHeight - otherHeights, -1);
H A DStackView.java1138 int maxHeight = 0;
1151 if (childMeasuredHeight > maxHeight) {
1152 maxHeight = childMeasuredHeight;
1165 if (maxHeight > 0 && count > 0 && maxHeight < childHeight) {
1166 mNewPerspectiveShiftY = measuredHeight - maxHeight;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardSecurityViewFlipper.java193 int maxHeight = heightSize;
202 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) {
203 maxHeight = lp.maxHeight;
210 maxHeight -= hPadding;
219 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height);
254 public int maxHeight; field in class:KeyguardSecurityViewFlipper.LayoutParams
264 maxHeight
[all...]
H A DMultiPaneChallengeLayout.java253 if (lp.maxHeight >= 0) {
255 Math.min(lp.maxHeight, height), MeasureSpec.EXACTLY);
314 if (lp.maxHeight >= 0) {
316 Math.min(lp.maxHeight, MeasureSpec.getSize(adjustedHeightSpec)),
489 public int maxHeight = -1; field in class:MultiPaneChallengeLayout.LayoutParams
509 maxHeight = a.getDimensionPixelSize(
563 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) {
324 public int maxHeight; field in class:SizeAdaptiveLayout.LayoutParams
327 * Constant value for maxHeight tha
372 LayoutParams(int width, int height, int minHeight, int maxHeight) argument
[all...]
H A DActionBarContainer.java271 final int maxHeight = MeasureSpec.getSize(heightMeasureSpec);
274 maxHeight));
H A DActionBarContextView.java338 int maxHeight = mContentHeight > 0 ?
343 final int height = maxHeight - verticalPadding;
398 setMeasuredDimension(contentWidth, maxHeight);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTargetDrawable.java155 int maxHeight = 0;
159 maxHeight = Math.max(maxHeight, childDrawable.getIntrinsicHeight());
162 + maxWidth + "x" + maxHeight);
163 d.setBounds(0, 0, maxWidth, maxHeight);
167 + maxWidth + "x" + maxHeight);
168 childDrawable.setBounds(0, 0, maxWidth, maxHeight);
/frameworks/support/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/support/volley/src/com/android/volley/toolbox/
H A DImageRequest.java63 * @param maxHeight Maximum height to decode this bitmap to, or zero for
68 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, argument
76 mMaxHeight = 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/rs/
H A DrsFont.h174 CacheTextureLine(uint32_t maxHeight, uint32_t maxWidth, uint32_t currentRow, uint32_t currentCol) argument
175 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow),
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaProperties.java383 final int maxHeight = veProfile.maxOutputVideoFrameHeight;
391 (resolutions[i].second <= maxHeight)) {
/frameworks/base/media/java/android/media/
H A DRemoteControlClient.java1113 * @param maxHeight
1117 private Bitmap scaleBitmapIfTooBig(Bitmap bitmap, int maxWidth, int maxHeight) { argument
1121 if (width > maxWidth || height > maxHeight) {
1122 float scale = Math.min((float) maxWidth / width, (float) maxHeight / height);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java250 * @param maxHeight The maximum height in dips that the widget will be displayed at.
254 int maxHeight) {
255 updateAppWidgetSize(newOptions, minWidth, minHeight, maxWidth, maxHeight, false);
262 int maxHeight, boolean ignorePadding) {
279 int newMaxHeight = maxHeight - (ignorePadding ? 0 : yPaddingDips);
253 updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, int maxHeight) argument
261 updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, int maxHeight, boolean ignorePadding) argument
/frameworks/wilhelm/src/android/
H A DVideoCodec_to_android.cpp188 pDescr->maxHeight = 0;
/frameworks/base/core/java/android/view/
H A DIWindowManager.aidl195 Bitmap screenshotApplications(IBinder appToken, int displayId, int maxWidth, int maxHeight);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DNotificationPanel.java116 int maxHeight = getResources().getDimensionPixelSize(R.dimen.notification_row_max_height);
117 mExpandHelper = new ExpandHelper(mContext, latestItems, minHeight, maxHeight);
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp253 uint32_t maxHeight; member in struct:meas::displayFrame
261 uint32_t maxHeight; member in struct:meas::sourceCrop
493 measPtr->df.maxHeight = dfMaxHeight(format->format);
494 testPrintI(" dfMaxHeight: %u", measPtr->df.maxHeight);
514 measPtr->sc.maxHeight = scMaxHeight(format->format, measPtr->df.maxDim);
515 testPrintI(" scMaxHeight: %s%u", (measPtr->sc.maxHeight
517 measPtr->sc.maxHeight);

Completed in 6625 milliseconds

12