Searched defs:maxHeight (Results 1 - 15 of 15) sorted by relevance

/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/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/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...]
/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;
H A DSlidingChallengeLayout.java862 // negative or zero, either we didn't have a maxHeight or we're totally out of space,
871 final int maxChallengeHeight = lp.maxHeight - diff;
1208 public int maxHeight; field in class:SlidingChallengeLayout.LayoutParams
1239 maxHeight = a.getDimensionPixelSize(
/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/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/core/java/android/widget/
H A DImageView.java260 * adjustViewBounds to true 2) set maxWidth and maxHeight to 100 3) set the height and width
298 * adjustViewBounds to true 2) set maxWidth and maxHeight to 100 3) set the height and width
308 * @param maxHeight maximum height for this view
315 public void setMaxHeight(int maxHeight) { argument
316 mMaxHeight = maxHeight;
H A DListView.java1199 * included. If maxHeight is provided, the measuring will stop when the
1200 * current height reaches maxHeight.
1208 * @param maxHeight The maximum height that will be returned (if all the
1223 final int maxHeight, int disallowPartialChildPosition) {
1233 // The previous height value that was less than maxHeight and contained
1263 if (returnedHeight >= maxHeight) {
1264 // We went over, figure out which height to return. If returnedHeight > maxHeight,
1269 && (returnedHeight != maxHeight) // i'th child did not fit completely
1271 : maxHeight;
1222 measureHeightOfChildren(int widthMeasureSpec, int startPosition, int endPosition, final int maxHeight, int disallowPartialChildPosition) argument
H A DTextView.java2880 public void setMaxHeight(int maxHeight) { argument
2881 mMaximum = 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/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);
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaArtistNativeHelper.java2688 * @param maxHeight The max height from the clip properties
2693 private int populateMediaItemProperties(MediaItem m, int index, int maxHeight) { argument
2698 if (((MediaVideoItem)m).getHeight() > maxHeight) {
2699 maxHeight = ((MediaVideoItem)m).getHeight();
2704 if (((MediaImageItem)m).getScaledHeight() > maxHeight) {
2705 maxHeight = ((MediaImageItem)m).getScaledHeight();
2716 return maxHeight;
2837 int maxHeight = 0;
2885 maxHeight = populateMediaItemProperties(lMediaItem, previewIndex, maxHeight);
[all...]
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h1597 XAuint32 maxHeight; member in struct:XACameraDescriptor_
2818 XAuint32 maxHeight; member in struct:XAImageCodecDescriptor_
2992 XAuint32 maxHeight; member in struct:XAVideoCodecDescriptor_

Completed in 3917 milliseconds